summaryrefslogtreecommitdiffstats
path: root/kde/gtk-kde4/gtk-kde4-fix-permission.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/gtk-kde4/gtk-kde4-fix-permission.patch')
-rw-r--r--kde/gtk-kde4/gtk-kde4-fix-permission.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/kde/gtk-kde4/gtk-kde4-fix-permission.patch b/kde/gtk-kde4/gtk-kde4-fix-permission.patch
new file mode 100644
index 000000000..29d6c3903
--- /dev/null
+++ b/kde/gtk-kde4/gtk-kde4-fix-permission.patch
@@ -0,0 +1,27 @@
+--- gtk-kde4/CMakeLists.txt~ 2010-09-28 11:16:32.000000000 -0700
++++ gtk-kde4/CMakeLists.txt 2010-10-26 12:31:35.400040780 -0700
+@@ -32,15 +32,8 @@
+
+ add_subdirectory(kcm/helper)
+
+-INSTALL(FILES ${PROJECT_BINARY_DIR}/daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE)
+-#INSTALL(FILES ${PROJECT_BINARY_DIR}/.gtkrc-2.0-kde4 DESTINATION $ENV{HOME} PERMISSIONS WORLD_READ)
+-
+-string(LENGTH conf len)
+-IF (NOT len)
+- INSTALL(FILES ${PROJECT_BINARY_DIR}/daemon/gtk-kde4.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart PERMISSIONS WORLD_EXECUTE)
+-ELSE()
+- INSTALL(FILES ${PROJECT_BINARY_DIR}/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)
+
+ FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
+
+@@ -74,4 +67,4 @@
+
+ ENDFOREACH(_poFile ${PO_FILES})
+
+-ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE)
+\ No newline at end of file
++ENDIF(NOT GETTEXT_MSGFMT_EXECUTABLE)