GNU bug report logs - #77379
[PATCH 0/2] gnu: font-tamzen: Update to 1.11.6

Previous Next

Package: guix-patches;

Reported by: Kurome <hunt31999 <at> gmail.com>

Date: Sun, 30 Mar 2025 04:14:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77379 AT debbugs.gnu.org.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#77379; Package guix-patches. (Sun, 30 Mar 2025 04:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kurome <hunt31999 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 30 Mar 2025 04:14:02 GMT) Full text and rfc822 format available.

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

From: Kurome <hunt31999 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH 0/2] gnu: font-tamzen: Update to 1.11.6
Date: Sun, 30 Mar 2025 13:12:08 +0900
Changes:

* Updated font-tamzen to 1.11.6
* Because this package was introduced before font-build-system had added, it did not use font-build-system. I changed its build-system to font-build-system.
* I edited font-build-system to accept .psf extension

Kurome (2):
  gnu: font-tamzen: Update to 1.11.6
  guix: font-build-system: Accept .psf extension

 gnu/packages/fonts.scm           | 32 +++++++-------------------------
 guix/build/font-build-system.scm |  2 +-
 2 files changed, 8 insertions(+), 26 deletions(-)

-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77379; Package guix-patches. (Sun, 30 Mar 2025 04:18:02 GMT) Full text and rfc822 format available.

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

From: Kurome <hunt31999 <at> gmail.com>
To: 77379 <at> debbugs.gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH 1/2] gnu: font-tamzen: Update to 1.11.6
Date: Sun, 30 Mar 2025 13:14:40 +0900
Change-Id: Icaad387814dc101c6a84c755535ac714103d275f
---
 gnu/packages/fonts.scm | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 9c7f50a838..6e6ea39172 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1810,36 +1810,17 @@ (define-public font-awesome
 (define-public font-tamzen
   (package
     (name "font-tamzen")
-    (version "1.11.5")
+    (version "1.11.6")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-              (url "https://github.com/sunaku/tamzen-font")
-              (commit (string-append "Tamzen-" version))))
+             (url "https://github.com/sunaku/tamzen-font")
+             (commit (string-append "Tamzen-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "00x5fipzqimglvshhqwycdhaqslbvn3rl06jnswhyxfvz16ymj7s"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-
-         (let* ((out      (assoc-ref %outputs "out"))
-                (font-dir (string-append out "/share/fonts/misc"))
-                (psf-dir  (string-append out "/share/kbd/consolefonts")))
-           (chdir (assoc-ref %build-inputs "source"))
-           (mkdir-p font-dir)
-           (mkdir-p psf-dir)
-           (for-each (lambda (pcf)
-                       (install-file pcf font-dir))
-                     (find-files "pcf" "\\.pcf$"))
-           (for-each (lambda (psf)
-                       (install-file psf psf-dir))
-                     (find-files "psf" "\\.psf$"))
-           #t))))
+        (base32 "1lmb50rdna549dv64whb1ilff324ivz9cxlrdkf3r9vbdsram5av"))))
+    (build-system font-build-system)
     (home-page "https://github.com/sunaku/tamzen-font")
     (synopsis "Monospaced bitmap font for console and X11")
     (description
@@ -1857,7 +1838,8 @@ (define-public font-tamzen
 @item the branch of the fork icon ( U+E0A0) was made larger than the trunk
 @item for the newline icon ( U+E0A1), the @emph{N} was made larger at the bottom
 @item the keyhole in the padlock icon ( U+E0A2) was replaced with @emph{//} lines.
-@end enumerate\n")
+@end enumerate
+")
     (license (license:non-copyleft "file://LICENSE"))))
 
 (define-public font-comic-neue
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77379; Package guix-patches. (Sun, 30 Mar 2025 04:18:03 GMT) Full text and rfc822 format available.

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

From: Kurome <hunt31999 <at> gmail.com>
To: 77379 <at> debbugs.gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH 2/2] guix: font-build-system: Accept .psf extension
Date: Sun, 30 Mar 2025 13:14:41 +0900
Change-Id: I482d6dd4ac5afc4e31d3a383254adbf526d526b0
---
 guix/build/font-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index ad81d07b7b..66e6390759 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -77,7 +77,7 @@ (define* (install #:key outputs #:allow-other-keys)
     (for-each (cut install-file <> pcf-dir)
               (find-files source "\\.pcf$"))
     (for-each (cut install-file <> psf-dir)
-              (find-files source "\\.psfu$"))))
+              (find-files source "\\.(psfu|psf)$"))))
 
 (define %license-file-regexp
   ;; Regexp matching license files commonly found in font packages.
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77379; Package guix-patches. (Thu, 03 Apr 2025 15:52:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: 77379 <at> debbugs.gnu.org
Subject: Font build system
Date: Thu, 3 Apr 2025 17:51:40 +0200
Hello,

touching the font build system will lead to all font packages being
rebuilt; so this is a world-rebuild patch that we cannot just push
to master.

As fonts are not handled by any team, I do not see how to shepherd this
change through...

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#77379; Package guix-patches. (Fri, 04 Apr 2025 08:09:02 GMT) Full text and rfc822 format available.

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

From: Kurome <hunt31999 <at> gmail.com>
To: 77379 <at> debbugs.gnu.org
Subject: [PATCH 0/2] gnu: font-tamzen: Update to 1.11.6
Date: Fri, 4 Apr 2025 17:08:24 +0900
Does that mean someone has to push it on a branch other than master to
see if it breaks anything?

It's not a very important patch, so I'll leave it for now. It would be
great if someone willing to do it could help.

Thanks for telling me!





This bug report was last modified 4 days ago.

Previous Next


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