rpms/totem/OLPC-2 totem-2.18.2-pluginvolume.patch, NONE, 1.1 totem.spec, 1.109, 1.110

Marco Pesenti Gritti (mpg) fedora-extras-commits at redhat.com
Thu Oct 4 19:15:38 UTC 2007


Author: mpg

Update of /cvs/extras/rpms/totem/OLPC-2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3458

Modified Files:
	totem.spec 
Added Files:
	totem-2.18.2-pluginvolume.patch 
Log Message:
* Thu Oct  4 2007 Marco Pesenti Gritti <mpg at redhat.com> - 2.18.2-7
- Patch to hardcode the volume to 50



totem-2.18.2-pluginvolume.patch:

--- NEW FILE totem-2.18.2-pluginvolume.patch ---
--- browser-plugin/totem-plugin-viewer.c.bak	2007-10-04 21:06:26.000000000 +0200
+++ browser-plugin/totem-plugin-viewer.c	2007-10-04 21:06:51.000000000 +0200
@@ -1253,7 +1253,7 @@
 			  G_CALLBACK (on_play_pause), emb);
 
 	gc = gconf_client_get_default ();
-	volume = gconf_client_get_int (gc, GCONF_PREFIX"/volume", NULL);
+	volume = 50; //gconf_client_get_int (gc, GCONF_PREFIX"/volume", NULL);
 	g_object_unref (G_OBJECT (gc));
 
 	bacon_video_widget_set_volume (emb->bvw, volume);


Index: totem.spec
===================================================================
RCS file: /cvs/extras/rpms/totem/OLPC-2/totem.spec,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- totem.spec	28 Sep 2007 16:29:07 -0000	1.109
+++ totem.spec	4 Oct 2007 19:15:05 -0000	1.110
@@ -14,6 +14,7 @@
 Patch1: totem-2.18.1-remove-libsn.patch
 Patch2: totem-2.18.2-plugin-build.patch
 Patch3: totem-2.18.3-pluginmime.patch
+Patch4: totem-2.18.2-pluginvolume.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
@@ -89,6 +90,7 @@
 %patch1 -p1 -b .remove-libsn
 %patch2 -p0 -b .plugin-build
 %patch3 -p0 -b .pluginmime
+%patch4 -p0 -b .pluginvolume
 
 %build
 # try to work around a problem where gst-inspect does 
@@ -192,6 +194,9 @@
 %{_libdir}/*so
 
 %changelog
+* Thu Oct  4 2007 Marco Pesenti Gritti <mpg at redhat.com> - 2.18.2-7
+- Patch to hardcode the volume to 50
+
 * Fri Sep 28 2007 Marco Pesenti Gritti <mpg at redhat.com> - 2.18.2-7
 - Apply patches to make it build and to make it recognize wav
 




More information about the fedora-extras-commits mailing list