[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap.
From: |
Efraim Flashner |
Subject: |
[bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap. |
Date: |
Tue, 15 Jun 2021 21:19:51 +0300 |
What do the Open Type Bitmap bits do? Is it actually worth putting it in
a separate output or would it make more sense to install it by default?
On Tue, Jun 15, 2021 at 01:31:13AM +1200, Boris A. Dekshteyn wrote:
> * 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
>
>
>
>
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature