python3-pygobject: Don't use gnome-common

Patch out the one use of gnome-common macros: pygobject is moving to
autoconf-archive in next release so this patch is temporary.

(From OE-Core rev: 22525a706196544919586e1bc764f362661685ae)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jussi Kukkonen
2017-07-14 15:25:24 +03:00
committed by Richard Purdie
parent e94b159b2e
commit b663374cf4
2 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
From 206360744cedff20eae3c8fcfde9938fdae99592 Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Thu, 6 Jul 2017 11:47:21 +0300
Subject: [PATCH] configure.ac: Don't use gnome-common macros
remove GNOME_COMPILE_WARNINGS() call: it's from gnome-common which
is deprecated.
This patch can be removed when upgrading to 3.25.1: at that point
pygobject needs autoconf-archive instead.
Upstream-Status: Inappropriate [Already handled upstream]
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
configure.ac | 2 --
1 file changed, 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1f15b3c..5cb170f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,8 +221,6 @@ AC_ARG_WITH(common,
with_common=yes)
AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes")
-# compiler warnings, errors, required cflags, and code coverage support
-GNOME_COMPILE_WARNINGS([maximum], [-Wno-error=missing-prototypes])
AC_MSG_CHECKING(for Gnome code coverage support)
m4_ifdef([GNOME_CODE_COVERAGE],
[AC_MSG_RESULT(yes)
--
2.1.4

View File

@@ -5,12 +5,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection upstream-version-is-even
DEPENDS += "gnome-common-native python3 glib-2.0"
DEPENDS += "python3 glib-2.0"
SRCNAME="pygobject"
SRC_URI = " \
http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \
file://0001-configure.ac-Don-t-use-gnome-common-macros.patch \
"
SRC_URI[md5sum] = "69a843311d0f0385dff376e11a2d83d2"