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

Alexander Kanavin alex.kanavin at gmail.com
Wed Jan 15 08:15:33 UTC 2020


I don't know: I am not seeing the issue locally, and it doesn't happen on
the autobuilder, so it's difficult to give a useful answer.

Alex

On Wed, 15 Jan 2020 at 02:26, Maxime Roussin-Bélanger <
maxime.roussinbelanger at gmail.com> wrote:

> I have modified the recipe to use manpages, but it is impossible to run a
> build from master, because
> of my python3 pyenv setup. I had to add
>
> +DEPENDS = "python3-native"
>
> to ca-certificates, without it was impossible to go through the
> do_configure step. It was using the python3
> from my system instead of the one provided by yocto? I am a bit lost here.
>
> What do you think? Should it have python3-native? There is a fairly recent
> patch
> to use python3 `file://0001-certdata2pem.py-use-python3.patch`
>
> Thanks,
> Max.
>
> On Mon, Jan 13, 2020 at 4:20 PM Alexander Kanavin <alex.kanavin at gmail.com>
> wrote:
> >
> > 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/20200115/e6c96be1/attachment-0001.html>


More information about the Openembedded-core mailing list