Skip to contentSkip to conversation

gnome: move introspection options to gnomebase

PATCH New Ross Burton 1 participant 2 messages Aug 18, 2015

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/classes/gnome.bbclass     | 4 ----
 meta/classes/gnomebase.bbclass | 3 +++
 2 files changed, 3 insertions(+), 4 deletions(-)
meta/classes/gnome.bbclass +0 -4
index 0de22dd..c6202bbb75 100644
@@ -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
index 6ca13cb..fa8f88d 100644
@@ -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
#1 lore raw

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.

---
 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
index 7ae1fee..2e6a908 100644
@@ -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