[oe] [PATCH 2/2] gnome-desktop3: rework gobject-introspection handling
Andreas Müller
schnitzeltony at gmail.com
Wed Apr 3 23:46:08 UTC 2019
gobject-introspection is mandatory for gnome-desktop3 - there is no configure
option to enable or disable it.
To handle properly, this patch does:
* Make 'gobject-introspection-data' a required distro feature
* To avoid trouble once pending patch removing
'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"'
are in oe-core [1] - set in recipe to avoid
| ERROR: gnome-desktop3-3.32.0-r0 do_configure: QA Issue: gnome-desktop3: configure was passed unrecognised options: introspection [unknown-configure-option]
This does not handle MACHINE_FEATURES / qemu-usermode case but there other
issues of higher priority.
[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280711.html
Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
.../recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
index c1a67bda9..bba81663d 100644
--- a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb
@@ -8,7 +8,11 @@ BPN = "gnome-desktop"
GNOMEBASEBUILDCLASS = "meson"
-inherit gnome pkgconfig upstream-version-is-even gobject-introspection
+inherit gnome pkgconfig upstream-version-is-even gobject-introspection distro_features_check
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
SRC_URI[archive.md5sum] = "e423ed6d648c6c4f9798fa9cd9ea8d99"
SRC_URI[archive.sha256sum] = "a6393dc5fc29fc0652ac84c73b3da205d0b0168128c4cf6d27797a08f3d07b54"
--
2.20.1
More information about the Openembedded-devel
mailing list