It was originally resolved by following the symbolic links to determine
the location of the startup script. Mostly adjusted for Debian
distributions and derivatives that have support for "alternatives".
This doesn't work for distributions that install TDE under a
self-contained directory (distros like Dragora, Guix or simply users
that use Graft or GNU Stow tools). Also projects like GSRC...
This code has been improved to cover these cases, also minimizing the
compatibility impact for the readlink command (non-standard) by
eliminating the use of options for greater compatibility, as some systems
do not have the -e or -f options, as they may also have different behavior
(between systems).
Signed-off-by: Matías Fonzo <selk@dragora.org>
Appearance tab to enable/disable the launch of tdekbdledsync in tde
greeter. This resolves bug 1834.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
[..]
In file included from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/common.h:102,
from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.h:10,
from /usr/src/qi/build/tdebase-trinity-14.0.7/twin/compton-tde/compton.c:12:
/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>
[..]
For reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tdelibs/pulls/64
Signed-off-by: Matías Fonzo <selk@dragora.org>
Without the header, the build log:
[ 96%] Building C object ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/netstat.c.o
/usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c: In function ‘updateNetStatTcpUdpRaw’:
/usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:269:2: error: unknown type name ‘uint’; did you mean ‘int’?
269 | uint local_addr, local_port;
| ^~~~
| int
/usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:270:2: error: unknown type name ‘uint’; did you mean ‘int’?
270 | uint remote_addr, remote_port;
| ^~~~
| int
/usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:272:2: error: unknown type name ‘uint’; did you mean ‘int’?
272 | uint state;
| ^~~~
| int
make[2]: *** [ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/build.make:180: ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/netstat.c.o] Error 1
make[2]: Leaving directory '/usr/src/qi/build/tdebase-trinity-14.0.7/BUILD'
make[1]: *** [CMakeFiles/Makefile2:24044: ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/all] Error 2
make[1]: Leaving directory '/usr/src/qi/build/tdebase-trinity-14.0.7/BUILD'
make: *** [Makefile:130: all] Error 2
Signed-off-by: Matías Fonzo <selk@dragora.org>