From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 2/9] gnu: Add woff-tools. Date: Thu, 7 Apr 2016 09:18:27 +0300 Message-ID: <20160407061827.GB17216@debian-netbook> References: <1459917181-19626-1-git-send-email-ericbavier@openmailbox.org> <1459917181-19626-2-git-send-email-ericbavier@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao3H1-0000gH-Jr for guix-devel@gnu.org; Thu, 07 Apr 2016 02:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao3Gx-0008F1-Es for guix-devel@gnu.org; Thu, 07 Apr 2016 02:18:35 -0400 Received: from flashner.co.il ([178.62.234.194]:59282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao3Gx-0008Es-2f for guix-devel@gnu.org; Thu, 07 Apr 2016 02:18:31 -0400 Content-Disposition: inline In-Reply-To: <1459917181-19626-2-git-send-email-ericbavier@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: ericbavier@openmailbox.org Cc: guix-devel@gnu.org, Eric Bavier --Y7xTucakfITjPcLV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2016 at 11:32:54PM -0500, ericbavier@openmailbox.org wrote: > From: Eric Bavier >=20 > * gnu/packages/fontutils.scm (woff-tools): New variable. > --- > gnu/packages/fontutils.scm | 41 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) >=20 > 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/"))) > =20 > +(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 tarb= all > + (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=3Dgcc") > + #: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: > +@table @code > +@item sfnt2woff > +Converts OpenType fonts to WOFF fonts > +@item woff2sfnt > +Converts WOFF fonts to OpenType fonts > +@end 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") > --=20 > 2.7.3 >=20 Looks good to me --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Y7xTucakfITjPcLV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXBfuwAAoJEPTB05F+rO6T0WcP/28kcciwoOIjJFCMjNfkJyC2 CD456xsv7ORSw0mc6bEkulc7hMXB0osJiMPnfHpKM6mDdsmywoxrlViTSezxQXZA 6sijtL73q75GXs0njWRD0rkEUEmdRF9xwY4glP6HmiobCwu1UM4wrisPLUovpIgr 017esj5CNH1USaMTQmpmUQmzlhxBWlYVs5TrZld8lIrZveg3JKD35LchnbMwV3db XaJ4510oMKQUFBMfC3jWg0YA7IhNPevdebf7DRgQSjcFzIWM6ZGChr/QLOLLXoqC tMy06U7tqLu0f3GCHRP1GHmpY9GFITTx0lEEPzkIOXH+mgShVeGmJDiawmHQEb8g bPW2cTba7M65CSkSUCm1lweiDWSiaa8b92/eGWBUm2aSUxl4F96Feb3ITmbMmWz4 WhpdCJ2fCsld1uYQREReEtN/BgtzQSFLZcYXtAwkuOSRdRCEvYIJ5NLk2darsMgy OlMqkzROZ2glqzhbzNR7IaxnuKkj2ZdVxLKOlDhZnyIUEIVqjren5tvTP4pYnyrV 74RxV4TiPb52y0yB112yObXbtLgpRCqg7vZkKKC+4fIbyOTfjDC+uZFP79A2FzlB rd7xZTo3f07mUC60kysD39+gOpkU1ya5IqueRPqbHQJ9s4ZBE3vArLSvcqGUJrwm VNlbLwQ6tdt90d4qEHSs =/DiF -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--