[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/53: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "wof
From: |
guix-commits |
Subject: |
08/53: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff". |
Date: |
Thu, 22 Feb 2024 10:18:53 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit be1d8cdc76ff51878d2aca34a3fbbc990fcbc7be
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Wed Feb 14 10:53:24 2024 +0800
gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff".
* gnu/packages/fonts.scm (font-intel-one-mono)[outputs]: New field.
[arguments]: Add 'split-outputs phase.
Change-Id: I0323fb55b9609c93c916b32fef4821533d580b48
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/fonts.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index fb1349c9ba..01d280f55f 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -226,7 +226,25 @@ in print. With attention to detail for high resolution
rendering.")
(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
- 25/53: gnu: emacs-edit-indirect: Update to 0.1.13., (continued)
- 25/53: gnu: emacs-edit-indirect: Update to 0.1.13., guix-commits, 2024/02/22
- 13/53: gnu: emacs-mmm-mode: Update to 0.5.11., guix-commits, 2024/02/22
- 23/53: gnu: emacs-dtrt-indent: Update to 1.17., guix-commits, 2024/02/22
- 19/53: gnu: emacs-vertico-posframe: Update to 0.7.7., guix-commits, 2024/02/22
- 26/53: gnu: emacs-eldev: Update to 1.8.2., guix-commits, 2024/02/22
- 29/53: gnu: emacs-evil-matchit: Update to 3.0.4., guix-commits, 2024/02/22
- 11/53: gnu: emacs-hyperbole: Update to 9.0.0., guix-commits, 2024/02/22
- 34/53: gnu: emacs-jinx: Update to 1.2., guix-commits, 2024/02/22
- 04/53: gnu: spice: Update to 0.15.2., guix-commits, 2024/02/22
- 02/53: gnu: Add xfishtank., guix-commits, 2024/02/22
- 08/53: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff".,
guix-commits <=
- 12/53: gnu: emacs-auctex: Update to 14.0.3., guix-commits, 2024/02/22
- 30/53: gnu: emacs-flycheck: Update to 34.1., guix-commits, 2024/02/22
- 18/53: gnu: emacs-excorporate: Update to 1.1.2., guix-commits, 2024/02/22
- 07/53: gnu: font-intel-one-mono: Update to 1.3.0., guix-commits, 2024/02/22
- 09/53: gnu: emacs-cape: Update to 1.3., guix-commits, 2024/02/22
- 16/53: gnu: emacs-eglot: Update to 1.17., guix-commits, 2024/02/22
- 17/53: gnu: emacs-taxy-magit-section: Update to 0.13., guix-commits, 2024/02/22
- 20/53: gnu: emacs-consult: Update to 1.2., guix-commits, 2024/02/22
- 22/53: gnu: emacs-doom-modeline: Update to 4.1.0., guix-commits, 2024/02/22
- 24/53: gnu: emacs-ebib: Update to 2.40.4., guix-commits, 2024/02/22