[arch-commits] Commit in gimp/repos (3 files)

Eric Belanger eric at archlinux.org
Tue Sep 9 01:50:38 UTC 2008


    Date: Monday, September 8, 2008 @ 21:50:38
  Author: eric
Revision: 12076

Merged revisions 2294-12075 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/gimp/trunk

........
  r8642 | jgc | 2008-08-14 08:26:06 -0400 (Thu, 14 Aug 2008) | 5 lines
  
  - Fix install scriptlet to update the GTK icon cache
  - Remove postinstall message, move it to optdepends (guess there should be more optdepends)
  - Tighten dependency versions
  - Add some "|| return 1" checks
........
  r12034 | tobias | 2008-09-07 22:24:10 -0400 (Sun, 07 Sep 2008) | 1 line
  
  upgpkg: gimp 2.4.7-1
........

Modified:
  gimp/repos/extra-x86_64/	(properties)
  gimp/repos/extra-x86_64/PKGBUILD
  gimp/repos/extra-x86_64/gimp.install

--------------+
 PKGBUILD     |   22 +++++++++++-----------
 gimp.install |   21 +++------------------
 2 files changed, 14 insertions(+), 29 deletions(-)


Property changes on: gimp/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /gimp/trunk:1-2293
   + /gimp/trunk:1-12075

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-09-09 01:33:57 UTC (rev 12075)
+++ extra-x86_64/PKGBUILD	2008-09-09 01:50:38 UTC (rev 12076)
@@ -2,33 +2,33 @@
 # Maintainer: tobias <tobias at archlinux.org>
 
 pkgname=gimp
-pkgver=2.4.6
+pkgver=2.4.7
 pkgrel=1
 pkgdesc="GNU Image Manipulation Program"
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.gimp.org/"
-depends=('gtk2>=2.10' 'lcms>=1.16' 'libxpm>=3.5.6' 'libwmf>=0.2.8.4' \
-         'libxmu>=1.0.3' 'librsvg>=2.16.1' 'libmng>=1.0.9' \
-         'libexif>=0.6.13' 'libart-lgpl>=2.3.19' 'pygtk>=2.10.4' 'dbus-glib')
-makedepends=('gutenprint>=5.0.0' 'perlxml' \
-             'poppler-glib>=0.8' 'pkgconfig>=0.21' \
-             'alsa-lib>=1.0.13' 'libgnomeui')
+depends=('gtk2>=2.12.11' 'lcms>=1.17' 'libxpm>=3.5.7' 'libwmf>=0.2.8.4'
+         'libxmu>=1.0.4' 'librsvg>=2.22.2' 'libmng>=1.0.10' 'dbus-glib>=0.7.6'
+         'libexif>=0.6.16' 'libart-lgpl>=2.3.20' 'pygtk>=2.12.1')
+makedepends=('gutenprint>=5.0.2' 'perlxml' 'poppler-glib>=0.8.4'
+             'pkgconfig' 'alsa-lib>=1.0.16' 'libgnomeui>=2.22.1')
+				 optdepends=('gutenprint: Advanced printing support' 'poppler-glib: Opening PDF files')
 options=('!libtool' '!makeflags')
 conflicts=('gimp-unstable')
 install=${pkgname}.install
 source=(ftp://ftp.gimp.org/pub/gimp/v2.4/${pkgname}-${pkgver}.tar.bz2
         linux.gpl)
-md5sums=('a0bd1560f81f15c23ed4c0c6cb9c4b59' 'bb27bc214261d36484093e857f015f38')
+md5sums=('8d0e059597d70fbdeb77e6447bae29c4' 'bb27bc214261d36484093e857f015f38')
 
 build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    ./configure --prefix=/usr --sysconfdir=/etc \
      --enable-mp --enable-gimp-console --disable-devel-docs \
      --enable-python --with-gif-compression=lzw \
-     --without-aa
+     --without-aa || return 1
    make || return 1
-   make DESTDIR=${startdir}/pkg install-strip
+   make DESTDIR=${startdir}/pkg install-strip || return 1
    install -Dm644 ${startdir}/src/linux.gpl \
-     ${startdir}/pkg/usr/share/gimp/2.0/palettes/Linux.gpl
+     ${startdir}/pkg/usr/share/gimp/2.0/palettes/Linux.gpl || return 1
 }

Modified: extra-x86_64/gimp.install
===================================================================
--- extra-x86_64/gimp.install	2008-09-09 01:33:57 UTC (rev 12075)
+++ extra-x86_64/gimp.install	2008-09-09 01:50:38 UTC (rev 12076)
@@ -1,27 +1,12 @@
-
-# arg 1:  the new package version
 post_install() {
-  cat << EOM
-
---> gimp has built-in cups print support now. for more sophisticated printing,
---> please install gutenprint.
-
-EOM
-  echo "update desktop mime database..."
   update-desktop-database -q
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 }
 
 post_upgrade() {
-  post_install $1
+  post_install
 }
 
-# arg 1:  the old package version
 post_remove() {
-  echo "update desktop mime database..."
-  update-desktop-database -q
+  post_install
 }
-
-op=$1
-shift
-$op $*
-# vim: ft=sh




More information about the arch-commits mailing list