[PATCH] Update font-iosevka from 2.3.3 to 3.1.1 and add quasi-proportional fonts

DoneSubmitted by Simen Endsjø.
Details
2 participants
  • Nicolas Goaziou
  • Simen Endsjø
Owner
unassigned
Severity
normal
S
S
Simen Endsjø wrote on 18 Jun 2020 21:31
(address . guix-patches@gnu.org)
87eeqc2mt9.fsf@gmail.com
From dd433e2462f9118f4b91d3c7c91287fe3753791c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Endsj=C3=B8?= <simendsjo@gmail.com>
Date: Thu, 18 Jun 2020 20:47:56 +0200
Subject: [PATCH 1/2] gnu: Update Iosevka font from 2.3.3 to 3.1.1

* gnu/packages/fonts.scm (font-iosevka): Update to 3.1.1.
* gnu/packages/fonts.scm (font-iosevka-slab): Update to 3.1.1.
* gnu/packages/fonts.scm (font-iosevka-term): Update to 3.1.1.
* gnu/packages/fonts.scm (font-iosevka-term-slab): Update to 3.1.1.
---
gnu/packages/fonts.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

Toggle diff (67 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1ff7b0327a..3f21468313 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2020 Simen Endsjø <simendsjo@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1170,7 +1171,7 @@ typeface, by mimicking Comic Sans while fixing its most obvious shortcomings.")
   (package
     (name "font-iosevka")
     ;; When updating, also update the hash of the Iosevka variant(s) below.
-    (version "2.3.3")
+    (version "3.1.1")
     (source
      (origin
        (method url-fetch/zipbomb)
@@ -1178,7 +1179,7 @@ typeface, by mimicking Comic Sans while fixing its most obvious shortcomings.")
                            "/releases/download/v" version
                            "/ttc-iosevka-" version ".zip"))
        (sha256
-        (base32 "0jkv5rkg5hi0avhwyhcjiqzjslp6zjj77f09vxx2gj9l93byz731"))))
+        (base32 "1xnkfr11rdjnin2fvgkp9vxxigfbfdncr0wy6n78mlm3p1pqwfrm"))))
     (build-system font-build-system)
     (home-page "https://be5invis.github.io/Iosevka/")
     (synopsis "Coders' typeface, built from code")
@@ -1201,7 +1202,7 @@ programming.  Iosevka is completely generated from its source code.")
                            "/releases/download/v" version
                            "/ttc-iosevka-slab-" version ".zip"))
        (sha256
-        (base32 "1rkmgi08kknc1fg54zpa6w92m3b3v7pc8cpwygz22kgd2h0mdrr8"))))))
+        (base32 "1n3lh015mvsdbyygpg3p3yqjpqdn1fdvjh1bhi2ggjanhifjsgzh"))))))
 
 (define-public font-iosevka-term
   (package
@@ -1213,10 +1214,10 @@ programming.  Iosevka is completely generated from its source code.")
        (method url-fetch/zipbomb)
        (uri (string-append "https://github.com/be5invis/Iosevka"
                            "/releases/download/v" version
-                           "/02-iosevka-term-" version ".zip"))
+                           "/ttf-iosevka-term-" version ".zip"))
        (sha256
         (base32
-         "1mxlb3qf64nykjd0x4gjfvib3k5kyv9ssv9iyzxxgk2z80bydz00"))))
+         "1mwzwpdppmcf03fgb5q6ksj0kk93wwaz2isk24wj1cm66r8psxk0"))))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -1235,10 +1236,10 @@ programming.  Iosevka is completely generated from its source code.")
        (method url-fetch/zipbomb)
        (uri (string-append "https://github.com/be5invis/Iosevka"
                            "/releases/download/v" version
-                           "/06-iosevka-term-slab-" version ".zip"))
+                           "/ttf-iosevka-term-slab-" version ".zip"))
        (sha256
         (base32
-         "1gc16hih157qy6vpa8f88psq0fnksiigi3msqazc75zsm3z4kzqj"))))
+         "0fiwxkf2gv38ia695wh8cvnb58sqs3fixjd33q1pp9cps94wzjpg"))))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-- 
2.27.0
From dd87925766168f59012503e25fbf5b00720c7a73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Endsj=C3=B8?= <simendsjo@gmail.com>
Date: Thu, 18 Jun 2020 20:48:54 +0200
Subject: [PATCH 2/2] gnu: Add Iosevka quasi-proportioal fonts

* gnu/packages/fonts.scm (font-iosevka-aile): Add font
* gnu/packages/fonts.scm (font-iosevka-etoile): Add font
* gnu/packages/fonts.scm (font-iosevka-sparkle): Add font
---
gnu/packages/fonts.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Toggle diff (55 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 3f21468313..bce1762278 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1248,6 +1248,48 @@ programming.  Iosevka is completely generated from its source code.")
              (for-each make-file-writable (find-files "." ".*"))
              #t)))))))
 
+(define-public font-iosevka-aile
+  (package
+    (inherit font-iosevka)
+    (name "font-iosevka-aile")
+    (version (package-version font-iosevka))
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "https://github.com/be5invis/Iosevka"
+                           "/releases/download/v" version
+                           "/ttc-iosevka-aile-" version ".zip"))
+       (sha256
+        (base32 "15kz8ahlynnb79s2d367a1fallc4l3j3957yj43qrymayagkh8sv"))))))
+
+(define-public font-iosevka-etoile
+  (package
+    (inherit font-iosevka)
+    (name "font-iosevka-etoile")
+    (version (package-version font-iosevka))
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "https://github.com/be5invis/Iosevka"
+                           "/releases/download/v" version
+                           "/ttc-iosevka-etoile-" version ".zip"))
+       (sha256
+        (base32 "0q9299mc595m251v9zj9b0zparl2qq8dwx090l0jkfpr2az9xr8q"))))))
+
+(define-public font-iosevka-sparkle
+  (package
+    (inherit font-iosevka)
+    (name "font-iosevka-sparkle")
+    (version (package-version font-iosevka))
+    (source
+     (origin
+       (method url-fetch/zipbomb)
+       (uri (string-append "https://github.com/be5invis/Iosevka"
+                           "/releases/download/v" version
+                           "/ttc-iosevka-sparkle-" version ".zip"))
+       (sha256
+        (base32 "0nhvcnvl11iqmsxsyrxlbnwy9z1vdhqv6p3g7fig9ra6n5j9k5kn"))))))
+
 (define-public font-sarasa-gothic
   (package
     (name "font-sarasa-gothic")
-- 
2.27.0
Attachment: file
N
N
Nicolas Goaziou wrote on 18 Jun 2020 23:51
(name . Simen Endsjø)(address . simendsjo@gmail.com)(address . 41937-done@debbugs.gnu.org)
87eeqc82kj.fsf@nicolasgoaziou.fr
Hello,

Simen Endsjø <simendsjo@gmail.com> writes:

Toggle quote (5 lines)
> <#part type=“text/x-patch” filename=“/home/simendsjo/code/guix/0001-gnu-Update-Iosevka-font-from-2.3.3-to-3.1.1.patch” disposition=attachment>
> <#/part>
> <#part type=“text/x-patch” filename=“/home/simendsjo/code/guix/0002-gnu-Add-Iosevka-quasi-proportioal-fonts.patch” disposition=attachment>
> <#/part>

I slightly reworded the commit messages and applied your patches.

Thank you!

Regards,
--
Nicolas Goaziou
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 41937@debbugs.gnu.org