Bug 18410

Summary: пересборка с libmtp.so.8
Product: Sisyphus Reporter: Dmitriy Khanzhin <jinn>
Component: audacious-pluginsAssignee: Vitaly Lipatov <lav>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: lav
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
патч none

Description Dmitriy Khanzhin 2008-12-31 06:12:59 MSK
У libmtp сменился API.
Судя по
http://libmtp.cvs.sourceforge.net/viewvc/libmtp/libmtp/examples/sendtr.c?r1=1.23&r2=1.24

и по http://sisyphus.ru/srpm/Sisyphus/amarok/patches/0

патч выглядит так:

--- audacious-plugins-1.5.1/src/mtp_up/mtp.c.orig       2008-05-24 02:44:20 +0400
+++ audacious-plugins-1.5.1/src/mtp_up/mtp.c    2008-12-31 05:39:30 +0300
@@ -197,7 +197,8 @@ gint upload_file(Tuple *from_tuple)
 #if DEBUG
     g_print("Uploading track '%s'\n",filename);
 #endif
-    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
+    gentrack->parent_id = 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");

К сожалению, проверить сейчас не могу, но чтобы не забылось.
Comment 1 Dmitriy Khanzhin 2008-12-31 06:14:23 MSK
Created attachment 3175 [details]
патч
Comment 2 Vitaly Lipatov 2008-12-31 09:37:26 MSK
Спасибо, я уже починил в
audacious-plugins-1.5.1-alt6.src.rpm
Comment 3 Dmitriy Khanzhin 2008-12-31 11:04:58 MSK
Ясно, спасибо.