[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/9] gnu: Add woff-tools.
From: |
Efraim Flashner |
Subject: |
Re: [PATCH 2/9] gnu: Add woff-tools. |
Date: |
Thu, 7 Apr 2016 09:18:27 +0300 |
User-agent: |
Mutt/1.6.0 (2016-04-01) |
On Tue, Apr 05, 2016 at 11:32:54PM -0500, address@hidden wrote:
> From: Eric Bavier <address@hidden>
>
> * gnu/packages/fontutils.scm (woff-tools): New variable.
> ---
> gnu/packages/fontutils.scm | 41 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
> index a0701d5..614aac5 100644
> --- a/gnu/packages/fontutils.scm
> +++ b/gnu/packages/fontutils.scm
> @@ -104,6 +104,47 @@ scripts.")
> (license license:gpl2+) ;or FreeType license
> (home-page "http://www.freetype.org/ttfautohint/")))
>
> +(define-public woff-tools
> + (package
> + (name "woff-tools")
> + (version "2009.10.04")
> + (source
> + (origin
> + (method url-fetch)
> + ;; Upstream source is unversioned, so use Debian's versioned tarball
> + (uri (string-append "mirror://debian/pool/main/w/woff-tools/"
> + "woff-tools_" version ".orig.tar.gz"))
2009 is a long time ago, but woff-tools are still in Debian Sid so we
don't have to worry about needing to go to archive.debian.org/... for
the sources any time soon. By the way, is there a more recent version?
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1i97gkqa6jfzlslsngqf556kx60knlgf7yc9pzsq2pizc6f0d4zl"))))
> + (build-system gnu-build-system)
> + (inputs
> + `(("zlib" ,zlib)))
> + (arguments
> + `(#:make-flags '("CC=gcc")
> + #:tests? #f ;no tests
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'configure) ;no configuration
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (bin (string-append out "/bin")))
> + (install-file "sfnt2woff" bin)
> + (install-file "woff2sfnt" bin)))))))
> + (synopsis "Convert between OpenType and WOFF formats")
> + (description
> + "This package provides two tools:
> address@hidden @code
> address@hidden sfnt2woff
> +Converts OpenType fonts to WOFF fonts
> address@hidden woff2sfnt
> +Converts WOFF fonts to OpenType fonts
> address@hidden table")
> + (license (list license:mpl1.1 license:gpl2+ license:lgpl2.1+))
> + (home-page "https://people.mozilla.com/~jkew/woff/")))
> +
> (define-public fontconfig
> (package
> (name "fontconfig")
> --
> 2.7.3
>
Looks good to me
--
Efraim Flashner <address@hidden> אפרים פלשנר
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
- [PATCH 1/9] gnu: Add ttfautohint., ericbavier, 2016/04/06
- [PATCH 2/9] gnu: Add woff-tools., ericbavier, 2016/04/06
- Re: [PATCH 2/9] gnu: Add woff-tools.,
Efraim Flashner <=
- [PATCH 4/9] gnu: Add brotli., ericbavier, 2016/04/06
- [PATCH 5/9] gnu: Add woff2., ericbavier, 2016/04/06
- [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible., ericbavier, 2016/04/06
[PATCH 7/9] gnu: Add font-fantasque-sans., ericbavier, 2016/04/06