gnu: pdf2djvu: Update to 0.9.18.
* gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18. [arguments]: Add 'set-home-for-tests' phase.master
parent
d5f92f21a1
commit
5a7703413b
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||||
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -151,7 +151,7 @@ a continuous layout.")
|
||||||
(define-public pdf2djvu
|
(define-public pdf2djvu
|
||||||
(package
|
(package
|
||||||
(name "pdf2djvu")
|
(name "pdf2djvu")
|
||||||
(version "0.9.17.1")
|
(version "0.9.18")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -159,7 +159,7 @@ a continuous layout.")
|
||||||
"https://github.com/jwilk/pdf2djvu/releases/download/" version
|
"https://github.com/jwilk/pdf2djvu/releases/download/" version
|
||||||
"/pdf2djvu-" version ".tar.xz"))
|
"/pdf2djvu-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "18r648kna6ccw0m0nfxxnsmz541k69d0w9zzqvm1x2l5qyyvgfsv"))))
|
(base32 "0vxa0b3g7zhflc5m6ln4f0hi0shsqyqc3344y7azlllibxc5ba22"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)
|
`(("gettext" ,gettext-minimal)
|
||||||
|
@ -174,7 +174,12 @@ a continuous layout.")
|
||||||
("poppler-data" ,poppler-data)
|
("poppler-data" ,poppler-data)
|
||||||
("util-linux-lib" ,util-linux "lib"))) ; for libuuid
|
("util-linux-lib" ,util-linux "lib"))) ; for libuuid
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"))
|
`(#:test-target "test"
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'set-home-for-tests
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" "/tmp"))))))
|
||||||
(synopsis "PDF to DjVu converter")
|
(synopsis "PDF to DjVu converter")
|
||||||
(description
|
(description
|
||||||
"@code{pdf2djvu} creates DjVu files from PDF files.
|
"@code{pdf2djvu} creates DjVu files from PDF files.
|
||||||
|
|
Reference in New Issue