GNU bug report logs - #73228
[PATCH] gnu: font-gnu-unifont: Update to 16.0.01.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Fri, 13 Sep 2024 13:47:01 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73228 in the body.
You can then email your comments to 73228 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#73228; Package guix-patches. (Fri, 13 Sep 2024 13:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to gemmaro <gemmaro.dev <at> gmail.com>:
New bug report received and forwarded. Copy sent to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Fri, 13 Sep 2024 13:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH] gnu: font-gnu-unifont: Update to 16.0.01.
Date: Fri, 13 Sep 2024 22:45:45 +0900
* 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 <at> ngraves.fr>
 ;;; Copyright © 2023 Ahmad Draidi <a.r.draidi <at> redscript.org>
 ;;; Copyright © 2023 Arnaud Lechevallier <arnaud.lechevallier <at> free.fr>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
 ;;; Copyright © 2023 chris <chris <at> bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil <at> 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





Information forwarded to gemmaro.dev <at> gmail.com, guix-patches <at> gnu.org:
bug#73228; Package guix-patches. (Wed, 22 Jan 2025 13:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 73228 <at> debbugs.gnu.org (full text, mbox):

From: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
To: 73228 <at> debbugs.gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>, efraim <at> flashner.co.il,
 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
Subject: [PATCH v1] * gnu/packages/fonts.scm (font-gnu-unifont): Update to
 16.0.02.
Date: Wed, 22 Jan 2025 19:26:41 +0530
From: gemmaro <gemmaro.dev <at> gmail.com>

[source] <snippet>: Skip the thumbnails task.
[arguments] <#:phases>: Replace "/bin/sh" without the "-s" flag.

Co-authored-by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
Change-Id: Ied77b86c51702623b7ca1b5850c9117d0e33d2d7
---
 gnu/packages/fonts.scm                        | 16 ++--
 ...fonts.scm-font-gnu-unifont-Update-to.patch | 73 +++++++++++++++++++
 2 files changed, 84 insertions(+), 5 deletions(-)
 create mode 100644 outgoing/v1-0001-gnu-packages-fonts.scm-font-gnu-unifont-Update-to.patch

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4dbbca69dc..1bc07956c9 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -55,11 +55,12 @@
 ;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2023 Ahmad Draidi <a.r.draidi <at> redscript.org>
 ;;; Copyright © 2023 Arnaud Lechevallier <arnaud.lechevallier <at> free.fr>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
 ;;; Copyright © 2023 chris <chris <at> bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil <at> zoho.com>
 ;;; Copyright © 2024 Christina O'Donnell <cdo <at> mutix.org>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1054,7 +1055,7 @@ (define-public font-anonymous-pro-minus
 (define-public font-gnu-unifont
   (package
     (name "font-gnu-unifont")
-    (version "15.1.05")
+    (version "16.0.02")
     (source
      (origin
        (method url-fetch)
@@ -1064,11 +1065,16 @@ (define-public font-gnu-unifont
              (string-append "mirror://gnu/unifont/unifont-"
                             version "/unifont-" version ".tar.gz")))
        (sha256
-        (base32 "1yi33kxlgw7ds99za5bclh537sw8ggl94nrhhq7hwxaq8dgzaxfj"))
+        (base32 "0bd5mf3j7f0wggh9ss3a6rji62qwcfak37q6zb8lq9pjcf3yqa7i"))
        (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
@@ -1086,7 +1092,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")
diff --git a/outgoing/v1-0001-gnu-packages-fonts.scm-font-gnu-unifont-Update-to.patch b/outgoing/v1-0001-gnu-packages-fonts.scm-font-gnu-unifont-Update-to.patch
new file mode 100644
index 0000000000..18f773d76b
--- /dev/null
+++ b/outgoing/v1-0001-gnu-packages-fonts.scm-font-gnu-unifont-Update-to.patch
@@ -0,0 +1,73 @@
+From 52e842f50b020fb122f032cdbac78bb285a2f562 Mon Sep 17 00:00:00 2001
+From: gemmaro <gemmaro.dev <at> gmail.com>
+Date: Wed, 22 Jan 2025 19:16:35 +0530
+Subject: [PATCH v1] * gnu/packages/fonts.scm (font-gnu-unifont): Update to
+ 16.0.02.
+
+[source] <snippet>: Skip the thumbnails task.
+[arguments] <#:phases>: Replace "/bin/sh" without the "-s" flag.
+
+Co-authored-by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
+Change-Id: Ied77b86c51702623b7ca1b5850c9117d0e33d2d7
+---
+ gnu/packages/fonts.scm | 16 +++++++++++-----
+ 1 file changed, 11 insertions(+), 5 deletions(-)
+
+diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
+index 4dbbca69dc..79b93662b1 100644
+--- a/gnu/packages/fonts.scm
++++ b/gnu/packages/fonts.scm
+@@ -55,11 +55,12 @@
+ ;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
+ ;;; Copyright © 2023 Ahmad Draidi <a.r.draidi <at> redscript.org>
+ ;;; Copyright © 2023 Arnaud Lechevallier <arnaud.lechevallier <at> free.fr>
+-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
++;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
+ ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
+ ;;; Copyright © 2023 chris <chris <at> bumblehead.com>
+ ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil <at> zoho.com>
+ ;;; Copyright © 2024 Christina O'Donnell <cdo <at> mutix.org>
++;;; Copyright © 2025 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
+ ;;;
+ ;;; This file is part of GNU Guix.
+ ;;;
+@@ -1054,7 +1055,7 @@ (define-public font-anonymous-pro-minus
+ (define-public font-gnu-unifont
+   (package
+     (name "font-gnu-unifont")
+-    (version "15.1.05")
++    (version "16.0.02")
+     (source
+      (origin
+        (method url-fetch)
+@@ -1064,11 +1065,16 @@ (define-public font-gnu-unifont
+              (string-append "mirror://gnu/unifont/unifont-"
+                             version "/unifont-" version ".tar.gz")))
+        (sha256
+-        (base32 "1yi33kxlgw7ds99za5bclh537sw8ggl94nrhhq7hwxaq8dgzaxfj"))
++        (base32 "0bd5mf3j7f0wggh9ss3a6rji62qwcfak37q6zb8lq9pjcf3yqa7i"))
+        (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
+@@ -1086,7 +1092,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")
+-- 
+2.47.1
+
-- 
2.47.1





Information forwarded to gemmaro.dev <at> gmail.com, ashvithshetty10 <at> gmail.com, guix-patches <at> gnu.org:
bug#73228; Package guix-patches. (Wed, 22 Jan 2025 15:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 73228 <at> debbugs.gnu.org (full text, mbox):

From: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
To: 73228 <at> debbugs.gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>, efraim <efraim <at> flashner.co.il>,
 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
Subject: [PATCH v2] * gnu/packages/fonts.scm (font-gnu-unifont): Update to
 16.0.02.
Date: Wed, 22 Jan 2025 20:47:19 +0530
From: gemmaro <gemmaro.dev <at> gmail.com>

[source] <snippet>: Skip the thumbnails task.
[arguments] <#:phases>: Replace "/bin/sh" without the "-s" flag.

Co-authored-by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
Change-Id: I56d1abb939d61e7c244bf0c117f0b5d13d053950
---
 gnu/packages/fonts.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4dbbca69dc..1bc07956c9 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -55,11 +55,12 @@
 ;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;; Copyright © 2023 Ahmad Draidi <a.r.draidi <at> redscript.org>
 ;;; Copyright © 2023 Arnaud Lechevallier <arnaud.lechevallier <at> free.fr>
-;;; Copyright © 2023 gemmaro <gemmaro.dev <at> gmail.com>
+;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev <at> gmail.com>
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
 ;;; Copyright © 2023 chris <chris <at> bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil <at> zoho.com>
 ;;; Copyright © 2024 Christina O'Donnell <cdo <at> mutix.org>
+;;; Copyright © 2025 Ashvith Shetty <ashvithshetty10 <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1054,7 +1055,7 @@ (define-public font-anonymous-pro-minus
 (define-public font-gnu-unifont
   (package
     (name "font-gnu-unifont")
-    (version "15.1.05")
+    (version "16.0.02")
     (source
      (origin
        (method url-fetch)
@@ -1064,11 +1065,16 @@ (define-public font-gnu-unifont
              (string-append "mirror://gnu/unifont/unifont-"
                             version "/unifont-" version ".tar.gz")))
        (sha256
-        (base32 "1yi33kxlgw7ds99za5bclh537sw8ggl94nrhhq7hwxaq8dgzaxfj"))
+        (base32 "0bd5mf3j7f0wggh9ss3a6rji62qwcfak37q6zb8lq9pjcf3yqa7i"))
        (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
@@ -1086,7 +1092,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")
-- 
2.47.1





Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Fri, 24 Jan 2025 16:59:02 GMT) Full text and rfc822 format available.

Notification sent to gemmaro <gemmaro.dev <at> gmail.com>:
bug acknowledged by developer. (Fri, 24 Jan 2025 16:59:02 GMT) Full text and rfc822 format available.

Message #16 received at 73228-done <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
Cc: 73228-done <at> debbugs.gnu.org, efraim <efraim <at> flashner.co.il>,
 gemmaro <gemmaro.dev <at> gmail.com>
Subject: Re: [bug#73228] [PATCH v2] * gnu/packages/fonts.scm
 (font-gnu-unifont): Update to 16.0.02.
Date: Sat, 25 Jan 2025 00:58:32 +0800
Hi,

On Wed, 22 Jan 2025 23:17:19 +0800,
Ashvith Shetty wrote:
>
> From: gemmaro <gemmaro.dev <at> gmail.com>

I have added commit log header,

> [source] <snippet>: Skip the thumbnails task.

moved this to 'patch-source phase,

> [arguments] <#:phases>: Replace "/bin/sh" without the "-s" flag.
>
> Co-authored-by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>
> Change-Id: I56d1abb939d61e7c244bf0c117f0b5d13d053950
> ---
>  gnu/packages/fonts.scm | 16 +++++++++++-----
>  1 file changed, 11 insertions(+), 5 deletions(-)

and applied the patch as 32e31ef4286019be48d4b740f33f3127163abb70,

Thanks




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 Feb 2025 12:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.