rpms/rhythmbox/devel rb-set-pulse-prop.patch, NONE, 1.1 rhythmbox.spec, 1.225, 1.226

Bastien Nocera hadess at fedoraproject.org
Tue Feb 17 22:52:17 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/rhythmbox/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12129

Modified Files:
	rhythmbox.spec 
Added Files:
	rb-set-pulse-prop.patch 
Log Message:
* Tue Feb 17 2009 - Bastien Nocera <bnocera at redhat.com> - 0.11.6-25.r6096
- Add patch to set the PulseAudio properties


rb-set-pulse-prop.patch:

--- NEW FILE rb-set-pulse-prop.patch ---
Index: shell/main.c
===================================================================
--- shell/main.c	(revision 6149)
+++ shell/main.c	(working copy)
@@ -267,6 +267,8 @@
 
 		gtk_window_set_default_icon_name ("rhythmbox");
 
+		g_setenv ("PULSE_PROP_media.role", "music", TRUE);
+
 		rb_shell = rb_shell_new (no_registration, no_update, dry_run, rhythmdb_file, playlists_file);
 		g_object_weak_ref (G_OBJECT (rb_shell), main_shell_weak_ref_cb, NULL);
 		if (!no_registration && session_bus != NULL) {


Index: rhythmbox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rhythmbox/devel/rhythmbox.spec,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- rhythmbox.spec	13 Feb 2009 11:30:27 -0000	1.225
+++ rhythmbox.spec	17 Feb 2009 22:51:47 -0000	1.226
@@ -3,7 +3,7 @@
 Name: rhythmbox
 Summary: Music Management Application 
 Version: 0.11.6
-Release: 24.r6096%{?dist}
+Release: 25.r6096%{?dist}
 License: GPLv2+ with exceptions and GFDL
 Group: Applications/Multimedia
 URL: http://projects.gnome.org/rhythmbox/
@@ -63,6 +63,8 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=565056
 Patch3: rb-mb3-crash.patch
 
+Patch4: rb-set-pulse-prop.patch
+
 %description
 Rhythmbox is an integrated music management application based on the powerful
 GStreamer media framework. It has a number of features, including an easy to
@@ -101,6 +103,7 @@
 pushd plugins/audiocd/
 %patch3 -p1 -b .mb3-crash
 popd
+%patch4 -p0
 
 # Use the installed louie, not the one in Coherence
 find plugins/coherence/upnp_coherence/ -type f -exec sed -i 's/coherence.extern.louie as louie/louie/' '{}' ';'
@@ -237,6 +240,9 @@
 %{_libdir}/rhythmbox/plugins/upnp_coherence
 
 %changelog
+* Tue Feb 17 2009 - Bastien Nocera <bnocera at redhat.com> - 0.11.6-25.r6096
+- Add patch to set the PulseAudio properties
+
 * Fri Feb 13 2009 - Bastien Nocera <bnocera at redhat.com> - 0.11.6-24.r6096
 - Use the pulsesink's volume instead of our own one
 - Fix crasher when musicbrainz3 doesn't get a match for an audio CD (#481441)




More information about the fedora-extras-commits mailing list