The correct way to configure this is to inherit manpages class, and name
the option 'manpages' as well.

Alex

On Mon, 13 Jan 2020 at 22:10, Maxime Roussin-Bélanger <
[email protected]> wrote:

> 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 <[email protected]>
> ---
>  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"
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to