[oe-commits] [meta-openembedded] 04/21: libpeas: rework gobject-introspection handling

git at git.openembedded.org git at git.openembedded.org
Fri Apr 5 01:59:40 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 069632733b188820989e6bf08235d4a7f2674bf8
Author: Andreas Müller <schnitzeltony at gmail.com>
AuthorDate: Thu Apr 4 01:15:32 2019 +0200

    libpeas: rework gobject-introspection handling
    
    gobject-introspection is mandatory for libpeas - 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
      | libpeas-1.22.0-r0 do_configure: QA Issue: libpeas: configure was passed unrecognised options: --enable-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-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb b/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
index c1ead06..dd1b53e 100644
--- a/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
+++ b/meta-oe/recipes-gnome/libpeas/libpeas_1.22.0.bb
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
 
 DEPENDS = "gnome-common gtk+3 intltool-native"
 
-inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache
+inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache distro_features_check
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
 
 SRC_URI[archive.md5sum] = "a20dc55c3f88ad06da9491cfd7de7558"
 SRC_URI[archive.sha256sum] = "5b2fc0f53962b25bca131a5ec0139e6fef8e254481b6e777975f7a1d2702a962"

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


More information about the Openembedded-commits mailing list