From: Alex Griffin <a@ajgrf.com>
To: 27172@debbugs.gnu.org
Subject: bug#27172: [PATCH 2/2] gnu: font-iosevka: Use 'font-build-system'.
Date: Wed, 31 May 2017 12:39:53 -0500 [thread overview]
Message-ID: <1496252393.382611.994439192.714FA7C0@webmail.messagingengine.com> (raw)
In-Reply-To: <1496252094.381661.994433744.63B16F77@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 80 bytes --]
This patch switches font-iosevka to the new font-build-system.
--
Alex Griffin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-font-iosevka-Use-font-build-system.patch --]
[-- Type: text/x-patch; name="0002-gnu-font-iosevka-Use-font-build-system.patch", Size: 2010 bytes --]
From 05dbe19955883c914f9ec199ca4a26c31eff1074 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Wed, 31 May 2017 12:22:35 -0500
Subject: [PATCH 2/2] gnu: font-iosevka: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-iosevka): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
[native-inputs]: Remove dependency on unzip.
---
gnu/packages/fonts.scm | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 76677453d..ef734dfb7 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1213,26 +1213,14 @@ typeface, by mimicking Comic Sans while fixing its most obvious shortcomings.")
(name "font-iosevka")
(version "1.12.5")
(source (origin
- (method url-fetch)
+ (method url-fetch/zipbomb)
(uri (string-append
"https://github.com/be5invis/Iosevka/releases/download/v"
version "/iosevka-pack-" version ".zip"))
(sha256
(base32
"0s3g6mk0ngwsrw9h9dqinb50cd9i8zhqdcmmh93fhyf4d87yfwyi"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder (begin
- (use-modules (guix build utils))
- (let ((font-dir (string-append %output
- "/share/fonts/truetype"))
- (source (assoc-ref %build-inputs "source"))
- (unzip (string-append (assoc-ref %build-inputs "unzip")
- "/bin/unzip")))
- (mkdir-p font-dir)
- (system* unzip "-d" font-dir source)))))
- (native-inputs `(("unzip" ,unzip)))
+ (build-system font-build-system)
(home-page "https://be5invis.github.io/Iosevka/")
(synopsis "Coders' typeface, built from code")
(description
--
2.13.0
next prev parent reply other threads:[~2017-05-31 17:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 17:34 bug#27172: [PATCH 0/2] Switch font-iosevka to 'font-build-system' Alex Griffin
2017-05-31 17:38 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Alex Griffin
2017-05-31 18:35 ` Danny Milosavljevic
2017-05-31 18:38 ` Danny Milosavljevic
2017-05-31 17:39 ` Alex Griffin [this message]
2017-05-31 18:36 ` bug#27172: [PATCH 2/2] gnu: font-iosevka: Use 'font-build-system' Danny Milosavljevic
2017-05-31 17:50 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Alex Griffin
2017-05-31 18:01 ` bug#27172: [PATCH 1/2] build: font: Support font collection files Alex Griffin
2017-05-31 18:39 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496252393.382611.994439192.714FA7C0@webmail.messagingengine.com \
--to=a@ajgrf.com \
--cc=27172@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).