diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-07-14 15:25:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-17 14:01:39 +0100 |
commit | b663374cf41465c6dc94001d6fa73a5523542fb6 (patch) | |
tree | 86acc3be3be9e8c11cff48df099b15c5e69f5a4e /meta/recipes-devtools/python | |
parent | e94b159b2e9a564ca31f81ea11c29c01c87ba89d (diff) | |
download | poky-b663374cf41465c6dc94001d6fa73a5523542fb6.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-Don-t-use-gnome-common-macros.patch | 33 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.24.1.bb | 3 |
2 files changed, 35 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-Don-t-use-gnome-common-macros.patch b/meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-Don-t-use-gnome-common-macros.patch new file mode 100644 index 0000000000..aaedb58fec --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-Don-t-use-gnome-common-macros.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 206360744cedff20eae3c8fcfde9938fdae99592 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Thu, 6 Jul 2017 11:47:21 +0300 | ||
4 | Subject: [PATCH] configure.ac: Don't use gnome-common macros | ||
5 | |||
6 | remove GNOME_COMPILE_WARNINGS() call: it's from gnome-common which | ||
7 | is deprecated. | ||
8 | |||
9 | This patch can be removed when upgrading to 3.25.1: at that point | ||
10 | pygobject needs autoconf-archive instead. | ||
11 | |||
12 | Upstream-Status: Inappropriate [Already handled upstream] | ||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | --- | ||
15 | configure.ac | 2 -- | ||
16 | 1 file changed, 2 deletions(-) | ||
17 | |||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index 1f15b3c..5cb170f 100644 | ||
20 | --- a/configure.ac | ||
21 | +++ b/configure.ac | ||
22 | @@ -221,8 +221,6 @@ AC_ARG_WITH(common, | ||
23 | with_common=yes) | ||
24 | AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes") | ||
25 | |||
26 | -# compiler warnings, errors, required cflags, and code coverage support | ||
27 | -GNOME_COMPILE_WARNINGS([maximum], [-Wno-error=missing-prototypes]) | ||
28 | AC_MSG_CHECKING(for Gnome code coverage support) | ||
29 | m4_ifdef([GNOME_CODE_COVERAGE], | ||
30 | [AC_MSG_RESULT(yes) | ||
31 | -- | ||
32 | 2.1.4 | ||
33 | |||
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.24.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.24.1.bb index 5795ae31da..9d10af2e08 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.24.1.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.24.1.bb | |||
@@ -5,12 +5,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | |||
5 | 5 | ||
6 | inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection upstream-version-is-even | 6 | inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection upstream-version-is-even |
7 | 7 | ||
8 | DEPENDS += "gnome-common-native python3 glib-2.0" | 8 | DEPENDS += "python3 glib-2.0" |
9 | 9 | ||
10 | SRCNAME="pygobject" | 10 | SRCNAME="pygobject" |
11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
12 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | 12 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ |
13 | file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \ | 13 | file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \ |
14 | file://0001-configure.ac-Don-t-use-gnome-common-macros.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | SRC_URI[md5sum] = "69a843311d0f0385dff376e11a2d83d2" | 17 | SRC_URI[md5sum] = "69a843311d0f0385dff376e11a2d83d2" |