diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-04-21 20:18:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-24 22:50:43 +0100 |
commit | 91556f80461897914698ad96020b1441391df9ec (patch) | |
tree | 18fde64df7dda6c37b6ece94d518e175daf6d99e /meta/recipes-gnome/librsvg | |
parent | 6da7fc5ceabaf45e933b56bcc69d25f1f9f73821 (diff) | |
download | poky-91556f80461897914698ad96020b1441391df9ec.tar.gz |
librsvg 2.32.1: fix postinst script
The symptom:
root@pandaboard-core:~# sh /var/lib/opkg/info/librsvg-2-gtk.postinst
g_module_open() failed for /home/root/--update-cache: /home/root/--update-cache.so: cannot open shared object file: No such file or directory
root@pandaboard-core:~#
the gdk-pixbuf-query-loaders app doesn't support arguments, only .so names, so remove --update-cache
Also being fixed:
* loader libdir
* redirect output to /etc/gtk-2.0/gdk-pixbuf.loaders
(From OE-Core rev: e726028424793093f22fd96f7eec791adf55f0ee)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.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.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb index ea9456dff8..56c880042b 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
9 | SECTION = "x11/utils" | 9 | SECTION = "x11/utils" |
10 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" | 10 | DEPENDS = "gtk+ libcroco cairo libxml2 popt" |
11 | 11 | ||
12 | PR = "r0" | 12 | PR = "r2" |
13 | 13 | ||
14 | inherit autotools pkgconfig gnome | 14 | inherit autotools pkgconfig gnome |
15 | 15 | ||
@@ -43,6 +43,12 @@ if [ "x$D" != "x" ]; then | |||
43 | exit 1 | 43 | exit 1 |
44 | fi | 44 | fi |
45 | 45 | ||
46 | test -x ${bindir}/gdk-pixbuf-query-loaders && { GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache ; } | 46 | if [ -d ${libdir}/gtk-2.0/2.10.0/loaders ] ; then |
47 | export GDK_PIXBUF_MODULEDIR=${libdir}/gtk-2.0/2.10.0/loaders | ||
48 | else | ||
49 | export GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders | ||
50 | fi | ||
51 | |||
52 | test -x ${bindir}/gdk-pixbuf-query-loaders && gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders | ||
47 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor | 53 | test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor |
48 | } | 54 | } |