summaryrefslogtreecommitdiffstats
path: root/kde/gtk-kde4/fix-permission.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/gtk-kde4/fix-permission.patch')
-rw-r--r--kde/gtk-kde4/fix-permission.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kde/gtk-kde4/fix-permission.patch b/kde/gtk-kde4/fix-permission.patch
new file mode 100644
index 000000000..25204e45f
--- /dev/null
+++ b/kde/gtk-kde4/fix-permission.patch
@@ -0,0 +1,20 @@
+--- gtk-kde4/CMakeLists.txt~ 2009-11-21 05:49:31.009714048 +0100
++++ gtk-kde4/CMakeLists.txt 2009-11-21 05:50:23.879702352 +0100
+@@ -23,14 +23,7 @@
+
+ ADD_SUBDIRECTORY(daemon)
+
+-INSTALL(FILES daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE)
+-INSTALL(FILES .gtkrc-2.0-kde4 DESTINATION $ENV{HOME} PERMISSIONS WORLD_READ)
+-
+-string(LENGTH conf len)
+-IF (NOT len)
+- INSTALL(FILES daemon/gtk-kde4.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart PERMISSIONS WORLD_EXECUTE)
+-ELSE()
+- INSTALL(FILES daemon/gtk-kde4.desktop DESTINATION /etc/xdg/autostart PERMISSIONS WORLD_EXECUTE WORLD_READ)
+-ENDIF()
++INSTALL(PROGRAMS daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR})
++INSTALL(PROGRAMS daemon/gtk-kde4.desktop DESTINATION /etc/xdg/autostart)
+
+ INSTALL(SCRIPT CMakeSymlink)
+\ No newline at end of file