[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: texlive: Improve the monolithic packages for non-x86_64 arch
From: |
guix-commits |
Subject: |
07/09: gnu: texlive: Improve the monolithic packages for non-x86_64 architectures. |
Date: |
Thu, 17 Aug 2023 08:07:53 -0400 (EDT) |
andreas pushed a commit to branch wip-texlive-mono
in repository guix.
commit c5f1a9e64297f1d844dece91583aa6b1adb3e344
Author: Andreas Enge <andreas@enge.fr>
AuthorDate: Tue Aug 8 10:31:16 2023 +0200
gnu: texlive: Improve the monolithic packages for non-x86_64 architectures.
* gnu/packages/texlive.scm (texlivebin)[arguments]: Enable tests also
on aarch64 and powerpc64le. Remove 'disable-failing-test and
'skip-faulty-test phases.
(texlivetexmf)[arguments]: Define a missing variable.
---
gnu/packages/texlive.scm | 23 ++---------------------
1 file changed, 2 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
index b6bc3f30f7..0c5bc604a9 100644
--- a/gnu/packages/texlive.scm
+++ b/gnu/packages/texlive.scm
@@ -191,9 +191,7 @@
;; XXX FIXME fix luajit properly on these architectures.
#:tests? ,(let ((s (or (%current-target-system)
(%current-system))))
- (not (or (string-prefix? "aarch64" s)
- (string-prefix? "mips64" s)
- (string-prefix? "powerpc64le" s))))
+ (not (string-prefix? "mips64" s)))
#:phases
(modify-phases %standard-phases
@@ -216,30 +214,12 @@
(substitute* "texk/texlive/linked_scripts/epstopdf/epstopdf.pl"
(("\"gs\"")
(string-append "\"" (assoc-ref inputs "ghostscript")
"/bin/gs\"")))))
- (add-after 'unpack 'disable-failing-test
- (lambda _
- ;; FIXME: This test fails on 32-bit architectures since Glibc
2.28:
- ;; <https://bugzilla.redhat.com/show_bug.cgi?id=1631847>.
- (substitute* "texk/web2c/omegafonts/check.test"
- (("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck
\\|\\| exit 1")
- "./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit
77"))))
(add-after 'unpack 'unpack-texlive-extra
(lambda* (#:key inputs #:allow-other-keys)
(mkdir "texlive-extra")
(with-directory-excursion "texlive-extra"
(apply (assoc-ref %standard-phases 'unpack)
(list #:source (assoc-ref inputs
"texlive-extra-src"))))))
- ,@(if (target-arm32?)
- `((add-after 'unpack 'skip-faulty-test
- (lambda _
- ;; Skip this faulty test on armhf-linux:
- ;; https://issues.guix.gnu.org/54055
- (substitute* '("texk/mendexk/tests/mendex.test"
- "texk/upmendex/tests/upmendex.test")
- (("^TEXMFCNF=" all)
- (string-append "exit 77 # skip\n" all))))))
- '())
-
(add-after 'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
(let* ((out (assoc-ref outputs "out"))
@@ -345,6 +325,7 @@ This package contains the binaries.")
(share (string-append out "/share"))
(texmfroot (string-append share "/texmf-dist/web2c"))
(texmfcnf (string-append texmfroot "/texmf.cnf"))
+ (fmtutilcnf (string-append texmfroot "/fmtutil.cnf"))
(texlive-bin (assoc-ref inputs "texlive-bin"))
(texbin (string-append texlive-bin "/bin"))
(tlpkg (string-append texlive-bin "/share/tlpkg")))
- branch wip-texlive-mono created (now 3d06806392), guix-commits, 2023/08/17
- 01/09: gnu: texlive: Reinstate the monolithic texlive package., guix-commits, 2023/08/17
- 03/09: gnu: texlive: Update to 2022., guix-commits, 2023/08/17
- 02/09: gnu: texlive: Simplify the monolithic build., guix-commits, 2023/08/17
- 07/09: gnu: texlive: Improve the monolithic packages for non-x86_64 architectures.,
guix-commits <=
- 08/09: gnu: texlive: Deprecate biber again in favor of texlive-biber., guix-commits, 2023/08/17
- 04/09: gnu: biber: Update to 2.17., guix-commits, 2023/08/17
- 05/09: gnu: texlive: Update to 20230313., guix-commits, 2023/08/17
- 06/09: gnu: biber: Update to 2.19., guix-commits, 2023/08/17
- 09/09: gnu: texlive: Drop special handling of mips64., guix-commits, 2023/08/17