guix-commits
[Top][All Lists]
Advanced

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

121/416: gnu: texlive-fonts-iwona -> texlive-iwona.


From: guix-commits
Subject: 121/416: gnu: texlive-fonts-iwona -> texlive-iwona.
Date: Sun, 28 May 2023 02:32:29 -0400 (EDT)

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

commit b82879437b12daa0892433bfeacb32f75d86ebc6
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 21:44:45 2023 +0200

    gnu: texlive-fonts-iwona -> texlive-iwona.
    
    * gnu/packages/tex.scm (texlive-iwona): New variable.
    (texlive-fonts-iwona): Deprecate variable.
    * gnu/packages/guile-xyz.scm (guile-cv)[native-inputs]: Use new name.
---
 gnu/packages/guile-xyz.scm | 13 ++++++------
 gnu/packages/tex.scm       | 53 +++++++++++++++++++---------------------------
 2 files changed, 29 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8b4a515ec3..aa0c58108c 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4042,12 +4042,13 @@ feature-set, fully programmable in Guile Scheme.")
     (inputs
      (list vigra vigra-c guile-2.2))
     (native-inputs
-     `(("texlive" ,(texlive-updmap.cfg (list texlive-booktabs
-                                        texlive-lm
-                                        texlive-siunitx
-                                        texlive-standalone
-                                        texlive-xcolor
-                                        texlive-fonts-iwona)))
+     `(("texlive" ,(texlive-updmap.cfg
+                    (list texlive-booktabs
+                          texlive-iwona
+                          texlive-lm
+                          texlive-siunitx
+                          texlive-standalone
+                          texlive-xcolor)))
        ("pkg-config" ,pkg-config)))
     (propagated-inputs
      `(("guile-lib" ,guile2.2-lib)))
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 541347165e..9376d47a63 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7903,39 +7903,28 @@ TeX metrics (VF and TFM files) and macros for use with 
LaTeX.")
 
 (define-deprecated-package texlive-fonts-txfonts texlive-txfonts)
 
-(define-public texlive-fonts-iwona
+(define-public texlive-iwona
   (package
-    (name "texlive-fonts-iwona")
-    (version "0.995b")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "http://jmn.pl/pliki/Iwona-tex-";
-                                  (string-map (lambda (c)
-                                                (if (char=? c #\.)
-                                                    #\_ c))
-                                              version)
-                                  ".zip"))
-              (sha256
-               (base32
-                "13684iqx5granpc5rfvqnmyvdpgpbr1x9y7i7y7bcaq0qxv7ph1x"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((target (string-append (assoc-ref %outputs "out")
-                                      "/share/texmf-dist/"))
-               (unzip  (search-input-file %build-inputs "/bin/unzip")))
-           (invoke unzip (assoc-ref %build-inputs "source"))
-           (mkdir-p target)
-           (copy-recursively "iwona" target)
-           #t))))
-    (native-inputs
-     (list unzip))
-    (home-page "http://jmn.pl/en/kurier-i-iwona/";)
+    (name "texlive-iwona")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/fonts/iwona/"
+                   "fonts/afm/nowacki/iwona/"
+                   "fonts/enc/dvips/iwona/"
+                   "fonts/map/dvips/iwona/"
+                   "fonts/opentype/nowacki/iwona/"
+                   "fonts/tfm/nowacki/iwona/"
+                   "fonts/type1/nowacki/iwona/"
+                   "tex/latex/iwona/"
+                   "tex/plain/iwona/")
+             (base32
+              "1gk80zj711rcnk06cvszic7lpm06nj47kbypg13rpijdzfsvmi8m")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/iwona";)
     (synopsis "Sans-serif typeface for TeX")
-    (description "Iwona is a two-element sans-serif typeface. It was created
+    (description "Iwona is a two-element sans-serif typeface.  It was created
 as an alternative version of the Kurier typeface, which was designed in 1975
 for a diploma in typeface design at the Warsaw Academy of Fine Arts under the
 supervision of Roman Tomaszewski.  Kurier was designed for linotype
@@ -7944,6 +7933,8 @@ alternative version of the Kurier fonts.  The difference 
lies in the absence
 of ink traps which typify the Kurier font.")
     (license license:gfl1.0)))
 
+(define-deprecated-package texlive-fonts-iwona texlive-iwona)
+
 (define-public texlive-jknappen
   (package
     (inherit (simple-texlive-package



reply via email to

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