From mboxrd@z Thu Jan 1 00:00:00 1970 From: ericbavier@openmailbox.org Subject: [PATCH 6/9] gnu: fontforge: Make SVG builds reproducible. Date: Tue, 5 Apr 2016 23:32:58 -0500 Message-ID: <1459917181-19626-6-git-send-email-ericbavier@openmailbox.org> References: <1459917181-19626-1-git-send-email-ericbavier@openmailbox.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anfAD-0007A8-HB for guix-devel@gnu.org; Wed, 06 Apr 2016 00:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anfA9-0000im-10 for guix-devel@gnu.org; Wed, 06 Apr 2016 00:33:57 -0400 Received: from smtp16.openmailbox.org ([62.4.1.50]:45273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anfA8-0000iF-SB for guix-devel@gnu.org; Wed, 06 Apr 2016 00:33:52 -0400 In-Reply-To: <1459917181-19626-1-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: guix-devel@gnu.org Cc: Eric Bavier From: Eric Bavier * 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)")))))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- 2.7.3