[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/109: gnu: texlive-bin: Include scripts.
From: |
guix-commits |
Subject: |
95/109: gnu: texlive-bin: Include scripts. |
Date: |
Tue, 16 Jul 2019 08:22:54 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit 8d8ce0a85fe4c44cc220f9301cc7a910f7852b1c
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 20f603f..5c70b84 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.
- 67/109: gnu: Add texlive-hyphen-swedish., (continued)
- 67/109: gnu: Add texlive-hyphen-swedish., guix-commits, 2019/07/16
- 73/109: gnu: Add texlive-hyphen-welsh., guix-commits, 2019/07/16
- 72/109: gnu: Add texlive-hyphen-uppersorbian., guix-commits, 2019/07/16
- 75/109: gnu: Add texlive-ruhyphen., guix-commits, 2019/07/16
- 76/109: gnu: Add texlive-etex., guix-commits, 2019/07/16
- 79/109: gnu: Add texlive-fontinst., guix-commits, 2019/07/16
- 81/109: gnu: Add texlive-cm-super., guix-commits, 2019/07/16
- 84/109: gnu: Add texlive-epsf., guix-commits, 2019/07/16
- 89/109: gnu: Add texlive-filemod., guix-commits, 2019/07/16
- 87/109: gnu: texlive-latex-graphics: Simplify., guix-commits, 2019/07/16
- 95/109: gnu: texlive-bin: Include scripts.,
guix-commits <=
- 86/109: gnu: Add texlive-graphics-cfg., guix-commits, 2019/07/16
- 100/109: gnu: texlive-fonts-ec: Update license URL., guix-commits, 2019/07/16
- 85/109: gnu: Add texlive-graphics-def., guix-commits, 2019/07/16
- 82/109: gnu: texlive-fontname: Simplify., guix-commits, 2019/07/16
- 91/109: gnu: Add texlive-seminar., guix-commits, 2019/07/16
- 88/109: gnu: Add texlive-url., guix-commits, 2019/07/16
- 94/109: gnu: Add texlive-kpathsea., guix-commits, 2019/07/16
- 99/109: gnu: Replace uses of texlive-*-amsfonts., guix-commits, 2019/07/16
- 105/109: gnu: Add texlive-charter., guix-commits, 2019/07/16
- 104/109: gnu: texlive-tex-plain: Simplify., guix-commits, 2019/07/16