Re: [OE-core] [PATCH v3 12/20] gstreamer1.0-python: upgrade to version 1.18.0

Carlos Rafael Giani
2020-10-19T07:05:10Z

[-- Attachment #1: Type: text/plain, Size: 4607 bytes --]

I got this build error:

| Run-time dependency gstreamer-plugins-base-1.0 found: NO (tried
pkgconfig and cmake)
|
| ../gst-python-1.18.0/testsuite/meson.build:32:2: ERROR: 'not-found' is
not a pkgconfig dependency

This fixed it:

--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.0.bb
@@ -9,7 +9,7 @@ SRC_URI =
"https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.x
SRC_URI[md5sum] = "2d55c22fcd57cae4fad55a07019aa334"
SRC_URI[sha256sum] =
"76bfe8b85a9c4a6ddfb81874f2635fd0da38c3f39d9d2a0b175213218516dd45"

-DEPENDS = "gstreamer1.0 python3-pygobject"
+DEPENDS = "gstreamer1.0 python3-pygobject gstreamer1.0-plugins-base"
RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject"

PNREAL = "gst-python"

On 18.10.20 14:09, Jose Quaresma wrote:
> * 0001-meson.build-fix-builds-with-python-3.8.patch
> Removed since these are included in 1.18.0
>
> DEPENDS:
> RDEPENDS:
> - Upstream now depends gstreamer1.0-plugins-base
>
> Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
> ---
> ...son.build-fix-builds-with-python-3.8.patch | 24 -------------------
> ....16.2.bb => gstreamer1.0-python_1.18.0.bb} | 14 +++++------
> 2 files changed, 6 insertions(+), 32 deletions(-)
> delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch
> rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.16.2.bb => gstreamer1.0-python_1.18.0.bb} (72%)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch
> deleted file mode 100644
> index 053108ad50..0000000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -From 61cfd1b49dc82baf14bb36d88b6c5be7b8c3d23a Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex.kanavin@gmail.com>
> -Date: Mon, 2 Dec 2019 18:16:41 +0100
> -Subject: [PATCH] meson.build: fix builds with python 3.8
> -
> -Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gst-python/merge_requests/14]
> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ----
> - meson.build | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/meson.build b/meson.build
> -index 1da81d5..3e0db38 100644
> ---- a/meson.build
> -+++ b/meson.build
> -@@ -24,7 +24,7 @@ pygobject_dep = dependency('pygobject-3.0', fallback: ['pygobject', 'pygobject_d
> -
> - pymod = import('python')
> - python = pymod.find_installation(get_option('python'))
> --python_dep = python.dependency(required : true)
> -+python_dep = dependency('python3-embed', required : true)
> -
> - python_abi_flags = python.get_variable('ABIFLAGS', '')
> - pylib_loc = get_option('libpython-dir')
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.0.bb
> similarity index 72%
> rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.2.bb
> rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.0.bb
> index 9e024eb9f3..f13f9c5a44 100644
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.2.bb
> +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.0.bb
> @@ -5,14 +5,12 @@ SECTION = "multimedia"
> LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
>
> -SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
> - file://0001-meson.build-fix-builds-with-python-3.8.patch \
> - "
> -SRC_URI[md5sum] = "6ac709767334d8d0a71cb4e016f6abeb"
> -SRC_URI[sha256sum] = "208df3148d73d9f416d016564737585d8ea763d91201732d44b5fe688c6288a8"
> -
> -DEPENDS = "gstreamer1.0 python3-pygobject"
> -RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject"
> +SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "2d55c22fcd57cae4fad55a07019aa334"
> +SRC_URI[sha256sum] = "76bfe8b85a9c4a6ddfb81874f2635fd0da38c3f39d9d2a0b175213218516dd45"
> +
> +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
> +RDEPENDS_${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
>
> PNREAL = "gst-python"
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 6005 bytes --]