From fa70e5d4d71bfbfc7ded88ff6d8d979bf9abdae2 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Thu, 4 Apr 2019 01:46:08 +0200 Subject: gnome-desktop3: rework gobject-introspection handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.32.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-gnome') 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 c1a67bda9d..bba81663de 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" -- cgit 1.2.3-korg