[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/47: gnu: texlive-dvips: Install font maps.
From: |
Ricardo Wurmus |
Subject: |
42/47: gnu: texlive-dvips: Install font maps. |
Date: |
Mon, 17 Jul 2017 08:04:13 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 4701946775bbe0a8c4d1585ba65a969637e39a03
Author: Ricardo Wurmus <address@hidden>
Date: Sat Jul 15 10:41:17 2017 +0200
gnu: texlive-dvips: Install font maps.
* gnu/packages/tex.scm (texlive-dvips)[native-inputs]: Add dvips-font-maps
and
dvips-base-enc.
[arguments]: Install them.
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 95f15df..8b5fe12 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -201,11 +201,41 @@ This package contains the binaries.")
#:builder
(begin
(use-modules (guix build utils))
- (let ((target (string-append (assoc-ref %outputs "out")
- "/share/texmf-dist/dvips")))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs "source") target)
+ (let* ((root (string-append (assoc-ref %outputs "out")
+ "/share/texmf-dist"))
+ (dvips (string-append root "/dvips"))
+ (maps (string-append root "/fonts/map/dvips/tetex"))
+ (encs (string-append root "/fonts/enc/dvips/base")))
+ (mkdir-p dvips)
+ (copy-recursively (assoc-ref %build-inputs "source") dvips)
+ (mkdir-p maps)
+ (copy-recursively (assoc-ref %build-inputs "dvips-font-maps") maps)
+ (mkdir-p encs)
+ (copy-recursively (assoc-ref %build-inputs "dvips-base-enc") encs)
#t))))
+ (native-inputs
+ `(("dvips-font-maps"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/map/dvips/tetex"))
+ (revision %texlive-revision)))
+ (sha256
+ (base32
+ "100208pg7q6lj7swiq9p9287nn6b64bl62bnlaxpjni9y2kdrqy5"))))
+ ("dvips-base-enc"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/enc/dvips/base"))
+ (revision %texlive-revision)))
+ (sha256
+ (base32
+ "1xnf6ms0h87r55kxik4vicwr1907scj789lhqflqns8svvsli5iy"))))))
(home-page "http://www.ctan.org/pkg/dvips")
(synopsis "DVI to PostScript drivers")
(description "This package provides files needed for converting DVI files
- 43/47: gnu: Add texlive-latex-enumitem., (continued)
- 43/47: gnu: Add texlive-latex-enumitem., Ricardo Wurmus, 2017/07/17
- 22/47: gnu: Add texlive-latex-etoolbox., Ricardo Wurmus, 2017/07/17
- 29/47: gnu: Add texlive-latex-varwidth., Ricardo Wurmus, 2017/07/17
- 17/47: gnu: Add texlive-latex-cmap., Ricardo Wurmus, 2017/07/17
- 35/47: gnu: Add texlive-latex-ifplatform., Ricardo Wurmus, 2017/07/17
- 45/47: gnu: Add texlive-latex-type1cm., Ricardo Wurmus, 2017/07/17
- 21/47: gnu: Add texlive-latex-capt-of., Ricardo Wurmus, 2017/07/17
- 37/47: gnu: Add texlive-latex-trimspaces., Ricardo Wurmus, 2017/07/17
- 40/47: gnu: Add texlive-fontname., Ricardo Wurmus, 2017/07/17
- 39/47: gnu: python-ipython: Use texlive-union., Ricardo Wurmus, 2017/07/17
- 42/47: gnu: texlive-dvips: Install font maps.,
Ricardo Wurmus <=
- 33/47: gnu: Add texlive-latex-environ., Ricardo Wurmus, 2017/07/17
- 47/47: gnu: Add sooperlooper., Ricardo Wurmus, 2017/07/17
- 44/47: gnu: Add texlive-fonts-txfonts., Ricardo Wurmus, 2017/07/17
- 24/47: gnu: Add texlive-latex-mdwtools., Ricardo Wurmus, 2017/07/17
- 30/47: gnu: Add texlive-latex-wrapfig., Ricardo Wurmus, 2017/07/17
- 36/47: gnu: Add texlive-latex-psfrag., Ricardo Wurmus, 2017/07/17
- 34/47: gnu: Add texlive-latex-filemod., Ricardo Wurmus, 2017/07/17
- 41/47: gnu: texlive-union: Add texlive-fontname to defaults., Ricardo Wurmus, 2017/07/17
- 23/47: gnu: Add texlive-latex-framed., Ricardo Wurmus, 2017/07/17
- 27/47: gnu: Add texlive-latex-tabulary., Ricardo Wurmus, 2017/07/17