[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible.
From: |
Leo Famulari |
Subject: |
Re: [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible. |
Date: |
Wed, 6 Apr 2016 13:36:38 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Apr 05, 2016 at 11:32:58PM -0500, address@hidden wrote:
> From: Eric Bavier <address@hidden>
>
> * gnu/packages/fontutils.scm (fontforge)[source]: Add snippet to clear
> timestamp in svg.c.
> ---
> gnu/packages/fontutils.scm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
> index 75edd55..5ca9835 100644
> --- a/gnu/packages/fontutils.scm
> +++ b/gnu/packages/fontutils.scm
> @@ -512,7 +512,12 @@ definitions.")
> ;; Make TTF builds bit-reproducible by clearing the timestamp
> ;; that goes in TTF files.
> (substitute* "fontforge/tottf.c"
> - (("cvt_unix_to_1904\\(now") "cvt_unix_to_1904(0"))))))
> + (("cvt_unix_to_1904\\(now") "cvt_unix_to_1904(0"))
> +
> + ;; Make SVG builds bit-reproducible by clearing the timestamp
> + ;; that goes in SVG files.
> + (substitute* "fontforge/svg.c"
> + (("ctime\\(&now\\)") "ctime(0)"))))))
Could you use the value of the environment variable SOURCE_DATE_EPOCH
instead of 0?
> (build-system gnu-build-system)
> (native-inputs
> `(("pkg-config" ,pkg-config)))
> --
> 2.7.3
>
>
- Re: [PATCH 3/9] gnu: Add ttf2eot., (continued)
[PATCH 2/9] gnu: Add woff-tools., ericbavier, 2016/04/06
[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
- Re: [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible.,
Leo Famulari <=
[PATCH 7/9] gnu: Add font-fantasque-sans., ericbavier, 2016/04/06
[PATCH 9/9] gnu: fontforge: Install 'showttf' tool., ericbavier, 2016/04/06
[PATCH 8/9] gnu: fontforge: Use modify-phases., ericbavier, 2016/04/06
Re: [PATCH 1/9] gnu: Add ttfautohint., Alex Kost, 2016/04/06