[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/78: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "wof
From: |
guix-commits |
Subject: |
25/78: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff". |
Date: |
Fri, 23 Feb 2024 03:12:02 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 68f076da1de6b832f3ba94b078f2a8947bd7c574
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
- 27/78: gnu: emacs-cider: Update to 1.13.1., (continued)
- 27/78: gnu: emacs-cider: Update to 1.13.1., guix-commits, 2024/02/23
- 28/78: gnu: emacs-hyperbole: Update to 9.0.0., guix-commits, 2024/02/23
- 31/78: gnu: emacs-pabbrev: Update to 4.3.0., guix-commits, 2024/02/23
- 26/78: gnu: emacs-cape: Update to 1.3., guix-commits, 2024/02/23
- 32/78: gnu: emacs-debbugs: Update to 0.40., guix-commits, 2024/02/23
- 65/78: gnu: emacs-saveplace-pdf-view: Update to 1.0.6., guix-commits, 2024/02/23
- 36/78: gnu: emacs-vertico-posframe: Update to 0.7.7., guix-commits, 2024/02/23
- 45/78: gnu: emacs-ement: Update to 0.14., guix-commits, 2024/02/23
- 07/78: gnu: Add neovim-dispatch., guix-commits, 2024/02/23
- 24/78: gnu: font-intel-one-mono: Update to 1.3.0., guix-commits, 2024/02/23
- 25/78: gnu: font-intel-one-mono: Split outputs for "out", "ttf" and "woff".,
guix-commits <=
- 33/78: gnu: emacs-eglot: Update to 1.17., guix-commits, 2024/02/23
- 51/78: gnu: emacs-jinx: Update to 1.2., guix-commits, 2024/02/23
- 74/78: gnu: Add go-go-etcd-io-gofail., guix-commits, 2024/02/23
- 73/78: gnu: tlpui: Fix build., guix-commits, 2024/02/23
- 63/78: gnu: emacs-ox-tufte: Update to 4.0.4., guix-commits, 2024/02/23
- 50/78: gnu: emacs-gptel: Update to 0.7.0., guix-commits, 2024/02/23
- 35/78: gnu: emacs-excorporate: Update to 1.1.2., guix-commits, 2024/02/23
- 77/78: gnu: Remove go-golang-org-x-net-html., guix-commits, 2024/02/23
- 71/78: gnu: gnucobol: Remove pregenerated files., guix-commits, 2024/02/23
- 66/78: gnu: emacs-tempel: Update to 1.1., guix-commits, 2024/02/23