GNU bug report logs - #69115
[PATCH 1/2] gnu: font-intel-one-mono: Update to 1.3.0.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Wed, 14 Feb 2024 02:52:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

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 69115 in the body.
You can then email your comments to 69115 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#69115; Package guix-patches. (Wed, 14 Feb 2024 02:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to iyzsong <at> envs.net:
New bug report received and forwarded. Copy sent to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Wed, 14 Feb 2024 02:52:02 GMT) Full text and rfc822 format available.

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

From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 1/2] gnu: font-intel-one-mono: Update to 1.3.0.
Date: Wed, 14 Feb 2024 10:50:45 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/fonts.scm (font-intel-one-mono): Update to 1.3.0.

Change-Id: I635100c90829de55d922b4e28a2f2524f44566dd
---
 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 17eb528371..2c532a6b5d 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -216,7 +216,7 @@ (define-public font-inconsolata
 (define-public font-intel-one-mono
   (package
     (name "font-intel-one-mono")
-    (version "1.2.1")
+    (version "1.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -225,7 +225,7 @@ (define-public font-intel-one-mono
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1md57997nzkz75ambsahawzy1x71qvkp6f87zcqibksm66yvcjdc"))))
+                "0w9isn8az1k3a3q4m2llwnryy79i5v30dx1hfaf90x0zkj98ky5h"))))
     (build-system font-build-system)
     (home-page "https://github.com/intel/intel-one-mono")
     (synopsis "Expressive monospaced font family")

base-commit: ac470c516e19f194228edf9e348bdbc7fc10f97a
-- 
2.41.0





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

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

From: iyzsong <at> envs.net
To: 69115 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out",
 "ttf" and "woff".
Date: Wed, 14 Feb 2024 10:53:24 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/fonts.scm (font-intel-one-mono)[outputs]: New field.
[arguments]: Add 'split-outputs phase.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 2c532a6b5d..dc82040e84 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -226,7 +226,25 @@ (define-public font-intel-one-mono
               (sha256
                (base32
                 "0w9isn8az1k3a3q4m2llwnryy79i5v30dx1hfaf90x0zkj98ky5h"))))
+    (outputs '("out" "ttf" "woff"))
     (build-system font-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'split-outputs
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (let ((out-fonts (string-append (assoc-ref outputs "out")
+                                                   "/share/fonts"))
+                         (ttf-fonts (string-append (assoc-ref outputs "ttf")
+                                                   "/share/fonts"))
+                         (woff-fonts (string-append (assoc-ref outputs "woff")
+                                                    "/share/fonts")))
+                     (mkdir-p ttf-fonts)
+                     (mkdir-p woff-fonts)
+                     (rename-file (string-append out-fonts "/truetype")
+                                  (string-append ttf-fonts "/truetype"))
+                     (rename-file (string-append out-fonts "/web")
+                                  (string-append woff-fonts "/web"))))))))
     (home-page "https://github.com/intel/intel-one-mono")
     (synopsis "Expressive monospaced font family")
     (description
-- 
2.41.0





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Sun, 10 Mar 2024 04:22:01 GMT) Full text and rfc822 format available.

Notification sent to iyzsong <at> envs.net:
bug acknowledged by developer. (Sun, 10 Mar 2024 04:22:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: 69115-done <at> debbugs.gnu.org
Subject: Re: [bug#69115] [PATCH 2/2] gnu: font-intel-one-mono: Split outputs
 for "out", "ttf" and "woff".
Date: Sun, 10 Mar 2024 12:21:03 +0800
Pushed as be1d8cdc, close.




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

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

Previous Next


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