rpms/totem/F-12 brasero-burn.patch,NONE,1.1 totem.spec,1.262,1.263

Matthias Clasen mclasen at fedoraproject.org
Tue Oct 6 23:56:56 UTC 2009


Author: mclasen

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

Modified Files:
	totem.spec 
Added Files:
	brasero-burn.patch 
Log Message:
fix video burning


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

--- NEW FILE brasero-burn.patch ---
diff -up totem-2.28.1/src/plugins/brasero-disc-recorder/totem-disc-recorder.c.brasero-burn totem-2.28.1/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
--- totem-2.28.1/src/plugins/brasero-disc-recorder/totem-disc-recorder.c.brasero-burn	2009-10-06 19:36:03.540872372 -0400
+++ totem-2.28.1/src/plugins/brasero-disc-recorder/totem-disc-recorder.c	2009-10-06 19:40:07.920865605 -0400
@@ -95,6 +95,8 @@ totem_disc_recorder_plugin_start_burning
 	char **args, *xid_str;
 	GError *error = NULL;
 	gboolean ret;
+	GFile *file;
+	gchar *uri;
 
 	array = g_ptr_array_new ();
 	g_ptr_array_add (array, (gpointer) "brasero");
@@ -102,7 +104,11 @@ totem_disc_recorder_plugin_start_burning
 		g_ptr_array_add (array, (gpointer) "-c");
 	else
 		g_ptr_array_add (array, (gpointer) "-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 = totem_get_main_window (pi->totem);
 	if (main_window && GTK_WIDGET (main_window)->window) {
@@ -135,6 +141,7 @@ totem_disc_recorder_plugin_start_burning
 
 	g_free (xid_str);
 	g_free (args);
+	g_free (uri);
 
 	return ret;
 }


Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/F-12/totem.spec,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -p -r1.262 -r1.263
--- totem.spec	29 Sep 2009 15:12:29 -0000	1.262
+++ totem.spec	6 Oct 2009 23:56:56 -0000	1.263
@@ -6,7 +6,7 @@
 Summary: Movie player for GNOME
 Name: totem
 Version: 2.28.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ with exceptions
 Group: Applications/Multimedia
 URL: http://projects.gnome.org/totem/
@@ -77,6 +77,9 @@ Obsoletes: totem-galago
 Obsoletes: totem-gstreamer < 2.27.1
 Obsoletes: totem-xine < 2.27.1
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=597624
+Patch0: brasero-burn.patch
+
 %description
 Totem is simple movie player for the GNOME desktop. It features a
 simple playlist, a full-screen mode, seek and volume controls, as well as
@@ -184,6 +187,7 @@ audio and video files in the properties 
 
 %prep
 %setup -q
+%patch0 -p1 -b .brasero-burn
 
 %build
 
@@ -380,6 +384,9 @@ fi
 %{_libdir}/totem/plugins/publish
 
 %changelog
+* Tue Oct  6 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.1-2
+- Make video burning work again
+
 * Tue Sep 29 2009 Bastien Nocera <bnocera at redhat.com> 2.28.1-1
 - Update to 2.28.1
 




More information about the fedora-extras-commits mailing list