From: Christopher Baines <mail@cbaines.net>
To: 70693@debbugs.gnu.org
Subject: [bug#70693] [PATCH v3 2/3] gnu: Add po4a-minimal.
Date: Thu, 9 May 2024 15:35:41 +0100 [thread overview]
Message-ID: <3a9488a476a1cb365892f433342360d7dff776c7.1715265342.git.mail@cbaines.net> (raw)
In-Reply-To: <e18f8abc59798e33072b959b3ccb8e60111d630b.1715265342.git.mail@cbaines.net>
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)))))
--
2.41.0
next prev parent reply other threads:[~2024-05-09 14:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-01 9:41 [bug#70693] [PATCH] gnu: nss/fixed: Tweak performance test Christopher Baines
2024-05-01 9:51 ` [bug#70693] [PATCH v2] " Christopher Baines
2024-05-01 16:32 ` Maxim Cournoyer
2024-05-02 8:16 ` Ludovic Courtès
2024-05-07 19:53 ` Christopher Baines
2024-05-09 14:13 ` Ludovic Courtès
2024-05-09 14:52 ` Christopher Baines
2024-05-07 19:45 ` [bug#70693] [PATCH v2 1/3] " Christopher Baines
2024-05-07 19:45 ` [bug#70693] [PATCH v2 2/3] gnu: Add po4a-minimal Christopher Baines
2024-05-09 14:11 ` Ludovic Courtès
2024-05-09 14:36 ` Christopher Baines
2024-05-07 19:45 ` [bug#70693] [PATCH v2 3/3] Use po4a-minimal for guix Christopher Baines
2024-05-09 14:09 ` Ludovic Courtès
2024-05-09 14:35 ` [bug#70693] [PATCH v3 1/3] gnu: nss/fixed: Tweak performance test Christopher Baines
2024-05-09 14:35 ` Christopher Baines [this message]
2024-05-09 14:35 ` [bug#70693] [PATCH v3 3/3] Use po4a-minimal for guix Christopher Baines
2024-05-13 8:58 ` [bug#70693] [PATCH v3 1/3] gnu: nss/fixed: Tweak performance test Ludovic Courtès
2024-05-13 12:44 ` bug#70693: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a9488a476a1cb365892f433342360d7dff776c7.1715265342.git.mail@cbaines.net \
--to=mail@cbaines.net \
--cc=70693@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).