summaryrefslogtreecommitdiff
path: root/x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt')
-rw-r--r--x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt b/x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt
new file mode 100644
index 000000000000..afb71b25bfe4
--- /dev/null
+++ b/x11/kde-workspace-kde4/files/patch-plasma_generic_applets_systemtray_CMakeLists.txt
@@ -0,0 +1,16 @@
+Link to the full library as detected by CMake, so that the linker is passed
+"/full/path/to/libXss.so" instead of "-lXss", which can fail if -L/full/path/to
+is not passed as well.
+
+Not upstreamed because upstream is no longer releasing kde-workspace.
+--- plasma/generic/applets/systemtray/CMakeLists.txt
++++ plasma/generic/applets/systemtray/CMakeLists.txt
+@@ -43,7 +43,7 @@ include (CheckLibraryExists)
+ check_library_exists (Xss XScreenSaverQueryInfo "" HAVE_LIBXSS)
+ configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+ IF (HAVE_LIBXSS)
+- SET (IDLE_DETECTION_LIB "Xss")
++ SET (IDLE_DETECTION_LIB ${X11_Xscreensaver_LIB})
+ ENDIF (HAVE_LIBXSS)
+
+ kde4_add_plugin(plasma_applet_systemtray ${systemtray_SRCS})