Commit Graph

85 Commits (9394e9d7c5d6c336a0af15e6d9bb6117413872f6)

Author SHA1 Message Date
Slávek Banko 7caed5312c
Use CMake rules instead of calling external shell scripts
generate_apidox and install_apidox from the cmake submodule folder.

After generating apidox, links pointing to build directory are fixed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit da3e395af5)
4 years ago
Slávek Banko 12c5f4430c
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 43b41be84b
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 f5adb79794
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)
4 years ago
Slávek Banko 9ffa92f841
Add a build option for ispell.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c66f921179)
4 years ago
OBATA Akio 2779387ef1
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)
4 years ago
OBATA Akio 431ab46758
Port ASPELL_DATADIR detection to CMake
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit ba75e441ea)
4 years ago
OBATA Akio 0aa014e9d2
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)
4 years ago
gregory guy 711ff288fa
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 1d9cf8e717
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)
4 years ago
OBATA Akio 35bff96a9c
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)
4 years ago
OBATA Akio f250423e9d
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)
4 years ago
OBATA Akio 3242ddae6c
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)
4 years ago
OBATA Akio 961a3aac69
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)
4 years ago
OBATA Akio 3241cab0cf
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2167207adc)
4 years ago
Slávek Banko 610545c103
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)
4 years ago
Slávek Banko 2ad5c999a7
Enable the use of dcopidlng during build tdelibs.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ef23612c56)
4 years ago
Slávek Banko eba282f397
Fix typo in the SSL library check rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa244c3700)
4 years ago
Matías Fonzo a1d5228ba2
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)
4 years ago
Slávek Banko 46ecddaeff
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)
4 years ago
Slávek Banko cfa79f06e2
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 24c62fe93e
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 c43ecb347b
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 91931f112d
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 6f0a158d33
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
gregory guy 273a9c83a1
fix issue #3 utempter detection
Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit 82afa07a43)
6 years ago
Slávek Banko cb69a491e9 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 6c68e92d38 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 69c87f5393 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 cb041edbef 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 f088e39885 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 3138567410 Fix FTBFS on missing magic_getpath
(cherry picked from commit 03a61295af)
8 years ago
Slávek Banko d09b5f45aa 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)
9 years ago
Slávek Banko 67d736925c Fix openpty detection with libutil.h
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e75569be1b)
9 years ago
Slávek Banko ec47e62bfc 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)
9 years ago
Slávek Banko 94ea0653b4 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)
9 years ago
Slávek Banko a64a2ffc72 Fix detection of LZMA without pkgconfig file
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d107d0b0d7)
9 years ago
Slávek Banko a1d982adfc Improve ACL detection for CMake build
Fix hidden visibility in posixacladdons

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6ebff39751)
9 years ago
Slávek Banko fb74d787f1 Add include directory for internal libltdl
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dfd680030c)
9 years ago
Slávek Banko 30c04cf29d Add mit-shm extension support for CMake build
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5b95b86a5b)
9 years ago
Slávek Banko 63f24fa878 Fix xext configure check for CMake build
This resolves Bug 2410

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c80f418abf)
9 years ago
François Andriot 13fddea637 Add a cmake detection for Xext library
Remove hardcoded Xext flags in tderandr and tdestyles/keramik
Add missing link flag in tdeui
(cherry picked from commit aae8990d33)
9 years ago
François Andriot e9de7e84a3 Fix openpty detection on openbsd
(cherry picked from commit e255a8ca63)
9 years ago
François Andriot 72532b6602 Fix detection of some headers on openbsd
Many headers requires additional include stdlib.h
(cherry picked from commit 3f5a4b419f)
9 years ago
François Andriot e4213f01b9 Fix hardcoded link flag to "dl" library
Fix "dlopen" function detection
(cherry picked from commit af2c2afb25)
9 years ago
Slávek Banko c19a10f20f Fix tdecore directories of linked libraries
(cherry picked from commit 62ac96e110)
9 years ago
Alexander Golubev 37c097719c Add new build option WITH_XCOMPOSITE
Fix build without xcomposite
This resolves Bug 1289
(cherry picked from commit 6e81fa9ce1)
9 years ago
Slávek Banko e10a4809f1 Fix tdesu backend check in CMake
This relates to Bug 1655
(cherry picked from commit 11b5fd8f08)
9 years ago
Alexander Golubev 918ff4b4ae Improved creation backtraces
(cherry picked from commit a5ba7ad712)
9 years ago
Alexander Golubev 5bb41966db Added check the conditions for building backtrace handler
(cherry picked from commit 35748811a4)
9 years ago