From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6rIXHHZQi2XB4gAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 23:15:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uAZoFXZQi2WEtwAAe85BDQ (envelope-from ) for ; Tue, 26 Dec 2023 23:15:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=libero.it header.s=s2021 header.b=g1JUHezz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703628918; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=f/ASEojbL1VInzDrzRDhVCF9CrABC9Lt/PSF36kw9hY=; b=N5W0OGMzuqdl8UtQU+PCdp3yek2KoIdb1UO0LFEZz8JqQ2iVyGAy1lTdqJ4ul9EUS9tT0c I4eb2U0fBRHVhyTSZOFH+i4Ak4B1loJZyqQIMztCAadoOdTcz1GHp91mTU4EHPsDqBgKBw H619bMVjKIuMmiXXM/hmUsQgrMtA0EWM9/8OgGd+zq/yB1T+Ufe/PxM/KBTWS7Gm4FX2N9 AyagVFqO8OCuNhEHWVCoEZZpRi9EAPs6kduDWt9d1udGbJl1nqAgYJUOzW3FQANnJul8yN /dFO8Vy9K6XBqMqGXa3fjvk29BBU5xwTY0zvXSJqN8OSuStQdFZnqhkKTCtgNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703628918; a=rsa-sha256; cv=none; b=VU+WiWnRDRXyLzT0aFrm6zTrLXgRBEYfT/cvXgTNnZYhQvd6uvFpQ+jm+tDpDifcJTRsxM z9xrKTqiSHO2jFOY4xqjj8QzyFhqYEpGXInw+O4z4YIo5NAANtmznphSamV5J12YEdInOW UrliajkcLkxFOmCVus47fu9batIf2nsLEVEJhzalCcp2PSc1goa3Qv/3U8UvEYnG+XovNB 42DEYxHudEFi4smmZboaA2bONvHeC8uPUiYWKiJOiS/a1IIW6NUC01i/3uX27NrlOwGI54 zPP/iIdT4ujz1DLJr7bkWyLAQZTyMV9aFTVKP7iY3vYEt0C03PgXAw7ae/52vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=libero.it header.s=s2021 header.b=g1JUHezz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 022E822CAB for ; Tue, 26 Dec 2023 23:15:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIFhd-0000AT-2U; Tue, 26 Dec 2023 17:15:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIFhY-00009q-DX for guix-patches@gnu.org; Tue, 26 Dec 2023 17:15:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIFhX-0005SU-Vc for guix-patches@gnu.org; Tue, 26 Dec 2023 17:15:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIFhW-0007i1-5P for guix-patches@gnu.org; Tue, 26 Dec 2023 17:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68052] [PATCH 2/4] gnu : python-poppler-qt5: Remove no longer needed patch Resent-From: Marco Rimoldi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Dec 2023 22:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68052 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68052@debbugs.gnu.org Received: via spool by 68052-submit@debbugs.gnu.org id=B68052.170362888429478 (code B ref 68052); Tue, 26 Dec 2023 22:15:02 +0000 Received: (at 68052) by debbugs.gnu.org; 26 Dec 2023 22:14:44 +0000 Received: from localhost ([127.0.0.1]:35099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIFhD-0007fN-VJ for submit@debbugs.gnu.org; Tue, 26 Dec 2023 17:14:44 -0500 Received: from smtp-32.italiaonline.it ([213.209.10.32]:40204 helo=libero.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIFhB-0007eO-LT for 68052@debbugs.gnu.org; Tue, 26 Dec 2023 17:14:42 -0500 Received: from localhost ([93.38.119.137]) by smtp-32.iol.local with ESMTPA id IFhCrxk1HUvUzIFhCrGwMq; Tue, 26 Dec 2023 23:14:42 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1703628883; bh=f/ASEojbL1VInzDrzRDhVCF9CrABC9Lt/PSF36kw9hY=; h=From; b=g1JUHezzfRZsa0+AhZCuI44TqLHnccweJeC6Iyfd4bTE8AFHDAx+SEpYEewLFO0j3 mr9LVp3eP1eYmWLx7x3huLo+o1zXQZOVTnTxCCcptjAMYu11GRCwM5Vd7Twlp8WPzE kxkj6IaHExtpq4TfYpF1gIwz6BAkfWgoasQBwqohpp4EDIIgFR1rdKwt81/toCy+nE kuxKfTQuoES9kQPg12p+573srwWX2IogFD0cDdh89qiQDulMjWsZwUWvqiYjWirm9B 3XzFot89MS1kbM01axadgOjRc6kaAavz/ARpbHonJnyef60uH/HsmNOelMcRF40hi+ Dy+PYL4FFdOHw== X-CNFS-Analysis: v=2.4 cv=MvuUqUWe c=1 sm=1 tr=0 ts=658b5053 cx=a_exe a=zr5aN+YwjWvrDHBFAPbA8Q==:117 a=zr5aN+YwjWvrDHBFAPbA8Q==:17 a=kj9zAlcOel0A:10 a=NEAV23lmAAAA:8 a=WBDXT6l-fv67wi_S36MA:9 a=CjuIK1q_8ugA:10 Date: Tue, 26 Dec 2023 23:14:41 +0100 Message-ID: <32f6fa9d4a9ec6dc4932a04901788a3e6789055c.1703627648.git.rimarko@libero.it> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfLx13CbYMphfYjsU7PQW4zh9Z6pKK6c7grNSF9KmnQ2l7Z+LoFvikcchPAzK9D1vN9ah1yB2K83SAfW9VNV+qRqT/kdSnupbno1gk95Irflm+b6kNm1K qvF8n3tx4x8TPwjZ4AKXGQPm2nBs+vZ4KxnTBzAq6CfP25syGHwAU2FW3sVSPzxBf0BIQ7jg8lfgrQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Marco Rimoldi X-ACL-Warn: , Marco Rimoldi via Guix-patches From: Marco Rimoldi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.75 X-Spam-Score: -6.75 X-Migadu-Queue-Id: 022E822CAB X-Migadu-Scanner: mx12.migadu.com X-TUID: VqSWvFwtH10v Change-Id: Ie5f6039dcfd8e6d1315e969dc12dafb158a8cc10 --- .../python-poppler-qt5-fix-build.patch | 116 ------------------ 1 file changed, 116 deletions(-) delete mode 100644 gnu/packages/patches/python-poppler-qt5-fix-build.patch diff --git a/gnu/packages/patches/python-poppler-qt5-fix-build.patch b/gnu/packages/patches/python-poppler-qt5-fix-build.patch deleted file mode 100644 index 099bb86d2f..0000000000 --- a/gnu/packages/patches/python-poppler-qt5-fix-build.patch +++ /dev/null @@ -1,116 +0,0 @@ -Patch taken from the upstream repository -https://github.com/frescobaldi/python-poppler-qt5/issues/43 - -From 92e5962ec3751ab051d0b655fd61afc7a1cf709e Mon Sep 17 00:00:00 2001 -From: Ben Greiner -Date: Thu, 4 Mar 2021 17:02:51 +0100 -Subject: [PATCH] map type QVector< QPair > for - FormFieldChoice::choicesWithExportValues() (#45) - ---- - types.sip | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 93 insertions(+) - -diff --git a/types.sip b/types.sip -index 239b8c9..81cb283 100644 ---- a/types.sip -+++ b/types.sip -@@ -331,5 +331,98 @@ template - }; - - -+/** -+ * Convert QVector< QPair > -+ * from and to a Python list of a 2-item tuple -+ */ -+ -+template -+%MappedType QVector< QPair > -+{ -+%TypeHeaderCode -+#include -+#include -+%End -+ -+%ConvertFromTypeCode -+ // Create the list. -+ PyObject *l; -+ -+ if ((l = PyList_New(sipCpp->size())) == NULL) -+ return NULL; -+ -+ // Set the list elements. -+ for (int i = 0; i < sipCpp->size(); ++i) -+ { -+ QPair* p = new QPair(sipCpp->at(i)); -+ PyObject *ptuple = PyTuple_New(2); -+ PyObject *pfirst; -+ PyObject *psecond; -+ -+ TYPE *sfirst = new TYPE(p->first); -+ if ((pfirst = sipConvertFromType(sfirst, sipType_TYPE, sipTransferObj)) == NULL) -+ { -+ Py_DECREF(l); -+ Py_DECREF(ptuple); -+ return NULL; -+ } -+ PyTuple_SET_ITEM(ptuple, 0, pfirst); -+ -+ TYPE *ssecond = new TYPE(p->second); -+ if ((psecond = sipConvertFromType(ssecond, sipType_TYPE, sipTransferObj)) == NULL) -+ { -+ Py_DECREF(l); -+ Py_DECREF(ptuple); -+ Py_DECREF(pfirst); -+ return NULL; -+ } -+ PyTuple_SET_ITEM(ptuple, 1, psecond); -+ -+ PyList_SET_ITEM(l, i, ptuple); -+ } -+ -+ return l; -+%End -+ -+%ConvertToTypeCode -+ const sipTypeDef* qpair_type = sipFindType("QPair"); -+ -+ // Check the type if that is all that is required. -+ if (sipIsErr == NULL) -+ { -+ if (!PySequence_Check(sipPy)) -+ return 0; -+ -+ for (int i = 0; i < PySequence_Size(sipPy); ++i) -+ if (!sipCanConvertToType(PySequence_ITEM(sipPy, i), qpair_type, SIP_NOT_NONE)) -+ return 0; -+ -+ return 1; -+ } -+ -+ -+ QVector< QPair > *qv = new QVector< QPair >; -+ -+ for (int i = 0; i < PySequence_Size(sipPy); ++i) -+ { -+ int state; -+ QPair * p = reinterpret_cast< QPair * >(sipConvertToType(PySequence_ITEM(sipPy, i), qpair_type, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); -+ -+ if (*sipIsErr) -+ { -+ sipReleaseType(p, qpair_type, state); -+ delete qv; -+ return 0; -+ } -+ qv->append(*p); -+ sipReleaseType(p, qpair_type, state); -+ } -+ -+ *sipCppPtr = qv; -+ return sipGetState(sipTransferObj); -+%End -+ -+}; -+ - - /* kate: indent-width 4; space-indent on; hl c++; indent-mode cstyle; */ -- 2.41.0