mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: impressive: Update to 13.2 and fix build
* gnu/packages/pdf.scm (impressive): Update to 13.2 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
bc17ba46a6
commit
8f86eb2b45
1 changed files with 29 additions and 30 deletions
|
@ -28,6 +28,7 @@
|
||||||
;;; Copyright © 2024 dan <i@dan.games>
|
;;; Copyright © 2024 dan <i@dan.games>
|
||||||
;;; Copyright © 2023 Benjamin Slade <slade@lambda-y.net>
|
;;; Copyright © 2023 Benjamin Slade <slade@lambda-y.net>
|
||||||
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||||
|
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1171,39 +1172,37 @@ vector formats.")
|
||||||
(define-public impressive
|
(define-public impressive
|
||||||
(package
|
(package
|
||||||
(name "impressive")
|
(name "impressive")
|
||||||
(version "0.13.1")
|
;; (version "0.13.1")
|
||||||
(source (origin
|
(version "0.13.2")
|
||||||
(method url-fetch)
|
(source
|
||||||
(uri (string-append
|
(origin
|
||||||
"mirror://sourceforge/impressive/Impressive/"
|
(method url-fetch)
|
||||||
version "/Impressive-" version ".tar.gz"))
|
(uri (string-append "mirror://sourceforge/impressive/Impressive/"
|
||||||
(sha256
|
version "/Impressive-" version ".tar.gz"))
|
||||||
(base32
|
(sha256
|
||||||
"0d1d2jxfl9vmy4swcdz660xd4wx91w1i3n07k522pccapwxig294"))))
|
(base32
|
||||||
|
;; "0d1d2jxfl9vmy4swcdz660xd4wx91w1i3n07k522pccapwxig294"))))
|
||||||
|
"0g15q67f992prkjndrk75hhd601iypfmkafhdx7hijs2byr26c83"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
#~(modify-phases %standard-phases
|
(delete 'build)
|
||||||
(delete 'build)
|
(delete 'configure)
|
||||||
(delete 'configure)
|
(delete 'check)
|
||||||
(delete 'check)
|
(replace 'install
|
||||||
(replace 'install
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
;; There's no 'setup.py' so install things manually.
|
||||||
;; There's no 'setup.py' so install things manually.
|
(let* ((bin (string-append #$output "/bin"))
|
||||||
(let* ((bin (string-append #$output "/bin"))
|
(impressive (string-append bin "/impressive"))
|
||||||
(impressive (string-append bin "/impressive"))
|
(man1 (string-append #$output "/share/man/man1")))
|
||||||
(man1 (string-append #$output "/share/man/man1")))
|
(mkdir-p bin)
|
||||||
(mkdir-p bin)
|
(copy-file "impressive.py" impressive)
|
||||||
(copy-file "impressive.py" impressive)
|
(chmod impressive #o755)
|
||||||
(chmod impressive #o755)
|
(wrap-program (string-append bin "/impressive")
|
||||||
(wrap-program (string-append bin "/impressive")
|
`("PATH" ":" prefix ;for pdftoppm
|
||||||
`("LIBRARY_PATH" ":" prefix ;for ctypes
|
(,(search-input-file inputs "bin/xpdf"))))
|
||||||
(,(string-append #$(this-package-input "sdl")
|
(install-file "impressive.1" man1)))))))
|
||||||
"/lib")))
|
|
||||||
`("PATH" ":" prefix ;for pdftoppm
|
|
||||||
(,(search-input-file inputs "bin/xpdf"))))
|
|
||||||
(install-file "impressive.1" man1)))))))
|
|
||||||
;; TODO: Add dependency on pdftk.
|
;; TODO: Add dependency on pdftk.
|
||||||
(inputs (list bash-minimal python-pygame python-pillow sdl xpdf))
|
(inputs (list bash-minimal python-pygame python-pillow sdl xpdf))
|
||||||
(home-page "https://impressive.sourceforge.net")
|
(home-page "https://impressive.sourceforge.net")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue