From patchwork Thu May 9 14:35:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 27210 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 6850927BBE2; Thu, 9 May 2024 15:36:58 +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 4024927BBEA for ; Thu, 9 May 2024 15:36:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s54sy-00064F-Fd; Thu, 09 May 2024 10:36:40 -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 1s54su-00063n-PM for guix-patches@gnu.org; Thu, 09 May 2024 10:36:37 -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 1s54su-0006zu-CT for guix-patches@gnu.org; Thu, 09 May 2024 10:36:36 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s54tK-0003jJ-D8 for guix-patches@gnu.org; Thu, 09 May 2024 10:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70693] [PATCH v3 2/3] gnu: Add po4a-minimal. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 14:37: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.171526537814278 (code B ref 70693); Thu, 09 May 2024 14:37:02 +0000 Received: (at 70693) by debbugs.gnu.org; 9 May 2024 14:36:18 +0000 Received: from localhost ([127.0.0.1]:55616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s54sb-0003i9-Ot for submit@debbugs.gnu.org; Thu, 09 May 2024 10:36:18 -0400 Received: from mira.cbaines.net ([212.71.252.8]:43428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s54sV-0003hj-Uw for 70693@debbugs.gnu.org; Thu, 09 May 2024 10:36:16 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id E92F327BBE9 for <70693@debbugs.gnu.org>; Thu, 9 May 2024 15:35:44 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8a69f4b5 for <70693@debbugs.gnu.org>; Thu, 9 May 2024 14:35:44 +0000 (UTC) From: Christopher Baines Date: Thu, 9 May 2024 15:35:41 +0100 Message-ID: <3a9488a476a1cb365892f433342360d7dff776c7.1715265342.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 1408cc4cb4..31fe95f6ad 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -317,3 +317,15 @@ (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, primarily to reduce the size of the + ;; dependency graph of the ‘guix’ package. + (modify-inputs (package-native-inputs po4a) + (delete "docbook-xml" "perl-test-pod" "texlive-updmap.cfg"))) + (arguments + (substitute-keyword-arguments (package-arguments po4a) + ((#:tests? _ #t) #f))) + (properties '((hidden? . #t)))))