[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/16: gnu: Add texlive-fonts-charter.
From: |
guix-commits |
Subject: |
12/16: gnu: Add texlive-fonts-charter. |
Date: |
Fri, 14 Dec 2018 17:32:49 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit 744b883ed6d6367991d74e09a3b1d51c1e6d76f3
Author: Pierre Neidhardt <address@hidden>
Date: Fri Dec 14 19:50:33 2018 +0100
gnu: Add texlive-fonts-charter.
* gnu/packages/tex.scm (texlive-fonts-charter): New variable.
---
gnu/packages/tex.scm | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ce2fbb3..5c9ef56 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5123,3 +5123,72 @@ printing citations in a document in the form specified
by a BibTeX style, to
be specified in the document itself (one often needs a LaTeX citation-style
package, such as @command{natbib} as well).")
(license license:knuth)))
+
+(define-public texlive-fonts-charter
+ (package
+ (name "texlive-fonts-charter")
+ (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/"
+ "/fonts/type1/bitstrea/charter"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0yvib45xxff3jm5270zij4q888pivbc18cqs7lz4pqfhn1am4wnv"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils)
+ (ice-9 match))
+ #:builder
+ (begin
+ (use-modules (guix build utils)
+ (ice-9 match))
+ (let ((root (string-append (assoc-ref %outputs "out")
+ "/share/texmf-dist/"))
+ (pkgs '(("source" . "fonts/type1/bitstrea/charter")
+ ("charter-afm" . "fonts/afm/bitstrea/charter")
+ ("charter-tfm" . "fonts/tfm/bitstrea/charter"))))
+ (for-each (match-lambda
+ ((pkg . dir)
+ (let ((target (string-append root dir)))
+ (mkdir-p target)
+ (copy-recursively (assoc-ref %build-inputs pkg)
+ target))))
+ pkgs)
+ #t))))
+ (native-inputs
+ `(("charter-afm"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/afm/bitstrea/charter"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-afm-" version "-checkout"))
+ (sha256
+ (base32
+ "02nbkqrlr3vypnzslmr7dxg1353mmc0rl4ynx0s6qbvf313fq76a"))))
+ ("charter-tfm"
+ ,(origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "svn://www.tug.org/texlive/tags/"
+ %texlive-tag "/Master/texmf-dist/"
+ "/fonts/tfm/bitstrea/charter"))
+ (revision %texlive-revision)))
+ (file-name (string-append name "-tfm-" version "-checkout"))
+ (sha256
+ (base32
+ "0j7ci9vprivbhac70aq0z7m23hqcpx1g0i3wp1k0h8ilhimj80xk"))))))
+ (home-page "https://www.ctan.org/pkg/charter")
+ (synopsis "Charter fonts for TeX")
+ (description "A commercial text font donated for the common good. Support
+for use with LaTeX is available in @code{freenfss}, part of
address@hidden ")
+ (license (license:non-copyleft (string-append "http://mirrors.ctan.org/"
+
"fonts/charter/readme.charter")))))
- 09/16: gnu: texlive-dvips: Include all maps., (continued)
- 09/16: gnu: texlive-dvips: Include all maps., guix-commits, 2018/12/14
- 11/16: gnu: texlive-generic-pdftex: Include pdftex map., guix-commits, 2018/12/14
- 06/16: gnu: Add texlive-bibtex., guix-commits, 2018/12/14
- 10/16: gnu: texlive-fonts-cm: Include type1 fonts., guix-commits, 2018/12/14
- 16/16: doc: Discourage the use of texlive as input, guix-commits, 2018/12/14
- 01/16: gnu: chez-scheme: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 03/16: gnu: coq: Remove unused texlive and hevea from native-inputs., guix-commits, 2018/12/14
- 13/16: gnu: Add texlive-context-base., guix-commits, 2018/12/14
- 08/16: gnu: unison: Replace texlive input with texlive-tiny., guix-commits, 2018/12/14
- 04/16: gnu: Add texlive-generic-xypic., guix-commits, 2018/12/14
- 12/16: gnu: Add texlive-fonts-charter.,
guix-commits <=
- 07/16: gnu: hypre: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 05/16: gnu: Add texlive-fonts-xypic., guix-commits, 2018/12/14
- 15/16: gnu: chez-sockets: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 14/16: gnu: chez-web: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14