summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/librsvg
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-02-12 18:12:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-12 16:35:14 +0000
commit801ca93cbd3e8fd8ce08f72432b6d4c80ed51261 (patch)
treec99eef266c42b1b036eaea00e81f579a03bb7960 /meta/recipes-gnome/librsvg
parentf6dce5376894d4ac91f01a85cffc828678695b04 (diff)
downloadopenembedded-core-801ca93cbd3e8fd8ce08f72432b6d4c80ed51261.tar.gz
openembedded-core-801ca93cbd3e8fd8ce08f72432b6d4c80ed51261.tar.bz2
openembedded-core-801ca93cbd3e8fd8ce08f72432b6d4c80ed51261.zip
librsvg: use the new pixbufcache class
Also, fix the GDK_PIXBUF_QUERYLOADERS path. [YOCTO #3582] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/librsvg')
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.32.1.bb21
1 files changed, 4 insertions, 17 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index 3621045b38..ff17cf75ed 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -11,9 +11,9 @@ DEPENDS = "gtk+ cairo libxml2"
DEPENDS_class-native = "cairo-native pango-native gdk-pixbuf-native"
BBCLASSEXTEND = "native"
-PR = "r11"
+PR = "r12"
-inherit autotools pkgconfig gnome gtk-doc
+inherit autotools pkgconfig gnome gtk-doc pixbufcache
EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz"
@@ -31,7 +31,7 @@ SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7"
SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334"
do_configure_prepend () {
- export GDK_PIXBUF_QUERYLOADERS="${libdir}/gtk-2.0/version/loaders"
+ export GDK_PIXBUF_QUERYLOADERS="${libdir}/gdk-pixbuf-2.0/2.10.0/loaders"
}
PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg"
@@ -53,18 +53,5 @@ FILES_librsvg-gtk-dbg += "${libdir}/gdk-pixbuf-2.0/.debug \
${libdir}/gtk-2.0/.debug \
${libdir}/gtk-2.0/*/*/.debug"
-pkg_postinst_librsvg-gtk() {
-if [ "x$D" != "x" ]; then
- exit 1
-fi
-
-if [ -d ${libdir}/gtk-2.0/2.10.0/loaders ] ; then
- export GDK_PIXBUF_MODULEDIR=${libdir}/gtk-2.0/2.10.0/loaders
-else
- export GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
-fi
-
-test -x ${bindir}/gdk-pixbuf-query-loaders && gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
-test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
-}
+PIXBUF_PACKAGES = "librsvg-gtk"
PARALLEL_MAKE = ""