summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-07-26 23:08:32 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-09-22 10:56:27 +0200
commit9ccc34bd1c7bbdb986cded8e1d37fdefb6693255 (patch)
treea3912cd30b5b93d6c2310b4f46c25337a6c860c4
parent24036cbda50a38cc6ace4b35917a7f6167b335e4 (diff)
gdk-pixbuf: bbappend updated to 2.26.5
-rw-r--r--recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bbappend35
-rw-r--r--recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bbappend5
2 files changed, 5 insertions, 35 deletions
diff --git a/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bbappend b/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bbappend
deleted file mode 100644
index e3f90c0..0000000
--- a/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bbappend
+++ /dev/null
@@ -1,35 +0,0 @@
-PRINC = "1"
-# build for x11, at least lxpanel needs this
-DEPENDS += "virtual/libx11"
-
-EXTRA_OECONF += "--with-x11"
-
-# do the timeconsuming gdk-pixbuf-query-loaders on the build machine
-# backport from http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-gnome/gdk-pixbuf?id=5ba420bc0e282a1cbf000ce32034ad7ab15c01d5
-postinst_pixbufloader () {
-if [ "x$D" != "x" ]; then
-# Update the target's pixbuf loader's cache. Since the native binary will
-# throw an error if the shared objects do not belong to the same ELF class,
-# we trick the gdk-pixbuf-query-loaders into scanning the native shared
-# objects and then we remove the NATIVE_ROOT prefix from the paths in
-# loaders.cache.
-gdk-pixbuf-query-loaders $(find $D/${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders \
- -name *.so | sed -e "s:$D:$NATIVE_ROOT:g") > \
- $D/${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders.cache || exit 1
-
-sed -i -e "s:$NATIVE_ROOT:/:g" $D/${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders.cache
-rm -f $D/${libdir}/gdk-pixbuf-2.0/${LIBV}/sed*
-exit 0
-fi
-
-# Update the pixbuf loaders in case they haven't been registered yet
-GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders gdk-pixbuf-query-loaders --update-cache
-
-if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then
- for icondir in /usr/share/icons/*; do
- if [ -d ${icondir} ]; then
- gtk-update-icon-cache -t -q ${icondir}
- fi
- done
-fi
-}
diff --git a/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bbappend b/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bbappend
new file mode 100644
index 0000000..a43743e
--- /dev/null
+++ b/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bbappend
@@ -0,0 +1,5 @@
+PRINC = "1"
+# build for x11, at least lxpanel needs this
+DEPENDS += "virtual/libx11"
+
+EXTRA_OECONF += "--with-x11"