wok-4.x rev 11960
Merge a patch to fix svg support I forgot to push weeks ago. The problem has been fixed since but I think that this patch handle things better.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 01 18:08:04 2012 +0100 (2012-03-01) |
parents | 69aa5794f8f8 37d744940e6c |
children | 43a4a32a7752 |
files | gdk-pixbuf/receipt gtk+/receipt |
line diff
1.1 --- a/gdk-pixbuf/receipt Thu Mar 01 17:57:00 2012 +0100 1.2 +++ b/gdk-pixbuf/receipt Thu Mar 01 18:08:04 2012 +0100 1.3 @@ -21,7 +21,6 @@ 1.4 ./configure \ 1.5 --disable-glibtest \ 1.6 --without-libjasper \ 1.7 - --with-included-loaders=bmp,gif,jpeg,pcx,png,xpm \ 1.8 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && 1.9 make && make install 1.10 } 1.11 @@ -35,15 +34,13 @@ 1.12 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders 1.13 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib 1.14 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.15 + touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache 1.16 } 1.17 1.18 # Pre and post install commands for Tazpkg. 1.19 post_install() 1.20 { 1.21 - echo "Creating /etc/gtk-2.0/gdk-pixbuf.loaders..." 1.22 - if [ ! -d $1/etc/gtk-2.0 ]; then 1.23 - mkdir -p $1/etc/gtk-2.0 1.24 - fi 1.25 - chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 1.26 - chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache 1.27 + echo -n "Updating gdk pixbuf loaders cache file..." 1.28 + chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache 1.29 + status 1.30 }
2.1 --- a/gtk+/receipt Thu Mar 01 17:57:00 2012 +0100 2.2 +++ b/gtk+/receipt Thu Mar 01 18:08:04 2012 +0100 2.3 @@ -54,6 +54,8 @@ 2.4 2.5 mkdir -p $fs/etc/gtk-2.0 2.6 touch $fs/etc/gtk-2.0/gtk.immodules 2.7 + ln -s /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \ 2.8 + $fs/etc/gtk-2.0/gdk-pixbuf.loaders 2.9 } 2.10 2.11 # Pre and post install commands for Tazpkg.
3.1 --- a/librsvg/receipt Thu Mar 01 17:57:00 2012 +0100 3.2 +++ b/librsvg/receipt Thu Mar 01 18:08:04 2012 +0100 3.3 @@ -40,15 +40,14 @@ 3.4 # Pre and post install commands for Tazpkg. 3.5 post_install() 3.6 { 3.7 - echo "Updating /usr/lib/gdk-pixbuf/2.10.0/loaders.cache file..." 3.8 - if [ ! -d $1/etc/gtk-2.0 ]; then 3.9 - mkdir -p $1/etc/gtk-2.0 3.10 - fi 3.11 - chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 3.12 + echo -n "Updating gdk pixbuf loaders cache file..." 3.13 + chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache 3.14 + status 3.15 } 3.16 3.17 post_remove() 3.18 { 3.19 - echo "Updating /usr/lib/gdk-pixbuf/2.10.0/loaders.cache file..." 3.20 - chroot $1/ /usr/bin/gdk-pixbuf-query-loaders > $1/etc/gtk-2.0/gdk-pixbuf.loaders 3.21 + echo -n "Updating gdk pixbuf loaders cache file..." 3.22 + chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache 3.23 + status 3.24 }