Update evince to take advantage of dconf and theme sounds.

Given that every GTK+ application handles event sounds with the help
of libcanberra, I would like to propose to add the latter as a
propagated-input to gtk instead of adding it to every single gtk
application and, in applications, to make gtk a propagated-input.

https://developer.gnome.org/libcanberra/0.28/libcanberra-canberra-gtk.html

Regards,
Fede
From 6d2a39afbefef0e689cb37dd22e54e848a7f653c Mon Sep 17 00:00:00 2001
From: Federico Beffa <be...@fbengineering.ch>
Date: Thu, 18 Dec 2014 21:48:43 +0100
Subject: [PATCH 4/4] gnu: evince: Add inputs.

* gnu/packages/gnome.scm (evince): Add 'dconf' as an input and 'libcanberra'
  as a propagated input.
---
 gnu/packages/gnome.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a052be1..a64d21a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -250,13 +250,16 @@ and keep up to date translations of documentation.")
        ("libsm" ,libsm)
        ("libice" ,libice)
        ("shared-mime-info" ,shared-mime-info)
-
+       ("dconf" ,dconf)
+       
        ;; For tests.
        ("dogtail" ,python2-dogtail)))
     (native-inputs
      `(("intltool" ,intltool)
        ("glib" ,glib "bin")
        ("pkg-config" ,pkg-config)))
+    (propagated-inputs
+     `(("libcanberra" ,libcanberra))) ; to inherit default sounds
     (home-page
      "http://www.gnome.org/projects/evince/";)
     (synopsis "GNOME's document viewer")
-- 
1.8.4

Reply via email to