me
/
guix
Archived
1
0
Fork 0

gnu: djvulibre: Update to 3.5.28.

* gnu/packages/djvu.scm (djvulibre): Update to 3.5.28.
[native-inputs]: Add autoconf, automake, and libtool to bootstrap.
[inputs]: Add zlib.
[arguments]: Rename 'reproducible phase to 'make-reproducible and run it
after bootstrapping.
master
Tobias Geerinckx-Rice 2020-11-26 15:20:39 +01:00
parent 0dca2e630f
commit 2aa8e8476d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 24 additions and 16 deletions

View File

@ -50,26 +50,34 @@
(define-public djvulibre (define-public djvulibre
(package (package
(name "djvulibre") (name "djvulibre")
(version "3.5.27") (version "3.5.28")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "mirror://sourceforge/djvu/DjVuLibre/" (method url-fetch)
version "/djvulibre-" version ".tar.gz")) (uri (string-append "mirror://sourceforge/djvu/DjVuLibre/"
(sha256 (string-replace-substring version "." ",")
(base32 "/djvulibre-" version ".tar.gz"))
"0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6")))) (sha256
(base32 "0manxn1ly5n8nqamv47hz7akxi6v0rzwc9j1c3x99vngrjlr5qw2"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs
;; The 3.5.28 release tarball isn't bootstrapped.
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("libjpeg-turbo" ,libjpeg-turbo) `(("libjpeg-turbo" ,libjpeg-turbo)
("libtiff" ,libtiff))) ("libtiff" ,libtiff)
("zlib" ,zlib)))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases
(add-after 'unpack 'reproducible (modify-phases %standard-phases
(lambda _ (add-after 'bootstrap 'make-reproducible
;; Ensure there are no timestamps in .svgz files. (lambda _
(substitute* "desktopfiles/Makefile.in" ;; Ensure there are no timestamps in .svgz files.
(("gzip") "gzip -n")) (substitute* "desktopfiles/Makefile.am"
#t))))) (("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,