summaryrefslogtreecommitdiffstats
path: root/kde/gtk-kde4/gtk-kde4-fix-permission.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-10 10:35:53 +0100
committersibel <lesibel@free.fr>2011-01-10 10:35:53 +0100
commite8b89339aa4f782383dee09ed771df1a08920e0f (patch)
tree321beff743cc5ab06b12bee5c258ab44deca39a0 /kde/gtk-kde4/gtk-kde4-fix-permission.patch
parent4a6acff86627f344b9d9f8acc87fee46b159623f (diff)
downloadnutyx-extra-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.gz
nutyx-extra-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.bz2
nutyx-extra-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.xz
nutyx-extra-e8b89339aa4f782383dee09ed771df1a08920e0f.zip
gtk-kde4, maj 0.9.5b-2
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)