mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: zathura: Update to 0.3.9.
* gnu/packages/pdf.scm (zathura): Update to 0.3.9. [native-inputs]: Add python-sphinx. [build-system]: Switch to the Meson build system. [arguments]: Trim accordingly.
This commit is contained in:
parent
bba29e106b
commit
eb6a5dab5c
1 changed files with 10 additions and 12 deletions
|
@ -13,7 +13,7 @@
|
||||||
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
|
#:use-module (guix build-system meson)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system trivial)
|
#:use-module (guix build-system trivial)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
@ -464,21 +465,24 @@ by using the poppler rendering engine.")
|
||||||
(define-public zathura
|
(define-public zathura
|
||||||
(package
|
(package
|
||||||
(name "zathura")
|
(name "zathura")
|
||||||
(version "0.3.8")
|
(version "0.3.9")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
(string-append "https://pwmt.org/projects/zathura/download/zathura-"
|
(string-append "https://pwmt.org/projects/zathura/download/zathura-"
|
||||||
version ".tar.gz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dz5pky3vmf3s2cp2rv1c099gb1s49p9xlgm3ghyy4pzyxc8bgs6"))
|
"0z09kz92a2n8qqv3cy8bx5j5k612g2f9mmh4szqlc7yvi39aax1g"))
|
||||||
(patches (search-patches
|
(patches (search-patches
|
||||||
"zathura-plugindir-environment-variable.patch"))))
|
"zathura-plugindir-environment-variable.patch"))))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs `(("pkg-config" ,pkg-config)
|
||||||
("gettext" ,gettext-minimal)
|
("gettext" ,gettext-minimal)
|
||||||
("glib:bin" ,glib "bin")
|
("glib:bin" ,glib "bin")
|
||||||
|
|
||||||
|
;; For building documentation.
|
||||||
|
("python-sphinx" ,python-sphinx)
|
||||||
|
|
||||||
;; For tests.
|
;; For tests.
|
||||||
("check" ,check)
|
("check" ,check)
|
||||||
("xorg-server" ,xorg-server-1.19.3)))
|
("xorg-server" ,xorg-server-1.19.3)))
|
||||||
|
@ -490,15 +494,9 @@ by using the poppler rendering engine.")
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "ZATHURA_PLUGIN_PATH")
|
(variable "ZATHURA_PLUGIN_PATH")
|
||||||
(files '("lib/zathura")))))
|
(files '("lib/zathura")))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:phases (modify-phases %standard-phases
|
||||||
`(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
||||||
"CC=gcc" "COLOR=0")
|
|
||||||
#:test-target "test"
|
|
||||||
#:disallowed-references (,xorg-server-1.19.3)
|
|
||||||
#:phases (modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(add-before 'check 'start-xserver
|
(add-before 'check 'start-xserver
|
||||||
;; Tests require a running X server.
|
;; Tests require a running X server.
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
|
Loading…
Add table
Reference in a new issue