unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon South <simon@simonsouth.net>
To: 61253@debbugs.gnu.org
Subject: [bug#61253] [PATCH core-updates 15/19] gnu: font-dseg: Simplify "install" phase.
Date: Fri,  3 Feb 2023 07:43:12 -0500	[thread overview]
Message-ID: <037c0b4bd82e3590131d4f344fb75161719ea694.1675425307.git.simon@simonsouth.net> (raw)
In-Reply-To: <cover.1675425307.git.simon@simonsouth.net>

* 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 3e9bd193fc..335ce9885f 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2176,7 +2176,7 @@ (define-public font-dseg
     (version "0.46")
     (source
       (origin
-        (method url-fetch/zipbomb)
+        (method url-fetch)
         (uri
           (string-append "https://github.com/keshikan/DSEG/"
                          "releases/download/v" version
@@ -2194,13 +2194,9 @@ (define-public font-dseg
              (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
-- 
2.39.1





  parent reply	other threads:[~2023-02-03 12:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 12:38 [bug#61253] [PATCH core-updates 00/19] Add license files missing from font packages Simon South
2023-02-03 12:42 ` [bug#61253] [PATCH core-updates 01/19] build-system/font: Add #:license-file-regexp argument Simon South
2023-02-03 12:42 ` [bug#61253] [PATCH core-updates 02/19] build-system/font: Customize %license-file-regexp Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 03/19] gnu: font-canada1500: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 04/19] gnu: font-lato: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 05/19] gnu: font-linuxlibertine: Install all license files Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 06/19] gnu: font-wqy-zenhei: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 07/19] gnu: font-wqy-microhei: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 08/19] gnu: font-fira-sans: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 09/19] gnu: font-fira-go: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 10/19] gnu: font-comic-neue: " Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 11/19] gnu: font-space-grotesk: Remove obsolete phase Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license files Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 13/19] gnu: font-dosis: Remove extraneous files; install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 14/19] gnu: font-culmus: Install all license files Simon South
2023-02-03 12:43 ` Simon South [this message]
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 16/19] gnu: font-dseg: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 17/19] gnu: font-jetbrains-mono: Remove obsolete phase Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 18/19] gnu: font-fontna-yasashisa-antique: Install license file Simon South
2023-02-03 12:43 ` [bug#61253] [PATCH core-updates 19/19] gnu: font-charter: " Simon South
2024-01-22  4:37 ` bug#61253: [PATCH core-updates 00/19] Add license files missing from font packages Maxim Cournoyer

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=037c0b4bd82e3590131d4f344fb75161719ea694.1675425307.git.simon@simonsouth.net \
    --to=simon@simonsouth.net \
    --cc=61253@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).