Adding patch to remove GNOME compiler warning(deprecated)
gnome-common is completely deprecated and replaced by
autoconf. Therefore this patch removes all gnome
dependencies from the code.
For reference:
https://wiki.gnome.org/Projects/GnomeCommon/Migration
Change-Id: I108dd58152e8b60d1390bcbf184877ea415de669
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch b/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch
new file mode 100644
index 0000000..06bf268
--- /dev/null
+++ b/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch
@@ -0,0 +1,11 @@
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -222,7 +222,6 @@
+ AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes")
+
+ # compiler warnings, errors, required cflags, and code coverage support
+-GNOME_COMPILE_WARNINGS([maximum])
+ AC_MSG_CHECKING(for Gnome code coverage support)
+ m4_ifdef([GNOME_CODE_COVERAGE],
+ [AC_MSG_RESULT(yes)
diff --git a/common/recipes-devtools/python/python-pygobject_3.%.bbappend b/common/recipes-devtools/python/python-pygobject_3.%.bbappend
new file mode 100644
index 0000000..862f99f
--- /dev/null
+++ b/common/recipes-devtools/python/python-pygobject_3.%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+RDEPENDS_${PN}_class-native = ""
+SRC_URI += "file://remove_GNOME_compiler_warning.patch"