wok-stable rev 4260

gimp: split gimp-console and gimp-plug-ins
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 25 12:12:56 2009 +0200 (2009-09-25)
parents cdd6b606788f
children 843c4b1b4ead
files gimp-console/receipt gimp-plug-ins/receipt gimp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gimp-console/receipt	Fri Sep 25 12:12:56 2009 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gimp-console"
     1.7 +VERSION="2.6.7"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="The GIMP console."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="babl pango cairo gimp glib xorg-libX11 xorg-libXau"
    1.12 +WANTED="gimp"
    1.13 +WEB_SITE="http://www.gimp.org/"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/bin
    1.19 +	cp -a $_pkg/usr/bin/gimp-console* $fs/usr/bin
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gimp-plug-ins/receipt	Fri Sep 25 12:12:56 2009 +0200
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gimp-plug-ins"
     2.7 +VERSION="2.6.7"
     2.8 +CATEGORY="graphics"
     2.9 +SHORT_DESC="The GIMP image editor plug-ins suite for advanced users."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +DEPENDS="gimp lcms"
    2.12 +WANTED="gimp"
    2.13 +WEB_SITE="http://www.gimp.org/"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/lib/gimp/2.0
    2.19 +	cp -a $_pkg/usr/lib/gimp/2.0/plug-ins $fs/usr/lib/gimp/2.0
    2.20 +	# Remove plug-ins provided by the main package.
    2.21 +	for i in file-jpeg file-png pixelize screenshot
    2.22 +	do
    2.23 +		rm $fs/usr/lib/gimp/2.0/plug-ins/$i
    2.24 +	done
    2.25 +	strip -s $fs/usr/lib/gimp/*/plug-ins/*
    2.26 +}
     3.1 --- a/gimp/receipt	Fri Sep 25 12:11:54 2009 +0200
     3.2 +++ b/gimp/receipt	Fri Sep 25 12:12:56 2009 +0200
     3.3 @@ -6,9 +6,10 @@
     3.4  SHORT_DESC="Gnu Image Manipulation Program or GIMP!"
     3.5  MAINTAINER="pankso@slitaz.org"
     3.6  DEPENDS="gtk+ libart_lgpl babl gegl libgio tiff xorg-libXdamage"
     3.7 -SUGGESTED="libexif libxslt"
     3.8 +SUGGESTED="gimp-plug-ins gimp-console"
     3.9  BUILD_DEPENDS="$DEPENDS gettext perl-xml-parser gtk+-dev babl-dev \
    3.10 -gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev"
    3.11 +gegl-dev libgio-dev intltool expat-dev zlib-dev libart_lgpl-dev lcms \
    3.12 +lcms-dev"
    3.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14  WEB_SITE="http://www.gimp.org/"
    3.15  WGET_URL="ftp://ftp.gimp.org/pub/gimp/v2.6/$TARBALL"
    3.16 @@ -25,7 +26,6 @@
    3.17  		--with-html-dir=/usr/share/doc \
    3.18  		--without-print \
    3.19  		--disable-python \
    3.20 -		--without-gnomefs \
    3.21  		--without-poppler \
    3.22    		--without-gnomevfs \
    3.23    		--without-libcurl \
    3.24 @@ -42,23 +42,30 @@
    3.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.26  genpkg_rules()
    3.27  {
    3.28 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/lib
    3.29 +	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    3.30  
    3.31  	cp -a $_pkg/etc $fs
    3.32 -	cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
    3.33 -		$fs/usr/share/pixmaps/gimp.png
    3.34 -
    3.35  	cp -a $_pkg/usr/bin $fs/usr
    3.36  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.37  	cp -a $_pkg/usr/lib/gimp $fs/usr/lib
    3.38  	cp -a $_pkg/usr/share/gimp $fs/usr/share
    3.39 -	# cp -a $_pkg/usr/share/mime-info $fs/usr/share
    3.40 +	cp $_pkg/usr/share/icons/hicolor/24x24/apps/gimp.png \
    3.41 +		$fs/usr/share/pixmaps/gimp.png
    3.42  
    3.43 -	rm $fs/usr/lib/gimp/*/*/*.la
    3.44 -	#strip plugins
    3.45 +	# The gimp-console goes in a separate package
    3.46 +	rm $fs/usr/bin/gimp-console*
    3.47 +
    3.48 +	# Most plug-ins goes in a separate package
    3.49 +	rm -rf $fs/usr/lib/gimp/2.0/plug-ins/*
    3.50 +	for i in file-jpeg file-png pixelize screenshot
    3.51 +	do
    3.52 +		cp $_pkg/usr/lib/gimp/2.0/plug-ins/$i $fs/usr/lib/gimp/2.0/plug-ins
    3.53 +	done
    3.54 +
    3.55 +	# Strip plug-ins and remove devel files
    3.56  	strip -s $fs/usr/lib/gimp/*/plug-ins/*
    3.57 +	rm $fs/usr/lib/gimp/*/modules/*.*a
    3.58  
    3.59  	# Put a nice splash with a spider
    3.60  	cp -a stuff/gimp-splash.png $fs/usr/share/gimp/2.0/images/
    3.61  }
    3.62 -