OBATA Akio
ad41084b8d
Fix feature detections with CMake
...
* implement missing checks with CMake
* fixes and improve some detections
* remove missing but unused checks
Signed-off-by: OBATA Akio <obache@wizdas.com>
3 years ago
Slávek Banko
274212262f
Raise the minimum required version of CMake to 3.1.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
ac7e0fac53
Fix definitions of slot constants for old cryptsetup API.
...
This resolves issue #137 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
da3e395af5
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>
4 years ago
Slávek Banko
7ade45484d
Raise the minimum required version of CMake to 2.8.12.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
f6aced3def
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>
4 years ago
Michele Calgaro
60ef8289ae
Drop weird macro and use memcpy/memset instead.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
056d9c5d0d
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>
4 years ago
Slávek Banko
c66f921179
Add a build option for ispell.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio
70d26004f0
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>
4 years ago
OBATA Akio
ba75e441ea
Port ASPELL_DATADIR detection to CMake
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
bbe1b42cbb
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>
4 years ago
gregory guy
2706c5674e
Add definitions for X11_RGBFILE and XMLLINT in config.h
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
4 years ago
OBATA Akio
8e542575e0
Add support of posix_openpt(2) to open master pseudo terminal device
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
ac8c8ca54a
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>
4 years ago
OBATA Akio
56c5973b6b
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>
4 years ago
OBATA Akio
6886dd7e96
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>
4 years ago
OBATA Akio
cc7cd83235
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>
4 years ago
OBATA Akio
2167207adc
Allow to use backtrace(3) external library for kdebug
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Slávek Banko
98436f882d
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>
5 years ago
Slávek Banko
ef23612c56
Enable the use of dcopidlng during build tdelibs.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Timothy Pearson
3f6bef6371
Update for OpenSSL >= 1.1.0
...
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
5 years ago
Slávek Banko
aa244c3700
Fix typo in the SSL library check rules.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
c64685ad8d
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>
5 years ago
Michele Calgaro
b6953843f5
Added back build options for UDISKS2, UDISKS and UDEVIL as requested by
...
some users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Matías Fonzo
8ae17a5d9d
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>
5 years ago
Slávek Banko
281e2da7f1
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>
5 years ago
Michele Calgaro
7214a7b6b5
tdehw: code restructuring for tdestoragedevice.
...
1. added disk helper source files
2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included
3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
8a859540c3
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>
6 years ago
Slávek Banko
5de71676ac
Fix openssl >= 1.1 detection without pkg-config file.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
3c9bcf2134
Use a common test for dbus detection and paths configuration.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
ebf0115af1
Use common test for large files support.
...
Drop hardcoded definition -D_LARGEFILE64_SOURCE=1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
83e4c4d56c
Use common GCC visibility test.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
OBATA Akio
6716d0dfb9
Convert GETMNTINFO_USES_STATVFS check to CMake
...
Fix to build on such platforms, it is used but not checked with CMake.
6 years ago
Fabio Rossi
d8177b4058
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
...
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
6 years ago
gregory guy
82afa07a43
fix issue #3 utempter detection
...
Signed-off-by: gregory guy <g-gregory@gmx.fr>
6 years ago
Michele Calgaro
7fc6616c13
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>
7 years ago
Slávek Banko
98ba18d0fc
Add paths to the search for utempter helper
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
a14adb9ab9
Add search for utempter helper
...
This resolves Bug 2841
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
4d31e7d405
Temporarily disable PKCS for build with OpenSSL >= 1.1
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
2aa548763e
Allow openssl detection without pkg-config file
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
7cc97cb187
Fix detection whether the system is big endian
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev
0c64a776dd
Initial add for check target for cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
François Andriot
5fac044f8d
Fix libcryptsetup detection without pkg-config file
...
Signed-off-by: François Andriot <francois.andriot@free.fr>
9 years ago
Slávek Banko
ece75495e1
Add support for udevil to mount/unmount removable drives
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
69a43103d9
Attempt to fix cryptsetup version detection yet again
...
The library authors would have done well to include a version number #define in the header...
9 years ago
Timothy Pearson
7d6aacd403
Fix FTBFS on Squeeze
9 years ago
Timothy Pearson
161491fac6
Fix FTBFS on Precise
9 years ago
Timothy Pearson
ffa54887ce
Add additional cryptographic card functions to tdehwlib
...
Fix FTBFS on old distributions
9 years ago
Timothy Pearson
c867c64aa9
Add initial LUKS key management support
9 years ago