From: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
To: 49021@debbugs.gnu.org
Cc: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
Subject: [bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap.
Date: Tue, 15 Jun 2021 01:31:13 +1200 [thread overview]
Message-ID: <20210614133113.25870-1-boris.dekshteyn@gmail.com> (raw)
In-Reply-To: <20210614132713.23562-1-boris.dekshteyn@gmail.com>
* gnu/packages/fonts.scm (font-terminus): Build Open Type Bitmap version.
---
gnu/packages/fonts.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index b2aad5a011..2f0a55e3ff 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -423,7 +423,7 @@ The unified Libertinus family consists of:
(sha256
(base32 "0yggffiplk22lgqklfmd2c0rw8gwchynjh5kz4bz8yv2h6vw2qfr"))))
(build-system gnu-build-system)
- (outputs (list "out" "pcf-8bit"))
+ (outputs (list "out" "pcf-8bit" "otb"))
(arguments
`(#:tests? #f ; no test target in tarball
#:phases
@@ -438,6 +438,15 @@ The unified Libertinus family consists of:
(let ((pcf-8bit (assoc-ref outputs "pcf-8bit")))
(apply invoke "make" "install-pcf-8bit" (string-append "prefix="
pcf-8bit)
+ make-flags))))
+ (add-after 'build-more-bits 'build-otb
+ ;; Build Open Type Bitmap
+ (lambda* (#:key make-flags #:allow-other-keys)
+ (apply invoke "make" "otb" make-flags)))
+ (add-after 'install 'install-otb
+ (lambda* (#:key make-flags outputs #:allow-other-keys)
+ (let ((otb (assoc-ref outputs "otb")))
+ (apply invoke "make" "install-otb" (string-append "prefix=" otb)
make-flags)))))))
(native-inputs
`(("bdftopcf" ,bdftopcf)
--
2.32.0
next prev parent reply other threads:[~2021-06-14 13:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 13:27 [bug#49021] [PATCH 1/2] gnu: font-terminus: Update to 4.49.1 Boris A. Dekshteyn
2021-06-14 13:31 ` Boris A. Dekshteyn [this message]
2021-06-15 18:19 ` [bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap Efraim Flashner
2021-06-16 5:48 ` Boris A. Dekshteyn
2021-06-21 12:20 ` bug#49021: " Efraim Flashner
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=20210614133113.25870-1-boris.dekshteyn@gmail.com \
--to=boris.dekshteyn@gmail.com \
--cc=49021@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).