Thanks for the suggestions. I've sent a v2

Am Di, 20. Sep 2022 um 13:43:34 +0000 schrieb Anuj Mittal <anuj.mit...@intel.com>:
On Tue, 2022-09-20 at 10:31 +0200, Markus Volk wrote:
 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/docboo>
 > k.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 <f_...@t-online.de <mailto:f_...@t-online.de>>
 ---
  .../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 = " \
      -Drpm=false \
  "

 +PACKAGECONFIG ?= ""
+PACKAGECONFIG[man] = "-Dman=true,-Dman=false,docbook-xml-dtd4-native
 docbook-xsl-stylesheets-native libxslt-native"

I think this should also inherit manpages bbclass for it to be enabled
correctly. The PACKAGECONFIG will also have to be changed to manpages
then.

Thanks,

Anuj

 +
  FILES:${PN} += "${libdir}/asb-plugins-5"

  FILES:${PN}-dev += " \








-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98909): 
https://lists.openembedded.org/g/openembedded-devel/message/98909
Mute This Topic: https://lists.openembedded.org/mt/93799217/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to