[meta-gnome][PATCH] appstream-glib: fix manpage generation


Markus Volk
 

Creating manpages is set by default but fails with:

| I/O error : Attempt to load network entity http://docbook.sourceforge.n=
et/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net=
/release/xsl/current/manpages/docbook.xsl"
| cannot parse http://docbook.sourceforge.net/release/xsl/current/manpage=
s/docbook.xsl

Disable manpage generation by default but fix the dependencies, so it wou=
ldn't fail

Signed-off-by: Markus Volk <f_l_k@...>
---
.../recipes-support/appstream-glib/appstream-glib_0.7.18.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7=
.18.bb b/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.18.=
bb
index 45a28ed96..b5d60b13a 100644
--- a/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.18.bb
+++ b/meta-gnome/recipes-support/appstream-glib/appstream-glib_0.7.18.bb
@@ -26,6 +26,9 @@ EXTRA_OEMESON =3D " \
-Drpm=3Dfalse \
"
=20
+PACKAGECONFIG ?=3D ""
+PACKAGECONFIG[man] =3D "-Dman=3Dtrue,-Dman=3Dfalse,docbook-xml-dtd4-nati=
ve docbook-xsl-stylesheets-native libxslt-native"
+
FILES:${PN} +=3D "${libdir}/asb-plugins-5"
=20
FILES:${PN}-dev +=3D " \
--=20
2.34.1

Join {openembedded-devel@lists.openembedded.org to automatically receive all group messages.