[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/75: gnu: font-dseg: Simplify "install" phase.
From: |
guix-commits |
Subject: |
29/75: gnu: font-dseg: Simplify "install" phase. |
Date: |
Sun, 21 Jan 2024 13:21:45 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 87b5756b2426d6d6ec585827109b0b6819a08479
Author: Simon South <simon@simonsouth.net>
AuthorDate: Fri Feb 3 07:43:12 2023 -0500
gnu: font-dseg: Simplify "install" phase.
* gnu/packages/fonts.scm (font-dseg)[source]: Use url-fetch.
[arguments]<#:phases>: Remove "with-directory-excursion" from "install"
phase.
---
gnu/packages/fonts.scm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8e545e534b..4b3fb7628e 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2473,7 +2473,7 @@ have been designed to be very distinguishable from each
other.")
(version "0.46")
(source
(origin
- (method url-fetch/zipbomb)
+ (method url-fetch)
(uri
(string-append "https://github.com/keshikan/DSEG/"
"releases/download/v" version
@@ -2491,13 +2491,9 @@ have been designed to be very distinguishable from each
other.")
(let* ((out (assoc-ref outputs "out"))
(font-dir (string-append out "/share/fonts"))
(truetype-dir (string-append font-dir "/truetype")))
- (with-directory-excursion
- (string-append "fonts-DSEG_v"
- (apply string-append (string-split ,version
- #\.)))
- (for-each (lambda (f) (install-file f truetype-dir))
- (find-files "." "\\.ttf$"))
- #t)))))))
+ (for-each (lambda (f) (install-file f truetype-dir))
+ (find-files "." "\\.ttf$"))
+ #t))))))
(home-page "https://www.keshikan.net/fonts-e.html")
(synopsis "DSEG: 7-segment and 14-segment fonts")
(description
- 12/75: gnu: qpdf: Update to 11.3.0., (continued)
- 12/75: gnu: qpdf: Update to 11.3.0., guix-commits, 2024/01/21
- 16/75: build-system/font: Customize %license-file-regexp., guix-commits, 2024/01/21
- 18/75: gnu: font-lato: Install license file., guix-commits, 2024/01/21
- 02/75: gnu: icedtea-7: Fix build., guix-commits, 2024/01/21
- 03/75: gnu: openjdk9: Fix build., guix-commits, 2024/01/21
- 14/75: gnu: patchelf: Update to 0.17.2., guix-commits, 2024/01/21
- 15/75: build-system/font: Add #:license-file-regexp argument., guix-commits, 2024/01/21
- 07/75: gnu: python-pytz: Update to 2023.3.post1., guix-commits, 2024/01/21
- 23/75: gnu: font-fira-go: Install license file., guix-commits, 2024/01/21
- 25/75: gnu: font-space-grotesk: Remove obsolete phase., guix-commits, 2024/01/21
- 29/75: gnu: font-dseg: Simplify "install" phase.,
guix-commits <=
- 10/75: gnu: imagemagick: Update to 6.9.12-91., guix-commits, 2024/01/21
- 01/75: gnu: ffmpeg: add svt-av1 support, guix-commits, 2024/01/21
- 05/75: dist_patch_DATA: Unregister unlisted patch., guix-commits, 2024/01/21
- 20/75: gnu: font-wqy-zenhei: Install all license files., guix-commits, 2024/01/21
- 24/75: gnu: font-comic-neue: Install license file., guix-commits, 2024/01/21
- 32/75: gnu: font-fontna-yasashisa-antique: Install license file., guix-commits, 2024/01/21
- 09/75: gnu: boost: Update to 1.83.0., guix-commits, 2024/01/21
- 21/75: gnu: font-wqy-microhei: Install all license files., guix-commits, 2024/01/21
- 22/75: gnu: font-fira-sans: Install license file., guix-commits, 2024/01/21
- 34/75: gnu: libgpg-error: Update to 1.46., guix-commits, 2024/01/21