[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 9/9] gnu: fontforge: Install 'showttf' tool.
From: |
ericbavier |
Subject: |
[PATCH 9/9] gnu: fontforge: Install 'showttf' tool. |
Date: |
Tue, 5 Apr 2016 23:33:01 -0500 |
From: Eric Bavier <address@hidden>
* gnu/packages/fontutils.scm (fontforge)[arguments]: Add 'build-contrib'
phase.
---
gnu/packages/fontutils.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 5b3247b..f120aef 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -562,6 +562,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"))
--
2.7.3
- Re: [PATCH 2/9] gnu: Add woff-tools., (continued)
- [PATCH 7/9] gnu: Add font-fantasque-sans., ericbavier, 2016/04/06
- [PATCH 9/9] gnu: fontforge: Install 'showttf' tool.,
ericbavier <=
- [PATCH 8/9] gnu: fontforge: Use modify-phases., ericbavier, 2016/04/06
- Re: [PATCH 1/9] gnu: Add ttfautohint., Alex Kost, 2016/04/06
- Re: [PATCH 1/9] gnu: Add ttfautohint., Eric Bavier, 2016/04/06
- Specifying package patches in a more convenient form, Alex Kost, 2016/04/07
- Re: Specifying package patches in a more convenient form, Andy Wingo, 2016/04/07
- Re: Specifying package patches in a more convenient form, Eric Bavier, 2016/04/07
- Re: Specifying package patches in a more convenient form, Alex Kost, 2016/04/08
- Re: Specifying package patches in a more convenient form, Ludovic Courtès, 2016/04/09
- Re: Specifying package patches in a more convenient form, Ludovic Courtès, 2016/04/07
- Re: Specifying package patches in a more convenient form, Alex Kost, 2016/04/09