Commit Graph

756 Commits (05dbf5c0b1a80c03fd332cf9cd81e9247c1d7063)
 

Author SHA1 Message Date
Michele Calgaro 05dbf5c0b1
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80)
4 years ago
Slávek Banko 119bb12503
Fix private API compatibility in TDEGlobalSettings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38)
4 years ago
Michele Calgaro b3a875f92e
Make sure XDG folders are created prior to their usage.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de79e754fa)
4 years ago
Michele Calgaro 54800d9de6
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 394c9f5c0e)
4 years ago
Matías Fonzo d5b27c1f51
Redirect some headers noticed by the compiler
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>

Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared.

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit c2adce2e13)
4 years ago
Matías Fonzo 319d2b0943
Added missing headers for tdeinit/start_tdeinit.c
Error found when compiling against GCC9+Musl:

Scanning dependencies of target start_tdeinit
[ 51%] Building C object tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c: In function ‘set_protection’:
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:47:16: error: storage size of ‘st’ isn’t known
   47 |    struct stat st;
      |                ^~
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:51:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
   51 |    if ( lstat (buf, &st) == 0) {
      |         ^~~~~
make[2]: *** [tdeinit/CMakeFiles/start_tdeinit.dir/build.make:63: tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10421: tdeinit/CMakeFiles/start_tdeinit.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit 8d74c9c44f)
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
Matías Fonzo 7fe5760c2a
Fix LibreSSL detection at tdeio/kssl/
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit aa9b9581a9)
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
Michele Calgaro a9bf439608
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aca6b3d424)
4 years ago
Michele Calgaro fb65a4b212
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3a4f7f51cf)
4 years ago
TDE Gitea f2c4b9b2fc Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea becb8f7b92 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 710c105057 Reset submodule main/core/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 9263dda957 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 76e7ce8165 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 475b3f9151 Reset submodule main/core/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 3182791c64 Reset submodule main/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea bed57b80d7 Reset submodule main/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea b82c15155c Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 08b148b7e0 Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea 025acdb3fc Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 559311fbe6 Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea 8e6648f033 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 90033833c9 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 97d17684b6 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea b683d7f72d Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea e0527d4cac Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 179efff131 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 29259b467a Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 8b9c870f38 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 7b5ea7b536 Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea 08975fdfa7 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 23868d22bf Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 60dcc3f138 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 6f70ee78e0 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 591dc1e006 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 217c5ea6ea Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 2ceec97311 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea ea5fa0916e Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 197799bfab Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
Slávek Banko 73d5cbe0f0
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot e3382b36bf
Fix missing return values in kopenssl.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a6bbb9e7bc)
5 years ago
Slávek Banko 927c64cc6e
Process the new location of the ICEauthority file
+ our internal implementation of IceAuthFileName tests
  whether the ICEauthority file exists in the folder
  specified by the XDG_RUNTIME_DIR variable
+ DCOP client tests whether the ICEauthority file for
  a specific user exists in the user's folder based on
  the XDG_RUNTIME_DIR variable
+ tdeinit uses the IceAuthFileName() function
  instead of building the file name

This relates to bug 3027.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 38b2b0be78)
5 years ago
Slávek Banko c527d5931f
cmake: Avoid double generating of dcop/tests files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 83d02c95a1)
5 years ago
Slávek Banko 8a26a48f42
Fix SSL initialization for OpenSSL >= 1.1.
The first argument of the OPENSSL_init_ssl and OPENSSL_init_crypto
functions must be a 64-bit int, not a 32-bit int, as this caused
unpredictable OpenSSL behavior.

This resolves bug 3024.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a2ad929640)
6 years ago
Slávek Banko f41c1bba8b
Security: remove support for $(...) in config keys with [$e] marker.
It is very unclear at this point what a valid use case for this feature
would possibly be. The old documentation only mentions $(hostname) as
an example, which can be done with $HOSTNAME instead.

Note that $(...) is still supported in Exec lines of desktop files,
this does not require [$e] anyway (and actually works better without it,
otherwise the $ signs need to be doubled to obey kconfig $e escaping rules...).

Based on KDE Frameworks 5 kconfig patch for CVE-2019-14744.
This resolves issue #45.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1074eb0336)
6 years ago
TDE Gitea 3888dcd3db Reset submodule main/tdelibs/cmake to latest HEAD 6 years ago
TDE Gitea ed7a623c7f Reset submodule main/tdelibs/cmake to latest HEAD 6 years ago
TDE Gitea 0eb9df7760 Reset submodule main/tdelibs/cmake to latest HEAD 6 years ago