[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/35: gnu: Add texlive-metafont-base.
From: |
Ricardo Wurmus |
Subject: |
08/35: gnu: Add texlive-metafont-base. |
Date: |
Thu, 15 Jun 2017 11:04:06 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 8ada0f0b3a16390486d83502f35d46d603fe393a
Author: Ricardo Wurmus <address@hidden>
Date: Sun Jun 4 12:34:02 2017 +0200
gnu: Add texlive-metafont-base.
* gnu/packages/tex.scm (texlive-metafont-base): New variable.
---
gnu/packages/tex.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 20b5a35..5a92b3e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -381,6 +381,57 @@ converters, will completely supplant the older patterns.")
license:public-domain
license:wtfpl2))))
+(define-public texlive-metafont-base
+ (package
+ (name "texlive-metafont-base")
+ (version (number->string %texlive-revision))
+ (source (origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/metafont"))
+ (revision %texlive-revision)))
+ (sha256
+ (base32
+ "1yl4n8cn5xqk2nc22zgzq6ymd7bhm6xx1mz3azip7i3ki4bhb5q5"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no test target
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'build
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((cwd (getcwd)))
+ (setenv "MFINPUTS"
+ (string-append cwd "/base:"
+ cwd "/misc:"
+ cwd "/roex:"
+ cwd "/feynmf:"
+ cwd "/mfpic:"
+ cwd "/config")))
+ (mkdir "build")
+ (with-directory-excursion "build"
+ (zero? (system* "inimf" "mf.mf")))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (base (string-append out "/share/texmf-dist/web2c"))
+ (mf (string-append out
"/share/texmf-dist/metafont/base")))
+ (mkdir-p base)
+ (mkdir-p mf)
+ (install-file "build/mf.base" base)
+ (copy-recursively "base" mf)
+ #t))))))
+ (native-inputs
+ `(("texlive-bin" ,texlive-bin)))
+ (home-page "http://www.ctan.org/pkg/metafont")
+ (synopsis "Metafont base files")
+ (description "This package provides the Metafont base files needed to
+build fonts using the Metafont system.")
+ (license license:knuth)))
+
(define texlive-texmf
(package
(name "texlive-texmf")
- 16/35: gnu: Add texlive-generic-ifxetex., (continued)
- 16/35: gnu: Add texlive-generic-ifxetex., Ricardo Wurmus, 2017/06/15
- 19/35: gnu: Add texlive-latex-xcolor., Ricardo Wurmus, 2017/06/15
- 02/35: licenses: Add common TeX and LaTeX licenses., Ricardo Wurmus, 2017/06/15
- 10/35: gnu: Add texlive-fonts-knuth-lib., Ricardo Wurmus, 2017/06/15
- 11/35: gnu: Add texlive-fonts-latex., Ricardo Wurmus, 2017/06/15
- 15/35: gnu: Add texlive-latex-filecontents., Ricardo Wurmus, 2017/06/15
- 24/35: gnu: Add texlive-latex-l3kernel., Ricardo Wurmus, 2017/06/15
- 07/35: gnu: Add texlive-generic-hyph-utf8., Ricardo Wurmus, 2017/06/15
- 32/35: gnu: Add texlive-latex-psnfss., Ricardo Wurmus, 2017/06/15
- 21/35: gnu: Add texlive-latex-oberdiek., Ricardo Wurmus, 2017/06/15
- 08/35: gnu: Add texlive-metafont-base.,
Ricardo Wurmus <=
- 05/35: gnu: Add texlive-generic-dehyph-exptl., Ricardo Wurmus, 2017/06/15
- 13/35: gnu: Add texlive-latex-base., Ricardo Wurmus, 2017/06/15
- 20/35: gnu: Add texlive-latex-hyperref., Ricardo Wurmus, 2017/06/15
- 18/35: gnu: Add texlive-latex-graphics., Ricardo Wurmus, 2017/06/15
- 22/35: gnu: Add texlive-latex-tools., Ricardo Wurmus, 2017/06/15
- 28/35: gnu: Add texlive-latex-amsmath., Ricardo Wurmus, 2017/06/15
- 25/35: gnu: Add texlive-latex-l3packages., Ricardo Wurmus, 2017/06/15
- 33/35: gnu: Add texlive-union., Ricardo Wurmus, 2017/06/15
- 06/35: gnu: Add texlive-generic-tex-ini-files., Ricardo Wurmus, 2017/06/15
- 23/35: gnu: Add texlive-latex-url., Ricardo Wurmus, 2017/06/15