Commit Graph

75 Commits (fb0f60cc2e2ad4bde5150582395b2c61ff40d5fe)

Author SHA1 Message Date
Slávek Banko 07202787d9
Fix the detecion and use of the udev library.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 22db72d853)
9 months ago
Alexander Golubev 40879a72e3
kxkb: utilize a translations provseided by xkeyboard-config
xkeyboard-config package comes with a message catalogue of its own to
translate locale, keyboard model and xkb option names. It would be
easier and more robust to utilize it instead of redoing all
translation in-house.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 18a8b8d435)
12 months ago
Alexander Golubev bfb0fce6a0
cmake: use pkg_get_variable() to query pkg-config variables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0713c2b1c8)
12 months ago
Alexander Golubev c55cad68e9
Make dependency upon libssh optional
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit f2dbf5b903)
1 year ago
Michele Calgaro a301718003
Fix FTBFS caused by detection of libr version after recent update
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b6f9aaf3c3)
1 year ago
ormorph 196fabb203
Fix strlcat and strlcpy check
Solving the TDE/tde-packaging-gentoo#310 problem.
Glibc-2.38 adds new functions strlcat and strlcpy.

Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit a99f7a16ff)
1 year ago
Slávek Banko 9c4648db28
Add detection and, if necessary, prototype for strlcat and strlcpy.
This resolves FTBFS - see issue TDE/tde-packaging-gentoo#299.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c69b585fbe)
2 years ago
Denis Kozadaev c449ec1768
Find power related system tools instead of hardcode them
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 3c23abfd84)
2 years ago
ormorph 8b8a8d7b5b
Replacing the wrong USEPAM variable with USE_PAM
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 4fe3dbdc99)
2 years ago
Bobby Bingham 61357f5f74
kcheckpass: fix shadow support when not building tdm
1. If not building with PAM, kcheckpass relies on HAVE_SHADOW to decide
whether to support shadow passwords. However, this was only set if also
building tdm.

Consolidate all PAM/shadow configure checks at the top level so these are
always set correctly.

2. Consolidate /etc/passwd and shadow password handling

The shadow password handler already completely handles /etc/passwd
passwords as well, so having a separate handler for just /etc/passwd is
pure code duplication.

Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 8c543e26ec)
2 years ago
Denis Kozadaev d984205f2e
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8d)
2 years ago
Mavridis Philippe 7f277bc5e1
SFTP: Various fixes and improvements
For details see PR #279.

Portions of code borrowed from KDE5 SFTP ioslave:

Source:  https://invent.kde.org/network/kio-extras/-/blob/master/sftp/kio_sftp.cpp
Licence: LGPLv2 or later

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Slávek Banko 58d7c36054
Modify screen savers detection that the XSCREENSAVER_DIRS
and XSCREENSAVER_CONFIG_DIRS variables allow multiple paths.

Likewise, the XSCREENSAVER HACKS DIRS variable used to search
for an screen saver executable can contain multiple paths.

This relates to TDE/tdeartwork#19.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro f9f7aee79e Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
gregory guy 1389e29696
Make the option -DWITH_USBIDS more visible for packagers.
Look for installed usb.ids file, if not found, default to the one provided in source.
usb.ids file has been updated to Version 2021.03.31

Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 48ddee7ba8
Update CMake rules to change tdehw library to standalone.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro ba97e2dc25
Avoid direct usage of tdeldap library. This allows to remove hard dependency between packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
aneejit1 ae1e54e0d4 Set required includes before checking for scrnsaver.h
Signed-off-by: aneejit1 <aneejit1@gmail.com>
5 years ago
aneejit1 3abd9e912c Ask pkg-config/find_file where we can find the X11 Xkb rules directory and add some more candidate paths for xkbd to search
Signed-off-by: aneejit1 <aneejit1@gmail.com>
5 years ago
aneejit1 7fba97e18a Improve detection of libXss, OpenGL and libXext DPMS support.
The detection of libXss has been changed to ask the question
"where is libXss?" before asking "is XScreenSaverQueryInfo
available?" rather than the other way around. The test for
"XScreenSaverQueryInfo" also ensures that the include and
library flags from pkg-config are used.

The OpenGL test has been amended to make use of the include
paths and library flags returned by pkg-config to prevent the
test from failing when OpenGL is not in /usr.

The libXext test in kcontrol/energy/CMakeLists.txt is amended
to use the libXext include path and library flags. The paths
are also added to the include/link directories.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
5 years ago
Slávek Banko 98abb9e8ee
Port TIME_WITH_SYS_TIME to CMake.
This resolves FTBFS from commit 05dc8500dd.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
OBATA Akio 6326fec9f1 Port HAVE_SYS_TIME_H to CMake
It is used, but not checked with CMake.

Signed-off-by: OBATA Akio <obache@wizdas.com>
6 years ago
Slávek Banko 02cb998b9c
Use common test for large files support.
Drop hardcoded definition -D_LARGEFILE64_SOURCE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 9a394bb261
Use common GCC visibility test.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 0d9863ce23
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 81ed8f2068 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson db52a594cc Fix FTBFS on Ubuntu Lucid 9 years ago
Timothy Pearson 769e8885c2 Add missing Kerberos checks 9 years ago
Slávek Banko 5e5f4837b5 Fix detection of XSS in Xext with CMake build
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 08122b137e Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
François Andriot d275f09845 Fix GL/GLU detection on older distributions
This resolves Bug 2155

Signed-off-by: François Andriot <francois.andriot@free.fr>
10 years ago
Slávek Banko 107220694f Allow contitional build with tdehwlib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
Slávek Banko 69da674b30 Fix gcc visibility detection
This resolves Bug 1832

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
Slávek Banko 71fb8e0e11 Fix crypt library detection in CMake
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
François Andriot bfbcf19a2f Fix hardcoded link flag to "dl" library
Fix "dlopen" function detection
11 years ago
Michele Calgaro 60b66b1fc2 Fixed typos in comments. 11 years ago
Slávek Banko d7235b31b1 twin/compton: make CONFIG_XSYNC autoconfigurable to fix FTBFS with older libXext versions which doesn't provide XSyncFence 11 years ago
Alexander Golubev 30252262ce Move the Xinerama test to main ConfigureChecks.cmake 11 years ago
Alexander Golubev 394545c24c twin/compton-tde: transparent pass TDE build-time configure options to compot-tde 11 years ago
Alexander Golubev 63dd66d045 Move the XRandr test to main ConfigureChecks.cmake 11 years ago
Alexander Golubev 3c75381e05 Remove useless cmake configuration options WITH_XEXT and WITH_XDAMAGE 11 years ago
Golubev Alexander 9fb2cb290e Enhance xscreensaver directory detection
This resolves Bug 1622
11 years ago
Timothy Pearson 98f8df6427 Fix compton-tde FTBFS on older systems 11 years ago
Timothy Pearson 71be0ee5d4 Extract and include any pertinent SCM metadata from the crashed application in its crash report 11 years ago
Slávek Banko a8d4324832 Add systemd support into kdesktop
+ response to systemd signal Lock()
+ setting SetIdleHint(true / false) by screen saver activity
11 years ago
Slávek Banko 1f3832a136 Removed unnecessary dependency on dbus-tqt and dbus-1-tqt 11 years ago
Alexander Golubev 440db91f91 Add optional opengl support 12 years ago
Alexander Golubev 5210484c85 Fix kicker FTBFS because of missing includes.
This resolves bug report 1556.
12 years ago
Darrell Anderson 0ba43923ad Update references of kscreensaver->tdescreensaver. 12 years ago
Timothy Pearson 0d3ebd9020 Do not display screensavers in the configuration dialog that are not installed on the system 12 years ago