all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: ericbavier@openmailbox.org
Cc: guix-devel@gnu.org, Eric Bavier <bavier@member.fsf.org>
Subject: Re: [PATCH 3/9] gnu: Add ttf2eot.
Date: Thu, 7 Apr 2016 09:24:35 +0300	[thread overview]
Message-ID: <20160407062435.GC17216@debian-netbook> (raw)
In-Reply-To: <1459917181-19626-3-git-send-email-ericbavier@openmailbox.org>

[-- Attachment #1: Type: text/plain, Size: 4252 bytes --]

On Tue, Apr 05, 2016 at 11:32:55PM -0500, ericbavier@openmailbox.org wrote:
> From: Eric Bavier <bavier@member.fsf.org>
> 
> * 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
> 
> 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 =						\
>    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/")))
>  
> +(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 OpenTypeUtilities.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/patches/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=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. 
> +  */
> + 
> ++#include <cstddef>
> + #include <string.h>
> + #include <vector>
> + 
> -- 
> 2.7.3
> 

[0] https://code.google.com/archive/p/ttf2eot/issues/30

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-04-07  6:24 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06  4:32 [PATCH 1/9] gnu: Add ttfautohint ericbavier
2016-04-06  4:32 ` [PATCH 2/9] gnu: Add woff-tools ericbavier
2016-04-07  6:18   ` Efraim Flashner
2016-04-07 14:25     ` Eric Bavier
2016-04-13 21:37     ` Ludovic Courtès
2016-04-06  4:32 ` [PATCH 3/9] gnu: Add ttf2eot ericbavier
2016-04-07  6:24   ` Efraim Flashner [this message]
2016-04-07 14:30     ` Eric Bavier
2016-04-08  3:49     ` Eric Bavier
2016-04-13 21:39       ` Ludovic Courtès
2016-04-06  4:32 ` [PATCH 4/9] gnu: Add brotli ericbavier
2016-04-13 21:44   ` Ludovic Courtès
2016-04-06  4:32 ` [PATCH 5/9] gnu: Add woff2 ericbavier
2016-04-06  4:32 ` [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible ericbavier
2016-04-06 17:36   ` Leo Famulari
2016-04-06 17:44     ` Eric Bavier
2016-04-06 17:56       ` Leo Famulari
2016-04-06  4:32 ` [PATCH 7/9] gnu: Add font-fantasque-sans ericbavier
2016-04-06  4:33 ` [PATCH 8/9] gnu: fontforge: Use modify-phases ericbavier
2016-04-06  4:33 ` [PATCH 9/9] gnu: fontforge: Install 'showttf' tool ericbavier
2016-04-06 12:13 ` [PATCH 1/9] gnu: Add ttfautohint Alex Kost
2016-04-06 14:57   ` Eric Bavier
2016-04-07  9:52     ` Specifying package patches in a more convenient form Alex Kost
2016-04-07 10:08       ` Andy Wingo
2016-04-07 14:41         ` Eric Bavier
2016-04-08  8:05         ` Alex Kost
2016-04-09 14:43           ` Ludovic Courtès
2016-04-07 21:54       ` Ludovic Courtès
2016-04-09  8:22         ` Alex Kost
2016-04-09 11:42         ` Andreas Enge
2016-04-09 16:40           ` Alex Kost
2016-04-13 21:40     ` [PATCH 1/9] gnu: Add ttfautohint Ludovic Courtès
2016-04-13 21:36 ` Ludovic Courtès
2016-04-14 14:43   ` Eric Bavier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160407062435.GC17216@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=bavier@member.fsf.org \
    --cc=ericbavier@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.