[Frugalware-git] frugalware-current: gtk-kde4-0.9.5b-1-i686

exceed exceed.cedric at gmail.com
Mon Nov 1 12:52:56 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0a3b27cb16bf5b9b18f23cf035f36fb06f3d92cb

commit 0a3b27cb16bf5b9b18f23cf035f36fb06f3d92cb
Author: exceed <exceed.cedric at gmail.com>
Date:   Mon Nov 1 12:51:29 2010 +0100

gtk-kde4-0.9.5b-1-i686

* Version bump
* Fixed build()
* Fixed fix-permission.patch

diff --git a/source/kde-extra/gtk-kde4/FrugalBuild b/source/kde-extra/gtk-kde4/FrugalBuild
index 4ac49fd..35cbe30 100644
--- a/source/kde-extra/gtk-kde4/FrugalBuild
+++ b/source/kde-extra/gtk-kde4/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: exceed <exceed.cedric at gmail.com>

pkgname=gtk-kde4
-pkgver=0.9.4
+pkgver=0.9.5b
pkgrel=1
pkgdesc="Allows you to change style, icons, font of GTK applications in KDE4"
##_F_kde_id would be usable again when there will be 1 version on dl:
@@ -15,23 +15,18 @@ depends=("${depends[@]}" 'gtk+2-engines' 'gtk-qt-engine' "kdebase-workspace>=$_F
groups=(kde-extra)
archs=('i686' 'x86_64')
source=("http://betta.houa.org/no-site/${pkgname}${Fpkgversep}${pkgver}.tar.gz" fix-permission.patch)
-_F_cd_path="${pkgname}${Fpkgversep}"
-sha1sums=('0703cd4cd5e9b1a913ec6a75b0e0fcba9f19e740' \
-          '037eae47a0c1ef7d7d8f73fe367a51245af15f94')
+_F_cd_path="${pkgname}"
+sha1sums=('7e86401a31ea89f498d412349cde34fc3a053ffc' \
+          'ee901efec5ee6c38cb5b759fdb9cf264a8dd620e')

build() {
Fpatchall
-	## Hmmm, very bad idea to add (src) to src directory name
-	cd $Fsrcdir || Fdie
-	mv ${pkgname}${Fpkgversep}/ ${pkgname}/ || Fdie
-	cd ${pkgname} || Fdie
-	mkdir build || Fdie
+	Fcd
+	mkdir build || Fdie
## CMake_build, Fmake and Fmakeinstall are not working
cmake -DCMAKE_INSTALL_PREFIX=/usr || Fdie
make || Fdie
make DESTDIR=$Fdestdir install || Fdie
}

-
-
# optimization OK
diff --git a/source/kde-extra/gtk-kde4/fix-permission.patch b/source/kde-extra/gtk-kde4/fix-permission.patch
index 25204e4..29d6c39 100644
--- a/source/kde-extra/gtk-kde4/fix-permission.patch
+++ b/source/kde-extra/gtk-kde4/fix-permission.patch
@@ -1,20 +1,27 @@
---- gtk-kde4/CMakeLists.txt~	2009-11-21 05:49:31.009714048 +0100
-+++ gtk-kde4/CMakeLists.txt	2009-11-21 05:50:23.879702352 +0100
-@@ -23,14 +23,7 @@
+--- 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(daemon)
+ add_subdirectory(kcm/helper)

--INSTALL(FILES daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE)
--INSTALL(FILES .gtkrc-2.0-kde4 DESTINATION $ENV{HOME} PERMISSIONS WORLD_READ)
+-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 daemon/gtk-kde4.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart PERMISSIONS WORLD_EXECUTE)
+-  INSTALL(FILES ${PROJECT_BINARY_DIR}/daemon/gtk-kde4.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart PERMISSIONS WORLD_EXECUTE)
-ELSE()
--  INSTALL(FILES daemon/gtk-kde4.desktop DESTINATION /etc/xdg/autostart PERMISSIONS WORLD_EXECUTE WORLD_READ)
+-  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)

- INSTALL(SCRIPT CMakeSymlink)
+ 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)


More information about the Frugalware-git mailing list