From 5fe2a139dfdef058f544fc4b83742628e1fa04bc Mon Sep 17 00:00:00 2001 From: "Z. Ren" Date: Tue, 8 Aug 2017 14:22:18 +0800 Subject: gnu: djvulibre: Remove timestamps from .svgz files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/djvu.scm (djvulibre)[arguments]: New field. Signed-off-by: Ludovic Courtès --- gnu/packages/djvu.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm index e739df3772..10cdbf31a8 100644 --- a/gnu/packages/djvu.scm +++ b/gnu/packages/djvu.scm @@ -34,6 +34,14 @@ (base32 "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6")))) (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'reproducible + (lambda _ + ;; Ensure there are no timestamps in .svgz files. + (substitute* "desktopfiles/Makefile.in" + (("gzip") "gzip -n")) + #t))))) (home-page "http://djvu.sourceforge.net/") (synopsis "Implementation of DjVu, the document format") (description "DjVuLibre is an implementation of DjVu, -- cgit 1.4.1