From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id 882127F831 for ; Thu, 5 Dec 2019 15:44:09 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id g17so4219457wro.2 for ; Thu, 05 Dec 2019 07:44:11 -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=RnlZ2/swM2EaWUivIn00sBKp1jewk2vwfdM7qhjvnmMOn2v+9AwF23TbDmwkIPVH8C S/NLPSQ8H6nub2eeYOI191zVdHwqSQrSX647tVIhYvhRItdtpaJwB1+bo6HdsxB99KDj 3YCA6WarIDA4kiZh2VwlOedlKbtgZ3ohXuN8j+tqd77U8M7HHqprTzD3PesUvNx8wetH ryhn80d831b7kHD7ThbNpwyittJtZxLRA0miuwpGi9EBOErxt5Z5i/uj0cPWgjZShgqH 1nrq9bwZPhKpsx5jXIrm9QBGbWTSRbIGTkz2aBBhYdPqIPuoV6gT+XdfCNfRyStK2lwB 3zCg== 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=mYYg8O6S3i+mLWEkRIYqQlnT7IRxO8Ng4F5oAztupELYcbCehNrVB/5lg2jibCleXz IfGTO+NYVUQUPvorxxK/yfX16CAOzqEBhnygmdJlZSeWyG6YgXkaPg8zO99uzMxY5ziW pE+AERKyH306wswhTHsU5XNvdAW0mZ74m0e5N9PKPjT7phI8HJCixNKfDQLJiofbl1BX /tEV9MKTuGc9MieADRGrwcydMc7q57QlLgO0snj+wjFFNBivVXvJq8V32S+JVk8SuU+B 79x+/GHWS7QnK2r91fvHkWtFHn5k6yBI/Ck4Q4KyamMcbov881ERUbIIumikjS3C0nT3 Ompw== X-Gm-Message-State: APjAAAVbnum9I+Fe6v26IixZWQr+fC9KlQyxhyMGS7fb18bL4nnC4J/I upm2VN0HcyqzHCyzE+a3fGqYNV2Y X-Google-Smtp-Source: APXvYqw0TzxOwRVm2kLuAiC3vnNDSI/gnbL5ydGwRWnJX7ctGiimMqhlAUg+a9IUtbIfiBpVe2ypbA== X-Received: by 2002:adf:f5cb:: with SMTP id k11mr10374236wrp.71.1575560650177; Thu, 05 Dec 2019 07:44:10 -0800 (PST) Received: from alexander-box.rd.corpintra.net ([141.113.66.202]) by smtp.gmail.com with ESMTPSA id z64sm223330wmg.30.2019.12.05.07.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2019 07:44:09 -0800 (PST) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 5 Dec 2019 16:43:40 +0100 Message-Id: <20191205154357.121346-7-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191205154357.121346-1-alex.kanavin@gmail.com> References: <20191205154357.121346-1-alex.kanavin@gmail.com> Subject: [PATCH 07/24] 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: Thu, 05 Dec 2019 15:44:09 -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