Package: kde-workspace / 4:4.11.13-2

genkdm_make.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
As we use DEB_CONFIG_INSTALL_DIR ?= /usr/share/kde4/config
and we want kdm configuration files in /etc/kde4/kdm,
Let's hardcode it.

--- a/kdm/kfrontend/CMakeLists.txt
+++ b/kdm/kfrontend/CMakeLists.txt
@@ -112,5 +112,5 @@ install(TARGETS kdmctl ${INSTALL_TARGETS
 
 # use 'GENKDMCONF_FLAGS=... make install' to add flags to the config generation (try genkdmconf -h)
 install(CODE "
-exec_program(\"${CMAKE_CURRENT_BINARY_DIR}/genkdmconf\" ARGS --in \\\"\\\$DESTDIR${CONFIG_INSTALL_DIR}/kdm\\\" --no-in-notice --face-src \\\"${CMAKE_CURRENT_SOURCE_DIR}/pics\\\" \\\$GENKDMCONF_FLAGS)
+exec_program(\"${CMAKE_CURRENT_BINARY_DIR}/genkdmconf\" ARGS --no-old --in \\\"\\\$DESTDIR/etc/kde4/kdm\\\" --no-in-notice --face-src \\\"${CMAKE_CURRENT_SOURCE_DIR}/pics\\\" \\\$GENKDMCONF_FLAGS)
 ")