summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
authorSaqib Khan <khansa@us.ibm.com>2017-03-07 08:06:13 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-03-21 18:34:32 +0000
commit53f1668751628aa94189ea518b06391c228b6c5a (patch)
treedd8bf5a198b97c04c0a5c367f4af74883fab6d01 /meta-phosphor/common
parent46fd3711287c7a604164176d2d499087e660ea1a (diff)
downloadtalos-openbmc-53f1668751628aa94189ea518b06391c228b6c5a.tar.gz
talos-openbmc-53f1668751628aa94189ea518b06391c228b6c5a.zip
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>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r--meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch11
-rw-r--r--meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend3
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch b/meta-phosphor/common/recipes-devtools/python/python-pygobject/remove_GNOME_compiler_warning.patch
new file mode 100644
index 000000000..06bf268cf
--- /dev/null
+++ b/meta-phosphor/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/meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend b/meta-phosphor/common/recipes-devtools/python/python-pygobject_3.%.bbappend
new file mode 100644
index 000000000..862f99f42
--- /dev/null
+++ b/meta-phosphor/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"
OpenPOWER on IntegriCloud