From a64baf91c40e87667f31e96e3512b4b4f0d78573 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Thu, 18 Dec 2014 21:48:43 +0100 Subject: [PATCH 4/4] 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. --- gnu/packages/gnome.scm | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a052be1..85bb5f4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -219,19 +219,7 @@ and keep up to date translations of documentation.") ;; FIXME: Tests fail with: ;; ImportError: No module named gi.repository ;; Where should that module come from? - #: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))) + #:tests? #f)) (inputs `(("libspectre" ,libspectre) ;; ("djvulibre" ,djvulibre) @@ -250,7 +238,9 @@ and keep up to date translations of documentation.") ("libsm" ,libsm) ("libice" ,libice) ("shared-mime-info" ,shared-mime-info) - + ("dconf" ,dconf) + ("libcanberra" ,libcanberra) + ;; For tests. ("dogtail" ,python2-dogtail))) (native-inputs -- 1.8.4