guix-commits
[Top][All Lists]
Advanced

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

145/416: gnu: texlive-sourcecodepro: Refresh package definition.


From: guix-commits
Subject: 145/416: gnu: texlive-sourcecodepro: Refresh package definition.
Date: Sun, 28 May 2023 02:32:34 -0400 (EDT)

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

commit 4114f2973306bb1d4f13586533599520b96e246a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 00:11:10 2023 +0200

    gnu: texlive-sourcecodepro: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-sourcecodepro): Remove 
SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-FONTAXES, TEXLIVE-IFTEX, TEXLIVE-MWEIGHTS, 
TEXLIVE-XKEYVAL.
---
 gnu/packages/tex.scm | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 823865a8f8..47e968f76a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -12761,20 +12761,28 @@ use of the fonts in LaTeX (Type 1) and 
XeLaTeX/LuaLaTeX (OTF).")
 
 (define-public texlive-sourcecodepro
   (package
-    (inherit (simple-texlive-package
-              "texlive-sourcecodepro"
-              '("/doc/latex/sourcecodepro/"
-                "/fonts/enc/dvips/sourcecodepro/"
-                "/fonts/map/dvips/sourcecodepro/"
-                "/fonts/opentype/adobe/sourcecodepro/"
-                ;; ^ see comment on texlive-sourcesanspro
-                "/fonts/tfm/adobe/sourcecodepro/"
-                "/fonts/type1/adobe/sourcecodepro/"
-                "/fonts/vf/adobe/sourcecodepro/"
-                "/tex/latex/sourcecodepro/")
-              (base32
-               "009v9y7d3vsljgq9nw5yx4kzyqavxbwrlvwhfjj83s6rmb9xcrmh")
-              #:trivial? #t))
+    (name "texlive-sourcecodepro")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/sourcecodepro/"
+                   "fonts/enc/dvips/sourcecodepro/"
+                   "fonts/map/dvips/sourcecodepro/"
+                   "fonts/opentype/adobe/sourcecodepro/"
+                   ;; ^ See comment in `texlive-sourcesanspro'.
+                   "fonts/tfm/adobe/sourcecodepro/"
+                   "fonts/type1/adobe/sourcecodepro/"
+                   "fonts/vf/adobe/sourcecodepro/"
+                   "tex/latex/sourcecodepro/")
+             (base32
+              "009v9y7d3vsljgq9nw5yx4kzyqavxbwrlvwhfjj83s6rmb9xcrmh")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-fontaxes
+           texlive-iftex
+           texlive-mweights
+           texlive-xkeyval))
     (home-page "https://ctan.org/pkg/sourcecodepro";)
     (synopsis "Use Source Code Pro with TeX(-alike) systems")
     (description "This package provides the Source Code Pro font family from



reply via email to

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