From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option
Date: Sun, 20 Feb 2022 13:16:36 +0100 [thread overview]
Message-ID: <20220220121637.200393-1-fontaine.fabrice@gmail.com> (raw)
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
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
next reply other threads:[~2022-02-20 12:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 12:16 Fabrice Fontaine [this message]
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 ` [Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option Yann E. MORIN
2022-03-10 21:50 ` 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=20220220121637.200393-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.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