[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: fontforge: Install 'showttf' tool.
From: |
Eric Bavier |
Subject: |
09/11: gnu: fontforge: Install 'showttf' tool. |
Date: |
Fri, 15 Apr 2016 05:39:57 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 5f031ed242f979a9687f14fac9c311068f6b437b
Author: Eric Bavier <address@hidden>
Date: Tue Apr 5 22:52:58 2016 -0500
gnu: fontforge: Install 'showttf' tool.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Add 'build-contrib'
phase.
---
gnu/packages/fontutils.scm | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index e438aaf..7141f18 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -557,6 +557,14 @@ definitions.")
;; hard-coded.
(("gww_prefix in.*") (string-append "gww_prefix in "
cairo " " pango "\n"))))))
+ (add-after 'build 'build-contrib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (and (zero? (system* "make" "-Ccontrib/fonttools"
+ "CC=gcc" "showttf"))
+ (begin (install-file "contrib/fonttools/showttf" bin)
+ #t)))))
(add-after 'install 'set-library-path
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
- branch master updated (08fbfa8 -> de94602), Eric Bavier, 2016/04/15
- 03/11: gnu: Add ttf2eot., Eric Bavier, 2016/04/15
- 02/11: gnu: Add woff-tools., Eric Bavier, 2016/04/15
- 04/11: gnu: Add brotli., Eric Bavier, 2016/04/15
- 09/11: gnu: fontforge: Install 'showttf' tool.,
Eric Bavier <=
- 11/11: gnu: fontforge: Swap giflib input for libungif., Eric Bavier, 2016/04/15
- 05/11: gnu: Add woff2., Eric Bavier, 2016/04/15
- 10/11: gnu: fontforge: Remove 'patch-configure' phase., Eric Bavier, 2016/04/15
- 06/11: gnu: fontforge: Make SVG builds reproducible., Eric Bavier, 2016/04/15
- 01/11: gnu: Add ttfautohint., Eric Bavier, 2016/04/15
- 07/11: gnu: Add font-fantasque-sans., Eric Bavier, 2016/04/15
- 08/11: gnu: fontforge: Use modify-phases., Eric Bavier, 2016/04/15