From 2f36366b18496c00197951241d684b1f53ff6d3f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Oct 06 2009 18:07:19 +0000 Subject: fix audio cd burning --- diff --git a/brasero-burn.patch b/brasero-burn.patch new file mode 100644 index 0000000..3e2d898 --- /dev/null +++ b/brasero-burn.patch @@ -0,0 +1,33 @@ +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; + } diff --git a/rhythmbox.spec b/rhythmbox.spec index 6c2f171..332e61a 100644 --- a/rhythmbox.spec +++ b/rhythmbox.spec @@ -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-session-to-inhibit.patch 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 network devices. %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 0.12.5-4 +- Make burning with brasero actually work, somewhat + * Mon Sep 28 2009 Bastien Nocera 0.12.5-3 - Fix the symbols for the browser plugin being mangled (#525826)