meta: gdk-pixbuf: add man packageconfig
PATCH 1/1 meta: gdk-pixbuf: add man packageconfig
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.
--- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +1 -0
@@ -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"
Signature · 1 line
2.20.1
The correct way to configure this is to inherit manpages class, and name the option 'manpages' as well.
Alex
Quoted 44 lines · Maxime Roussin-Bélanger
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(+)meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +1
-0@@ -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-nativedocbook-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
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.
Quoted 2 lines · Alexander Kanavin
The correct way to configure this is to inherit manpages class, and name
the option 'manpages' as well.
Quoted 4 lines
Alex
On Mon, 13 Jan 2020 at 22:10, Maxime Roussin-Bélanger <
Quoted 17 lines · [email protected]> wrote:
Quoted 17 lines
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.
Quoted 6 lines
Review
Quoted 6 lines
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(+)(quoted diff) +0
-0
b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb
Quoted 8 lines
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" · line 56
Quoted 8 lines
index
699c4ecd0b..f6cc25cd8c100644meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +1
-0@@ -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,"
Quoted 11 lines
Quoted 11 lines
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +0
-1PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,virtual/libx11" --2.20.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
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
Quoted 73 lines · Maxime Roussin-Bélanger
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_configurestep. 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 python3file://0001-certdata2pem.py-use-python3.patchThanks,
Max.Quoted 2 lines · Alexander Kanavin
The correct way to configure this is to inherit manpages class, and name
the option 'manpages' as well.
Quoted 4 lines
Alex
On Mon, 13 Jan 2020 at 22:10, Maxime Roussin-Bélanger <
Quoted 13 lines · [email protected]> wrote:
Quoted 13 lines
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.
Quoted 5 lines
Quoted 5 lines
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 <Quoted 5 lines
Review
Quoted 5 lines
--- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb
Quoted 8 lines
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" · line 56
Quoted 8 lines
index
699c4ecd0b..f6cc25cd8c100644meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +1
-0@@ -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-nativedocbook-xsl-stylesheets-native,"
Quoted 11 lines
Quoted 11 lines
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +0
-1PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,virtual/libx11" --2.20.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 10 lines · Maxime Roussin-Bélanger
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_configurestep. 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