Skip to contentSkip to conversation

gi-docgen: correct comment

PATCH New [email protected] 1 participant 2 messages Jun 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gi-docgen: correct comment

From: Ross Burton <[email protected]>

The logic was changed in 874dc891 but the comment was not.

---
 meta/classes-recipe/gi-docgen.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes-recipe/gi-docgen.bbclass +2 -2
index eb30c6011f8..b4d7b177610 100644
@@ -8,8 +8,8 @@
 # seems to be a successor to gtk-doc:
 # https://gitlab.gnome.org/GNOME/gi-docgen
 
-# This variable is set to True if api-documentation is in
-# DISTRO_FEATURES, and False otherwise.
+# This variable is set to True if api-documentation and
+# gobject-introspection-data are in DISTRO_FEATURES, False otherwise.
 GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
 
 # When building native recipes, disable gi-docgen, as it is not necessary,
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 gobject-introspection: remove obsolete DEPENDS

From: Ross Burton <[email protected]>

This recipe uses meson, so doesn't need to DEPEND on autoconf-archive.

---
 .../gobject-introspection/gobject-introspection_1.74.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb +1 -1
index d3a7ce2fd93..15265d1dc42 100644
@@ -27,7 +27,7 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 
 MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner"
 
-DEPENDS += " libffi zlib glib-2.0 python3 flex-native bison-native autoconf-archive-native"
+DEPENDS += " libffi zlib glib-2.0 python3 flex-native bison-native"
 
 # target build needs qemu to run temporary introspection binaries created
 # on the fly by g-ir-scanner and a native version of itself to run
Signature · 1 line
2.34.1