wok diff gimp/receipt @ rev 4379

Add intel2gas
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 14 10:24:18 2009 +0200 (2009-10-14)
parents 11f3de21a6f4
children e4dd6b9319ea
line diff
     1.1 --- a/gimp/receipt	Thu Sep 24 22:51:39 2009 +0200
     1.2 +++ b/gimp/receipt	Wed Oct 14 10:24:18 2009 +0200
     1.3 @@ -6,9 +6,10 @@
     1.4  SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage"
     1.7 -SUGGESTED="libexif libxslt"
     1.8 +SUGGESTED="gimp-plug-ins gimp-console"
     1.9  BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
    1.10 -gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev"
    1.11 +gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
    1.12 +lcms-dev"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.gimp.org/"
    1.15  WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
    1.16 @@ -25,7 +26,6 @@
    1.17  		--with-html-dir=/usr/share/doc \
    1.18  		--without-print \
    1.19  		--disable-python \
    1.20 -		--without-gnomefs \
    1.21  		--without-poppler \
    1.22    		--without-gnomevfs \
    1.23    		--without-libcurl \
    1.24 @@ -42,23 +42,30 @@
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
    1.29 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.30  
    1.31  	cp -a $_pkg/etc $fs
    1.32 -	cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
    1.33 -		$fs/usr/share/pixmaps/gimp.png
    1.34 -
    1.35  	cp -a $_pkg/usr/bin $fs/usr
    1.36  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.37  	cp -a $_pkg/usr/lib/gimp $fs/usr/lib
    1.38  	cp -a $_pkg/usr/share/gimp $fs/usr/share
    1.39 -	# cp -a $_pkg/usr/share/mime-info $fs/usr/share
    1.40 +	cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
    1.41 +		$fs/usr/share/pixmaps/gimp.png
    1.42  
    1.43 -	rm $fs/usr/lib/gimp/*/*/*.la
    1.44 -	#strip plugins
    1.45 +	# The gimp-console goes in a separate package
    1.46 +	rm $fs/usr/bin/gimp-console*
    1.47 +
    1.48 +	# Most plug-ins goes in a separate package
    1.49 +	rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
    1.50 +	for i in file-jpeg file-png pixelize screenshot
    1.51 +	do
    1.52 +		cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
    1.53 +	done
    1.54 +
    1.55 +	# Strip plug-ins and remove devel files
    1.56  	strip -s $fs/usr/lib/gimp/*/plug-ins/*
    1.57 +	rm $fs/usr/lib/gimp/*/modules/*.*a
    1.58  
    1.59  	# Put a nice splash with a spider
    1.60  	cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
    1.61  }
    1.62 -