[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: djvulibre: Remove timestamps from .svgz files.
From: |
Ludovic Courtès |
Subject: |
01/01: gnu: djvulibre: Remove timestamps from .svgz files. |
Date: |
Fri, 1 Sep 2017 05:07:47 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 5fe2a139dfdef058f544fc4b83742628e1fa04bc
Author: Z. Ren <address@hidden>
Date: Tue Aug 8 14:22:18 2017 +0800
gnu: djvulibre: Remove timestamps from .svgz files.
* gnu/packages/djvu.scm (djvulibre)[arguments]: New field.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/djvu.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index e739df3..10cdbf3 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,