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

Alexander Kanavin alex.kanavin at gmail.com
Mon Jan 13 21:20:01 UTC 2020


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 <
maxime.roussinbelanger at gmail.com> 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 <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"
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200113/ac6ffd51/attachment.html>


More information about the Openembedded-core mailing list