Skip to content

Commit

Permalink
Include debian patches (#2639)
Browse files Browse the repository at this point in the history
* enable optimisation with debug; credits to wRAR

* Switch RFC2812 links from internal to external. Credits to wRAR

* admin/gendoc.pl: Ease the creation of reproducible builds by removing user and timestamp from generated documentation. Credits to Vagrant Cascadian

* Remove patches from dist/debian
  • Loading branch information
ctrlaltca committed May 9, 2024
1 parent f9266bc commit 200e7bc
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 93 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ else()
# CMAKE_CXX_FLAGS_DEBUG before finalizing. This results in the
# default DEBUG flag of '-g' being appended, and therefore
# overriding what you specify here
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pipe --exec-charset=UTF-8 --input-charset=UTF-8 --no-implement-inlines --unit-at-a-time --fast-math")
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" CXX_HAS_VH_FLAG)
CHECK_CXX_COMPILER_FLAG("-fvisibility-inlines-hidden" CXX_HAS_VIH_FLAG)
Expand Down
2 changes: 1 addition & 1 deletion admin/gendoc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ sub print_header

sub print_footer
{
print $g_filehandle "<div class='footer'>KVIrc $g_version Documentation - generated by $g_currentuser on $g_currenttime</div>\n";
print $g_filehandle "<div class='footer'>KVIrc $g_version Documentation</div>\n";
print $g_filehandle "</body>\n";
print $g_filehandle "</html>\n";
}
Expand Down
20 changes: 0 additions & 20 deletions dist/debian/patches/enable-optimisation-with-debug.patch

This file was deleted.

63 changes: 0 additions & 63 deletions dist/debian/patches/fix-rfc-links.patch

This file was deleted.

2 changes: 0 additions & 2 deletions dist/debian/patches/series
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
enable-optimisation-with-debug.patch
fix-rfc-links.patch
4 changes: 2 additions & 2 deletions src/kvirc/kvs/KviKvsCoreSimpleCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ namespace KviKvsCoreSimpleCommands
Wrappers for RFC2812 commands
@body:
Some less used KVIrc commands are implemented as simple wrappers
around the standard [doc]rfc2812[/doc] commands.[br]
around the standard [anchorlink:https://tools.ietf.org/html/rfc2812]rfc2812[/anchorlink] commands.[br]
For example, the /[cmd:oper]OPER[/cmd] command will be used only by server operators
and probably only once per connection.[br]
These commands should only be needed by experienced IRC users.
Expand All @@ -256,7 +256,7 @@ namespace KviKvsCoreSimpleCommands
The exact parameter syntax/semantic checking is left to you.[br]
This also means that if some of these commands accept parameters with spaces,
it is left to you to add the leading ':' before the last parameter.[br]
You should refer to [doc]rfc2812[/doc] if any of these commands do not work properly for you.[br]
You should refer to [anchorlink:https://tools.ietf.org/html/rfc2812]rfc2812[/anchorlink] if any of these commands do not work properly for you.[br]
*/

KVSCSC(rfc2812wrapper)
Expand Down
4 changes: 2 additions & 2 deletions src/kvirc/kvs/KviKvsCoreSimpleCommands_sz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ namespace KviKvsCoreSimpleCommands
@description:
Requests the stats information from the specified server or the current server if no [target server] is specified.[br]
The query parameter is usually a letter indicating the type of the query requested: some query letters
are defined by [doc]RFC2812[/doc] and some others are server implementation dependent.[br]
are defined by [anchorlink:https://tools.ietf.org/html/rfc2812]RFC2812[/anchorlink] and some others are server implementation dependent.[br]
This command is an [doc:rfc2812wrappers]RFC2812 command wrapper[/doc]; see that document for more information.[br]
*/
// RFC2812 wrapper
Expand Down Expand Up @@ -1095,7 +1095,7 @@ namespace KviKvsCoreSimpleCommands
Requests user information
@description:
Requests information about an IRC user specified by <nickname>.[br]
WHOWAS requests [i]history[/i] records. See [doc:rfc2812]RFC2812[/doc] for more info.[br]
WHOWAS requests [i]history[/i] records. See [anchorlink:https://tools.ietf.org/html/rfc2812]RFC2812[/anchorlink] for more info.[br]
This command is [doc:connection_dependent_commands]connection dependent[/doc].
@examples:
[example]
Expand Down
2 changes: 1 addition & 1 deletion src/modules/objects/libkviobjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static bool objects_kvs_cmd_connect(KviKvsModuleCommandCall * c)
<target_object>'s slot <slot_name>.
When one of the two objects is destroyed, the signal/slot
connection is automatically removed.[br]
WARNING: this command name collides with the [doc:RFC2812]RFC2812[/doc]
WARNING: this command name collides with the [anchorlink:https://tools.ietf.org/html/rfc2812]RFC2812[/anchorlink]
CONNECT IRC Op command: this IRC command is available to operators only
and is rather rarely used: you can use it by the means of [doc:raw]raw[/doc].
@seealso:
Expand Down

0 comments on commit 200e7bc

Please sign in to comment.