From 5a7703413b4c22aabac67171926161fedd2053c0 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 18 Sep 2021 14:47:45 +0200 Subject: gnu: pdf2djvu: Update to 0.9.18. * gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18. [arguments]: Add 'set-home-for-tests' phase. --- gnu/packages/djvu.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'gnu/packages/djvu.scm') diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm index 96071b8da1..0d1cdf2b1d 100644 --- a/gnu/packages/djvu.scm +++ b/gnu/packages/djvu.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Tobias Geerinckx-Rice -;;; Copyright © 2020 Guillaume Le Vaillant +;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -151,7 +151,7 @@ (define-public djview (define-public pdf2djvu (package (name "pdf2djvu") - (version "0.9.17.1") + (version "0.9.18") (source (origin (method url-fetch) @@ -159,7 +159,7 @@ (define-public pdf2djvu "https://github.com/jwilk/pdf2djvu/releases/download/" version "/pdf2djvu-" version ".tar.xz")) (sha256 - (base32 "18r648kna6ccw0m0nfxxnsmz541k69d0w9zzqvm1x2l5qyyvgfsv")))) + (base32 "0vxa0b3g7zhflc5m6ln4f0hi0shsqyqc3344y7azlllibxc5ba22")))) (build-system gnu-build-system) (native-inputs `(("gettext" ,gettext-minimal) @@ -174,7 +174,12 @@ (define-public pdf2djvu ("poppler-data" ,poppler-data) ("util-linux-lib" ,util-linux "lib"))) ; for libuuid (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") (description "@code{pdf2djvu} creates DjVu files from PDF files. -- cgit v1.2.3