aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZ. Ren <zren@dlut.edu.cn>2017-08-08 14:22:18 +0800
committerLudovic Courtès <ludo@gnu.org>2017-09-01 11:05:32 +0200
commit5fe2a139dfdef058f544fc4b83742628e1fa04bc (patch)
tree224102c9745f8d2bb76696ecabf5eddf80bce2c5 /gnu/packages
parent833ade67f18311f1e162088c14a989fad62d81bd (diff)
downloadguix-5fe2a139dfdef058f544fc4b83742628e1fa04bc.tar
guix-5fe2a139dfdef058f544fc4b83742628e1fa04bc.tar.gz
gnu: djvulibre: Remove timestamps from .svgz files.
* gnu/packages/djvu.scm (djvulibre)[arguments]: New field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/djvu.scm8
1 files changed, 8 insertions, 0 deletions
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,