aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJanne Jokitalo (astraljava) <astraljava@kapsi.fi>2012-04-02 00:45:34 +0300
committerPackage Import Robot <package-import@ubuntu.com>2012-04-02 00:45:34 +0300
commit3b1ebd8c79d394fa65b53ee23255617440e2fec4 (patch)
tree1ce584e4b1ebf4126b4f355fa2214b3d7761f4ed /debian/patches
parentda0268d903f8b0241517ae018edd86d9119acf2b (diff)
downloadayatana-indicator-sound-3b1ebd8c79d394fa65b53ee23255617440e2fec4.tar.gz
ayatana-indicator-sound-3b1ebd8c79d394fa65b53ee23255617440e2fec4.tar.bz2
ayatana-indicator-sound-3b1ebd8c79d394fa65b53ee23255617440e2fec4.zip
* debian/patches:
- sound_ubuntustudio.patch: added to prefer pavucontrol as the mixer app in Ubuntu Studio. (LP: #972749)
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/sound_ubuntustudio.patch18
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series
index 2e365f2..6439010 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
sound_nua.patch
sound_xubuntu.patch
+sound_ubuntustudio.patch
diff --git a/debian/patches/sound_ubuntustudio.patch b/debian/patches/sound_ubuntustudio.patch
new file mode 100644
index 0000000..23d27de
--- /dev/null
+++ b/debian/patches/sound_ubuntustudio.patch
@@ -0,0 +1,18 @@
+Description: Use pavucontrol on Ubuntu Studio by default
+ Xfce4-mixer uses gstreamer0.10-pulseaudio, which doesn't provide full access
+ to all audio channels, only to 'Master'.
+Author: Lionel Le Folgoc <mrpouit@ubuntu.com>
+Author: Janne Jokitalo (astraljava) <astraljava@kapsi.fi>
+Last-Update: 2012-04-03
+
+--- indicator-sound-0.8.5.0.orig/src/sound-service-dbus.c
++++ indicator-sound-0.8.5.0/src/sound-service-dbus.c
+@@ -232,6 +232,8 @@ show_sound_settings_dialog (DbusmenuMenu
+ cmd = "gnome-control-center sound-nua";
+ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu"))
+ cmd = "pavucontrol";
++ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "ubuntustudio"))
++ cmd = "pavucontrol";
+ else
+ cmd = "gnome-control-center sound";
+