GNOME Bugzilla – Bug 661947
banshee does not compile against current libgpod
Last modified: 2012-04-03 14:58:18 UTC
Created attachment 199160 [details] [review] patch to fix the issue current behavior: banshee does not compile against current libgpod release 0.8.2: how to reproduce: - compile banshee with ipod / appledevice support - in my case: latest official mono release 2.10.6 current behavior: [...] Making all in Banshee.Dap.AppleDevice /usr/bin/gmcs -define:RELEASE -nowarn:0278 -nowarn:0078 -debug -target:library -out:../../../bin/Banshee.Dap.AppleDevice.dll -r:../../../bin/Banshee.Core.dll -r:../../../bin/Banshee.Dap.dll -r:../../../bin/Banshee.Services.dll -r:../../../bin/Banshee.ThickClient.dll -r:../../../bin/Banshee.Widgets.dll -r:../../../bin/Hyena.Data.Sqlite.dll -r:../../../bin/Hyena.Gui.dll -r:../../../bin/Hyena.dll -r:../../../bin/Lastfm.dll -r:../../../bin/Mono.Media.dll -r:../../../bin/MusicBrainz.dll -r:/usr/lib/libgpod/libgpod-sharp.dll -r:/usr/lib/mono/dbus-sharp-1.0/dbus-sharp.dll -r:/usr/lib/mono/dbus-sharp-glib-1.0/dbus-sharp-glib.dll -r:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.Setup.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.dll -r:/usr/lib/mono/taglib-sharp/taglib-sharp.dll -r:ICSharpCode.SharpZipLib -r:Mono.Cairo -r:Mono.Posix -r:System -resource:./Banshee.Dap.AppleDevice.addin.xml,Banshee.Dap.AppleDevice.addin.xml ./Banshee.Dap.AppleDevice/AppleDeviceSource.cs ./Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs ../../../src/AssemblyInfo.cs ./Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs(218,24): error CS0266: Cannot implicitly convert type `int' to `uint'. An explicit conversion exists (are you missing a cast?) Compilation failed: 1 error(s), 0 warnings make[4]: *** [../../../bin/Banshee.Dap.AppleDevice.dll] Error 1 According to libgpod's API the type of Track.Size seems to be "uint" instead of "int": libgpod/bindings/mono/libgpod-sharp/Track.cs: [...] public uint Size { get { return ((Itdb_Track *) Native)->size; } set { ((Itdb_Track *) Native)->size = value; } } [...] The issue is in release 2.2 as well as in git head. I have attached a patch to fix the problem.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 655660 ***
*** Bug 673432 has been marked as a duplicate of this bug. ***