gnu: djvulibre: Remove timestamps from .svgz files.

* gnu/packages/djvu.scm (djvulibre)[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Z. Ren 2017-08-08 14:22:18 +08:00 committed by Ludovic Courtès
parent 833ade67f1
commit 5fe2a139df
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 0 deletions

View File

@ -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,