rpms/audacious-plugins/devel audacious-plugins-1.5.1-libmtp.patch, NONE, 1.1 audacious-plugins.spec, 1.31, 1.32

Ralf Ertzinger ertzing at fedoraproject.org
Sat Sep 6 16:16:11 UTC 2008


Author: ertzing

Update of /cvs/extras/rpms/audacious-plugins/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1159

Modified Files:
	audacious-plugins.spec 
Added Files:
	audacious-plugins-1.5.1-libmtp.patch 
Log Message:
* Sat Sep 06 2008 Ralf Ertzinger <ralf at skytale.net> 1.5.1-2
- Incorporate libmtp patch by Linus Walleij (BZ#459293)


audacious-plugins-1.5.1-libmtp.patch:

--- NEW FILE audacious-plugins-1.5.1-libmtp.patch ---
diff -ur audacious-plugins-fedora-1.5.1-orig/src/mtp_up/mtp.c audacious-plugins-fedora-1.5.1/src/mtp_up/mtp.c
--- audacious-plugins-fedora-1.5.1-orig/src/mtp_up/mtp.c	2008-08-17 21:29:48.000000000 +0200
+++ audacious-plugins-fedora-1.5.1/src/mtp_up/mtp.c	2008-08-17 22:35:10.000000000 +0200
@@ -192,12 +192,12 @@
 
     g_free(from_path);
     g_free(tmp);
-    parent_id = mtp_device->default_music_folder;
+    gentrack->parent_id = mtp_device->default_music_folder;
 
 #if DEBUG
     g_print("Uploading track '%s'\n",filename);
 #endif
-    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
+    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
     LIBMTP_destroy_track_t(gentrack);
     if (ret == 0) 
         g_print("Track upload finished!\n");


Index: audacious-plugins.spec
===================================================================
RCS file: /cvs/extras/rpms/audacious-plugins/devel/audacious-plugins.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- audacious-plugins.spec	8 Jun 2008 15:37:59 -0000	1.31
+++ audacious-plugins.spec	6 Sep 2008 16:15:41 -0000	1.32
@@ -2,7 +2,7 @@
 
 Name:           audacious-plugins
 Version:        1.5.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Plugins for the Audacious media player
 
 Group:          Applications/Multimedia
@@ -17,6 +17,7 @@
 Patch0:         audacious-plugins-1.2.2-cddb-buffer.patch
 Patch1:         audacious-plugins-1.4.1-neon-locking.patch
 Patch2:         audacious-plugins-1.4.4-gcc43.patch
+Patch3:         audacious-plugins-1.5.1-libmtp.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  audacious-devel >= %{aud_ver}, esound-devel >= 0.2, libvorbis-devel >= 1.0
@@ -149,6 +150,9 @@
 # Fix regressions due to stricter GCC 4.3 checking
 # %patch2 -p1 -b .gcc43
 
+# Use libmtp 0.3
+%patch3 -p1 -b .libmtp
+
 perl -pi -e 's/^\.SILENT:.*$//' buildsys.mk.in
 
 %build
@@ -245,6 +249,9 @@
 
 
 %changelog
+* Sat Sep 06 2008 Ralf Ertzinger <ralf at skytale.net> 1.5.1-2
+- Incorporate libmtp patch by Linus Walleij (BZ#459293)
+
 * Sun Jun 08 2008 Ralf Ertzinger <ralf at skytale.net> 1.5.1-1
 - Update to 1.5.1
 




More information about the fedora-extras-commits mailing list