[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/110: gnu: texlive-bin: Include scripts.
From: |
guix-commits |
Subject: |
95/110: gnu: texlive-bin: Include scripts. |
Date: |
Wed, 24 Jul 2019 03:48:05 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit dfdc002c9bf86270941823a96abded0aa5d44088
Author: Ricardo Wurmus <address@hidden>
Date: Mon Jul 15 19:07:40 2019 +0200
gnu: texlive-bin: Include scripts.
* gnu/packages/tex.scm (texlive-bin)[inputs]: Add texlive-scripts.
[arguments]: Let fmtutil.pl reference scripts directory.
---
gnu/packages/tex.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f66fddf..a1e12df 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -271,6 +271,20 @@ copied to their outputs; otherwise the
TEXLIVE-BUILD-SYSTEM is used."
(build-system gnu-build-system)
(inputs
`(("texlive-extra-src" ,texlive-extra-src)
+ ("texlive-scripts"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/scripts/texlive"))
+ (revision %texlive-revision)))
+ (file-name (string-append "texlive-scripts-"
+ (number->string %texlive-revision)
+ "-checkout"))
+ (sha256
+ (base32
+ "0wrjls1y9b4k1z10l9l8w2l3yjcw7v7by2y16kchdpkiyldlkry6"))))
("cairo" ,cairo)
("fontconfig" ,fontconfig)
("fontforge" ,fontforge)
@@ -386,6 +400,13 @@ copied to their outputs; otherwise the
TEXLIVE-BUILD-SYSTEM is used."
(apply unpack (list #:source texlive-extra))
(apply patch-source-shebangs (list #:source texlive-extra))
(invoke "mv" "tlpkg" share))
+ (let ((scripts (string-append share
"/texmf-dist/scripts/texlive/")))
+ (mkdir-p scripts)
+ (copy-recursively (assoc-ref inputs "texlive-scripts") scripts)
+ ;; Make sure that fmtutil can find its Perl modules.
+ (substitute* (string-append scripts "fmtutil.pl")
+ (("\\$TEXMFROOT/") (string-append share "/"))))
+
;; texlua shebangs are not patched by the patch-source-shebangs
;; phase because the texlua executable does not exist at that
;; time.
- 80/110: gnu: Add texlive-mflogo-font., (continued)
- 80/110: gnu: Add texlive-mflogo-font., guix-commits, 2019/07/24
- 76/110: gnu: Add texlive-etex., guix-commits, 2019/07/24
- 82/110: gnu: texlive-fontname: Simplify., guix-commits, 2019/07/24
- 85/110: gnu: Add texlive-graphics-def., guix-commits, 2019/07/24
- 86/110: gnu: Add texlive-graphics-cfg., guix-commits, 2019/07/24
- 93/110: gnu: Add texlive-etoolbox., guix-commits, 2019/07/24
- 83/110: gnu: Add texlive-lm., guix-commits, 2019/07/24
- 84/110: gnu: Add texlive-epsf., guix-commits, 2019/07/24
- 90/110: gnu: Add texlive-pstool., guix-commits, 2019/07/24
- 91/110: gnu: Add texlive-seminar., guix-commits, 2019/07/24
- 95/110: gnu: texlive-bin: Include scripts.,
guix-commits <=
- 92/110: gnu: Add texlive-doi., guix-commits, 2019/07/24
- 94/110: gnu: Add texlive-kpathsea., guix-commits, 2019/07/24
- 102/110: gnu: Add texlive-txfonts., guix-commits, 2019/07/24
- 103/110: gnu: Add texlive-xypic., guix-commits, 2019/07/24
- 99/110: gnu: Replace uses of texlive-*-amsfonts., guix-commits, 2019/07/24
- 88/110: gnu: Add texlive-url., guix-commits, 2019/07/24
- 97/110: gnu: texlive-latex-base: Simplify., guix-commits, 2019/07/24
- 87/110: gnu: texlive-latex-graphics: Simplify., guix-commits, 2019/07/24
- 96/110: gnu: texlive-dvips: Update source files., guix-commits, 2019/07/24
- 100/110: gnu: texlive-fonts-ec: Update license URL., guix-commits, 2019/07/24