[arch-commits] CVS update of extra/multimedia/f-spot (PKGBUILD f-spot.install)

Jan de Groot jgc at archlinux.org
Sat Aug 4 17:08:13 EDT 2007


    Date: Saturday, August 4, 2007 @ 17:08:13
  Author: jgc
    Path: /home/cvs-extra/extra/multimedia/f-spot

Modified: PKGBUILD (1.19 -> 1.20) f-spot.install (1.4 -> 1.5)

upgpkg: f-spot 0.4.0-1


----------------+
 PKGBUILD       |   12 ++++++------
 f-spot.install |   14 ++------------
 2 files changed, 8 insertions(+), 18 deletions(-)


Index: extra/multimedia/f-spot/PKGBUILD
diff -u extra/multimedia/f-spot/PKGBUILD:1.19 extra/multimedia/f-spot/PKGBUILD:1.20
--- extra/multimedia/f-spot/PKGBUILD:1.19	Sun Apr 22 13:59:40 2007
+++ extra/multimedia/f-spot/PKGBUILD	Sat Aug  4 17:08:13 2007
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD,v 1.19 2007/04/22 17:59:40 jgc Exp $
+# $Id: PKGBUILD,v 1.20 2007/08/04 21:08:13 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Kritoke <kritoke at nospam.gmail.com>
 
 pkgname=f-spot
-pkgver=0.3.5
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
 pkgdesc="A personal photo management program for GNOME"
 url="http://www.gnome.org/projects/f-spot/"
 arch=(i686 x86_64)
 license=('GPL')
 depends=('gnome-sharp>=2.16.0' 'lcms' 'libexif' 'libgphoto2>=2.3.1' 'libjpeg' 'sqlite3' 'libgnomeui>=2.18.1-2' 'scrollkeeper' 'desktop-file-utils')
 makedepends=('perlxml' 'pkgconfig' 'gnome-doc-utils>=0.10.3' 'gnome-screensaver>=2.18.1')
-options=('nolibtool')
+options=('!libtool')
 install=f-spot.install
-source=(http://ftp.gnome.org/pub/gnome/sources/f-spot/0.3/f-spot-${pkgver}.tar.bz2)
-md5sums=('dafa8ac8149b80d010cecee3629e39b5')
+source=(http://ftp.gnome.org/pub/gnome/sources/f-spot/0.4/f-spot-${pkgver}.tar.bz2)
+md5sums=('0f21ff56d310329185cc17a2fadda5fe')
 
 build() {
   export MONO_SHARED_DIR=${startdir}/src/.wabi
Index: extra/multimedia/f-spot/f-spot.install
diff -u extra/multimedia/f-spot/f-spot.install:1.4 extra/multimedia/f-spot/f-spot.install:1.5
--- extra/multimedia/f-spot/f-spot.install:1.4	Sun Apr 22 13:59:41 2007
+++ extra/multimedia/f-spot/f-spot.install	Sat Aug  4 17:08:13 2007
@@ -10,8 +10,7 @@
       #> mv photos.db photos.old.db
       #> sqlite photos.old.db .dump | sqlite3 photos.db
 EOM
-  export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-  usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
+  usr/sbin/gconfpkg --install ${pkgname}
   scrollkeeper-update -q -p var/lib/scrollkeeper
   update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
@@ -26,16 +25,7 @@
 }
 
 pre_remove() {
-  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
-  elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
-  else
-    schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
-  fi
-  export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-  
-  usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 post_remove() {




More information about the arch-commits mailing list