GNU bug report logs - #69429
[PATCH 0/3] Update Chiron fonts and split outputs.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Tue, 27 Feb 2024 15:56:02 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 69429 in the body.
You can then email your comments to 69429 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#69429; Package guix-patches. (Tue, 27 Feb 2024 15:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hilton Chain <hako <at> ultrarare.space>:
New bug report received and forwarded. Copy sent to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Tue, 27 Feb 2024 15:56:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: guix-patches <at> gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 0/3] Update Chiron fonts and split outputs.
Date: Tue, 27 Feb 2024 23:25:30 +0800
Before:
--8<---------------cut here---------------start------------->8---
$ guix size font-chiron-sung-hk
store item                                                       total    self
/gnu/store/782wxa5iwbmh10gkgmfw2q6ljmkzrzn6-font-chiron-sung-hk-1.010  1887.4  1887.4 100.0%
total: 1887.4 MiB
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ guix size font-chiron-hei-hk
store item                                                       total    self
/gnu/store/nf5sl46zv2hymzzf3ifajr367xrcpanv-font-chiron-hei-hk-2.508  1202.4  1202.4 100.0%
total: 1202.4 MiB
--8<---------------cut here---------------end--------------->8---


After:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build font-chiron-sung-hk | xargs guix size
store item                                                       total    self
/gnu/store/sq059cfram5jasjyf209krnx5vf2w7j2-font-chiron-sung-hk-1.011-otf   814.1   814.1  47.7%
/gnu/store/9vwjbg3yb266aib5h2332nsh6yqf5ik2-font-chiron-sung-hk-1.011-ttf   755.6   755.6  44.3%
/gnu/store/mlpxz8mvsrnh6q9zrhpdxgn2cxrdmkbl-font-chiron-sung-hk-1.011   137.2   137.2   8.0%
total: 1707.0 MiB
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build font-chiron-hei-hk | xargs guix size
store item                                                       total    self
/gnu/store/52jwkwqwkcvmnc31m508mv1zzm2qj42n-font-chiron-hei-hk-2.509-otf   550.5   550.5  50.5%
/gnu/store/7cb0n9rw78p7vv7gmya0vxw24f14a7sq-font-chiron-hei-hk-2.509-ttf   465.9   465.9  42.7%
/gnu/store/961dw8avnhxyck577jxvsamb5v7ddzhh-font-chiron-hei-hk-2.509    74.5    74.5   6.8%
total: 1090.9 MiB
--8<---------------cut here---------------end--------------->8---


Hilton Chain (3):
  gnu: font-chiron-sung-hk: Update to 1.011.
  gnu: font-chiron-hei-hk: Update to 2.509.
  gnu: font-chiron-sung-hk: Split outputs.

 gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)


base-commit: 75bad75367fcf2c289fae3b40dbcc850f92177be
--
2.41.0




Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Tue, 27 Feb 2024 16:00:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 1/3] gnu: font-chiron-sung-hk: Update to 1.011.
Date: Tue, 27 Feb 2024 23:58:21 +0800
* gnu/packages/fonts.scm (font-chiron-sung-hk): Update to 1.011.

Change-Id: Ib462e1707e611a2ff8053d69d38d28324e8d1cfe
---
 gnu/packages/fonts.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 2cc420f7ba..5274c132f3 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3321,7 +3321,7 @@ (define-public font-lxgw-wenkai-tc
 (define-public font-chiron-sung-hk
   (package
     (name "font-chiron-sung-hk")
-    (version "1.010")
+    (version "1.011")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3330,7 +3330,7 @@ (define-public font-chiron-sung-hk
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "065p1gc5xjwc4kfw8bqpsbhaf1p4w0k4l0j04vjsjhcl4k9vyvfz"))))
+                "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m"))))
     (build-system font-build-system)
     (home-page "https://chiron-fonts.github.io/")
     (synopsis "Traditional Chinese Song typeface")
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Tue, 27 Feb 2024 16:11:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 2/3] gnu: font-chiron-hei-hk: Update to 2.509.
Date: Tue, 27 Feb 2024 23:58:22 +0800
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.509.

Change-Id: I29f2ad3409eaa9ecbdf964397d03110d83a91f75
---
 gnu/packages/fonts.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 5274c132f3..73041ce79c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3345,7 +3345,7 @@ (define-public font-chiron-hei-hk
   (package
     (inherit font-chiron-sung-hk)
     (name "font-chiron-hei-hk")
-    (version "2.508")
+    (version "2.509")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3354,7 +3354,7 @@ (define-public font-chiron-hei-hk
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0drvkqk629z63k62v3ds559phl82dmkyvpx2r8mi99nnsz22a8ps"))))
+                "0bwx909sijpnc474355hlfjwgxin0m9yxd5k9qwmgxkp2rzqiwnk"))))
     (synopsis "Traditional Chinese Gothic typeface")
     (description
      "Chiron Hei HK is a Traditional Chinese Gothic typeface based on the Hong
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Tue, 27 Feb 2024 16:11:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 3/3] gnu: font-chiron-sung-hk: Split outputs.
Date: Tue, 27 Feb 2024 23:58:23 +0800
* gnu/packages/fonts.scm (font-chiron-sung-hk)[arguments]: Split outputs.
[outputs]: Add "otf" and "ttf".

Change-Id: Id96bba47e8f9ae9404a528bcceab3e110a05db4e
---
 gnu/packages/fonts.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 73041ce79c..7b2cd7a396 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3332,6 +3332,28 @@ (define-public font-chiron-sung-hk
                (base32
                 "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m"))))
     (build-system font-build-system)
+    (arguments
+     (list #:modules
+           '((guix build font-build-system)
+             (guix build utils)
+             (srfi srfi-26))
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'install
+                 (lambda _
+                   (let ((var-dir (string-append
+                                   #$output "/share/fonts/opentype"))
+                         (otf-dir (string-append
+                                   #$output:otf "/share/fonts/opentype"))
+                         (ttf-dir (string-append
+                                   #$output:ttf "/share/fonts/truetype")))
+                     (for-each (cut install-file <> var-dir)
+                               (find-files "VAR" "\\.otf$"))
+                     (mkdir-p (dirname otf-dir))
+                     (copy-recursively "OTF" otf-dir)
+                     (mkdir-p (dirname ttf-dir))
+                     (copy-recursively "TTF" ttf-dir)))))))
+    (outputs '("out" "otf" "ttf"))
     (home-page "https://chiron-fonts.github.io/")
     (synopsis "Traditional Chinese Song typeface")
     (description
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Wed, 28 Feb 2024 03:22:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH v2 0/3] Update Chiron fonts and split outputs.
Date: Wed, 28 Feb 2024 11:20:40 +0800
V1->V2: Simplify phases.

Hilton Chain (3):
  gnu: font-chiron-sung-hk: Update to 1.011.
  gnu: font-chiron-hei-hk: Update to 2.509.
  gnu: font-chiron-sung-hk: Split outputs.

 gnu/packages/fonts.scm | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)


base-commit: 8c0282cf543fe205a5b89201cd7bb8889121a07c
--
2.41.0




Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Wed, 28 Feb 2024 03:32:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH v2 1/3] gnu: font-chiron-sung-hk: Update to 1.011.
Date: Wed, 28 Feb 2024 11:27:15 +0800
* gnu/packages/fonts.scm (font-chiron-sung-hk): Update to 1.011.

Change-Id: Ib462e1707e611a2ff8053d69d38d28324e8d1cfe
---
 gnu/packages/fonts.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 2cc420f7ba..5274c132f3 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3321,7 +3321,7 @@ (define-public font-lxgw-wenkai-tc
 (define-public font-chiron-sung-hk
   (package
     (name "font-chiron-sung-hk")
-    (version "1.010")
+    (version "1.011")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3330,7 +3330,7 @@ (define-public font-chiron-sung-hk
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "065p1gc5xjwc4kfw8bqpsbhaf1p4w0k4l0j04vjsjhcl4k9vyvfz"))))
+                "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m"))))
     (build-system font-build-system)
     (home-page "https://chiron-fonts.github.io/")
     (synopsis "Traditional Chinese Song typeface")
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Wed, 28 Feb 2024 03:32:02 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH v2 2/3] gnu: font-chiron-hei-hk: Update to 2.509.
Date: Wed, 28 Feb 2024 11:27:16 +0800
* gnu/packages/fonts.scm (font-chiron-hei-hk): Update to 2.509.

Change-Id: I29f2ad3409eaa9ecbdf964397d03110d83a91f75
---
 gnu/packages/fonts.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 5274c132f3..73041ce79c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3345,7 +3345,7 @@ (define-public font-chiron-hei-hk
   (package
     (inherit font-chiron-sung-hk)
     (name "font-chiron-hei-hk")
-    (version "2.508")
+    (version "2.509")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3354,7 +3354,7 @@ (define-public font-chiron-hei-hk
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0drvkqk629z63k62v3ds559phl82dmkyvpx2r8mi99nnsz22a8ps"))))
+                "0bwx909sijpnc474355hlfjwgxin0m9yxd5k9qwmgxkp2rzqiwnk"))))
     (synopsis "Traditional Chinese Gothic typeface")
     (description
      "Chiron Hei HK is a Traditional Chinese Gothic typeface based on the Hong
-- 
2.41.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Wed, 28 Feb 2024 03:32:03 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 69429 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH v2 3/3] gnu: font-chiron-sung-hk: Split outputs.
Date: Wed, 28 Feb 2024 11:27:17 +0800
* gnu/packages/fonts.scm (font-chiron-sung-hk)[arguments]: Split outputs.
[outputs]: Add "otf" and "ttf".

Change-Id: Id96bba47e8f9ae9404a528bcceab3e110a05db4e
---
 gnu/packages/fonts.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 73041ce79c..a21e76400e 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3332,6 +3332,20 @@ (define-public font-chiron-sung-hk
                (base32
                 "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m"))))
     (build-system font-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'install
+                 (lambda _
+                   (let ((install (assoc-ref %standard-phases 'install)))
+                     (with-directory-excursion "VAR"
+                       (for-each delete-file (find-files "." "\\.ttf$"))
+                       (install #:outputs `(("out" . ,#$output))))
+                     (with-directory-excursion "OTF"
+                       (install #:outputs `(("out" . ,#$output:otf))))
+                     (with-directory-excursion "TTF"
+                       (install #:outputs `(("out" . ,#$output:ttf))))))))))
+    (outputs '("out" "otf" "ttf"))
     (home-page "https://chiron-fonts.github.io/")
     (synopsis "Traditional Chinese Song typeface")
     (description
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69429; Package guix-patches. (Thu, 07 Mar 2024 10:31:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Hilton Chain <hako <at> ultrarare.space>
Cc: 69429 <at> debbugs.gnu.org, Zhu Zihao <all_but_last <at> 163.com>
Subject: Re: [bug#69429] [PATCH v2 0/3] Update Chiron fonts and split outputs.
Date: Thu, 07 Mar 2024 18:30:28 +0800
Hilton Chain <hako <at> ultrarare.space> writes:

> V1->V2: Simplify phases.
>
> Hilton Chain (3):
>   gnu: font-chiron-sung-hk: Update to 1.011.
>   gnu: font-chiron-hei-hk: Update to 2.509.
>   gnu: font-chiron-sung-hk: Split outputs.

Looks good to me, please push, thanks!




Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Sat, 09 Mar 2024 03:23:02 GMT) Full text and rfc822 format available.

Notification sent to Hilton Chain <hako <at> ultrarare.space>:
bug acknowledged by developer. (Sat, 09 Mar 2024 03:23:03 GMT) Full text and rfc822 format available.

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

From: Hilton Chain <hako <at> ultrarare.space>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 69429-done <at> debbugs.gnu.org, Zhu Zihao <all_but_last <at> 163.com>
Subject: Re: [bug#69429] [PATCH v2 0/3] Update Chiron fonts and split outputs.
Date: Sat, 09 Mar 2024 11:18:27 +0800
Hi,

On Thu, 07 Mar 2024 18:30:28 +0800,
宋文武 wrote:
>
> Hilton Chain <hako <at> ultrarare.space> writes:
>
> > V1->V2: Simplify phases.
> >
> > Hilton Chain (3):
> >   gnu: font-chiron-sung-hk: Update to 1.011.
> >   gnu: font-chiron-hei-hk: Update to 2.509.
> >   gnu: font-chiron-sung-hk: Split outputs.
>
> Looks good to me, please push, thanks!

Thank you!  I have applied v2 as c8529c32010a...a900fa3c6c81.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Apr 2024 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 130 days ago.

Previous Next


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