[oe-commits] [meta-openembedded] 02/16: gnome-desktop3: rework gobject-introspection handling

git at git.openembedded.org git at git.openembedded.org
Fri Apr 5 16:21:15 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit d306746b839d64920233c132bdec6815d86ba911
Author: Andreas Müller <schnitzeltony at gmail.com>
AuthorDate: Thu Apr 4 01:46:08 2019 +0200

    gnome-desktop3: rework gobject-introspection handling
    
    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>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-gnome/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 c1a67bd..bba8166 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list