[packages/chromium-browser] use GNOME3 gnome-volume-control in Th

glen glen at pld-linux.org
Thu Nov 15 23:13:39 CET 2012


commit 2d6e464beaba5503db0ccbd68bbe8a1060d28b11
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 16 00:13:13 2012 +0200

    use GNOME3 gnome-volume-control in Th
    
    patch from Fedora

 chromium-browser.spec       |  2 ++
 gnome3-volume-control.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index a1ff2cc..0a06d23 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -98,6 +98,7 @@ Patch18:	nacl-no-untar.patch
 Patch19:	system-jsoncpp.patch
 Patch20:	system-speex.patch
 Patch21:	system-srtp.patch
+Patch22:	gnome3-volume-control.patch
 URL:		http://www.chromium.org/Home
 %{?with_gconf:BuildRequires:	GConf2-devel}
 BuildRequires:	OpenGL-GLU-devel
@@ -251,6 +252,7 @@ cd src
 %patch17 -p0
 %patch19 -p1
 %patch21 -p1
+%patch22 -p1
 cd ..
 %patch18 -p1
 %patch20 -p1
diff --git a/gnome3-volume-control.patch b/gnome3-volume-control.patch
new file mode 100644
index 0000000..6001885
--- /dev/null
+++ b/gnome3-volume-control.patch
@@ -0,0 +1,12 @@
+diff -up chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc.gnome3 chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc
+--- chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc.gnome3	2011-09-20 04:26:05.000000000 -0400
++++ chromium-14.0.835.186/media/audio/linux/audio_manager_linux.cc	2011-09-27 10:06:22.987780465 -0400
+@@ -191,7 +191,7 @@ void AudioManagerLinux::ShowAudioInputSe
+   base::nix::DesktopEnvironment desktop = base::nix::GetDesktopEnvironment(
+       env.get());
+   std::string command((desktop == base::nix::DESKTOP_ENVIRONMENT_GNOME) ?
+-                      "gnome-volume-control" : "kmix");
++                      "gnome-control-center sound" : "kmix");
+   base::LaunchProcess(CommandLine(FilePath(command)), base::LaunchOptions(),
+                       NULL);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/2d6e464beaba5503db0ccbd68bbe8a1060d28b11



More information about the pld-cvs-commit mailing list