[Buildroot] [PATCH v2, 1/2] package/gdk-pixbuf: enable relocatable option

Peter Korsgaard peter at korsgaard.com
Thu Mar 10 21:50:17 UTC 2022


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > 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 at gmail.com>
 > ---
 > Changes v1 -> v2 (after review of Yann E. Morin):
 >  - Drop relocatable from target
 >  - Enhance commit message

Committed to 2021.02.x and 2021.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list