From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qDEZEgpZrV5+RwAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 11:27:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id COAKKxNZrV6WawAA1q6Kng (envelope-from ) for ; Sat, 02 May 2020 11:27:15 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0D121942E08 for ; Sat, 2 May 2020 11:27:14 +0000 (UTC) Received: from localhost ([::1]:37590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUqIc-0005Hd-8n for larch@yhetil.org; Sat, 02 May 2020 07:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUqIT-00056f-MQ for guix-patches@gnu.org; Sat, 02 May 2020 07:27:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUqIR-0007yZ-2l for guix-patches@gnu.org; Sat, 02 May 2020 07:27:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUqIQ-0007xz-MS for guix-patches@gnu.org; Sat, 02 May 2020 07:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUqIQ-0005xY-J5 for guix-patches@gnu.org; Sat, 02 May 2020 07:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41022] [PATCH core-updates] gnu: python-gst: Fix build with Python 3.8. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41022 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines , 41022@debbugs.gnu.org Received: via spool by 41022-submit@debbugs.gnu.org id=B41022.158841878422841 (code B ref 41022); Sat, 02 May 2020 11:27:02 +0000 Received: (at 41022) by debbugs.gnu.org; 2 May 2020 11:26:24 +0000 Received: from localhost ([127.0.0.1]:51414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUqHi-0005wG-Nb for submit@debbugs.gnu.org; Sat, 02 May 2020 07:26:24 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:51863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUqHd-0005vu-A3 for 41022@debbugs.gnu.org; Sat, 02 May 2020 07:26:16 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3B43749C; Sat, 2 May 2020 07:26:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 02 May 2020 07:26:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=fOaOV8xLBEEKhovgOsMbi5pgdg INFgwXRXPLnYmP3AU=; b=U0UiC8mdj+9JxakM7vQQ7nzorseHWGQ8wQBQ/LTpin 8MrI2I8qvUdDprDN1eKOytWtnNGH/zVBTNzMV8t04dOAvPnk7hqYkS7Cj5Wfv+Fq J1SDgsGv7ITz8AVC0mwoSdzNJdcDJKboGNSjmELA2eZ1ZNTk63dfEHkbOK0XF9PB oRvkK6CKma1eARR8yDzWGMx3Ltv/cE7TWN21Jc1ywr8OvY4bN7T6+qQ0NstE26S8 2JGYTdyAgHv9yICF9a20dq0h1FtZCvgMojHxryNZh/quB6n1X2T8hrZpvI24mhMJ IJjkO+f/vLu+Vw3IGVYWeQe58bxZo/Dlajy2duGIPcxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=fOaOV8 xLBEEKhovgOsMbi5pgdgINFgwXRXPLnYmP3AU=; b=QIMzLEWqGL9o502syVAAxl FGo68IRJvBWWO1nf956Av81ZbrVdKoPtl5+4ALSbZpQiZW62zLcbeAYMiwoZSO6E PG42wmuKMD6fNapUjZdNpTVlqdMlvajiYat8BjcENueVnpVqPg16ix3XnQFUrjRq TpxdcjU8/wtqwoR+OVwxliyBuLS9+luJAAnTm+yC40LJ2LmmyHQwujk+kcA0Tprt gJ3qYmNfGLeH02F/OmuhbNUOy0qkOYSdRgSJbElWrNqdtGOvE2/UmM+zkmH9QjnQ OxsrUle9VkNDvB9FGn2EB3OTe7+O4LSZdC8rBHMP5dnvBHWi4/gFgsvlZXeb+0jg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrieelgdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhgffffkgggtsehgtderre dtredtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeduudegudfgheethfeukefffeetle efgfffgeduveeljefgtdfhudefleffffegieenucffohhmrghinhepghhithhhuhgsrdgt ohhmpdhfrhgvvgguvghskhhtohhprdhorhhgnecukfhppeekgedrvddtvddrieekrdejhe enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggr khhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B1893280063; Sat, 2 May 2020 07:26:06 -0400 (EDT) From: Marius Bakke In-Reply-To: <20200502110314.30403-1-mail@cbaines.net> References: <20200502110314.30403-1-mail@cbaines.net> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 02 May 2020 13:26:04 +0200 Message-ID: <87ees24lyr.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm2 header.b=U0UiC8md; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=QIMzLEWq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-2.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49493497813047]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[fastmail.com]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; R_DKIM_REJECT(1.00)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[fastmail.com:-,messagingengine.com:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[mbakke@fastmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[meson.build:url,gitlab.freedesktop.org:url,centricular.com:email,cbaines.net:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[11]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[fastmail.com : SPF not aligned (relaxed),none] X-TUID: TdJwhjJUNXqY --=-=-= Content-Type: text/plain Christopher Baines writes: > Add a patch based on an upstream commit [1]. > > 1: 10707f437f2fc3632067c6a0efa4432f7ebaf362 > > * gnu/packages/patches/python-gst-fix-build-with-python-3.8.patch: New file. > * gnu/local.mk (dist_patch_DATA): Add it. > * gnu/packages/gstreamer.scm (python-gst)[source]: Use the patch. [...] > diff --git a/gnu/packages/patches/python-gst-fix-build-with-python-3.8.patch b/gnu/packages/patches/python-gst-fix-build-with-python-3.8.patch > new file mode 100644 > index 0000000000..49f41e0c03 > --- /dev/null > +++ b/gnu/packages/patches/python-gst-fix-build-with-python-3.8.patch > @@ -0,0 +1,41 @@ > +From 10707f437f2fc3632067c6a0efa4432f7ebaf362 Mon Sep 17 00:00:00 2001 > +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= > +Date: Fri, 13 Dec 2019 10:46:20 +0200 > +Subject: [PATCH] Fix build with Python 3.8 by also checking for > + python-3.X-embed.pc > + > +Since Python 3.8 the normal checks don't include the Python libraries > +anymore and linking of the gst-python module would fail. > + > +See also https://github.com/mesonbuild/meson/issues/5629 > + > +Fixes https://gitlab.freedesktop.org/gstreamer/gst-python/issues/28 > +--- > + meson.build | 11 +++++++++-- > + 1 file changed, 9 insertions(+), 2 deletions(-) Instead of the git patch format, can you add a short comment at the top along with links to the upstream commit and issue like we usually do? Otherwise LGTM, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6tWMwACgkQoqBt8qM6 VPqgqAf/cZ8lgasNc1l63sm5KRYoJ/K0MFkvOEiDx/hodBI5kvnCpzo7V4s62MwD LGBWwJGkXiOPSrOewGKIBBGTEBKeEAqFD4lihN15VHUustIsO9HARl4tI/C+y58J DvluOyGdNnu9M0Dox6X/czJ3xzpxYLe0m5zBDBzAwn8yFrYpsAoDI2SVviNF1cXb nljK8Xy+GNyi5GTLHF1UMufgxP8+zNzOZITKFwZQBIL5lmCco3BC2LjcUGw7SPzT P96wH9+v6eaWBuxf273hBO1vd58559x7uoMaF0ICl83U+fMKEOQk8DJtCIBkJVw/ Nt+0KX+fbYqB75az/1Z82Rjr38Bm4Q== =8Iis -----END PGP SIGNATURE----- --=-=-=--