summaryrefslogtreecommitdiffstats
path: root/kde/gtk-kde4/gtk-kde4-fix-permission.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-02 09:22:36 +0200
committersibel <lesibel@free.fr>2011-04-02 09:22:36 +0200
commit0768ac34b4874546f1c86d5471008ba248721050 (patch)
tree892bad5cacdada8019050accfab88d9426d10686 /kde/gtk-kde4/gtk-kde4-fix-permission.patch
parent6a270ab813622ee2cd96cadea66b403cbff0af73 (diff)
downloadnutyx-pakxe-0768ac34b4874546f1c86d5471008ba248721050.tar.gz
nutyx-pakxe-0768ac34b4874546f1c86d5471008ba248721050.tar.bz2
nutyx-pakxe-0768ac34b4874546f1c86d5471008ba248721050.tar.xz
nutyx-pakxe-0768ac34b4874546f1c86d5471008ba248721050.zip
gtk-kde4 deplacé dans pakxe
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)