[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/31: gnu: texlive-stmaryrd: Actually include the fonts.
From: |
guix-commits |
Subject: |
19/31: gnu: texlive-stmaryrd: Actually include the fonts. |
Date: |
Thu, 14 Jan 2021 10:12:56 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 788170d8e90d0ef5fca4009760bdaebcc8dd2d66
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jan 5 21:19:21 2021 -0500
gnu: texlive-stmaryrd: Actually include the fonts.
* gnu/packages/tex.scm (texlive-stmaryrd): Rewrite package to inherit from a
simple-texlive-template package, so that fonts resources as listed in the
texlive.tlpdb database are retrieved and installed.
[arguments]: Adapt to use with the inherited template.
{chdir}: New phase.
---
gnu/packages/tex.scm | 61 +++++++++++++++++++++++++++++-----------------------
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 851bda3..0290965 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5394,37 +5394,44 @@ use this package to insert PostScript files, in
addition to PDF files.")
(license license:lppl1.3+)))
(define-public texlive-stmaryrd
- (package
- (name "texlive-stmaryrd")
- (version (number->string %texlive-revision))
- (source (origin
- (method svn-fetch)
- (uri (texlive-ref "fonts" "stmaryrd"))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "08pn4ca3vl6qm9l3wm5h5iyjsrg411kkm1yana329xwg2j14s9n6"))))
- (build-system texlive-build-system)
- (arguments
- '(#:tex-directory "latex/stmaryrd"
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'patch-ins
- (lambda _
- (substitute* "stmaryrd.ins"
- (("^%% LaTeX2e.*") "\\input docstrip\n")
- (("fontdef\\}\\}" line)
- (string-append line "\n\\endbatchfile")))
- #t)))))
- (home-page "https://www.ctan.org/pkg/stmaryrd")
- (synopsis "St Mary Road symbols for theoretical computer science")
- (description
- "The fonts were originally distributed as Metafont sources only, but
+ (let ((template (simple-texlive-package
+ "texlive-stmaryrd"
+ (list "/fonts/afm/public/stmaryrd/"
+ "/fonts/map/dvips/stmaryrd/"
+ "/fonts/source/public/stmaryrd/"
+ "/fonts/tfm/public/stmaryrd/"
+ "/fonts/type1/public/stmaryrd/"
+ "/source/fonts/stmaryrd/"
+ "/doc/fonts/stmaryrd/")
+ (base32
+ "0yn0yl6x1z9ab5gb56lhvkqabd2agz3ggxifwxkiysrj5780j29z"))))
+ (package
+ (inherit template)
+ (arguments (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t)
+ "latex/stmaryrd")
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/fonts/stmaryrd")
+ #t))
+ (add-after 'chdir 'patch-ins
+ (lambda _
+ (substitute* "stmaryrd.ins"
+ (("^%% LaTeX2e.*") "\\input docstrip\n")
+ (("fontdef\\}\\}" line)
+ (string-append line "\n\\endbatchfile")))
+ #t))))))
+ (home-page "https://www.ctan.org/pkg/stmaryrd")
+ (synopsis "St Mary Road symbols for theoretical computer science")
+ (description
+ "The fonts were originally distributed as Metafont sources only, but
Adobe Type 1 versions are also now available. Macro support is provided for
use under LaTeX; the package supports the @code{only} option (provided by the
@code{somedefs} package) to restrict what is loaded, for those who don't need
the whole font.")
- (license license:lppl)))
+ (license license:lppl))))
(define-public texlive-fonts-stmaryrd
(deprecated-package "texlive-fonts-stmaryrd" texlive-stmaryrd))
- 04/31: gnu: Add iso-8879-entities., (continued)
- 04/31: gnu: Add iso-8879-entities., guix-commits, 2021/01/14
- 06/31: gnu: Add docbook-dsssl., guix-commits, 2021/01/14
- 07/31: gnu: Add perl-sgmls., guix-commits, 2021/01/14
- 01/31: gnu: opensp: Move package to (gnu packages xml)., guix-commits, 2021/01/14
- 10/31: gnu: Add config., guix-commits, 2021/01/14
- 03/31: gnu: Add openjade., guix-commits, 2021/01/14
- 05/31: gnu: Add docbook-sgml., guix-commits, 2021/01/14
- 13/31: gnu: texlive-fonts-stmaryrd: Rename to texlive-stmaryrd., guix-commits, 2021/01/14
- 12/31: gnu: texlive-latex-wasysym: Rename to texlive-wasysym., guix-commits, 2021/01/14
- 21/31: gnu: texlive-wasysym: Update synopsis and description., guix-commits, 2021/01/14
- 19/31: gnu: texlive-stmaryrd: Actually include the fonts.,
guix-commits <=
- 14/31: gnu: texlive-latex-oberdiek: Rename to texlive-oberdiek., guix-commits, 2021/01/14
- 17/31: gnu: Add texlive-courier., guix-commits, 2021/01/14
- 20/31: gnu: Add texlive-wasy., guix-commits, 2021/01/14
- 18/31: gnu: Add texlive-helvetic., guix-commits, 2021/01/14
- 24/31: gnu: Add docbook-utils., guix-commits, 2021/01/14
- 08/31: gnu: Add docbook-sgml-3.1., guix-commits, 2021/01/14
- 09/31: gnu: Add texlive-marvosym., guix-commits, 2021/01/14
- 11/31: gnu: Add texlive-tipa., guix-commits, 2021/01/14
- 15/31: gnu: texlive-psnfss: Improve description., guix-commits, 2021/01/14
- 16/31: gnu: Add texlive-jknappen., guix-commits, 2021/01/14