Fixes for oe-core's python 3 move
cover Fixes for oe-core's python 3 move
This patch unbreaks what would otherwise be broken by oe-core's move to Python 3. Do not apply until the corresponding oe-core patchset is merged.
The following changes since commit 4ff633a23a055ca1cb58b269846cbca649f42cea:
uim: Fix Warning (2016-05-19 12:03:54 +0200)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib akanavin/deprecate-python2
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=akanavin/deprecate-python2
Alexander Kanavin (8):
Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based
recipes
florence: update to 0.6.3
python-dbus: add a recipe
python-imaging: add a recipe
python-pyrex: add a recipe
python-pygobject: add a recipe
cmpi-bindings: fix build with python 3
gnome-doc-utils-stub: add a recipe
meta-efl/recipes-devtools/python/python-edbus.inc | 4 -
meta-efl/recipes-devtools/python/python-efl.inc | 4 -
.../recipes-extended/gparted/gparted_0.24.0.bb | 2 +-
meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 1 +
.../0001-Remove-help-directory-from-build.patch | 29 +
meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 12 +-
.../gnome-control-center_2.32.1.bb | 1 +
.../gnome-desktop/gnome-desktop_2.32.1.bb | 1 +
.../0001-Add-gnome-doc-utils.make.patch | 730 +++++++++++++++++++++
.../gnome-panel/gnome-panel_2.32.1.bb | 4 +-
.../0001-Drop-help-directory-from-build.patch | 25 +
meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 7 +-
.../florence/files/0001-Fix-glib-includes.patch | 33 -
.../{florence_0.5.1.bb => florence_0.6.3.bb} | 10 +-
.../recipes-mediacentre/xbmc/xbmc_git.bb | 2 -
meta-networking/classes/waf-samba.bbclass | 2 -
meta-oe/recipes-devtools/geany/geany_1.27.bb | 4 +-
meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | 6 +-
.../mercurial/mercurial-native_3.4.1.bb | 2 +-
...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 41 ++
.../python/python-pygobject_3.18.2.bb | 31 +
...HON_ABI-suffix-to-the-python-library-name.patch | 27 +
.../cmpi-bindings/cmpi-bindings_git.bb | 7 +-
meta-oe/recipes-extended/hplip/hplip_3.12.6.bb | 2 -
.../recipes-extended/openwsman/openwsman_2.6.2.bb | 2 -
meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 -
.../gnome-doc-utils-stub/files/gnome-doc-utils.m4 | 61 ++
.../gnome-doc-utils-stub_1.0.bb | 18 +
meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 6 -
meta-oe/recipes-support/opencv/opencv_2.4.bb | 2 -
meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 -
meta-oe/recipes-support/postgresql/postgresql.inc | 2 +-
.../recipes-devtools/python/python-dbus_1.2.0.bb | 31 +
...ing-setup.py-force-paths-for-zlib-freetyp.patch | 55 ++
.../allow.to.disable.some.features.patch | 65 ++
.../python-imaging/fix-freetype-includes.patch | 30 +
.../python/python-imaging_1.1.7.bb | 45 ++
.../python/python-matplotlib_1.1.0.bb | 3 -
.../python/python-pyrex-native_0.9.9.bb | 5 +
.../python-pyrex/pyrex-fix-optimized-mode.patch | 15 +
.../recipes-devtools/python/python-pyrex_0.9.9.bb | 22 +
meta-python/recipes-devtools/python/python-six.inc | 1 -
.../python/python-vcversioner_2.14.0.0.bb | 1 -
43 files changed, 1259 insertions(+), 96 deletions(-)
create mode 100644 meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch
create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Add-gnome-doc-utils.make.patch
create mode 100644 meta-gnome/recipes-gnome/gthumb/files/0001-Drop-help-directory-from-build.patch
delete mode 100644 meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
rename meta-gnome/recipes-support/florence/{florence_0.5.1.bb => florence_0.6.3.bb} (71%)
create mode 100644 meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch
create mode 100644 meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb
create mode 100644 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
create mode 100644 meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4
create mode 100644 meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
create mode 100644 meta-python/recipes-devtools/python/python-dbus_1.2.0.bb
create mode 100644 meta-python/recipes-devtools/python/python-imaging/0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch
create mode 100644 meta-python/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch
create mode 100644 meta-python/recipes-devtools/python/python-imaging/fix-freetype-includes.patch
create mode 100644 meta-python/recipes-devtools/python/python-imaging_1.1.7.bb
create mode 100644 meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb
create mode 100644 meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch
create mode 100644 meta-python/recipes-devtools/python/python-pyrex_0.9.9.bbSignature · 1 line
2.8.1
PATCH 1/8 Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipes
They are no longer required to build python software.
--- meta-efl/recipes-devtools/python/python-edbus.inc | 4 ---- meta-efl/recipes-devtools/python/python-efl.inc | 4 ---- meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | 2 -- meta-networking/classes/waf-samba.bbclass | 2 -- meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb | 2 +- meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb | 2 -- meta-oe/recipes-extended/hplip/hplip_3.12.6.bb | 2 -- meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb | 2 -- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 -- meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 6 ------ meta-oe/recipes-support/opencv/opencv_2.4.bb | 2 -- meta-oe/recipes-support/opencv/opencv_3.1.bb | 2 -- meta-oe/recipes-support/postgresql/postgresql.inc | 2 +- meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb | 3 --- meta-python/recipes-devtools/python/python-six.inc | 1 - meta-python/recipes-devtools/python/python-vcversioner_2.14.0.0.bb | 1 - 16 files changed, 2 insertions(+), 37 deletions(-)
meta-efl/recipes-devtools/python/python-edbus.inc +0 -4
@@ -8,10 +8,6 @@ AUTHOR = "Gustavo Sverzut Barbieri <[email protected]>" DEPENDS = "python-cython-native python-pyrex-native python-numeric eina edbus python-dbus" RDEPENDS_${PN} += "python-lang python-dbus" -# necessary to let the call for python-config succeed -export BUILD_SYS -export HOST_SYS - inherit e-base autotools pkgconfig distutils-base SRCNAME = "python-e_dbus"
meta-efl/recipes-devtools/python/python-efl.inc +0 -4
@@ -13,10 +13,6 @@ RDEPENDS_${PN} += "python-lang" PROVIDES = "python-ecore python-eldbus python-edje python-elementary python-emotion python-evas" -# necessary to let the call for python-config succeed -export BUILD_SYS -export HOST_SYS - inherit e-base distutils pkgconfig SRCVER = "${PV}"
meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +0 -2
@@ -52,8 +52,6 @@ BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" EXTRA_OECONF_append_armv7a = "--cpu=cortex-a8" # for python modules -export HOST_SYS -export BUILD_SYS export STAGING_LIBDIR export STAGING_INCDIR export PYTHON_DIR
meta-networking/classes/waf-samba.bbclass +0 -2
@@ -65,8 +65,6 @@ do_configure() { -L ${STAGING_DIR_HOST} \ -E LD_LIBRARY_PATH=${libdir_qemu}:${base_libdir_qemu}" - export BUILD_SYS=${BUILD_SYS} - export HOST_SYS=${HOST_SYS} export BUILD_ARCH=${BUILD_ARCH} export HOST_ARCH=${HOST_ARCH} export STAGING_LIBDIR=${STAGING_LIBDIR}
meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb +1 -1
@@ -14,7 +14,7 @@ S = "${WORKDIR}/mercurial-${PV}" inherit native EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ - BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}" + PREFIX=${prefix}" do_configure_append () { sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb +0 -2
@@ -24,8 +24,6 @@ EXTRA_OECMAKE = "-DLIB='${baselib}' \ -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" do_configure_prepend() { - export HOST_SYS=${HOST_SYS} - export BUILD_SYS=${BUILD_SYS} export STAGING_LIBDIR=${STAGING_LIBDIR} export STAGING_INCDIR=${STAGING_INCDIR} export ENV_INSTALL_PATH=${PYTHON_SITEPACKAGES_DIR}
meta-oe/recipes-extended/hplip/hplip_3.12.6.bb +0 -2
@@ -15,8 +15,6 @@ DEPENDS += "cups python libusb" inherit autotools-brokensep python-dir pythonnative pkgconfig -export BUILD_SYS -export HOST_SYS export STAGING_INCDIR export STAGING_LIBDIR
meta-oe/recipes-extended/openwsman/openwsman_2.6.2.bb +0 -2
@@ -39,8 +39,6 @@ EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ " do_configure_prepend() { - export HOST_SYS=${HOST_SYS} - export BUILD_SYS=${BUILD_SYS} export STAGING_INCDIR=${STAGING_INCDIR} export STAGING_LIBDIR=${STAGING_LIBDIR} }
meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +0 -2
@@ -50,8 +50,6 @@ EXTRA_OECONF = " \ --disable-rpath \ " -export BUILD_SYS -export HOST_SYS export STAGING_LIBDIR export STAGING_INCDIR
meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb +0 -6
@@ -55,9 +55,6 @@ do_compile_prepend() { export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" - - export BUILD_SYS="${BUILD_SYS}" - export HOST_SYS="${HOST_SYS}" } do_install() {
@@ -65,9 +62,6 @@ do_install() { export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" - export BUILD_SYS="${BUILD_SYS}" - export HOST_SYS="${HOST_SYS}" - export DESTDIR="${D}" # prefix is used for RPATH and DESTDIR/prefix for instalation ${STAGING_BINDIR_NATIVE}/scons prefix=${prefix} install ${EXTRA_OESCONS}|| \
meta-oe/recipes-support/opencv/opencv_2.4.bb +0 -2
@@ -50,8 +50,6 @@ PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," inherit distutils-base pkgconfig cmake -export BUILD_SYS -export HOST_SYS export PYTHON_CSPEC="-I${STAGING_INCDIR}/${PYTHON_DIR}" export PYTHON="${STAGING_BINDIR_NATIVE}/python"
meta-oe/recipes-support/opencv/opencv_3.1.bb +0 -2
@@ -70,8 +70,6 @@ PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," inherit distutils-base pkgconfig cmake -export BUILD_SYS -export HOST_SYS export PYTHON_CSPEC="-I${STAGING_INCDIR}/${PYTHON_DIR}" export PYTHON="${STAGING_BINDIR_NATIVE}/python" export JAVA_HOME="${STAGING_DIR_NATIVE}/usr/bin/java"
meta-oe/recipes-support/postgresql/postgresql.inc +1 -1
@@ -113,7 +113,7 @@ python populate_packages_prepend() { do_configure() { # do_configure_prepend # make sure configure finds python includdirs with these envs - export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + export \ STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR}
meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb +0 -3
@@ -19,15 +19,12 @@ EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" inherit distutils do_compile_prepend() { - BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \ true } # need to export these variables for python-config to work export PYTHONPATH -export BUILD_SYS -export HOST_SYS export STAGING_INCDIR export STAGING_LIBDIR
meta-python/recipes-devtools/python/python-six.inc +0 -1
@@ -6,7 +6,6 @@ SRC_URI[md5sum] = "34eed507548117b2ab523ab14b2f8b55" SRC_URI[sha256sum] = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a" do_compile_append() { - export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ${PYTHON} setup.py -q bdist_egg --dist-dir ./ } do_install_append() {
meta-python/recipes-devtools/python/python-vcversioner_2.14.0.0.bb +0 -1
@@ -10,7 +10,6 @@ SRC_URI[sha256sum] = "acd43686e92e6c8bbeb4f2eef54408567a7adea9692fa72d591eec5357 inherit pypi setuptools do_compile_append() { - export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} ${PYTHON} setup.py -q bdist_egg --dist-dir ./ }
Signature · 1 line
2.8.1
PATCH 2/8 florence: update to 0.6.3
In reply to Alexander Kanavin---
.../florence/files/0001-Fix-glib-includes.patch | 33 ----------------------
.../{florence_0.5.1.bb => florence_0.6.3.bb} | 10 +++----
2 files changed, 5 insertions(+), 38 deletions(-)
delete mode 100644 meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
rename meta-gnome/recipes-support/florence/{florence_0.5.1.bb => florence_0.6.3.bb} (71%)meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From c8419ef05ff92ffa3de2e626eb6acd5d2df3baa1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Tue, 15 May 2012 13:40:05 +0200 -Subject: [PATCH] Fix glib includes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit -Upstream-Status: unknown - -Signed-off-by: Andreas Müller <[email protected]> ---- - src/trace.c | 5 +---- - 1 files changed, 1 insertions(+), 4 deletions(-) - -diff --git a/src/trace.c b/src/trace.c -index 5ea5c13..774c56d 100644 ---- a/src/trace.c -+++ b/src/trace.c -@@ -21,10 +21,7 @@ - - #include "trace.h" - #include "system.h" --#include <glib/gprintf.h> --#include <glib/gutils.h> --#include <glib/gslist.h> --#include <glib/gstrfuncs.h> -+#include <glib.h> - #include <stdio.h> - #include <stdarg.h> - --- -1.7.6.5 -
meta-gnome/recipes-support/florence/florence_0.6.3.bb renamed from meta-gnome/recipes-support/florence/florence_0.5.1.bb +5 -5
@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" PR = "r1" -DEPENDS = "gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native gnome-doc-utils libnotify" +DEPENDS = "gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native gnome-doc-utils libnotify gstreamer1.0" SRC_URI = "${SOURCEFORGE_MIRROR}/florence/florence/${PV}/florence-${PV}.tar.bz2 \ - file://0001-Fix-glib-includes.patch" -SRC_URI[md5sum] = "56d12e5b47c100d9df172aa5ddc0f609" -SRC_URI[sha256sum] = "7b06ed84ef2b7b22d8d2cf0c7d013a05409bd82028240ac8719a68b192d5bc62" + " +SRC_URI[md5sum] = "8775051d7352f75dec5a86dc9964e8e0" +SRC_URI[sha256sum] = "422992fd07d285be73cce721a203e22cee21320d69b0fda1579ce62944c5091e" -inherit gettext autotools gconf pkgconfig +inherit gettext autotools gconf pkgconfig gsettings EXTRA_OECONF = "--disable-scrollkeeper --without-docs --without-at-spi --without-panelapplet"
Signature · 1 line
2.8.1
PATCH 3/8 python-dbus: add a recipe
In reply to Alexander Kanavinoe-core provides only python3-dbus now, so python-dbus still has to be provided for a few recipes in meta-oe.
--- .../recipes-devtools/python/python-dbus_1.2.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-dbus_1.2.0.bb
meta-python/recipes-devtools/python/python-dbus_1.2.0.bb new file +31 -0
@@ -0,0 +1,31 @@ +SUMMARY = "Python bindings for the DBus inter-process communication system" +SECTION = "devel/python" +HOMEPAGE = "http://www.freedesktop.org/Software/dbus" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=0b83047ce9e948b67c0facc5f233476a" +DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" + +SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \ +" + +SRC_URI[md5sum] = "b09cd2d1a057cc432ce944de3fc06bf7" +SRC_URI[sha256sum] = "e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df" +S = "${WORKDIR}/dbus-python-${PV}" + +inherit distutils-base autotools pkgconfig + +PACKAGECONFIG ?= "" +PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native" +PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native" + +export STAGING_LIBDIR +export STAGING_INCDIR + +RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml" + +FILES_${PN}-dev += "${libdir}/pkgconfig" + +do_install_append() { + # Remove files that clash with python3-dbus; their content is same + rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc +}
Signature · 1 line
2.8.1
PATCH 4/8 python-imaging: add a recipe
In reply to Alexander KanavinThis is moved from oe-core.
--- ...ing-setup.py-force-paths-for-zlib-freetyp.patch | 55 ++++++++++++++++++ .../allow.to.disable.some.features.patch | 65 ++++++++++++++++++++++ .../python-imaging/fix-freetype-includes.patch | 30 ++++++++++ .../python/python-imaging_1.1.7.bb | 45 +++++++++++++++ 4 files changed, 195 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-imaging/0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch create mode 100644 meta-python/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch create mode 100644 meta-python/recipes-devtools/python/python-imaging/fix-freetype-includes.patch create mode 100644 meta-python/recipes-devtools/python/python-imaging_1.1.7.bb
meta-python/recipes-devtools/python/python-imaging/0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch new file +55 -0
@@ -0,0 +1,55 @@ +From 07d4f095a9e22ae676a8d68073101131e65012dc Mon Sep 17 00:00:00 2001 +From: Koen Kooi <[email protected]> +Date: Tue, 15 Nov 2011 13:16:54 +0100 +Subject: [PATCH] python imaging setup.py: force paths for zlib, freetype and jpeg and don't add host paths + +Signed-off-by: Koen Kooi <[email protected]> + +Upstream-Status: Inappropriate [embedded specific] +--- + setup.py | 14 +++----------- + 1 files changed, 3 insertions(+), 11 deletions(-) + +diff --git a/setup.py b/setup.py +index 5d4d53a..b1a22ec 100644 +--- a/setup.py ++++ b/setup.py +@@ -34,10 +34,10 @@ def libinclude(root): + # TIFF_ROOT = libinclude("/opt/tiff") + + TCL_ROOT = None +-JPEG_ROOT = None +-ZLIB_ROOT = None ++JPEG_ROOT = os.environ['STAGING_LIBDIR'] ++ZLIB_ROOT = os.environ['STAGING_LIBDIR'] + TIFF_ROOT = None +-FREETYPE_ROOT = None ++FREETYPE_ROOT = os.environ['STAGING_LIBDIR'], os.environ['STAGING_INCDIR'] + LCMS_ROOT = None + + # FIXME: add mechanism to explicitly *disable* the use of a library +@@ -147,7 +147,6 @@ class pil_build_ext(build_ext): + add_directory(library_dirs, "/opt/local/lib") + add_directory(include_dirs, "/opt/local/include") + +- add_directory(library_dirs, "/usr/local/lib") + # FIXME: check /opt/stuff directories here? + + prefix = sysconfig.get_config_var("prefix") +@@ -207,13 +206,6 @@ class pil_build_ext(build_ext): + if os.path.isfile(os.path.join(tcl_dir, "tk.h")): + add_directory(include_dirs, tcl_dir) + +- # standard locations +- add_directory(library_dirs, "/usr/local/lib") +- add_directory(include_dirs, "/usr/local/include") +- +- add_directory(library_dirs, "/usr/lib") +- add_directory(include_dirs, "/usr/include") +- + # + # insert new dirs *before* default libs, to avoid conflicts + # between Python PYD stub libs and real libraries +-- +1.7.2.5 +
meta-python/recipes-devtools/python/python-imaging/allow.to.disable.some.features.patch new file +65 -0
65 lines not on this page · raw message
meta-python/recipes-devtools/python/python-imaging/fix-freetype-includes.patch new file +30 -0
@@ -0,0 +1,30 @@ +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> + +From c6040f618d8f2706a7b46d1cdf37d1a587f9701f Mon Sep 17 00:00:00 2001 +From: Andrew Stromnov <[email protected]> +Date: Thu, 28 Nov 2013 16:58:43 +0400 +Subject: [PATCH] fix compiling with FreeType 2.5.1 + +--- + _imagingft.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/_imagingft.c b/_imagingft.c +index 47d50bd..f19555b 100644 +--- a/_imagingft.c ++++ b/_imagingft.c +@@ -59,7 +59,11 @@ struct { + const char* message; + } ft_errors[] = + ++#if defined(USE_FREETYPE_2_1) ++#include FT_ERRORS_H ++#else + #include <freetype/fterrors.h> ++#endif + + /* -------------------------------------------------------------------- */ + /* font objects */ +-- +1.8.5.1
meta-python/recipes-devtools/python/python-imaging_1.1.7.bb new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
2.8.1
PATCH 5/8 python-pyrex: add a recipe
In reply to Alexander KanavinThis is moved from oe-core.
--- .../python/python-pyrex-native_0.9.9.bb | 5 +++++ .../python-pyrex/pyrex-fix-optimized-mode.patch | 15 +++++++++++++++ .../recipes-devtools/python/python-pyrex_0.9.9.bb | 22 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb create mode 100644 meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch create mode 100644 meta-python/recipes-devtools/python/python-pyrex_0.9.9.bb
meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb new file +5 -0
@@ -0,0 +1,5 @@ +require python-pyrex_${PV}.bb +inherit native pythonnative +DEPENDS = "python-native" +RDEPENDS_${PN} = "" +PR = "r3"
meta-python/recipes-devtools/python/python-pyrex/pyrex-fix-optimized-mode.patch new file +15 -0
@@ -0,0 +1,15 @@ +Upstream-Status: Pending + +Index: Pyrex-0.9.8.4/Pyrex/Distutils/extension.py +=================================================================== +--- Pyrex-0.9.8.4.orig/Pyrex/Distutils/extension.py ++++ Pyrex-0.9.8.4/Pyrex/Distutils/extension.py +@@ -15,7 +15,7 @@ except ImportError: + warnings = None + + class Extension(_Extension.Extension): +- _Extension.Extension.__doc__ + \ ++ _Extension.Extension.__doc__ or "" + \ + """pyrex_include_dirs : [string] + list of directories to search for Pyrex header files (.pxd) (in + Unix form for portability)
meta-python/recipes-devtools/python/python-pyrex_0.9.9.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Language for writing Python extension modules" +DESCRIPTION = "Pyrex is a language specially designed for writing Python extension modules. \ +It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ +and the messy, low-level world of C." +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=771d472f53f933033f57eeee7808e5bd" +SRCNAME = "Pyrex" +PR = "r4" + +SRC_URI = "\ + http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + file://pyrex-fix-optimized-mode.patch \ +" + +SRC_URI[md5sum] = "515dee67d15d4393841e2d60e8341947" +SRC_URI[sha256sum] = "5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +FILES_${PN} += "${datadir}${base_libdir}/${PYTHON_DIR}/site-packages/Pyrex/Compiler/Lexicon.pickle"
Signature · 1 line
2.8.1
PATCH 6/8 python-pygobject: add a recipe
In reply to Alexander Kanavinoe-core provides only python3-pygobject now, and a few recipes in meta-oe still need the version built against Python 2.
--- ...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 41 ++++++++++++++++++++++ .../python/python-pygobject_3.18.2.bb | 31 ++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch create mode 100644 meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb
meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 5e5350d730f85957a42c6d846d347d080e7dd996 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Fri, 23 Oct 2015 12:40:34 +0300 +Subject: [PATCH] configure.ac: add sysroot path to GI_DATADIR; don't set + introspection scanner and compiler paths + +Upstream-Status: Pending [review on oe-core maillist] +Signed-off-by: Alexander Kanavin <[email protected]> +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +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 + ) + +-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 +
meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb new file +31 -0
@@ -0,0 +1,31 @@ +SUMMARY = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +inherit autotools pkgconfig gnomebase distutils-base gobject-introspection + +DEPENDS += "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] = "0a956f3e785e23b0f136832f2e57a862" +SRC_URI[sha256sum] = "2a3cad1517916b74e131e6002c3824361aee0671ffb0d55ded119477fc1c2c5f" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +BBCLASSEXTEND = "native" + +EXTRA_OECONF = "--disable-cairo --with-python=python2.7" + +RDEPENDS_${PN} += "python-setuptools python-importlib" + +do_install_append() { + # Remove files that clash with python3-pygobject; their content is same + rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc +} +
Signature · 1 line
2.8.1
PATCH 7/8 cmpi-bindings: fix build with python 3
In reply to Alexander KanavinThis recipe seemed to have a floating dependency on Python 3, so let's make it fixed.
--- ...HON_ABI-suffix-to-the-python-library-name.patch | 27 ++++++++++++++++++++++ .../cmpi-bindings/cmpi-bindings_git.bb | 5 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch new file +27 -0
@@ -0,0 +1,27 @@ +From a701ed30ac1bc2f77d063c237d6ae040a2d53f6b Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Mon, 16 May 2016 16:52:24 +0300 +Subject: [PATCH] Add 'm' suffix to the python library name. + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin <[email protected]> +--- + swig/python/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt +index 128798b..391cef7 100644 +--- a/swig/python/CMakeLists.txt ++++ b/swig/python/CMakeLists.txt +@@ -49,7 +49,7 @@ ADD_DEFINITIONS(-DCMPI_PLATFORM_LINUX_GENERIC_GNU -DCMPI_VERSION=200) + SET( NAME pyCmpiProvider ) + ADD_LIBRARY( ${NAME} SHARED ${SWIG_OUTPUT}) + #TARGET_LINK_LIBRARIES( ${NAME} ${PYTHON_LIBRARIES} ) +-TARGET_LINK_LIBRARIES( ${NAME} python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION} ) ++TARGET_LINK_LIBRARIES( ${NAME} python${PYTHON_MAJOR_VERSION}.${PYTHON_MINOR_VERSION}m ) + TARGET_LINK_LIBRARIES( ${NAME} pthread ) + TARGET_LINK_LIBRARIES( ${NAME} dl ) + TARGET_LINK_LIBRARIES( ${NAME} util ) +-- +2.8.1 +
meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_git.bb +3 -2
@@ -4,7 +4,7 @@ HOMEPAGE = "http://github.com/kkaempf/cmpi-bindings" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064" SECTION = "Development/Libraries" -DEPENDS = "swig-native python sblim-cmpi-devel" +DEPENDS = "swig-native python3 sblim-cmpi-devel" SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=http \ file://cmpi-bindings-0.4.17-no-ruby-perl.patch \
@@ -13,12 +13,13 @@ SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=http \ file://0001-Modify-cmakelist.patch \ file://0001-Fix-error.patch \ file://0001-fix-the-build-error-when-python-3.0.patch \ + file://0001-Add-PYTHON_ABI-suffix-to-the-python-library-name.patch \ " SRCREV = "62f60e065aa1b901f826e4f530c0573ae32d065e" S = "${WORKDIR}/git" -inherit cmake pythonnative +inherit cmake python3native EXTRA_OECMAKE = "-DLIB='${baselib}' \ -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
Signature · 1 line
2.8.1
PATCH 8/8 gnome-doc-utils-stub: add a recipe
In reply to Alexander KanavinReal gnome-doc-utils can no longer be build (because it requires both python 2 and libxml2, which can only be build for one version of Python), so a stub recipe which provides just m4 macros is provided, and usage of gnome-doc-utils is disabled where needed.
--- .../recipes-extended/gparted/gparted_0.24.0.bb | 2 +- meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 1 + .../0001-Remove-help-directory-from-build.patch | 29 + meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb | 12 +- .../gnome-control-center_2.32.1.bb | 1 + .../gnome-desktop/gnome-desktop_2.32.1.bb | 1 + .../0001-Add-gnome-doc-utils.make.patch | 730 +++++++++++++++++++++ .../gnome-panel/gnome-panel_2.32.1.bb | 4 +- .../0001-Drop-help-directory-from-build.patch | 25 + meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb | 7 +- meta-oe/recipes-devtools/geany/geany_1.27.bb | 4 +- meta-oe/recipes-devtools/glade/glade3_3.8.5.bb | 6 +- .../gnome-doc-utils-stub/files/gnome-doc-utils.m4 | 61 ++ .../gnome-doc-utils-stub_1.0.bb | 18 + 14 files changed, 882 insertions(+), 19 deletions(-) create mode 100644 meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Add-gnome-doc-utils.make.patch create mode 100644 meta-gnome/recipes-gnome/gthumb/files/0001-Drop-help-directory-from-build.patch create mode 100644 meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4 create mode 100644 meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
meta-gnome/recipes-extended/gparted/gparted_0.24.0.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI = " \ SRC_URI[md5sum] = "b8480274c68876acff5965d4346710e7" SRC_URI[sha256sum] = "02398ab33894a59b0bd8707e598c46d8bb56f1413cd54de48eed61e2920ecd60" -DEPENDS = "glib-2.0 gtkmm parted gnome-doc-utils-native" +DEPENDS = "glib-2.0 gtkmm parted gnome-doc-utils" do_install_append() { # Add a script which checks if polkit is installed.
meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb +1 -0
@@ -34,6 +34,7 @@ EXTRA_OECONF = " \ do_configure_prepend() { sed -i -e "s:\bdocs::g" ${S}/Makefile.am + rm -f ${S}/m4/gnome-doc-utils.m4 } do_install_prepend() {
meta-gnome/recipes-gnome/gedit/files/0001-Remove-help-directory-from-build.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 1d2e6165e3154e27ecde329a40c05f0880afb9e0 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Tue, 17 May 2016 14:14:03 +0300 +Subject: [PATCH] Remove help directory from build + +It hardcodes the use of xml2po utility, which is provided by obsolete gnome-doc-utils + +Signed-off-by: Alexander Kanavin <[email protected]> +--- + Makefile.am | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index e57b203..a88152d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -3,9 +3,6 @@ ACLOCAL_AMFLAGS = -I m4 + + SUBDIRS = gedit pixmaps po data plugin-loaders plugins docs tests win32 osx + +-if !OS_OSX +-SUBDIRS += help +-endif + + distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper + +-- +2.8.1 +
meta-gnome/recipes-gnome/gedit/gedit_2.30.4.bb +3 -9
@@ -3,12 +3,13 @@ SECTION = "x11/gnome" LICENSE = "GPLv2+" PR = "r2" -DEPENDS = "gvfs enchant gconf gnome-doc-utils gnome-doc-utils-native glib-2.0 gtk+ gtksourceview2 iso-codes" +DEPENDS = "gvfs enchant gconf gnome-doc-utils glib-2.0 gtk+ gtksourceview2 iso-codes" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit gnome gettext pythonnative -SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch" +SRC_URI+= "file://0001-workaround-void-pointer-arithmetic.patch \ + file://0001-Remove-help-directory-from-build.patch" SRC_URI[archive.md5sum] = "e1eecb0a92a1a363b3d375ec5ac0fb3b" SRC_URI[archive.sha256sum] = "a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c" GNOME_COMPRESS_TYPE="bz2"
@@ -16,13 +17,6 @@ GNOME_COMPRESS_TYPE="bz2" EXTRA_OECONF = "--disable-scrollkeeper \ --enable-gvfs-metadata" -do_configure_prepend() { - cd ${S} - gnome-doc-common --copy || true - gnome-doc-prepare --force --copy || true - cd ${B} -} - FILES_${PN} += "${libdir}/gedit-2/plugin* ${datadir}/gedit-2" FILES_${PN}-dbg += "${libdir}/gedit-2/plugin-loaders/.debug ${libdir}/gedit-2/plugins/.debug"
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb +1 -0
@@ -16,6 +16,7 @@ LDFLAGS += "-lgthread-2.0 -lxml2" do_configure_prepend() { sed -i s:help::g ${S}/Makefile.am + rm -r ${S}/m4/gnome-doc-utils.m4 } do_install_append() { rm -rf ${D}${datadir}/mime
meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_2.32.1.bb +1 -0
@@ -18,6 +18,7 @@ EXTRA_OECONF = "--disable-scrollkeeper --disable-desktop-docs --disable-gnome-ab do_configure_prepend () { sed -i -e s:^#!@PYTHON@:#!${bindir}/python: ${S}/gnome-about/gnome-about.in + rm -f ${S}/m4/gnome-doc-utils.m4 } PACKAGES =+ "libgnome-desktop"
meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Add-gnome-doc-utils.make.patch new file +730 -0
730 lines not on this page · raw message
meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb +2 -2
@@ -9,7 +9,7 @@ SECTION = "x11/gnome" PR = "r7" -DEPENDS = "gnome-doc-utils-native gconf glib-2.0 gnome-desktop gtk+ \ +DEPENDS = "gnome-doc-utils gconf glib-2.0 gnome-desktop gtk+ \ pango libwnck gnome-menus cairo libgweather dbus dbus-glib \ librsvg libcanberra" RDEPENDS_${PN} = "python"
@@ -19,6 +19,7 @@ inherit gtk-doc gnome autotools-brokensep gettext pkgconfig gconf gobject-intros SRCREV = "8292bd2b8a36df7eed3c760899400790cde68590" SRC_URI = "git://git.gnome.org/gnome-panel;branch=gnome-2-32 \ file://0001-Fix-build-with-gcc-5.patch \ + file://0001-Add-gnome-doc-utils.make.patch \ " S = "${WORKDIR}/git"
@@ -29,7 +30,6 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[networkmanager] = "--enable-network-manager,--disable-network-manager,networkmanager" do_configure_prepend() { - gnome-doc-prepare --automake sed -i -e s:help:: ${S}/Makefile.am sed -i -e s:^#!@PYTHON@:#!/usr/bin/python: ${S}/gnome-panel/gnome-panel-add.in }
meta-gnome/recipes-gnome/gthumb/files/0001-Drop-help-directory-from-build.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 48cb878cb724e7a509260f014db6365510b8b541 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Tue, 17 May 2016 14:05:29 +0300 +Subject: [PATCH] Drop help directory from build + +It hardcodes the use of xml2po tool form gnome-doc-utils + +Signed-off-by: Alexander Kanavin <[email protected]> +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index d056875..3fc4a41 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = m4 copy-n-paste data po gthumb extensions tests help ++SUBDIRS = m4 copy-n-paste data po gthumb extensions tests + + ACLOCAL_AMFLAGS = -I m4 + AMCFLAGS = -fPIC -DPIC +-- +2.8.1 +
meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb +6 -1
@@ -14,7 +14,12 @@ SRC_URI[archive.md5sum] = "97fc13221b0c5d80c27a2e25a3a3ac6f" SRC_URI[archive.sha256sum] = "cf809695230ab8892a078be454a42ade865754c72ec1da7c3d74d4310de54f1d" GNOME_COMPRESS_TYPE="bz2" -SRC_URI += "file://parallel.patch" +SRC_URI += "file://parallel.patch \ + file://0001-Drop-help-directory-from-build.patch" + +do_configure_prepend () { + rm -r ${S}/m4/gnome-doc-utils.m4 +} do_install_append () { rm -f ${D}${libdir}/${BPN}/extensions/*.a
meta-oe/recipes-devtools/geany/geany_1.27.bb +3 -1
@@ -2,7 +2,7 @@ SUMMARY = "A fast and lightweight IDE" HOMEPAGE = "http://www.geany.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5" -DEPENDS = "gtk+ python-docutils-native" +DEPENDS = "gtk+ python3-docutils-native" inherit autotools pkgconfig perlnative pythonnative
@@ -14,3 +14,5 @@ SRC_URI[md5sum] = "7c23f835f45def89d10884c1343fa29e" SRC_URI[sha256sum] = "846ff699a5944c5c3c068ae0199d4c13946a668bfc6d03f8c79765667c20cadf" FILES_${PN} += "${datadir}/icons" + +EXTRA_OECONF = "--disable-html-docs"
meta-oe/recipes-devtools/glade/glade3_3.8.5.bb +1 -5
@@ -4,7 +4,7 @@ LICENSE = "GPLv2 & LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" -DEPENDS = "gtk+ gnome-doc-utils-native gnome-common libxml2" +DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2" inherit autotools pkgconfig pythonnative
@@ -18,10 +18,6 @@ EXTRA_OECONF += "--disable-scrollkeeper" PACKAGECONFIG ??= "" PACKAGECONFIG[gnome] = "--enable-gnome,--disable-gnome,libbonoboui libgnomeui" -do_configure_prepend() { - sed -i '/^if HAVE_GNOME_DOC_UTILS/,/^endif/d' ${S}/Makefile.am -} - FILES_${PN} += "${datadir}/icons" FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug" FILES_${PN}-dev += "${libdir}/glade3/modules/*.la"
meta-oe/recipes-gnome/gnome-doc-utils-stub/files/gnome-doc-utils.m4 new file +61 -0
61 lines not on this page · raw message
meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Stub implementation of gnome-doc-utils" +DESCRIPTION = "This recipe provides m4 macros from gnome-doc-utils project, so \ +that dependent recipes can build. Gnome-doc-utils itself is no longer packaged because \ +it requires libxml2 and python 2 at the same time, which can no longer be satisfied. " +LICENSE = "GPLv2 & LGPLv2.1" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ + file://${COREBASE}/meta/files/common-licenses/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" +SRC_URI = "file://gnome-doc-utils.m4" + +PROVIDES = "gnome-doc-utils" + +do_install_append() { + install -d ${D}${datadir}/aclocal/ + install ${WORKDIR}/gnome-doc-utils.m4 ${D}${datadir}/aclocal/ +} + +FILES_${PN} += "${datadir}" +
Signature · 1 line
2.8.1
Re: [PATCH 2/8] florence: update to 0.6.3
In reply to Alexander KanavinQuoted 55 lines · Alexander Kanavin
Signed-off-by Alexander Kanavin <[email protected]>--- .../florence/files/0001-Fix-glib-includes.patch | 33 ---------------------- .../{florence_0.5.1.bb => florence_0.6.3.bb} | 10 +++---- 2 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch rename meta-gnome/recipes-support/florence/{florence_0.5.1.bb => florence_0.6.3.bb} (71%)meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch deleted +0
-33@@ -1,33 +0,0 @@ -From c8419ef05ff92ffa3de2e626eb6acd5d2df3baa1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Tue, 15 May 2012 13:40:05 +0200 -Subject: [PATCH] Fix glib includes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit -Upstream-Status: unknown - -Signed-off-by: Andreas Müller <[email protected]> ---- - src/trace.c | 5 +---- - 1 files changed, 1 insertions(+), 4 deletions(-) - -diff --git a/src/trace.c b/src/trace.c -index 5ea5c13..774c56d 100644 ---- a/src/trace.c -+++ b/src/trace.c -@@ -21,10 +21,7 @@ - - #include "trace.h" - #include "system.h" --#include <glib/gprintf.h> --#include <glib/gutils.h> --#include <glib/gslist.h> --#include <glib/gstrfuncs.h> -+#include <glib.h> - #include <stdio.h> - #include <stdarg.h> - --- -1.7.6.5 -meta-gnome/recipes-support/florence/florence_0.6.3.bb renamed from meta-gnome/recipes-support/florence/florence_0.5.1.bb +0
-0
meta-gnome/recipes-support/florence/florence_0.6.3.bb LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" · line 11
Quoted 5 lines
meta-gnome/recipes-support/florence/florence_0.6.3.bb renamed from meta-gnome/recipes-support/florence/florence_0.5.1.bb +1
-1@@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" PR = "r1" -DEPENDS = "gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native gnome-doc-utils libnotify" +DEPENDS = "gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native gnome-doc-utils libnotify gstreamer1.0"
Does it depend on gtk3 or this commit message wasn't correct?
commit 5adc7db356071e22219d652e11911b98d9f8bf6e
Author: Stefan Agner <[email protected]> Date: Tue May 24 13:43:11 2016 -0700
florence: move to latest GTK2 version 0.5.4
It also doesn't apply because of this, so please confirm and resend.
Quoted 20 lines
meta-gnome/recipes-support/florence/florence_0.6.3.bb renamed from meta-gnome/recipes-support/florence/florence_0.5.1.bb +4
-4SRC_URI = "${SOURCEFORGE_MIRROR}/florence/florence/${PV}/florence-${PV}.tar.bz2 \ - file://0001-Fix-glib-includes.patch" -SRC_URI[md5sum] = "56d12e5b47c100d9df172aa5ddc0f609" -SRC_URI[sha256sum] = "7b06ed84ef2b7b22d8d2cf0c7d013a05409bd82028240ac8719a68b192d5bc62" + " +SRC_URI[md5sum] = "8775051d7352f75dec5a86dc9964e8e0" +SRC_URI[sha256sum] = "422992fd07d285be73cce721a203e22cee21320d69b0fda1579ce62944c5091e" -inherit gettext autotools gconf pkgconfig +inherit gettext autotools gconf pkgconfig gsettings EXTRA_OECONF = "--disable-scrollkeeper --without-docs --without-at-spi --without-panelapplet"Signature · 7 lines
2.8.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 2/8] florence: update to 0.6.3
Quoted 7 lines · Martin Jansa
commit
5adc7db356071e22219d652e11911b98d9f8bf6eAuthor: Stefan Agner <[email protected]> Date: Tue May 24 13:43:11 2016 -0700florence: move to latest GTK2 version 0.5.4
It also doesn't apply because of this, so please confirm and resend.
No need to. I updated florence to fix build failures against my oe-core changes, and this update to an older version does the job just fine as well. I have no special interest in florence :)
Alex
Martin Jansa
AppliedRe: [PATCH 6/8] python-pygobject: add a recipe
In reply to Alexander KanavinQuoted 2 lines · Alexander Kanavin
oe-core provides only python3-pygobject now, and a few recipes in meta-oe still need the version built against Python 2.
I've merged this but now it started to fail:
| checking whether python2.7 version >= 2.7... yes
| checking for python2.7 version... 2.7
| checking for python2.7 platform... linux2
| checking for python2.7 script directory... ${prefix}/lib64/python2.7/site-packages
| checking for python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
| checking for python version... (cached) 2.7
| checking for python platform... (cached) linux2
| checking for python script directory... (cached) ${prefix}/lib64/python2.7/site-packages
| checking for python extension module directory... (cached) ${exec_prefix}/lib64/python2.7/site-packages
| checking for headers required to compile python extensions... not found
| configure: error: Python headers not found
| WARNING: python-pygobject/3.18.2-r0/temp/run.do_configure.32140:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at python-pygobject/3.18.2-r0/temp/log.do_configure.32140)NOTE: recipe python-pygobject-3.18.2-r0: task do_configure: Failed
Quoted 101 lines
Signed-off-by Alexander Kanavin <[email protected]>--- ...c-add-sysroot-path-to-GI_DATADIR-don-t-se.patch | 41 ++++++++++++++++++++++ .../python/python-pygobject_3.18.2.bb | 31 ++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 meta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch create mode 100644 meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bbmeta-oe/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch new file +41
-0@@ -0,0 +1,41 @@ +From 5e5350d730f85957a42c6d846d347d080e7dd996 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Fri, 23 Oct 2015 12:40:34 +0300 +Subject: [PATCH] configure.ac: add sysroot path to GI_DATADIR; don't set + introspection scanner and compiler paths + +Upstream-Status: Pending [review on oe-core maillist] +Signed-off-by: Alexander Kanavin <[email protected]> +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +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 + ) + +-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 +meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb new file +31
-0@@ -0,0 +1,31 @@ +SUMMARY = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +inherit autotools pkgconfig gnomebase distutils-base gobject-introspection + +DEPENDS += "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] = "0a956f3e785e23b0f136832f2e57a862" +SRC_URI[sha256sum] = "2a3cad1517916b74e131e6002c3824361aee0671ffb0d55ded119477fc1c2c5f" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +BBCLASSEXTEND = "native" + +EXTRA_OECONF = "--disable-cairo --with-python=python2.7" + +RDEPENDS_${PN} += "python-setuptools python-importlib" + +do_install_append() { + # Remove files that clash with python3-pygobject; their content is same + rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc +} +Signature · 7 lines
2.8.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 6/8] python-pygobject: add a recipe
Quoted 19 lines · Martin Jansa
Quoted 2 lines · Alexander Kanavin
oe-core provides only python3-pygobject now, and a few recipes in meta-oe still need the version built against Python 2.
I've merged this but now it started to fail:
| checking whether python2.7 version >= 2.7... yes | checking for python2.7 version... 2.7 | checking for python2.7 platform... linux2 | checking for python2.7 script directory... ${prefix}/lib64/python2.7/site-packages | checking for python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages | checking for python version... (cached) 2.7 | checking for python platform... (cached) linux2 | checking for python script directory... (cached) ${prefix}/lib64/python2.7/site-packages | checking for python extension module directory... (cached) ${exec_prefix}/lib64/python2.7/site-packages | checking for headers required to compile python extensions... not found | configure: error: Python headers not found | WARNING: python-pygobject/3.18.2-r0/temp/run.do_configure.32140:1 exit 1 from 'exit 1' | ERROR: Function failed: do_configure (log file is located at python-pygobject/3.18.2-r0/temp/log.do_configure.32140)
Quoted 1 line
NOTE: recipe python-pygobject-3.18.2-r0: task
do_configure: Failed
I think the recipe can be dropped with its dependencies:
- python-dbusmock is not used by anything
- python-cloudeebus is not used by anything
- bluez4 testtools have been superseded by test tools from bluez5 and can be disabled
Alex
PATCH 1/2 python-pygobject, python-cloudeebus, python-dbusmock: Blacklist because of python-pygobject is broken
--- meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb | 5 ++++- meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb | 2 ++ meta-python/recipes-devtools/python/python-cloudeebus_0.6.0.bb | 3 +++ meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb | 3 +++ 4 files changed, 12 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb +4 -1
@@ -27,7 +27,10 @@ do_install_append() { } RDEPENDS_${PN}-dev = "bluez-hcidump" -RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject" +RDEPENDS_${PN}-testtools += "python python-dbus" + +# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +# RDEPENDS_${PN}-testtools += "python-pygobject" ALLOW_EMPTY_libasound-module-bluez = "1" PACKAGES =+ "libasound-module-bluez ${PN}-testtools"
meta-oe/recipes-devtools/python/python-pygobject_3.18.2.bb +2 -0
@@ -29,3 +29,5 @@ do_install_append() { rm ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig/pygobject-3.0.pc } +# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +PNBLACKLIST[python-pygobject] ?= "BROKEN: fails to build since it was moved to meta-oe"
meta-python/recipes-devtools/python/python-cloudeebus_0.6.0.bb +3 -0
@@ -14,6 +14,9 @@ inherit distutils DEPENDS_${PN} = "python python-distribute" RDEPENDS_${PN} = "python python-dbus python-json python-argparse python-pygobject python-autobahn python-twisted python-subprocess" +# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +PNBLACKLIST[python-cloudeebus] ?= "Rdepends on broken python-pygobject" + do_install_prepend() { install -d ${D}${PYTHON_SITEPACKAGES_DIR}/${PN} }
meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb +3 -0
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02" DEPENDS += "python-pygobject python-dbus" +# http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +PNBLACKLIST[python-dbusmock] ?= "Depends on broken python-pygobject" + SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz" SRC_URI[md5sum] = "7370d325c4a75494dd71885ca65b79e8" SRC_URI[sha256sum] = "03aadc93bdc26ea18d4d78fcff7b6cb34f4e18623bc5cc41cf9539d663cee11e"
Signature · 1 line
2.8.4
PATCH 2/2 postgresql: blacklist because tcl in oe-core is broken for last month
--- meta-oe/recipes-support/postgresql/postgresql_9.4.5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/postgresql/postgresql_9.4.5.bb +2 -0
@@ -12,3 +12,5 @@ SRC_URI += "\ SRC_URI[md5sum] = "8b2e3472a8dc786649b4d02d02e039a0" SRC_URI[sha256sum] = "b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39" +# http://lists.openembedded.org/pipermail/openembedded-core/2016-May/122095.html +PNBLACKLIST[postgresql] ?= "Depends on broken tcl"
Signature · 1 line
2.8.4
PATCH 1/1 frameworkd, mdbus, gta04-gps-handler, pisi: Remove runtime dependency on broken python-pygobject
In reply to Alexander Kanavin* these components need to be upgraded to python3 (python3-pygobject) or python-pygobject will need to be fixed
--- meta-fso/recipes-freesmartphone/freesmartphone/frameworkd.inc | 4 +++- meta-fso/recipes-freesmartphone/freesmartphone/mdbus_git.bb | 10 ++++++---- .../recipes-bsp/gta04-gps-handler/gta04-gps-handler_git.bb | 5 ++++- meta-shr/recipes-shr/3rdparty/pisi_0.5.3.bb | 5 ++++- 4 files changed, 17 insertions(+), 7 deletions(-)
meta-fso/recipes-freesmartphone/freesmartphone/frameworkd.inc +3 -1
@@ -46,7 +46,6 @@ RDEPENDS_${PN} += "\ python-logging \ python-pprint \ python-pyalsaaudio \ - python-pygobject \ python-pyrtc \ python-pyserial \ python-pyyaml \
@@ -59,6 +58,9 @@ RDEPENDS_${PN} += "\ ${PN}-config \ " +# python-pygobject is broken http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +# RDEPENDS_${PN} += "python-pygobject" + RRECOMMENDS_${PN} += "\ alsa-utils-amixer \ python-phoneutils \
meta-fso/recipes-freesmartphone/freesmartphone/mdbus_git.bb +6 -4
@@ -16,8 +16,10 @@ do_install() { } RDEPENDS_${PN} = "\ - python-dbus \ - python-pygobject \ - python-pprint \ - python-xml \ + python-dbus \ + python-pprint \ + python-xml \ " + +# python-pygobject is broken http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +# RDEPENDS_${PN} += "python-pygobject"
meta-openmoko/recipes-bsp/gta04-gps-handler/gta04-gps-handler_git.bb +4 -1
@@ -6,7 +6,10 @@ SECTION = "base" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -RDEPENDS_${PN} += "python-pygps python-pygobject python-core" +RDEPENDS_${PN} += "python-pygps python-core" + +# python-pygobject is broken http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +# RDEPENDS_${PN} += "python-pygobject" PR = "r3" PV = "0.0.0+gitr${SRCPV}"
meta-shr/recipes-shr/3rdparty/pisi_0.5.3.bb +4 -1
@@ -5,11 +5,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" HOMEPAGE = "http://freshmeat.net/projects/pisiom" SRCNAME = "pisi" DEPENDS = "python-native" -RDEPENDS_${PN} = "python-vobject python-core python-pygtk python-pygobject python-pycairo\ +RDEPENDS_${PN} = "python-vobject python-core python-pygtk python-pycairo\ python-gdata python-webdav python-ldap python-epydoc python-core\ python-dateutil python-sqlite3 python-netserver python-netclient\ python-misc python-ctypes libsyncml" +# python-pygobject is broken http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107798.html +# RDEPENDS_${PN} += "python-pygobject" + # Rdepends on libsyncml and python-pygtk #PNBLACKLIST[pisi] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}" PNBLACKLIST[pisi] ?= "RDEPENDS on python-pygtk which was removed from oe-core"
Signature · 1 line
2.8.4