guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

340/416: gnu: texlive-cm-super: Refresh package definition.


From: guix-commits
Subject: 340/416: gnu: texlive-cm-super: Refresh package definition.
Date: Sun, 28 May 2023 02:33:22 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit 7ee2ab24da5bc2919267cd033271c83a689532eb
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed May 17 00:16:33 2023 +0200

    gnu: texlive-cm-super: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-cm-super): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 50 ++++++++++++++++++++++++--------------------------
 1 file changed, 24 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ce2a68b1a1..83fa0f411d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1276,36 +1276,34 @@ provided for use with TeX.")
     (license license:gpl2+)))
 
 (define-public texlive-cm-super
-  (let ((template (simple-texlive-package
-                   "texlive-cm-super"
-                   (list "/doc/fonts/cm-super/"
-                         "/dvips/cm-super/"
-                         "/fonts/afm/public/cm-super/"
-                         "/fonts/enc/dvips/cm-super/"
-                         "/fonts/map/dvips/cm-super/"
-                         "/fonts/map/vtex/cm-super/"
-                         "/fonts/type1/public/cm-super/"
-                         "/tex/latex/cm-super/")
-                   (base32
-                    "1k3afl0x0bqbr5mnawbnp7rr2126dwn0vwnxzibm9ggvzqilnkm6")
-                   #:trivial? #t)))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:phases phases)
-          `(modify-phases ,phases
-             (delete 'reset-gzip-timestamps)))))
-      (home-page "https://www.ctan.org/pkg/cm-super";)
-      (synopsis "Computer Modern Super family of fonts")
-      (description "The CM-Super family provides Adobe Type 1 fonts that 
replace
-the T1/TS1-encoded Computer Modern (EC/TC), T1/TS1-encoded Concrete,
+  (package
+    (name "texlive-cm-super")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/fonts/cm-super/"
+                   "dvips/cm-super/"
+                   "fonts/afm/public/cm-super/"
+                   "fonts/enc/dvips/cm-super/"
+                   "fonts/map/dvips/cm-super/"
+                   "fonts/map/vtex/cm-super/"
+                   "fonts/type1/public/cm-super/"
+                   "tex/latex/cm-super/")
+             (base32
+              "1k3afl0x0bqbr5mnawbnp7rr2126dwn0vwnxzibm9ggvzqilnkm6")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/cm-super";)
+    (synopsis "Computer Modern Super family of fonts")
+    (description
+     "The CM-Super family provides Adobe Type 1 fonts that replace the
+T1/TS1-encoded Computer Modern (EC/TC), T1/TS1-encoded Concrete,
 T1/TS1-encoded CM bright and LH Cyrillic fonts (thus supporting all European
 languages except Greek), and bringing many ameliorations in typesetting
 quality.  The fonts exhibit the same metrics as the METAFONT-encoded
 originals.")
-      ;; With font exception
-      (license license:gpl2+))))
+    ;; With font exception
+    (license license:gpl2+)))
 
 (define-deprecated-package texlive-fonts-cm-super texlive-cm-super)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]