[OE-core] [PATCH] meta: gdk-pixbuf: add man packageconfig

Maxime Roussin-Bélanger maxime.roussinbelanger at gmail.com
Mon Jan 13 21:10:05 UTC 2020

The current default for the meson configuration is to build
the man. It will only do it if it finds the xsltproc binary
and man option (default: on).

Adding the packageconfig make sure that xsltproc will be
found in the correct path (recipe-sysroot-native) and that
the docbook can be used.

The docbook is needed because xsltproc is used with the
--nonet option, which prevents the uses of the internet to
fetch DFD's.

This recipe has been working for probably everyone with the
current configuration, however if for some reason xsltproc
can be found inside PATH, meson will use it.

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger at gmail.com>
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb
index 699c4ecd0b..f6cc25cd8c 100644
--- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb
@@ -53,6 +53,7 @@ PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng"
 PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg"
 PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff"
 PACKAGECONFIG[jpeg2000] = "-Djasper=true,-Djasper=false,jasper"
+PACKAGECONFIG[man] = "-Dman=true,-Dman=false,libxslt-native docbook-xsl-stylesheets-native,"
 PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,virtual/libx11"

More information about the Openembedded-core mailing list