Bug 230995 - media-plugins/audacious-plugins-1.5.1 fails w/libmtp-0.3.0: mtp.c:200: error: too many arguments to function ‘LIBMTP_Send_Track_From_File’
Bug#: 230995 Product:  Gentoo Linux Version: 2008.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chainsaw@gentoo.org Reported By: loki_val@gentoo.org
Component: Applications
URL:  http://bugzilla.atheme.org/show_bug.cgi?id=35
Summary: media-plugins/audacious-plugins-1.5.1 fails w/libmtp-0.3.0: mtp.c:200: error: too many arguments to function ‘LIBMTP_Send_Track_From_File’
Keywords:  InCVS
Status Whiteboard: 
Opened: 2008-07-06 21:25 0000
Description:   Opened: 2008-07-06 21:25 0000
Entering directory mtp_up.
Successfully generated dependencies.
Successfully compiled filetype.c.
mtp.c: In function ‘upload_file’:
mtp.c:200: error: too many arguments to function
‘LIBMTP_Send_Track_From_File’
Failed to compile mtp.c!
make[5]: *** [mtp.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1

Just talked with Majeru from Audacious team, who says they'll have a fix up
soon, so let's watch the hg-web at http://hg.atheme.org/audacious-plugins from
time to time
log:
[23:08] <majeru> loki_val: i'll fix the mtp plugin soon
[23:09] <loki_val> majeru: I could get used to this kind of service. :-)

------- Comment #1 From Tony Vroon 2008-07-06 22:15:54 0000 -------
API breakage, fun fun fun.
Alright then, let's restrict that dependency a bit. Hopefully majeru can get a
fix in before 1.5.2

------- Comment #2 From Tony Vroon 2008-07-06 22:23:05 0000 -------
Please cvs up & confirm that the dependency restriction fixes the build bug.

------- Comment #3 From Peter Alfredsen 2008-07-06 22:28:04 0000 -------
(In reply to comment #2)
> Please cvs up & confirm that the dependency restriction fixes the build bug.
> 

It.. Does. But at the cost of breaking the deptree. So somebody better kick
majeru into gear.

------- Comment #4 From Tony Vroon 2008-07-06 22:31:31 0000 -------
I can take the USE-flag out if you want. Breaking API sucks, please tell them
not to do it anymore.

------- Comment #5 From Peter Alfredsen 2008-09-03 12:27:17 0000 -------
Added a fix from upstream bugzilla and fixed some b0rkage that was revealed by
eautoreconf being run on sources.

+*audacious-plugins-1.5.1-r2 (03 Sep 2008)
+
+  03 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/1.5.1-libmtp-0.3.0-API.patch, +audacious-plugins-1.5.1-r2.ebuild:
+  Add libmtp-0.3.0 API support, patch from upstream bugzilla rebased. Fix
+  configure being invoked with wrong options (flac->flacng,
+  cdaudio-ng->cdaudio).
+