[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: texlive-fonts-amsfonts: Install type1 fonts.
From: |
guix-commits |
Subject: |
10/12: gnu: texlive-fonts-amsfonts: Install type1 fonts. |
Date: |
Tue, 15 Jan 2019 07:05:41 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 24d0c4d0eb1c13f95c53fdf9d913bdc6a43b351a
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jan 15 13:00:23 2019 +0100
gnu: texlive-fonts-amsfonts: Install type1 fonts.
* gnu/packages/tex.scm (texlive-fonts-amsfonts)[native-inputs]: Fetch type1
font files.
[arguments]: Install them.
---
gnu/packages/tex.scm | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b7cec6c..8543926 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1009,21 +1009,34 @@ symbol fonts.")
(find-files "." "[0-9]+\\.mf$"))
#t))
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (tfm (string-append
- out "/share/texmf-dist/fonts/tfm/public/amsfonts"))
- (mf (string-append
- out
"/share/texmf-dist/fonts/source/public/amsfonts")))
+ (fonts (string-append out "/share/texmf-dist/fonts"))
+ (tfm (string-append fonts "/tfm/public/amsfonts"))
+ (mf (string-append fonts "/source/public/amsfonts"))
+ (type1 (string-append fonts "/type1/public/amsfonts")))
(for-each (cut install-file <> tfm)
(find-files "build" "\\.*"))
(for-each (cut install-file <> mf)
(find-files "." "\\.mf"))
+ (copy-recursively (assoc-ref inputs "amsfonts-type1") type1)
#t))))))
(native-inputs
`(("texlive-fonts-cm" ,texlive-fonts-cm)
("texlive-metafont-base" ,texlive-metafont-base)
- ("texlive-bin" ,texlive-bin)))
+ ("texlive-bin" ,texlive-bin)
+ ("amsfonts-type1"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/type1/public/amsfonts"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-type1-" version "-checkout"))
+ (sha256
+ (base32
+ "1zfz33vn6gm19njy74n8wmn7sljrimfhwns5z8qqhxqfh1g4qip2"))))))
(home-page "https://www.ctan.org/pkg/amsfonts")
(synopsis "TeX fonts from the American Mathematical Society")
(description
- 03/12: gnu: texlive-bin: Add native search paths., (continued)
- 03/12: gnu: texlive-bin: Add native search paths., guix-commits, 2019/01/15
- 02/12: gnu: texlive-union: Wrap programs weakly., guix-commits, 2019/01/15
- 05/12: gnu: texlive-union: Implement in terms of texlive-base., guix-commits, 2019/01/15
- 04/12: gnu: Add texlive-base., guix-commits, 2019/01/15
- 07/12: gnu: Add texlive-fonts-lm., guix-commits, 2019/01/15
- 06/12: gnu: Add texlive-fonts-cm-super., guix-commits, 2019/01/15
- 11/12: gnu: python-numpy-documentation: Add missing packages to texlive-union., guix-commits, 2019/01/15
- 09/12: gnu: texlive-bin: Do not truncate output lines., guix-commits, 2019/01/15
- 12/12: guix: Add profile hook to build TeX live configuration., guix-commits, 2019/01/15
- 08/12: gnu: Add texlive-luatex-luaotfload., guix-commits, 2019/01/15
- 10/12: gnu: texlive-fonts-amsfonts: Install type1 fonts.,
guix-commits <=
- 01/12: gnu: texlive-latex-fontspec: Install default fontspec.cfg., guix-commits, 2019/01/15