rpms/totem/devel totem-set-pulse-role.patch, NONE, 1.1 totem.spec, 1.226, 1.227
Bastien Nocera
hadess at fedoraproject.org
Tue Feb 17 22:34:54 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/totem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10331
Modified Files:
totem.spec
Added Files:
totem-set-pulse-role.patch
Log Message:
* Tue Feb 17 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.91-2
- Add patch to set the PulseAudio application role
totem-set-pulse-role.patch:
--- NEW FILE totem-set-pulse-role.patch ---
Index: src/totem.c
===================================================================
--- src/totem.c (revision 5992)
+++ src/totem.c (working copy)
@@ -160,6 +160,7 @@
g_set_application_name (_("Totem Movie Player"));
gtk_window_set_default_icon_name ("totem");
+ g_setenv("PULSE_PROP_media.role", "video", TRUE);
gtk_about_dialog_set_url_hook (about_url_hook, NULL, NULL);
gtk_about_dialog_set_email_hook (about_email_hook, NULL, NULL);
Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/devel/totem.spec,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -r1.226 -r1.227
--- totem.spec 17 Feb 2009 14:57:49 -0000 1.226
+++ totem.spec 17 Feb 2009 22:34:23 -0000 1.227
@@ -9,7 +9,7 @@
Summary: Movie player for GNOME
Name: totem
Version: 2.25.91
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Multimedia
URL: http://projects.gnome.org/totem/
@@ -17,6 +17,7 @@
Source1: totem-bin-backend-ondemand.sh
# Will be removed when we switch to playbin2
Patch0: totem-use-pulsesink-volume.patch
+Patch1: totem-set-pulse-role.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): GConf2 >= 2.14
@@ -217,6 +218,7 @@
%setup -q -c
pushd totem-%{version}/
%patch0 -p0 -b .pulsesink-vol
+%patch1 -p0
popd
# Whatever needs to be changed in both copies do here
## remember to update me when changing %doc
@@ -494,6 +496,9 @@
%endif
%changelog
+* Tue Feb 17 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.91-2
+- Add patch to set the PulseAudio application role
+
* Tue Feb 17 2009 - Bastien Nocera <bnocera at redhat.com> - 2.25.91-1
- Update to 2.25.91
More information about the fedora-extras-commits
mailing list