From patchwork Fri Mar 28 11:48:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: guix-patches--- via X-Patchwork-Id: 40912 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1817B27BBE9; Fri, 28 Mar 2025 11:51:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 228B027BBE2 for ; Fri, 28 Mar 2025 11:51:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ty8F5-00042x-Dk; Fri, 28 Mar 2025 07:51:20 -0400 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 1ty8Eo-000422-V4 for guix-patches@gnu.org; Fri, 28 Mar 2025 07:51:04 -0400 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 1ty8Eo-0004Xu-MQ for guix-patches@gnu.org; Fri, 28 Mar 2025 07:51:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=+BSahL+NeLbJVvhg0+9LPk0a3i9pYUS8FtWongy7Vrw=; b=T6Q5D/4orKihXegVttHXqBT6g2MRiCkqXkhEjmexReLuoWgpejFOejURiQYd6wdqoK+1smyOlLn6LyCqmlUx+rhEeWdiMz8RDO3OtgT+NiiTI5f10gLHQ4Nv1idFSS0LnDmU1V8r4tREs7e+y/fPV2s+iANznGhTGXWz5KrzU8zmFt7W7bq/ujs0I1foTBg7J6X0j1vz1OJPGSfodryGnMQj7ihgNVMKmMhgIo0QJyg8U89sGRY+LPD/WWepajQEdQniIbqWBig1zvqq83gujTqe6BYsxNjxHftjRqdX3V//hyi8z35yAO8b8tqliljW/9v7qmnIVODMv1fOlMgSXw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ty8Eo-0000oP-6g for guix-patches@gnu.org; Fri, 28 Mar 2025 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77322] [PATCH v2] gnu: profanity: Update to 0.15.0. References: <1b0e25e6972ba2d48ac29ced247cfaabe5f2f839.1743109904.git.ashish.is@lostca.se> In-Reply-To: <1b0e25e6972ba2d48ac29ced247cfaabe5f2f839.1743109904.git.ashish.is@lostca.se> Resent-From: ashish.is@lostca.se Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Mar 2025 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77322 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: z572@z572.online Cc: 77322@debbugs.gnu.org, Ashish SHUKLA Received: via spool by 77322-submit@debbugs.gnu.org id=B77322.17431626323079 (code B ref 77322); Fri, 28 Mar 2025 11:51:02 +0000 Received: (at 77322) by debbugs.gnu.org; 28 Mar 2025 11:50:32 +0000 Received: from localhost ([127.0.0.1]:53150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty8EJ-0000nb-Sy for submit@debbugs.gnu.org; Fri, 28 Mar 2025 07:50:32 -0400 Received: from anamika.lostca.se ([65.21.75.227]:50394) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ty8EH-0000nM-Ii for 77322@debbugs.gnu.org; Fri, 28 Mar 2025 07:50:30 -0400 Received: from borboleta.inet6.in (unknown [IPv6:2a01:4f9:3070:1aea::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 6444F150E6; Fri, 28 Mar 2025 11:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1743162621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+BSahL+NeLbJVvhg0+9LPk0a3i9pYUS8FtWongy7Vrw=; b=b5yMYPw+T2f2g0jYV11n+I8qSKqFB4mbtRzTvdbe5U8zbFakEgFaAOc9vMnBgFGNVGJa7D IpOZ8E5/J0tRMpjTdGrhzq+l0aJnKdQ69rq3Csr3dAYoorkOfOVxODwVYYKcjB1Sb8KYl7 Xm3EyaOyHpdGl5qxf+NfXdoUg9PExv0= Date: Fri, 28 Mar 2025 11:48:58 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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: ashish.is@lostca.se X-ACL-Warn: , "ashish.is--- via Guix-patches" X-Patchwork-Original-From: "ashish.is--- via Guix-patches" via From: guix-patches--- via Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Ashish SHUKLA * gnu/packages/messaging.scm (profanity): Update to 0.15.0. [arguments]<#:phases>: Add patch-python-plugins phase. Change-Id: I654a9648d973653fd44b19fcacd822bbb0570fd9 --- Hi, Revising this patch with the definition of Py_XDECREF macro[0], as it's upstream. [0] https://github.com/python/cpython/blob/3.10/Include/object.h#L571 Thanks! gnu/packages/messaging.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) base-commit: 2eb22e3d0f8013e438813b1a2c5f8b1e020fcde2 diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index e8c25e7881..98d7655c44 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2246,7 +2246,7 @@ (define-public libstrophe (define-public profanity (package (name "profanity") - (version "0.14.0") + (version "0.15.0") (source (origin (method url-fetch) @@ -2255,7 +2255,7 @@ (define-public profanity version ".tar.gz")) (sha256 (base32 - "0zygsxxwdxmpppr7vyzi2r7d854yjl6918w0lrs7k41iib9zy8zx")))) + "1yy7x9ycqg6c65k66z47p8mvj48qc0pa4as1lk1agj8ffn7mg7sa")))) (build-system glib-or-gtk-build-system) (arguments `(#:configure-flags @@ -2268,7 +2268,15 @@ (define-public profanity "--enable-otr" "--enable-pgp" "--enable-omemo" - "--enable-icons-and-clipboard"))) + "--enable-icons-and-clipboard") + #:phases + ,#~(modify-phases %standard-phases + (add-after 'unpack 'patch-python-plugins + (lambda _ + ;; Py_XDECREF is a macro in Python 3.10 + (substitute* "src/plugins/python_plugins.c" + (("Py_XDECREF") + "_Py_XDECREF"))))))) (native-inputs (list autoconf autoconf-archive