From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option
Date: Sun, 20 Feb 2022 21:24:35 +0100 [thread overview]
Message-ID: <20220220202435.GZ522310@scaer> (raw)
In-Reply-To: <20220220121637.200393-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2022-02-20 13:16 +0100, Fabrice Fontaine spake thusly:
> Enable relocatable option to fix the following PPD build failure of
> adwaita-icon-theme:
>
> Can't load file: Unrecognized image file format
>
> This failure is raised because the SVG library is not found by
> gtk-encode-symbolic-svg. To find the SVG library,
> gtk-encode-symbolic-svg depends on libgtk_pixbuf library which reads the
> loaders.cache file using:
> - a hardcoded path (which points to host-gdk-pixbuf per-package
> directory) if relocatable is disabled. The loaders.cache in this
> directory doesn't declare SVG support because it has not yet been
> updated by host-librsvg
> - or a dynamic path corresponding to the binary location if relocatable
> is enabled.
>
> So obviously, we need to set relocatable to true.
>
> Fixes:
> - http://autobuild.buildroot.org/results/0e00059b09b4445eaaec1030997883187c6a80d6
Thanks for providing more details, this is much better indeed, thanks! :-)
I've still felt the need to extend the commit log, because I found that
it left out some information adn explanations that may b needed in the
future.
Applied to master, thanks! :-)
Regards,
Yann E. MORIN.
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2 (after review of Yann E. Morin):
> - Drop relocatable from target
> - Enhance commit message
>
> package/gdk-pixbuf/gdk-pixbuf.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
> index cd30d450d5..b22e9568c9 100644
> --- a/package/gdk-pixbuf/gdk-pixbuf.mk
> +++ b/package/gdk-pixbuf/gdk-pixbuf.mk
> @@ -26,6 +26,7 @@ HOST_GDK_PIXBUF_CONF_OPTS = \
> -Dgio_sniffing=false \
> -Dinstalled_tests=false \
> -Dintrospection=disabled \
> + -Drelocatable=true \
> -Dman=false
>
> ifeq ($(BR2_STATIC_LIBS),y)
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-02-20 20:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 12:16 [Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option Fabrice Fontaine
2022-02-20 12:16 ` [Buildroot] [PATCH v2, 2/2] package/librsvg: fix loaders.cache with with per-package directories Fabrice Fontaine
2022-02-20 22:11 ` Yann E. MORIN
2022-02-20 20:24 ` Yann E. MORIN [this message]
2022-03-10 21:50 ` [Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option Peter Korsgaard
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=20220220202435.GZ522310@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/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