From 2aa496eb66045667df00136c6ddf25c9b297ebc7 Mon Sep 17 00:00:00 2001 From: Huang Qiyu Date: Wed, 21 Mar 2018 11:36:08 +0800 Subject: python-pygobject: 3.22.0 -> 3.28.0 1.Upgrad python-pygobject from 3.22.0 to 3.28.0. 2.Modify 0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch, since the data has been changed. Signed-off-by: Huang Qiyu --- ...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 19 ++---------- .../python/python-pygobject_3.22.0.bb | 35 ---------------------- .../python/python-pygobject_3.28.0.bb | 35 ++++++++++++++++++++++ 3 files changed, 38 insertions(+), 51 deletions(-) delete mode 100644 meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb create mode 100644 meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb (limited to 'meta-oe/recipes-devtools') diff --git a/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch b/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch index a391f7e74e..9a11442f1c 100644 --- a/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch +++ b/meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch @@ -14,28 +14,15 @@ diff --git a/configure.ac b/configure.ac index 2c0cfbd..cfcb3bf 100644 --- a/configure.ac +++ b/configure.ac -@@ -194,7 +194,7 @@ PKG_CHECK_MODULES(GI, - gobject-introspection-1.0 >= introspection_required_version - ) +@@ -155,7 +155,7 @@ PKG_CHECK_MODULES(GI, + + GOBJECT_INTROSPECTION_CHECK(introspection_required_version) -GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0) +GI_DATADIR=$PKG_CONFIG_SYSROOT_DIR$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0) AC_SUBST(GI_DATADIR) if test "$enable_cairo" != no; then -@@ -219,12 +219,6 @@ AC_ARG_WITH(common, - with_common=yes) - AM_CONDITIONAL(WITH_COMMON, test "$with_common" = "yes") - --INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` --INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` -- --AC_SUBST(INTROSPECTION_SCANNER) --AC_SUBST(INTROSPECTION_COMPILER) -- - # compiler warnings, errors, required cflags, and code coverage support - GNOME_COMPILE_WARNINGS([maximum]) - AC_MSG_CHECKING(for Gnome code coverage support) -- 2.1.4 diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb deleted file mode 100644 index 7ddf4e552f..0000000000 --- a/meta-oe/recipes-devtools/python/python-pygobject_3.22.0.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Python GObject bindings" -HOMEPAGE = "http://www.pygtk.org/" -SECTION = "devel/python" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" - -inherit autotools pkgconfig gnomebase distutils-base gobject-introspection - -PYTHON_BASEVERSION = "2.7" -PYTHON_PN = "python" - -DEPENDS += "gnome-common-native python 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 \ -" - -SRC_URI[md5sum] = "ed4117ed5d554d25fd7718807fbf819f" -SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -BBCLASSEXTEND = "native" - -EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}" - -RDEPENDS_${PN} += "python-setuptools" -RDEPENDS_${PN}_class-native = "" - -do_install_append() { - # Remove files that clash with python3-pygobject; their content is same - rm -rf ${D}${includedir}/pygobject-3.0//pygobject.h ${D}${libdir}/pkgconfig -} diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb new file mode 100644 index 0000000000..ab65ba1dcf --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.28.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Python GObject bindings" +HOMEPAGE = "http://www.pygtk.org/" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +inherit autotools pkgconfig gnomebase distutils-base gobject-introspection + +PYTHON_BASEVERSION = "2.7" +PYTHON_PN = "python" + +DEPENDS += "gnome-common-native python 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 \ +" + +SRC_URI[md5sum] = "b29d69edb63ae1f555afeb19f90b9996" +SRC_URI[sha256sum] = "42b47b261b45aedfc77e02e3c90a01cd74d6f86c3273c1860a054d531d606e5a" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +BBCLASSEXTEND = "native" + +EXTRA_OECONF = "--disable-cairo --with-python=${PYTHON}" + +RDEPENDS_${PN} += "python-setuptools" +RDEPENDS_${PN}_class-native = "" + +do_install_append() { + # Remove files that clash with python3-pygobject; their content is same + rm -rf ${D}${includedir}/pygobject-3.0//pygobject.h ${D}${libdir}/pkgconfig +} -- cgit 1.2.3-korg