From: Alex Griffin <a@ajgrf.com>
To: 27172@debbugs.gnu.org
Subject: bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files.
Date: Wed, 31 May 2017 12:38:09 -0500 [thread overview]
Message-ID: <1496252289.382459.994437152.50FF8796@webmail.messagingengine.com> (raw)
In-Reply-To: <1496252094.381661.994433744.63B16F77@webmail.messagingengine.com>
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
This patch adds support to the font-build-system for installing TrueType
Collection (TTC) files.
--
Alex Griffin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-build-font-Support-TrueType-Collection-files.patch --]
[-- Type: text/x-patch; name="0001-build-font-Support-TrueType-Collection-files.patch", Size: 1336 bytes --]
From 3af6b0c8259c914136e839d12ab3332a1b9a87ec Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Wed, 31 May 2017 12:16:01 -0500
Subject: [PATCH 1/2] build: font: Support TrueType Collection files.
* guix/build/font-build-system.scm (install): Support TrueType
Collection (TTC) files. Only use one for-each loop to search for files.
---
guix/build/font-build-system.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/guix/build/font-build-system.scm b/guix/build/font-build-system.scm
index cca1e93f0..326957921 100644
--- a/guix/build/font-build-system.scm
+++ b/guix/build/font-build-system.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -50,9 +51,7 @@ archive, or a font file."
(source (getcwd))
(fonts (string-append out "/share/fonts")))
(for-each (cut install-file <> (string-append fonts "/truetype"))
- (find-files source "\\.ttf$"))
- (for-each (cut install-file <> (string-append fonts "/opentype"))
- (find-files source "\\.otf$"))
+ (find-files source "\\.(ttf|ttc|otf)$"))
#t))
(define %standard-phases
--
2.13.0
next prev parent reply other threads:[~2017-05-31 17:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 17:34 bug#27172: [PATCH 0/2] Switch font-iosevka to 'font-build-system' Alex Griffin
2017-05-31 17:38 ` Alex Griffin [this message]
2017-05-31 18:35 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Danny Milosavljevic
2017-05-31 18:38 ` Danny Milosavljevic
2017-05-31 17:39 ` bug#27172: [PATCH 2/2] gnu: font-iosevka: Use 'font-build-system' Alex Griffin
2017-05-31 18:36 ` Danny Milosavljevic
2017-05-31 17:50 ` bug#27172: [PATCH 1/2] build: font: Support TrueType Collection files Alex Griffin
2017-05-31 18:01 ` bug#27172: [PATCH 1/2] build: font: Support font collection files Alex Griffin
2017-05-31 18:39 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496252289.382459.994437152.50FF8796@webmail.messagingengine.com \
--to=a@ajgrf.com \
--cc=27172@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).