gnome: move introspection options to gnomebase
PATCH 1/2 gnome: move introspection options to gnomebase
The gnome class is really a convenience class to include other classes, so move the introspection arguments into gnomebase.bbclass.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes/gnome.bbclass | 4 ---- meta/classes/gnomebase.bbclass | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-)
meta/classes/gnome.bbclass +0 -4
@@ -1,5 +1 @@ inherit gnomebase gtk-icon-cache gconf mime - -EXTRA_OECONF += "--disable-introspection" - -UNKNOWN_CONFIGURE_WHITELIST += "--disable-introspection"
meta/classes/gnomebase.bbclass +3 -0
@@ -28,3 +28,6 @@ do_install_append() { rm -f ${D}${datadir}/applications/*.cache } +EXTRA_OECONF += "--disable-introspection" + +UNKNOWN_CONFIGURE_WHITELIST += "--disable-introspection"
Signature · 1 line
2.1.4
PATCH 2/2 json-glib: inherit gnomebase instead of gnome
There's no need to inherit gnome as it pulls in spurious dependencies for a non-graphical library, so just inherit gnomebase.
Also remove the --disable-introspection option as gnomebase already does that.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-gnome/json-glib/json-glib_1.0.4.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-gnome/json-glib/json-glib_1.0.4.bb +1 -3
@@ -15,8 +15,6 @@ GNOME_COMPRESS_TYPE = "xz" SRC_URI[archive.md5sum] = "3131b0417ecde3da1ae72acceaa375cf" SRC_URI[archive.sha256sum] = "80f3593cb6bd13f1465828e46a9f740e2e9bd3cd2257889442b3e62bd6de05cd" -inherit gnome gettext lib_package - -EXTRA_OECONF = "--disable-introspection" +inherit gnomebase gettext lib_package BBCLASSEXTEND = "native"
Signature · 1 line
2.1.4