From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [Patch v2] librsvg 2.32.1: fix postinst script
Date: Sun, 24 Apr 2011 21:23:29 -0700 [thread overview]
Message-ID: <4DB4F741.40501@linux.intel.com> (raw)
In-Reply-To: <1303409910-13329-1-git-send-email-koen@dominion.thruhere.net>
On 04/21/2011 11:18 AM, Koen Kooi wrote:
> 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
>
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
> 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 ea9456d..56c8800 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 = "r2"
>
> inherit autotools pkgconfig gnome
>
> @@ -43,6 +43,12 @@ 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 ; }
> +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
> }
Acutally it was this one that was pulled!! Not the first version.
Sorry for the confusion
Sau!
prev parent reply other threads:[~2011-04-25 4:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-21 18:18 [Patch v2] librsvg 2.32.1: fix postinst script Koen Kooi
2011-04-25 4:23 ` Saul Wold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB4F741.40501@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox