From patchwork Tue May 7 19:45:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 27168 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 88DB327BBEA; Tue, 7 May 2024 20:46:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 2638E27BBE2 for ; Tue, 7 May 2024 20:45:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Ql2-0001aq-RO; Tue, 07 May 2024 15:45:48 -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 1s4Qks-0001TS-21 for guix-patches@gnu.org; Tue, 07 May 2024 15:45:38 -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 1s4Qkr-0002Yh-Ps for guix-patches@gnu.org; Tue, 07 May 2024 15:45:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4QlG-0002tc-Hn for guix-patches@gnu.org; Tue, 07 May 2024 15:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70693] [PATCH v2 2/3] gnu: Add po4a-minimal. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 May 2024 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70693 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70693@debbugs.gnu.org Received: via spool by 70693-submit@debbugs.gnu.org id=B70693.171511115711113 (code B ref 70693); Tue, 07 May 2024 19:46:02 +0000 Received: (at 70693) by debbugs.gnu.org; 7 May 2024 19:45:57 +0000 Received: from localhost ([127.0.0.1]:44356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4QlB-0002t5-1F for submit@debbugs.gnu.org; Tue, 07 May 2024 15:45:57 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4Ql6-0002st-Cm for 70693@debbugs.gnu.org; Tue, 07 May 2024 15:45:54 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id E0EF427BBE9 for <70693@debbugs.gnu.org>; Tue, 7 May 2024 20:45:25 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 188cc1da for <70693@debbugs.gnu.org>; Tue, 7 May 2024 19:45:24 +0000 (UTC) From: Christopher Baines Date: Tue, 7 May 2024 20:45:22 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <86386e3f8cd94c44ac685abb9b722d746d22177a.1715111123.git.mail@cbaines.net> References: <86386e3f8cd94c44ac685abb9b722d746d22177a.1715111123.git.mail@cbaines.net> 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: , 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 The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in nss, which has a very time consuming testsuite. * gnu/packages/gettext.scm (po4a-minimal): New variable. Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4 --- gnu/packages/gettext.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 1408cc4cb4..27212e3574 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -317,3 +317,16 @@ (define-public po4a more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation.") (license gpl2+))) + +(define-public po4a-minimal + (package/inherit po4a + (native-inputs + ;; Remove test dependencies + (modify-inputs (package-native-inputs po4a) + (delete "docbook-xml") + (delete "perl-test-pod") + (delete "texlive-updmap.cfg"))) + (arguments + (substitute-keyword-arguments (package-arguments po4a) + ((#:tests? _ #t) #f))) + (properties '((hidden? . #t)))))