all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#73228] [PATCH] gnu: font-gnu-unifont: Update to 16.0.01.
@ 2024-09-13 13:45 gemmaro
  0 siblings, 0 replies; only message in thread
From: gemmaro @ 2024-09-13 13:45 UTC (permalink / raw)
  To: 73228; +Cc: gemmaro, Zhu Zihao, 宋文武

* gnu/packages/fonts.scm (font-gnu-unifont): Update to 16.0.01.
[source]<snippet>: Skip the thumbnails task.
[arguments]<#:phases>: Replace "/bin/sh" without the "-s" flag.

Change-Id: Ic02172de535d70b993cf2458b3cd4966fe0a8aeb
---
 gnu/packages/fonts.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1ba691dac9..f22911a543 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -55,7 +55,7 @@
 ;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Ahmad Draidi <a.r.draidi@redscript.org>
 ;;; Copyright © 2023 Arnaud Lechevallier <arnaud.lechevallier@free.fr>
-;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev@gmail.com>
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2023 chris <chris@bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil@zoho.com>
@@ -1065,7 +1065,7 @@ (define-public font-anonymous-pro-minus
 (define-public font-gnu-unifont
   (package
     (name "font-gnu-unifont")
-    (version "15.1.05")
+    (version "16.0.01")
     (source
      (origin
        (method url-fetch)
@@ -1075,11 +1075,16 @@ (define-public font-gnu-unifont
              (string-append "mirror://gnu/unifont/unifont-"
                             version "/unifont-" version ".tar.gz")))
        (sha256
-        (base32 "1yi33kxlgw7ds99za5bclh537sw8ggl94nrhhq7hwxaq8dgzaxfj"))
+        (base32 "0l3sv12s0n70ddj2g3g2rdmsqrdc5m1gqbylaj1qq8skryw80qax"))
        (snippet
         '(begin
            (use-modules (guix build utils))
-           (delete-file-recursively "font/precompiled")))))
+           (delete-file-recursively "font/precompiled")
+           ;; Skip thumbnail generation as it requires ImageMagick and the generated
+           ;; thumbnails will not be installed.
+           (substitute* "font/Makefile"
+             (("^(compiled-files:.+)thumbnails(.+)" _ pre post)
+              (string-append pre post "\n")))))))
     (build-system gnu-build-system)
     (outputs '("out"   ; TrueType/OpenType version
                "pcf"   ; PCF (bitmap) version
@@ -1097,7 +1102,7 @@ (define-public font-gnu-unifont
          (add-after 'unpack 'patch-source
            (lambda _
              (substitute* (find-files "." "Makefile")
-               (("/bin/sh -s") (string-append (which "sh") " -s")))))
+               (("/bin/sh\\b") (which "sh")))))
          (replace 'install
           (lambda* (#:key make-flags outputs #:allow-other-keys)
             (let* ((ttf (string-append (assoc-ref outputs "out")

base-commit: 013bda5e2c53bcf1d9093286c3658b95f5e32c09
-- 
2.46.0





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-13 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-13 13:45 [bug#73228] [PATCH] gnu: font-gnu-unifont: Update to 16.0.01 gemmaro

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.