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
)
7 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
)
7 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
)
7 years ago
Slávek Banko
3138567410
Fix FTBFS on missing magic_getpath
...
(cherry picked from commit 03a61295af
)
7 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
Alexander Golubev
49035a61b3
Fix tdeioslaves FTBFS when compiled in standalone.
...
This resolves bug report 1617.
Cmake doesn't define HAVE_BACKTRACE.
This resolves bug report 1614.
(cherry picked from commit 1297639788
)
9 years ago
Alexander Golubev
0ffdced1e7
Fix FTBFS when xrender is missing.
...
This resolves bug report 1554.
(cherry picked from commit be31b51dbc
)
9 years ago
Alexander Golubev
20d7a10943
Add new build option WITH_XRANDR
...
This resolves Bug 1553
(cherry picked from commit 4626871a9d
)
9 years ago
Timothy Pearson
05b2e1bc9c
Add gcc visibility option to tdelibs
...
(cherry picked from commit 7508eafbec
)
9 years ago
Timothy Pearson
d3a4952cc1
Setup architecture flags during initial configuration
...
(cherry picked from commit ef15b096ad
)
9 years ago
Francois Andriot
35563d6195
Add XZ tdeioslave
...
Based on KDE GIT commit bbe9e8f5
(cherry picked from commit 7f328ba699
)
12 years ago
Timothy Pearson
83bd0da219
Add WITH_ALL_OPTIONS to CMake
...
(cherry picked from commit 7845d1204e
)
12 years ago
Timothy Pearson
c3a7e5d3db
Fix URL handling of media/builtin-* mimetypes
...
This partially resolves Bug 976
Add missing ACL support to CMake build files
(cherry picked from commit 30b0af1f01
)
12 years ago
Alexander Golubev
7d055511cc
Add sudo kdesu backend option to CMake
...
This resolves Bug 1286
(cherry picked from commit 0b26938b49
)
12 years ago
Alexander Golubev
df1b666cc5
Fix variables passed to kde4 applications
...
This resolves Bug 1366
12 years ago