me
/
guix
Archived
1
0
Fork 0

Use po4a-minimal for guix.

As this avoids the indirect dependency on nss, which has a testsuite that
takes a long time to run.

* gnu/packages/package-management.scm (guix)[native-inputs]: Use po4a-minimal.
* guix/self.scm (%packages, translate-texi-manuals): Use po4a-minimal.

Change-Id: Iac7555cc850c1618d3d54f1b290faa4f9cfb4f8a
master
Christopher Baines 2024-05-09 15:35:42 +01:00
parent 8fb98fe33b
commit 7b0f145802
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
2 changed files with 5 additions and 5 deletions

View File

@ -493,7 +493,7 @@ $(prefix)/etc/openrc\n")))
("graphviz" ,graphviz-minimal) ("graphviz" ,graphviz-minimal)
("font-ghostscript" ,font-ghostscript) ;fonts for 'dot' ("font-ghostscript" ,font-ghostscript) ;fonts for 'dot'
("help2man" ,help2man) ("help2man" ,help2man)
("po4a" ,po4a))) ("po4a" ,po4a-minimal)))
(inputs (inputs
`(("bzip2" ,bzip2) `(("bzip2" ,bzip2)
("gzip" ,gzip) ("gzip" ,gzip)

View File

@ -71,7 +71,7 @@
("bzip2" . ,(ref 'compression 'bzip2)) ("bzip2" . ,(ref 'compression 'bzip2))
("xz" . ,(ref 'compression 'xz)) ("xz" . ,(ref 'compression 'xz))
("git-minimal" . ,(ref 'version-control 'git-minimal)) ("git-minimal" . ,(ref 'version-control 'git-minimal))
("po4a" . ,(ref 'gettext 'po4a)) ("po4a-minimal" . ,(ref 'gettext 'po4a-minimal))
("gettext-minimal" . ,(ref 'gettext 'gettext-minimal)) ("gettext-minimal" . ,(ref 'gettext 'gettext-minimal))
("gcc-toolchain" . ,(ref 'commencement 'gcc-toolchain)) ("gcc-toolchain" . ,(ref 'commencement 'gcc-toolchain))
("glibc-utf8-locales" . ,(delay ("glibc-utf8-locales" . ,(delay
@ -291,8 +291,8 @@ DOMAIN, a gettext domain."
(define (translate-texi-manuals source) (define (translate-texi-manuals source)
"Return the translated texinfo manuals built from SOURCE." "Return the translated texinfo manuals built from SOURCE."
(define po4a (define po4a-minimal
(specification->package "po4a")) (specification->package "po4a-minimal"))
(define gettext-minimal (define gettext-minimal
(specification->package "gettext-minimal")) (specification->package "gettext-minimal"))
@ -317,7 +317,7 @@ DOMAIN, a gettext domain."
(define (translate-tmp-texi po source output) (define (translate-tmp-texi po source output)
"Translate Texinfo file SOURCE using messages from PO, and write "Translate Texinfo file SOURCE using messages from PO, and write
the result to OUTPUT." the result to OUTPUT."
(invoke #+(file-append po4a "/bin/po4a-translate") (invoke #+(file-append po4a-minimal "/bin/po4a-translate")
"-M" "UTF-8" "-L" "UTF-8" "-k" "0" "-f" "texinfo" "-M" "UTF-8" "-L" "UTF-8" "-k" "0" "-f" "texinfo"
"-m" source "-p" po "-l" output)) "-m" source "-p" po "-l" output))