wok-6.x rev 6653

Fixed gdk-pixbuf. Added xpm and jpeg to be build into gdk-pixbuf instead of being just plugins. Fixes some missing icons and background from being missig in slitaz desktop.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 01:06:19 2010 +0000 (2010-10-11)
parents ee9cedfa74b6
children fbe11f5b74e3
files gdk-pixbuf-dev/receipt gdk-pixbuf/receipt
line diff
     1.1 --- a/gdk-pixbuf-dev/receipt	Sun Oct 10 21:20:29 2010 +0000
     1.2 +++ b/gdk-pixbuf-dev/receipt	Mon Oct 11 01:06:19 2010 +0000
     1.3 @@ -12,8 +12,9 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib
     1.8 +	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
     1.9  	cp -a $_pkg/usr/include $fs/usr
    1.10  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.11 +	cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.*a $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.12  }
    1.13  
     2.1 --- a/gdk-pixbuf/receipt	Sun Oct 10 21:20:29 2010 +0000
     2.2 +++ b/gdk-pixbuf/receipt	Mon Oct 11 01:06:19 2010 +0000
     2.3 @@ -5,8 +5,8 @@
     2.4  CATEGORY="x-window"
     2.5  SHORT_DESC="An image loading library for gtk2"
     2.6  MAINTAINER="slaxemulator@gmail.com"
     2.7 -DEPENDS="glib libgio libpng tiff jpeg xorg-libX11"
     2.8 -BUILD_DEPENDS="$DEPENDS glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev"
     2.9 +DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11"
    2.10 +BUILD_DEPENDS="$DEPENDS libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev zlib-dev pkg-config"
    2.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12  WEB_SITE="http://www.gtk.org/"
    2.13  WGET_URL="http://download.gnome.org/sources/gdk-pixbuf/${VERSION%.*}/$TARBALL"
    2.14 @@ -20,7 +20,7 @@
    2.15  		--infodir=/usr/share/info \
    2.16  		--mandir=/usr/share/man \
    2.17  		--without-libjasper \
    2.18 -		--with-included-loaders=png \
    2.19 +		--with-included-loaders=png,xpm,jpeg \
    2.20  		$CONFIGURE_ARGS &&
    2.21  	make && make DESTDIR=$PWD/_pkg install
    2.22  }
    2.23 @@ -28,14 +28,10 @@
    2.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.25  genpkg_rules()
    2.26  {
    2.27 -	mkdir -p $fs/usr/lib
    2.28 +	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    2.29  	cp -a $_pkg/usr/bin $fs/usr
    2.30 -	cp -a $_pkg/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    2.32  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.33 -
    2.34 -	# Config files
    2.35 -	mkdir -p $fs/etc/gtk-2.0
    2.36 -	$fs/usr/bin/gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders
    2.37  }
    2.38  
    2.39  # Pre and post install commands for Tazpkg.
    2.40 @@ -43,6 +39,7 @@
    2.41  {
    2.42  	local arg
    2.43  	echo "Processing post-install commands..."
    2.44 +	mkdir -p $1/etc/gtk-2.0/
    2.45  	chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders
    2.46  
    2.47  }