Commit Graph

133 Commits (94881853aa5725149305cad34f2d359e66243277)

Author SHA1 Message Date
Slávek Banko 33bea57510
Raise the minimum required version of CMake to 2.8.12.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7ade45484d)
4 years ago
Slávek Banko f240aee5c5
Add an option to install the imagetops binary.
This binary may already be included in the system -
for example in the netpbm package.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f6aced3def)
4 years ago
Michele Calgaro be563528e5
Drop weird macro and use memcpy/memset instead.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 60ef8289ae)
4 years ago
Slávek Banko 53b8ba3f5b
Update version number to R14.0.10.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 9f03b32225 Add a check to verify that the spell checker set as the default is enabled for build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 056d9c5d0d)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 1212ebdc0e Add a build option for ispell.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c66f921179)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio 49d24215b1 Add an ability to specify default spell checker
There is no reason to determine it with operating system basis.
Change to use build configuration instead.  "ispell" by default,
and you can override it.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 70d26004f0)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio 6736088603 Port ASPELL_DATADIR detection to CMake
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit ba75e441ea)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio 1b5d591d76 Add the ability to detect ispell lib directory
Check LIBDIR ispell compile option and use only it for ispell lib directory
if found.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit bbe1b42cbb)
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
gregory guy 132786c194
Add definitions for X11_RGBFILE and XMLLINT in config.h
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 2706c5674e)
4 years ago
OBATA Akio bde317d2cd
Add support of posix_openpt(2) to open master pseudo terminal device
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8e542575e0)
5 years ago
OBATA Akio f17a911197
Add a knob to use fixed path `iceauth` tool
`system()` and `popen()` may unsafe unless using absolute command path.
Rely on PATH environment variable set by users may result in unwanted tool.

Signed-off-by: OBATA Akio <obache@wizdas.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ac8c8ca54a)
5 years ago
OBATA Akio 928f3ce5fa
Fix to set DCOP_PATH properly
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)
5 years ago
OBATA Akio 3dee97b870
Add `getservbyname_r` prototype detection to CMake
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)
5 years ago
OBATA Akio 7fdb160045
Fix to detect vsnprintf prototype properly
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)
5 years ago
OBATA Akio a6be89461f
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2167207adc)
5 years ago
Slávek Banko 52d5b0c237
Use target names for commands instead of full paths.
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)
5 years ago
Slávek Banko 212ab78265
Enable the use of dcopidlng during build tdelibs.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ef23612c56)
5 years ago
Slávek Banko 6c18a6cb79
Fix typo in the SSL library check rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa244c3700)
5 years ago
Michele Calgaro 339f27f967
Update release version number to R14.0.9.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 527dcf77d4
Update version number for R14.0.8 final release.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 5da57962ef
Enable storing ELF metadata in a standard way using a common cmake module
for all libraries and binaries.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c64685ad8d)
5 years ago
Matías Fonzo 53d42e2472
Use the correct macros isnan, isinf for libc compatibility
Changes related to this commit:

- Clean up #if mess.

- Use unconditionally the correct macros isnan, isinf.

- Remove redudant macros from the build system.

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 8ae17a5d9d)
5 years ago
Slávek Banko 4304997180
Fix building with avahi support
+ Avahi detection was not performed at all
+ Added missing avahi-client detection
+ Fixed FTBFS in avahi related code

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 281e2da7f1)
5 years ago
Slávek Banko 6ef58927d2
Update version number for R14.0.7 final release.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 731c85817e
Updated VERSION reference to R14.0.6 in CMakeLists.txt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 33c3818ac5
Use system libdir when searching for dynamically loaded libraries.
This prevents finding an incorrect architecture on multi-arch systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8a859540c3)
6 years ago
Slávek Banko b709a7a17d
Fix openssl >= 1.1 detection without pkg-config file.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5de71676ac)
6 years ago
Slávek Banko 0ce92f9144
Use a common test for dbus detection and paths configuration.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3c9bcf2134)
6 years ago
Slávek Banko 1434d41c75
Use common test for large files support.
Drop hardcoded definition -D_LARGEFILE64_SOURCE=1.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ebf0115af1)
6 years ago
Slávek Banko 1eba0b939e
Use common GCC visibility test.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 83e4c4d56c)
6 years ago
OBATA Akio 22e5099290
Convert GETMNTINFO_USES_STATVFS check to CMake
Fix to build on such platforms, it is used but not checked with CMake.

(cherry picked from commit 6716d0dfb9)
6 years ago
Fabio Rossi 7d8d7f102a
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit d8177b4058)
6 years ago
gregory guy 38e386a7e2
fix issue #3 utempter detection
Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit 82afa07a43)
6 years ago
Michele Calgaro 2deef22689 Removed unnecessary dependency on libnm-util-dev, which is no longer
available in buster and bionic.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7fc6616c13)
7 years ago
Slávek Banko fbae32bb04 Add paths to the search for utempter helper
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 98ba18d0fc)
7 years ago
Slávek Banko 1e22a0ce39 Add search for utempter helper
This resolves Bug 2841

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a14adb9ab9)
7 years ago
Slávek Banko 41d41d2af9 Allow openssl detection without pkg-config file
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2aa548763e)
8 years ago
Slávek Banko b9d5e48086 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7cc97cb187)
8 years ago
Alexander Golubev 297691c5b8 Initial add for check target for cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0c64a776dd)
8 years ago
Slávek Banko 32f820e4ba Update version number for new target R14.0.5 8 years ago
Slávek Banko c5fb34d10e Update version number for new target R14.0.4 9 years ago
Slávek Banko 76adbedc16 Update version number for new target R14.0.3 9 years ago
Slávek Banko 38ed45d3b9 Fix dlerror and crypt detection for CMake build
This resolves Bug 654

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4925611808)
10 years ago
Slávek Banko 07665de5d8 Update version number for new target R14.0.2 10 years ago
Slávek Banko 6acd843185 Update version in CMakeLists files 10 years ago
Slávek Banko b71166c66a Fix openpty detection with libutil.h
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e75569be1b)
10 years ago
Slávek Banko 1af68b9ef8 Fix detection for option TDEINIT_USE_XFT with CMake build
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 14243cc8ea)
10 years ago
Slávek Banko ce741f6553 Fix setting some constants in config.h with CMake build
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f17c618004)
10 years ago
Slávek Banko 30a0743655 Fix detection of LZMA without pkgconfig file
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d107d0b0d7)
10 years ago