From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id A1CD97FEC4 for ; Wed, 8 Jan 2020 13:28:10 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id g17so3403135wro.2 for ; Wed, 08 Jan 2020 05:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gUMDnvZ7ANpadkqRxJicSoy/NrRdYTMJED7+eCOIrwQ=; b=CswIJQsnShkqZD+fZzviRgMlopsMlsTrdqFQEOthHjO+aUkdo1/ERfj2VbECi8tyFS vx7Z+M1C4cDvNo39iNq/j0cEiqJYO+V9cDNDfJXtwuWtI+lBvpccjbpc3den+JlICokT lu7gSNfVTdjRZDvRDa7y0juZEDquxKL1ihOpGWe1biBZmF9qhmyeavOinxH6mOJBIyCO aOY7CWq7PnjzUsh05Ux0OyfU+ATtnX9/Jd4Nh1WkNL0+5VFUz8glDW9DKvGJHHKt4PiY m3XyuUdLT2DxIlsOWdEX0c8RXvdY34mrpRp7jv6boTfu0T9j8OvizuE/AruDgM6fKbS0 jaBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gUMDnvZ7ANpadkqRxJicSoy/NrRdYTMJED7+eCOIrwQ=; b=Cg5JHRvcDyrKTPTrTkW8Q1gpgSbWOSW7hqf4xTjq4bs8ZRwI52vyUghtQyZaZZGlo0 2I+Xb/NBuCClTpUZtf76+aX0y5FvlkgAmsq95ATSksprDPg94FBLtDg98zzDD2y+Nev9 xbyXqrre3E08i3SqPzHZxOLcnnDi+BwQIwYZ92dT4ZxHyiQIYxb0iHidqhoOV8sxYs9Q jNNt4814Sgd0WMfNIBhvhk5GLuM2cjUjFdcV2moRswrHhojss50EAtY+pkNP0QiABuOz uoq7/49VFSD292/YkaaEM+Pmbcgd3zx3leBR5A8wLIHgd+3txbitmNGBH3EhEXgc2RxZ QVXg== X-Gm-Message-State: APjAAAXideKJxgZrkja1JVkDt2/50zWsM0vdPXcFEBzR84t492YKt8zt UyWrCE4mTONGPwKlGbzv2oCV9+jcJRk= X-Google-Smtp-Source: APXvYqwxIVWq0ei38P9Xm9mISpGbYmplrUtxwEplqWeD8luzEmrauurk78Zh3IcNI7yIzqA0yKmdMQ== X-Received: by 2002:adf:e8ca:: with SMTP id k10mr4737650wrn.50.1578490091145; Wed, 08 Jan 2020 05:28:11 -0800 (PST) Received: from alexander-box.rd.corpintra.net ([141.113.66.202]) by smtp.gmail.com with ESMTPSA id x10sm4607028wrp.58.2020.01.08.05.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 05:28:10 -0800 (PST) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Wed, 8 Jan 2020 14:27:37 +0100 Message-Id: <20200108132759.95603-6-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200108132759.95603-1-alex.kanavin@gmail.com> References: <20200108132759.95603-1-alex.kanavin@gmail.com> Subject: [PATCH 06/28] gstreamer1.0-python: add a patch to fix python 3.8 builds X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 13:28:11 -0000 Signed-off-by: Alexander Kanavin --- ...son.build-fix-builds-with-python-3.8.patch | 24 +++++++++++++++++++ .../gstreamer/gstreamer1.0-python_1.16.1.bb | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch 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 new file mode 100644 index 00000000000..053108ad50b --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python/0001-meson.build-fix-builds-with-python-3.8.patch @@ -0,0 +1,24 @@ +From 61cfd1b49dc82baf14bb36d88b6c5be7b8c3d23a Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +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 +--- + 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.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb index b770ec060e1..0382360ec26 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb @@ -5,7 +5,9 @@ SECTION = "multimedia" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" -SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" +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] = "499645fbd1790c5845c02a3998dccc1b" SRC_URI[sha256sum] = "b469c8955126f41b8ce0bf689b7029f182cd305f422b3a8df35b780bd8347489" -- 2.17.1