summaryrefslogtreecommitdiffstats
path: root/kde
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
parent4a6acff86627f344b9d9f8acc87fee46b159623f (diff)
downloadnutyx-pakxe-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.gz
nutyx-pakxe-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.bz2
nutyx-pakxe-e8b89339aa4f782383dee09ed771df1a08920e0f.tar.xz
nutyx-pakxe-e8b89339aa4f782383dee09ed771df1a08920e0f.zip
gtk-kde4, maj 0.9.5b-2
Diffstat (limited to 'kde')
-rw-r--r--kde/gtk-kde4/.footprint2
-rw-r--r--kde/gtk-kde4/.md5sum1
-rwxr-xr-xkde/gtk-kde4/Pkgfile10
-rw-r--r--kde/gtk-kde4/gtk-kde4-fix-permission.patch27
4 files changed, 36 insertions, 4 deletions
diff --git a/kde/gtk-kde4/.footprint b/kde/gtk-kde4/.footprint
index 2b2427cba..66b92b247 100644
--- a/kde/gtk-kde4/.footprint
+++ b/kde/gtk-kde4/.footprint
@@ -6,7 +6,7 @@ drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/autostart/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
----------x root/root usr/bin/gtk-kde4
+-rwxr-xr-x root/root usr/bin/gtk-kde4
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/kde4/
-rw-r--r-- root/root usr/lib/kde4/kcm_gk4.so
diff --git a/kde/gtk-kde4/.md5sum b/kde/gtk-kde4/.md5sum
index af66a23a8..1bc48f1ba 100644
--- a/kde/gtk-kde4/.md5sum
+++ b/kde/gtk-kde4/.md5sum
@@ -1 +1,2 @@
d5998e4ccd4bd4b4d6a61e7afe8bbecb 74689-gtk-kde4(src)0.9.5.tar.gz
+f52fa3288c728e5fad72c5d136b49bc5 gtk-kde4-fix-permission.patch
diff --git a/kde/gtk-kde4/Pkgfile b/kde/gtk-kde4/Pkgfile
index 6a5062dd5..81a2bb9c4 100755
--- a/kde/gtk-kde4/Pkgfile
+++ b/kde/gtk-kde4/Pkgfile
@@ -6,13 +6,17 @@
name=gtk-kde4
version=0.9.5b
-release=1
+release=2
-source=("http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4(src)0.9.5.tar.gz" )
+source=("http://kde-apps.org/CONTENT/content-files/74689-gtk-kde4(src)0.9.5.tar.gz" \
+ gtk-kde4-fix-permission.patch)
build() {
cd $name
- cmake -DCMAKE_INSTALL_PREFIX=/usr
+ patch -p1 -i ../gtk-kde4-fix-permission.patch
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install
rm $PKG/etc/xdg/autostart/$name.desktop
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)