summaryrefslogtreecommitdiffstats
path: root/kde47/gtk-kde4/gtk-kde4-fix-permission.patch
blob: 29d6c39030f7e361dc7ae2ced0076f8ed63e7038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)