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

View file

@ -34,6 +34,14 @@ (define-public djvulibre
(base32 (base32
"0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6")))) "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6"))))
(build-system gnu-build-system) (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/") (home-page "http://djvu.sourceforge.net/")
(synopsis "Implementation of DjVu, the document format") (synopsis "Implementation of DjVu, the document format")
(description "DjVuLibre is an implementation of DjVu, (description "DjVuLibre is an implementation of DjVu,