From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 3/9] gnu: Add ttf2eot. Date: Thu, 7 Apr 2016 09:24:35 +0300 Message-ID: <20160407062435.GC17216@debian-netbook> References: <1459917181-19626-1-git-send-email-ericbavier@openmailbox.org> <1459917181-19626-3-git-send-email-ericbavier@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w7PDEPdKQumQfZlR" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao3Mx-0001ls-FI for guix-devel@gnu.org; Thu, 07 Apr 2016 02:24:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao3Mt-00014B-4E for guix-devel@gnu.org; Thu, 07 Apr 2016 02:24:43 -0400 Received: from flashner.co.il ([178.62.234.194]:59296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao3Ms-000147-Oq for guix-devel@gnu.org; Thu, 07 Apr 2016 02:24:39 -0400 Content-Disposition: inline In-Reply-To: <1459917181-19626-3-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 --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2016 at 11:32:55PM -0500, ericbavier@openmailbox.org wrote: > From: Eric Bavier >=20 > * gnu/packages/fontutils.scm (ttf2eot): New variable. > * gnu/packages/patches/ttf2eot-cstddef.patch: New patch. > * gnu-system.am (dist_patch_DATA): Add it. > --- > gnu-system.am | 1 + > gnu/packages/fontutils.scm | 34 ++++++++++++++++++++++++= ++++++ > gnu/packages/patches/ttf2eot-cstddef.patch | 12 +++++++++++ > 3 files changed, 47 insertions(+) > create mode 100644 gnu/packages/patches/ttf2eot-cstddef.patch >=20 > diff --git a/gnu-system.am b/gnu-system.am > index 764e564..d3d08da 100644 > --- a/gnu-system.am > +++ b/gnu-system.am > @@ -747,6 +747,7 @@ dist_patch_DATA =3D \ > gnu/packages/patches/tidy-CVE-2015-5522+5523.patch \ > gnu/packages/patches/tinyxml-use-stl.patch \ > gnu/packages/patches/tk-find-library.patch \ > + gnu/packages/patches/ttf2eot-cstddef.patch \ > gnu/packages/patches/ttfautohint-source-date-epoch.patch \ > gnu/packages/patches/tophat-build-with-later-seqan.patch \ > gnu/packages/patches/torsocks-dns-test.patch \ > diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm > index 614aac5..1e2424b 100644 > --- a/gnu/packages/fontutils.scm > +++ b/gnu/packages/fontutils.scm > @@ -145,6 +145,40 @@ Converts WOFF fonts to OpenType fonts > (license (list license:mpl1.1 license:gpl2+ license:lgpl2.1+)) > (home-page "https://people.mozilla.com/~jkew/woff/"))) > =20 > +(define-public ttf2eot > + (package > + (name "ttf2eot") > + (version "0.0.2") What about version 0.0.2-2? > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://storage.googleapis.com/" > + "google-code-archive-downloads/v2/" > + "code.google.com/ttf2eot/" > + "ttf2eot-" version "-2.tar.gz")) I checked and it doesn't look like this project was exported to github > + (sha256 > + (base32 > + "1f4dzzmhn0208dvbm3ia5ar6ls9apwc6ampy5blmfxkigi6z0g02")) > + (patches (map search-patch '("ttf2eot-cstddef.patch"))))) > + (build-system gnu-build-system) > + (arguments > + `(#: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 "ttf2eot" bin))))))) > + (synopsis "Convert from TrueType to Embeddable Open Type") > + (description > + "This package contains a commandline wrapper around OpenTypeUtiliti= es.cpp > +from Chromium, used to make EOT (Embeddable Open Type) files from > +TTF (TrueType/OpenType Font) files.") > + (license license:bsd-2) Issue 30[0] says that the readme says its bsd/lgpl licensed. > + (home-page "https://code.google.com/archive/p/ttf2eot/"))) > + > (define-public fontconfig > (package > (name "fontconfig") > diff --git a/gnu/packages/patches/ttf2eot-cstddef.patch b/gnu/packages/pa= tches/ttf2eot-cstddef.patch > new file mode 100644 > index 0000000..af76898 > --- /dev/null > +++ b/gnu/packages/patches/ttf2eot-cstddef.patch > @@ -0,0 +1,12 @@ > +From resolution of https://code.google.com/p/ttf2eot/issues/detail?id=3D= 26 > + > +--- ttf2eot-0.0.2-2/OpenTypeUtilities.cpp 2009-04-30 04:18:46.000000000 = -0500 > ++++ ttf2eot-0.0.2-2/OpenTypeUtilities.cpp 2016-03-31 01:06:39.109996011 = -0500 > +@@ -25,6 +25,7 @@ > + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.= =20 > + */ > +=20 > ++#include > + #include > + #include > +=20 > --=20 > 2.7.3 >=20 [0] https://code.google.com/archive/p/ttf2eot/issues/30 --=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 --w7PDEPdKQumQfZlR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXBf0jAAoJEPTB05F+rO6TLIQP/AkKuowuqohSJsSiZBdIRs40 aLqRt3MeKyySaRyGUZBjd0DUX+eCdKrhbe2kzYxbQE9rWxEgIOyhyqBuxipiuh0V Gu/2oKmnHTmMaZpTmVSxMhf8pzKvjElWjrJQSdxii2NfV0EOpMQtyyeewvffRKFz xrKxY4JKrDQhFnHZfTtH6z34uFiugMPyvF21xnAiT/G/JyG/sbfgmUdAnG/pGgEy mqZHtUIOMu+H1FsEOXna8pZNhIlAgDEQHSqx/l2vssukiCDHmSFaDmmoP81GDNTk OuqnGGX/TTz7gAgvlO/ftqG3QGsHb9yFqz1wgzMWsXCMGIzx0IsuLHkdAvsxjnyy ODQi7zPMS8UX1nZRsxvV9ScQTdA0JOF6FoQRIM6o1MT597dGwV5kJ2va/37kPMpa rFam5N6C6moOqEULGLPTen5bS0/MRZ4o283KqJJ4YV9uT0SZxJDyTZkwKtlI2quU ql+PyMIEHVvefjOHsbxAO+6REid+VSjTGznjkuBpAr4hTWqpdJ65cKeTkLdILMAn 6Wxd5lrQB1PhyGW/c3zruk39f/yKJiG3A1/6GrCGTfKvouIEH63T8OOFuq+1U8mY ALPIkGbWxl9lZMC7oY5aPAAcORm/942bqo7m787NhBR3Xiyv4L0pocf4s8pmesNm 7acRqtUABkYN10VAOSNO =n7D9 -----END PGP SIGNATURE----- --w7PDEPdKQumQfZlR--