unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
Cc: 49021@debbugs.gnu.org
Subject: [bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap.
Date: Tue, 15 Jun 2021 21:19:51 +0300	[thread overview]
Message-ID: <YMjvR2lTM00F+YFI@3900XT> (raw)
In-Reply-To: <20210614133113.25870-1-boris.dekshteyn@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2132 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-06-15 18:24 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 ` [bug#49021] [PATCH 2/2] gnu: font-terminus: Build Open Type Bitmap Boris A. Dekshteyn
2021-06-15 18:19   ` Efraim Flashner [this message]
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=YMjvR2lTM00F+YFI@3900XT \
    --to=efraim@flashner.co.il \
    --cc=49021@debbugs.gnu.org \
    --cc=boris.dekshteyn@gmail.com \
    /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).