mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-22 02:07:56 +01:00
gnu: evince: Update to 40.2.
* gnu/packages/gnome.scm (evince): Update to 40.2. [build-system]: Switch to meson. [arguments]: Move skip-gtk-update-icon-cache phase from before install to after unpack. Adapt to meson switch. [inputs]: Remove dogtail. Add libhandy. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
92ed7df034
commit
c88a870e9c
1 changed files with 19 additions and 15 deletions
|
@ -2571,24 +2571,30 @@ (define-public gnome-keyring
|
||||||
(define-public evince
|
(define-public evince
|
||||||
(package
|
(package
|
||||||
(name "evince")
|
(name "evince")
|
||||||
(version "3.36.5")
|
(version "40.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/evince/"
|
(uri "mirror://gnome/sources/evince/40/evince-40.2.tar.xz")
|
||||||
(version-major+minor version) "/"
|
|
||||||
"evince-" version ".tar.xz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0z79jl0j9xq9wgwkfr0d1w1qrdy4447y8shs407n5srr0vixc3bg"))))
|
"0xrwls1bhvny8vvd7mfjy9p26zjch0pd6x6j9jn9g2ka6xwyrxqg"))))
|
||||||
(build-system glib-or-gtk-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-nautilus" "--enable-introspection")
|
`(#:glib-or-gtk? #t
|
||||||
|
#:build-type "release"
|
||||||
|
#:configure-flags
|
||||||
|
'("-Dnautilus=false"
|
||||||
|
"-Dintrospection=true"
|
||||||
|
;; XXX: Generating the documentation fails because the
|
||||||
|
;; libevdocument.devhelp document cannot be created. This seems to be
|
||||||
|
;; caused by a problem during the XSL transformation.
|
||||||
|
"-Dgtk_doc=false")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'install 'skip-gtk-update-icon-cache
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
||||||
;; Don't create 'icon-theme.cache'.
|
;; Don't create 'icon-theme.cache'.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "data/Makefile"
|
(substitute* "meson_post_install.py"
|
||||||
(("gtk-update-icon-cache") "true"))
|
(("gtk-update-icon-cache") "true"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -2617,9 +2623,7 @@ (define-public evince
|
||||||
("dconf" ,dconf)
|
("dconf" ,dconf)
|
||||||
("libcanberra" ,libcanberra)
|
("libcanberra" ,libcanberra)
|
||||||
("libsecret" ,libsecret)
|
("libsecret" ,libsecret)
|
||||||
|
("libhandy" ,libhandy)))
|
||||||
;; For tests.
|
|
||||||
("dogtail" ,python2-dogtail)))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("itstool" ,itstool)
|
`(("itstool" ,itstool)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
|
|
Loading…
Reference in a new issue