>From b635483fb6ecbef4c1dfcb71abee15dacfc1c58c Mon Sep 17 00:00:00 2001 From: Henrique Lengler Date: Fri, 9 Jan 2015 22:28:22 +0000 Subject: [PATCH] gdk-pixbuf, new version --- pkg/gdk-pixbuf | 48 ++++++++++++++---------------------------------- 1 file changed, 14 insertions(+), 34 deletions(-) diff --git a/pkg/gdk-pixbuf b/pkg/gdk-pixbuf index 45f7061..0afec34 100644 --- a/pkg/gdk-pixbuf +++ b/pkg/gdk-pixbuf @@ -1,9 +1,9 @@ [mirrors] -http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.26/gdk-pixbuf-2.26.1.tar.xz +http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.7.tar.xz [main] -filesize=1167608 -sha512=dd327e2d3f8c50906ccd02bbf484380240a59fb5cc991b7cdd3b56b156dd7495fe161b14c1f4e8606a7167199679786a0e9c12e92b5b87807a3312e48e9096e7 +filesize=1329096 +sha512=648f95ef9bc3bcb0d17a1a0e683cbb9c2842c72f612ee061708c52d963cc694a30689352f2dc371eac695d5a8098033b7486a8b339e0727e6cd845c8144e5520 [deps] libtiff @@ -11,42 +11,22 @@ libjpeg libpng glib xz +gobject-introspection [deps.host] perl [build] -printf "all:\n\ttrue\n\ninstall:\n\ttrue\n\nclean:\n\ttrue\n\ndistclean:\n\ttrue" > tests/Makefile.in +#patch -p1 < "$K"/some.patch + [ -n "$CROSS_COMPILE" ] && \ - xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') --with-sysroot=$butch_root_dir" -CFLAGS="-D_GNU_SOURCE $optcflags" \ -LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib -lz" \ - ./configure -C \ - --prefix="$butch_prefix" \ - --disable-introspection \ - --disable-nls $xconfflags gio_can_sniff=yes + xconfflags="--host=$($CC -dumpmachine|sed 's/musl/gnu/') \ +--with-sysroot=$butch_root_dir" + +CPPFLAGS="-D_GNU_SOURCE" CFLAGS="$optcflags" CXXFLAGS="$optcflags" \ +LDFLAGS="$optldflags -Wl,-rpath-link=$butch_root_dir$butch_prefix/lib" \ +./configure -C --prefix="$butch_prefix" --disable-nls $xconfflags \ + --with-x11 + make V=1 -j$MAKE_THREADS make DESTDIR="$butch_install_dir" install - -dest="$butch_install_dir""$butch_prefix" -dest2="$dest"/include/gdk-pixbuf-2.0/gdk-pixbuf-xlib/ -mkdir -p "$dest2" -cp -r contrib/gdk-pixbuf-xlib/*.h "$dest2" - -# make fails to generate the file loaders.cache which is crucial to have, -# otherwise gdk-pixbuf will not function at all and only print misleading -# "Couldn't recognize the image file format ..." error messages -# the makefile uses gdk-pixbuf-query-loaders on libpixbufloader-*.la, -# and since these point to prefix, the referenced .so files are not found. - -if [ -z "$CROSS_COMPILE" ] ; then -LD_LIBRARY_PATH="$butch_prefix/lib:$dest/lib" \ -"$dest"/bin/gdk-pixbuf-query-loaders "$dest"/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-*.so \ - > "$dest"/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache - -sed -i 's,^"'"$dest"',",g' "$dest"/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache -else - echo "XXXXXXXXXX WARNING: need to run gdk-pixbuf-query-loaders on target fs XXXXXXXXXX" -fi - - -- 1.8.4