* [PATCH] meta: gdk-pixbuf: add man packageconfig @ 2020-01-13 21:10 Maxime Roussin-Bélanger 2020-01-13 21:20 ` Alexander Kanavin 0 siblings, 1 reply; 5+ messages in thread From: Maxime Roussin-Bélanger @ 2020-01-13 21:10 UTC (permalink / raw) To: openembedded-core 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@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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] meta: gdk-pixbuf: add man packageconfig 2020-01-13 21:10 [PATCH] meta: gdk-pixbuf: add man packageconfig Maxime Roussin-Bélanger @ 2020-01-13 21:20 ` Alexander Kanavin 2020-01-15 1:25 ` Maxime Roussin-Bélanger 0 siblings, 1 reply; 5+ messages in thread From: Alexander Kanavin @ 2020-01-13 21:20 UTC (permalink / raw) To: Maxime Roussin-Bélanger; +Cc: OE-core [-- Attachment #1: Type: text/plain, Size: 1969 bytes --] 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@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@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@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > [-- Attachment #2: Type: text/html, Size: 3093 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta: gdk-pixbuf: add man packageconfig 2020-01-13 21:20 ` Alexander Kanavin @ 2020-01-15 1:25 ` Maxime Roussin-Bélanger 2020-01-15 8:15 ` Alexander Kanavin 2020-01-15 13:20 ` Ross Burton 0 siblings, 2 replies; 5+ messages in thread From: Maxime Roussin-Bélanger @ 2020-01-15 1:25 UTC (permalink / raw) To: Alexander Kanavin; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2631 bytes --] 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@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@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@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@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core [-- Attachment #2: Type: text/html, Size: 3753 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta: gdk-pixbuf: add man packageconfig 2020-01-15 1:25 ` Maxime Roussin-Bélanger @ 2020-01-15 8:15 ` Alexander Kanavin 2020-01-15 13:20 ` Ross Burton 1 sibling, 0 replies; 5+ messages in thread From: Alexander Kanavin @ 2020-01-15 8:15 UTC (permalink / raw) To: Maxime Roussin-Bélanger; +Cc: OE-core [-- Attachment #1: Type: text/plain, Size: 3023 bytes --] 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@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@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@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@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@lists.openembedded.org > >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > [-- Attachment #2: Type: text/html, Size: 4495 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta: gdk-pixbuf: add man packageconfig 2020-01-15 1:25 ` Maxime Roussin-Bélanger 2020-01-15 8:15 ` Alexander Kanavin @ 2020-01-15 13:20 ` Ross Burton 1 sibling, 0 replies; 5+ messages in thread From: Ross Burton @ 2020-01-15 13:20 UTC (permalink / raw) To: Maxime Roussin-Bélanger, Alexander Kanavin; +Cc: openembedded-core On 15/01/2020 01:25, Maxime Roussin-Bélanger 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` We assume that the host has a Python 3, which is fair as Bitbake needs Python 3. The ca-certificates recipe should be able to use the same Python 3 interpretter, which was found during a search of $PATH and linked in tmp/hosttools/python3. If your host Py setup is complicated, then the hosttools is where to look for a fix. Ross ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-01-15 13:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-01-13 21:10 [PATCH] meta: gdk-pixbuf: add man packageconfig Maxime Roussin-Bélanger 2020-01-13 21:20 ` Alexander Kanavin 2020-01-15 1:25 ` Maxime Roussin-Bélanger 2020-01-15 8:15 ` Alexander Kanavin 2020-01-15 13:20 ` Ross Burton
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.