[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/07: gnu: font-tex-gyre: Use 'font-build-system'.
From: |
Arun Isaac |
Subject: |
01/07: gnu: font-tex-gyre: Use 'font-build-system'. |
Date: |
Sat, 17 Jun 2017 11:40:03 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit c226f06c5960069a343a6de663a07b5d75027ca6
Author: Arun Isaac <address@hidden>
Date: Fri Jun 16 11:17:13 2017 +0530
gnu: font-tex-gyre: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-tex-gyre): Switch to font-build-system.
[source]: Use url-fetch/zipbomb.
---
gnu/packages/fonts.scm | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 59e60dc..50021aa 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -555,28 +555,13 @@ fonts.")
(version "2.005")
(source
(origin
- (method url-fetch)
+ (method url-fetch/zipbomb)
(uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
"tex-gyre/whole/tg-" version "otf.zip"))
(sha256
(base32
"0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
-
- (let ((unzip (string-append (assoc-ref %build-inputs "unzip")
- "/bin/unzip"))
- (font-dir (string-append %output "/share/fonts/opentype")))
- (mkdir-p font-dir)
- (system* unzip
- (assoc-ref %build-inputs "source")
- "-d" font-dir)))))
- (native-inputs
- `(("unzip" ,unzip)))
+ (build-system font-build-system)
(home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
(synopsis "Remake of Ghostscript fonts")
(description "The TeX Gyre collection of fonts is the result of an
- branch master updated (40b784b -> b41704c), Arun Isaac, 2017/06/17
- 02/07: gnu: font-anonymous-pro: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 04/07: gnu: font-un: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 03/07: gnu: font-google-roboto: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 07/07: gnu: font-adobe-source-code-pro: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 01/07: gnu: font-tex-gyre: Use 'font-build-system'.,
Arun Isaac <=
- 05/07: gnu: font-hack: Use 'font-build-system'., Arun Isaac, 2017/06/17
- 06/07: gnu: font-fira-mono: Use 'font-build-system'., Arun Isaac, 2017/06/17