It is only used in dcop module and empty is unwanted situation,
so properly define it in dcop/CMakeLists.txt.
Rerevant header generation is also moved to there, and prevent
to define in main config.h file too.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 56c5973b6b)
`getprogname()` of FreeBSD is based on NetBSD's one, no reason to
prevent using it on NetBSD.
glibc also has own special variable for progname.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 965a808b91)
OpenBSD's prototype is differ than glibc's one, but it is declared.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 6886dd7e96)
It was introduced in HP-UX 10.20 (undocumented) and suppoted in 10.30 and later,
so no need to declare it on HP-UX unconditionally.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 76a04f5fce)
From the standard sepc, <stdio.h> is required in addition to <stdarg.h>
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit cc7cd83235)
It was extended for compressed PPD support, but not refrected to lpr parts.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 15116d8f64)
instead of updating in the source.
The configuration file mechanism is used to update items in
general.entities instead of loading the file and replacing
it with regular expressions.
This relates to bug 3135.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a94bf7ad14)
When using target names for commands, CMake automatically resolves
the necessary dependencies without having to specify them in the
CMakeLists.txt source code or in the common TDE CMake module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 98436f882d)
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4b7a4e1736)
because thanks to the replacement of KDE3 CMake macros
with TDE macros, this is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c2b90055a5)
+ includes may use quotation marks
+ argument types can contain multiple words
+ avoid use long, short, int or char type as the argument name
+ avoid use type as the argument name if the const qualifier is used
+ use long notation of int types
+ the arguments can be nameless
+ return types can have qualifiers
+ do not warn on inherit of the DCOPObject and TQObject classes
+ the documentation comment does not have to end on a separate line
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 49614d38c9)