From 31a597956d269f678de7d8f184657dcff8c8abf3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 20 Sep 2022 15:50:31 +0200 Subject: [PATCH] appstream-glib: fix manpage generation Creating manpages is set by default but fails with: | I/O error : Attempt to load network entity http://docbook.sourceforge.net/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/manpages/docbook.xsl Disable manpage generation by default but fix the dependencies, so it wouldn't fail Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../recipes-support/appstream-glib/appstream-glib_0.7.18.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 45a28ed967..c56e9e3dd9 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 @@ -17,7 +17,7 @@ DEPENDS = " \ libstemmer \ " -inherit meson gobject-introspection gettext bash-completion pkgconfig +inherit meson gobject-introspection gettext bash-completion pkgconfig manpages SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz" SRC_URI[sha256sum] = "ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002" @@ -26,6 +26,9 @@ EXTRA_OEMESON = " \ -Drpm=false \ " +PACKAGECONFIG ?= "" +PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,docbook-xml-dtd4-native docbook-xsl-stylesheets-native libxslt-native" + FILES:${PN} += "${libdir}/asb-plugins-5" FILES:${PN}-dev += " \