wok-stable diff gimp/receipt @ rev 691
obconf: declare missing mime
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 25 22:10:47 2008 +0000 (2008-04-25) |
parents | eb4e6a1af180 |
children | f1ae4a1ce690 |
line diff
1.1 --- a/gimp/receipt Thu Mar 13 10:38:19 2008 +0000 1.2 +++ b/gimp/receipt Fri Apr 25 22:10:47 2008 +0000 1.3 @@ -1,14 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gimp" 1.7 -VERSION="2.2.17" 1.8 +VERSION="2.4.5" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="Gnu Image Manipulation Program or GIMP!" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 DEPENDS="gtk+ libart_lgpl" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WEB_SITE="http://www.gimp.org/" 1.16 -WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.2/$TARBALL" 1.17 +WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.4/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 @@ -18,8 +18,9 @@ 1.22 --prefix=/usr --infodir=/usr/share/info \ 1.23 --mandir=/usr/share/man --sysconfdir=/etc \ 1.24 --with-html-dir=/usr/share/doc \ 1.25 - $CONFIGURE_ARGS \ 1.26 - --disable-print 1.27 + --disable-print \ 1.28 + --disable-python \ 1.29 + $CONFIGURE_ARGS 1.30 make 1.31 make DESTDIR=$PWD/_pkg install 1.32 } 1.33 @@ -27,31 +28,21 @@ 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 - mkdir -p \ 1.38 - $fs/usr $fs/usr/lib \ 1.39 - $fs/usr/share/applications \ 1.40 - $fs/usr/share/locale \ 1.41 - $fs/usr/share/pixmaps 1.42 + mkdir -p $fs/usr/share/pixmaps $fs/usr/lib 1.43 1.44 cp -a $_pkg/etc $fs 1.45 - cp $src/data/images/wilber-icon.png $fs/usr/share/pixmaps/gimp.png 1.46 + cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \ 1.47 + $fs/usr/share/pixmaps/gimp.png 1.48 1.49 cp -a $_pkg/usr/bin $fs/usr 1.50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.51 cp -a $_pkg/usr/lib/gimp $fs/usr/lib 1.52 cp -a $_pkg/usr/share/gimp $fs/usr/share 1.53 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.54 + cp -a $_pkg/usr/share/mime-info $fs/usr/share 1.55 1.56 rm $fs/usr/lib/gimp/*/*/*.la 1.57 - strip --strip-unneeded $fs/usr/lib/*.so* 1.58 - strip --strip-unneeded $fs/usr/lib/gimp/*/modules/*.so 1.59 - strip -s $fs/usr/lib/gimp/*/plug-ins/* 1.60 - strip -s $fs/usr/bin/* 2>/dev/null 1.61 1.62 # Put a nice splash with a spider 1.63 cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/ 1.64 - 1.65 - # Freedesktop entry 1.66 - cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications 1.67 } 1.68