[OE-core] [PATCH] librsvg 2.32.1: fix postinst script

Martin Jansa martin.jansa at gmail.com
Thu Apr 21 12:31:15 UTC 2011


On Thu, Apr 21, 2011 at 02:21:25PM +0200, Koen Kooi wrote:
> The symptom:
> 
> root at 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 at pandaboard-core:~#
> 
> the gdk-pixbuf-query-loaders app doesn't support arguments, only .so names, so remove --update-cache

I can confirm same symptom here

shouldn't we store output from it as we did in oe.dev to
/etc/gtk-2.0/gdk-pixbuf.loaders ?

> 
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
>  meta/recipes-gnome/librsvg/librsvg_2.32.1.bb |    4 ++--
>  1 files changed, 2 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 ea9456d..08ac01d 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 \
>  SECTION = "x11/utils"
>  DEPENDS = "gtk+ libcroco cairo libxml2 popt"
>  
> -PR = "r0"
> +PR = "r1"
>  
>  inherit autotools pkgconfig gnome
>  
> @@ -43,6 +43,6 @@ if [ "x$D" != "x" ]; then
>    exit 1
>  fi
>  
> -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 ; }
> +test -x ${bindir}/gdk-pixbuf-query-loaders && { GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders ; }
>  test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache  -q ${datadir}/icons/hicolor
>  }
> -- 
> 1.6.6.1
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com


More information about the Openembedded-core mailing list