unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57918] [PATCH] gnu: font-ibm-plex: Use git source.
@ 2022-09-18 22:09 Arun Isaac
  2022-10-14 22:43 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2022-09-18 22:09 UTC (permalink / raw)
  To: 57918; +Cc: Arun Isaac

* gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.
---
 gnu/packages/fonts.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index cf3892ae8d..83e3a2c945 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -118,14 +118,18 @@ (define-public font-ibm-plex
   (package
     (name "font-ibm-plex")
     (version "6.1.1")
+    ;; We prefer git-fetch since it lets us get the opentype, truetype and web
+    ;; fonts all in one download. The zip archive releases separate the
+    ;; opentype, truetype and web fonts into three separate archives.
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/IBM/plex/releases/download/"
-                    "v" version "/OpenType.zip"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/IBM/plex")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1z9nxac9ha6gqz5yvfy5lp6hyl39f8f8hdrw3llcp89rdpjfqdn9"))))
+                "1jxyd0zl7jssn7mwz8x5xvjmw59x4mn82s2kywf9583k1pg949k1"))))
     (build-system font-build-system)
     (home-page "https://github.com/IBM/plex")
     (synopsis "IBM Plex typeface")
-- 
2.37.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#57918] [PATCH] gnu: font-ibm-plex: Use git source.
  2022-09-18 22:09 [bug#57918] [PATCH] gnu: font-ibm-plex: Use git source Arun Isaac
@ 2022-10-14 22:43 ` Ludovic Courtès
  2022-10-15  9:15   ` bug#57918: " Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-10-14 22:43 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 57918

Arun Isaac <arunisaac@systemreboot.net> skribis:

> * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.

Got for it!  :-)

Ludo'.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57918: [PATCH] gnu: font-ibm-plex: Use git source.
  2022-10-14 22:43 ` Ludovic Courtès
@ 2022-10-15  9:15   ` Arun Isaac
  0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2022-10-15  9:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 57918-done

Ludovic Courtès <ludo@gnu.org> writes:

> Arun Isaac <arunisaac@systemreboot.net> skribis:
>
>> * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source.
>
> Got for it!  :-)

Pushed, thanks!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-15  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-18 22:09 [bug#57918] [PATCH] gnu: font-ibm-plex: Use git source Arun Isaac
2022-10-14 22:43 ` Ludovic Courtès
2022-10-15  9:15   ` bug#57918: " Arun Isaac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).