rpms/rhythmbox/F-12 brasero-burn.patch, NONE, 1.1 rhythmbox.spec, 1.267, 1.268

Matthias Clasen mclasen at fedoraproject.org
Tue Oct 6 18:07:19 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/rhythmbox/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27112

Modified Files:
	rhythmbox.spec 
Added Files:
	brasero-burn.patch 
Log Message:
fix audio cd burning


brasero-burn.patch:
 rb-disc-recorder-plugin.c |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

--- NEW FILE brasero-burn.patch ---
diff -up rhythmbox-0.12.5/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c.burn rhythmbox-0.12.5/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c
--- rhythmbox-0.12.5/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c.burn	2009-10-06 13:34:14.296597524 -0400
+++ rhythmbox-0.12.5/plugins/brasero-disc-recorder/rb-disc-recorder-plugin.c	2009-10-06 13:40:09.783578193 -0400
@@ -162,6 +162,8 @@ rb_disc_recorder_plugin_start_burning (R
 	char **args, *xid_str;
 	GError *error = NULL;
 	gboolean ret;
+	GFile *file;
+	gchar *uri;
 	
 	array = g_ptr_array_new ();
 	g_ptr_array_add (array, "brasero");
@@ -169,7 +171,11 @@ rb_disc_recorder_plugin_start_burning (R
 		g_ptr_array_add (array, "-c");
 	else
 		g_ptr_array_add (array, "-r");
-	g_ptr_array_add (array, (gpointer) path);
+
+	file = g_file_new_for_path (path);
+	uri = g_file_get_uri (file);
+	g_ptr_array_add (array, (gpointer) uri);
+	g_object_unref (file);
 
 	main_window =GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (pi->selected_source)));
 	if (main_window && GTK_WIDGET (main_window)->window) {
@@ -210,6 +216,7 @@ rb_disc_recorder_plugin_start_burning (R
 	
 	g_free (xid_str);
 	g_free (args);
+	g_free (uri);
 	
 	return ret;
 }


Index: rhythmbox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rhythmbox/F-12/rhythmbox.spec,v
retrieving revision 1.267
retrieving revision 1.268
diff -u -p -r1.267 -r1.268
--- rhythmbox.spec	28 Sep 2009 18:43:44 -0000	1.267
+++ rhythmbox.spec	6 Oct 2009 18:07:19 -0000	1.268
@@ -3,7 +3,7 @@
 Name: rhythmbox
 Summary: Music Management Application
 Version: 0.12.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+ with exceptions and GFDL
 Group: Applications/Multimedia
 URL: http://projects.gnome.org/rhythmbox/
@@ -54,6 +54,9 @@ Patch0: rhythmbox-0.12.5-use-gnome-sessi
 BuildRequires: automake autoconf libtool
 Patch1: 0001-Use-C-only-for-the-browser-plugin.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=597584
+Patch2: brasero-burn.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
@@ -86,8 +89,9 @@ from, and sending media to UPnP/DLNA net
 %prep
 %setup -q
 %patch0 -p1 -b .inhibit-gnome-session
-
 %patch1 -p1 -b .itms
+%patch2 -p1 -b .brasero-burn
+
 autoreconf -i
 
 # Use the installed louie, not the one in Coherence
@@ -219,6 +223,9 @@ fi
 %{_libdir}/rhythmbox/plugins/upnp_coherence
 
 %changelog
+* Tue Oct  6 2009 Matthias Clasen <mclasen at redhat.com> 0.12.5-4
+- Make burning with brasero actually work, somewhat
+
 * Mon Sep 28 2009 Bastien Nocera <bnocera at redhat.com> 0.12.5-3
 - Fix the symbols for the browser plugin being mangled (#525826)
 




More information about the fedora-extras-commits mailing list