wok-6.x diff gdk-pixbuf/receipt @ 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 | 5a7fe7de8486 |
children | 8dc5a00b2c5b |
line diff
1.1 --- a/gdk-pixbuf/receipt Sun Oct 10 12:08:08 2010 +0000 1.2 +++ b/gdk-pixbuf/receipt Mon Oct 11 01:06:19 2010 +0000 1.3 @@ -5,8 +5,8 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="An image loading library for gtk2" 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 -DEPENDS="glib libgio libpng tiff jpeg xorg-libX11" 1.8 -BUILD_DEPENDS="$DEPENDS glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev" 1.9 +DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11" 1.10 +BUILD_DEPENDS="$DEPENDS libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev zlib-dev pkg-config" 1.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 WEB_SITE="http://www.gtk.org/" 1.13 WGET_URL="http://download.gnome.org/sources/gdk-pixbuf/${VERSION%.*}/$TARBALL" 1.14 @@ -20,7 +20,7 @@ 1.15 --infodir=/usr/share/info \ 1.16 --mandir=/usr/share/man \ 1.17 --without-libjasper \ 1.18 - --with-included-loaders=png \ 1.19 + --with-included-loaders=png,xpm,jpeg \ 1.20 $CONFIGURE_ARGS && 1.21 make && make DESTDIR=$PWD/_pkg install 1.22 } 1.23 @@ -28,14 +28,10 @@ 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib 1.28 + mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders 1.29 cp -a $_pkg/usr/bin $fs/usr 1.30 - cp -a $_pkg/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib 1.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 1.32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 - 1.34 - # Config files 1.35 - mkdir -p $fs/etc/gtk-2.0 1.36 - $fs/usr/bin/gdk-pixbuf-query-loaders > $fs/etc/gtk-2.0/gdk-pixbuf.loaders 1.37 } 1.38 1.39 # Pre and post install commands for Tazpkg. 1.40 @@ -43,6 +39,7 @@ 1.41 { 1.42 local arg 1.43 echo "Processing post-install commands..." 1.44 + mkdir -p $1/etc/gtk-2.0/ 1.45 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 1.46 1.47 }