From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add TeX Gyre fonts.
Date: Sun, 30 Aug 2015 20:00:57 +0200 [thread overview]
Message-ID: <87zj18hd0m.fsf@elephly.net> (raw)
In-Reply-To: <871tekirrc.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
> Attached is a patch to add the TeX Gyre font collection in OTF format.
> There is another archive available for download which includes a lot
> more formats and documentation, but I think this flat zip file with the
> OTF files is sufficient.
The indentation in the second patch was wrong and the description
misleading, so here’s an updated version:
[-- Attachment #2: 0002-gnu-Add-TeX-Gyre-fonts.patch --]
[-- Type: text/x-patch, Size: 2469 bytes --]
From f00ce9715045a73a91814d41da665640ace820fc Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Sun, 30 Aug 2015 19:52:55 +0200
Subject: [PATCH 2/2] gnu: Add TeX Gyre fonts.
* gnu/packages/fonts.scm (font-tex-gyre): New variable.
---
gnu/packages/fonts.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 62d44ec..a78995c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -486,3 +487,40 @@ code-points needed for zh_cn, zh_sg, zh_tw, zh_hk, zh_mo, ja (Japanese) and
ko (Korean) locales for fontconfig.")
;; GPLv2 with font embedding exception
(license license:gpl2)))
+
+(define-public font-tex-gyre
+ (package
+ (name "font-tex-gyre")
+ (version "2.005")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://www.gust.org.pl/projects/e-foundry/"
+ "tex-gyre/whole/tg-" version "otf.zip"))
+ (sha256
+ (base32
+ "0kph9l3g7jb2bpmxdbdg5zl56wacmnvdvsdn7is1gc750sqvsn31"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+
+ (let ((unzip (string-append (assoc-ref %build-inputs "unzip")
+ "/bin/unzip"))
+ (font-dir (string-append %output "/share/fonts/opentype")))
+ (mkdir-p font-dir)
+ (system* unzip
+ (assoc-ref %build-inputs "source")
+ "-d" font-dir)))))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (home-page "http://www.gust.org.pl/projects/e-foundry/tex-gyre/")
+ (synopsis "Remake of Ghostscript fonts")
+ (description "The TeX Gyre collection of fonts is the result of an
+extensive remake and extension of the freely available base PostScript fonts
+distributed with Ghostscript version 4.00. The collection contains the
+following fonts in the OpenType format: Adventor, Bonum, Chorus, Cursor,
+Heros, Pagella, Schola, Termes.")
+ (license license:gfl1.0)))
--
2.5.0
next prev parent reply other threads:[~2015-08-30 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 17:57 [PATCH] Add TeX Gyre fonts Ricardo Wurmus
2015-08-30 18:00 ` Ricardo Wurmus [this message]
2015-09-01 21:06 ` Ludovic Courtès
2015-09-01 21:04 ` Ludovic Courtès
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=87zj18hd0m.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@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).