gnu: evince: Add inputs.
* gnu/packages/gnome.scm (evince): Add 'dconf' and 'libcanberra' inputs. Remove custom phase 'set-mime-search-path which is now handled by glib-or-gtk-build-system.
This commit is contained in:
parent
beb8dc0007
commit
3d243e9c45
|
@ -220,19 +220,7 @@ and keep up to date translations of documentation.")
|
||||||
;; FIXME: Tests fail with:
|
;; FIXME: Tests fail with:
|
||||||
;; ImportError: No module named gi.repository
|
;; ImportError: No module named gi.repository
|
||||||
;; Where should that module come from?
|
;; Where should that module come from?
|
||||||
#:tests? #f
|
#:tests? #f))
|
||||||
|
|
||||||
#:phases (alist-cons-after
|
|
||||||
'install 'set-mime-search-path
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
;; Wrap 'evince' so that it knows where MIME info is.
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(mime (assoc-ref inputs "shared-mime-info")))
|
|
||||||
(wrap-program (string-append out "/bin/evince")
|
|
||||||
`("XDG_DATA_DIRS" ":" prefix
|
|
||||||
,(list (string-append mime "/share")
|
|
||||||
(string-append out "/share"))))))
|
|
||||||
%standard-phases)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("libspectre" ,libspectre)
|
`(("libspectre" ,libspectre)
|
||||||
;; ("djvulibre" ,djvulibre)
|
;; ("djvulibre" ,djvulibre)
|
||||||
|
@ -251,6 +239,8 @@ and keep up to date translations of documentation.")
|
||||||
("libsm" ,libsm)
|
("libsm" ,libsm)
|
||||||
("libice" ,libice)
|
("libice" ,libice)
|
||||||
("shared-mime-info" ,shared-mime-info)
|
("shared-mime-info" ,shared-mime-info)
|
||||||
|
("dconf" ,dconf)
|
||||||
|
("libcanberra" ,libcanberra)
|
||||||
|
|
||||||
;; For tests.
|
;; For tests.
|
||||||
("dogtail" ,python2-dogtail)))
|
("dogtail" ,python2-dogtail)))
|
||||||
|
|
Loading…
Reference in New Issue