gnu: po4a: Enable SGML format.

* gnu/packages/gettext.scm (po4a): Enable SGML format.
[arguments]<phases>: Remove disable-failing-tests phase.
[native-inputs]: Add docbook-sgml-4.1. Remove libxml2.
[inputs]: Add opensp.

Modified-by: Bruno Victal <mirai@makinata.eu>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
gemmaro 2023-10-09 23:20:55 +01:00 committed by Ludovic Courtès
parent 04b6408bbd
commit d8a0aefae1
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -278,10 +278,6 @@ (define-public po4a
(wrap-program file
`("PERL5LIB" ":" prefix (,path))))
(find-files bin "\\.*$")))))
(add-before 'check 'disable-failing-tests
(lambda _
;; FIXME: fails despite of importing SGMLS
(delete-file "t/fmt-sgml.t")))
#$@(if (system-hurd?)
#~((add-after 'unpack 'skip-tests/hurd
(lambda _
@ -293,14 +289,15 @@ (define-public po4a
(list gettext-minimal
perl-module-build
docbook-xsl
libxml2
libxslt
;; For tests.
docbook-sgml-4.1
docbook-xml-4.1.2
perl-test-pod
(texlive-updmap.cfg)))
(inputs
(list bash-minimal
opensp
perl-gettext
perl-pod-parser
perl-sgmls