* [bug#69115] [PATCH 1/2] gnu: font-intel-one-mono: Update to 1.3.0.
@ 2024-02-14 2:50 iyzsong--- via Guix-patches via
2024-02-14 2:53 ` [bug#69115] [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff" iyzsong--- via Guix-patches via
0 siblings, 1 reply; 3+ messages in thread
From: iyzsong--- via Guix-patches via @ 2024-02-14 2:50 UTC (permalink / raw)
To: 69115; +Cc: 宋文武, Zhu Zihao, 宋文武
From: 宋文武 <iyzsong@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#69115] [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff".
2024-02-14 2:50 [bug#69115] [PATCH 1/2] gnu: font-intel-one-mono: Update to 1.3.0 iyzsong--- via Guix-patches via
@ 2024-02-14 2:53 ` iyzsong--- via Guix-patches via
2024-03-10 4:21 ` bug#69115: " 宋文武 via Guix-patches via
0 siblings, 1 reply; 3+ messages in thread
From: iyzsong--- via Guix-patches via @ 2024-02-14 2:53 UTC (permalink / raw)
To: 69115; +Cc: 宋文武, Zhu Zihao, 宋文武
From: 宋文武 <iyzsong@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#69115: [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff".
2024-02-14 2:53 ` [bug#69115] [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff" iyzsong--- via Guix-patches via
@ 2024-03-10 4:21 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 via Guix-patches via @ 2024-03-10 4:21 UTC (permalink / raw)
To: 69115-done
Pushed as be1d8cdc, close.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-10 4:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 2:50 [bug#69115] [PATCH 1/2] gnu: font-intel-one-mono: Update to 1.3.0 iyzsong--- via Guix-patches via
2024-02-14 2:53 ` [bug#69115] [PATCH 2/2] gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff" iyzsong--- via Guix-patches via
2024-03-10 4:21 ` bug#69115: " 宋文武 via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).