From 9ca51f0977503ca1320c62141d0b223b3f2fa9db Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Thu, 23 Apr 2020 15:30:44 -0500 Subject: python: remove a legacy python recipe (From meta-phosphor rev: 69dc71a98b67f63ea71ab264becd45849c13f538) Change-Id: I3c5cbcf32af2fbd89da7752a8ab2eda6a9ffb804 Signed-off-by: Andrew Geissler --- .../obsolete_automake_macros.patch | 34 -------------- .../python/python-pygobject_2.28.7.bb | 53 ---------------------- 2 files changed, 87 deletions(-) delete mode 100644 meta-phosphor/recipes-devtools/python/python-pygobject/obsolete_automake_macros.patch delete mode 100644 meta-phosphor/recipes-devtools/python/python-pygobject_2.28.7.bb diff --git a/meta-phosphor/recipes-devtools/python/python-pygobject/obsolete_automake_macros.patch b/meta-phosphor/recipes-devtools/python/python-pygobject/obsolete_automake_macros.patch deleted file mode 100644 index 9e251a37a..000000000 --- a/meta-phosphor/recipes-devtools/python/python-pygobject/obsolete_automake_macros.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9de1bb6f37c4aedb9b21640003db46927d25b30b Mon Sep 17 00:00:00 2001 -From: Marko Lindqvist -Date: Wed, 22 Jun 2016 16:30:42 -0500 -Subject: [PATCH] python-pygobject: Backport 2.28.3 - -Upstream-Status: Accepted [https://bugzilla.gnome.org/show_bug.cgi?id=691101] - -Signed-off-by: Marko Lindqvist - ---- - configure.ac | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index f5ba355..ac5547a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -35,7 +35,7 @@ AC_SUBST(PYGOBJECT_MINOR_VERSION, pygobject_minor_version) - AC_DEFINE(PYGOBJECT_MICRO_VERSION, pygobject_micro_version, [pygobject micro version]) - AC_SUBST(PYGOBJECT_MICRO_VERSION, pygobject_micro_version) - --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)]) - AM_INIT_AUTOMAKE(foreign) - AM_MAINTAINER_MODE -@@ -82,7 +82,6 @@ dnl when using libtool 2.x create libtool early, because it's used in configure - m4_ifdef([LT_OUTPUT], [LT_OUTPUT]) - AC_ISC_POSIX - AC_PROG_CC --AM_PROG_CC_STDC - AM_PROG_CC_C_O - - # check that we have the minimum version of python necessary to build diff --git a/meta-phosphor/recipes-devtools/python/python-pygobject_2.28.7.bb b/meta-phosphor/recipes-devtools/python/python-pygobject_2.28.7.bb deleted file mode 100644 index cf0eb5db5..000000000 --- a/meta-phosphor/recipes-devtools/python/python-pygobject_2.28.7.bb +++ /dev/null @@ -1,53 +0,0 @@ -SUMMARY = "Python GObject bindings" -SECTION = "devel/python" -LICENSE = "LGPLv2.1" - -RECIPE_NO_UPDATE_REASON = "Newer versions of python-pygobject depend on gobject-introspection which doesn't cross-compile" - -LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" -DEPENDS = "python python-pygobject-native libffi glib-2.0" -DEPENDS_class-native = "python-native libffi-native glib-2.0-native" -RDEPENDS_class-native = "" - -MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" - -SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.xz \ - file://obsolete_automake_macros.patch \ -" - -# libtool-native doesn't have fixinstall.patch applied which means -# that libs get relinked at installation time. This triggers a -# relinking along the lines of: -# gcc -L/tmp/foo/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/lib -lpyglib-2.0-python -o .libs/_glib.so -# where /tmp/foo is DESTDIR and pyglib-2.0-python may be installed/reinstalled -# at the same time as the gcc command runs. -# If this happens between the handoff between gcc and ld, you can see: -# /bin/ld: cannot find -lpyglib-2.0-python -# Adding a dependency rule like install-pyglibLTLIBRARIES: install-libLTLIBRARIES -# would be ideal but automake can't cope with that without manually -# defining the whole function. Give up and disable parallel make in native builds. -PARALLEL_MAKEINST_class-native = "" - -SRC_URI[md5sum] = "ae48b60c690c4aa894e69e0c97802745" -SRC_URI[sha256sum] = "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a" -S = "${WORKDIR}/pygobject-${PV}" - -EXTRA_OECONF += "--disable-introspection" - -inherit autotools distutils3-base pkgconfig - -# necessary to let the call for python-config succeed -export BUILD_SYS -export HOST_SYS -export STAGING_INCDIR -export STAGING_LIBDIR - -PACKAGES += "${PN}-lib" - -RDEPENDS_${PN} += "python-textutils" - -FILES_${PN} = "${libdir}/python*" -FILES_${PN}-lib = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${bindir} ${datadir}" - -BBCLASSEXTEND = "native" -- cgit v1.2.3