[Pkg-mono-svn-commits] rev 3359 - in non-group/banshee/trunk/debian: . patches
Sebastian Dröge
slomo at alioth.debian.org
Thu Sep 20 16:54:54 UTC 2007
Author: slomo
Date: 2007-09-20 16:54:54 +0000 (Thu, 20 Sep 2007)
New Revision: 3359
Added:
non-group/banshee/trunk/debian/patches/08_ipod-sharp-0.6.4.patch
Modified:
non-group/banshee/trunk/debian/changelog
Log:
* debian/patches/08_ipod-sharp-0.6.4.patch:
+ Fix build with ipod-sharp 0.6.4.
Modified: non-group/banshee/trunk/debian/changelog
===================================================================
--- non-group/banshee/trunk/debian/changelog 2007-09-20 16:22:40 UTC (rev 3358)
+++ non-group/banshee/trunk/debian/changelog 2007-09-20 16:54:54 UTC (rev 3359)
@@ -8,6 +8,8 @@
Patch from upstream SVN.
* debian/control:
+ Build depend on ipod-sharp 0.6.4 to get the new version.
+ * debian/patches/08_ipod-sharp-0.6.4.patch:
+ + Fix build with ipod-sharp 0.6.4.
-- Sebastian Dröge <slomo at debian.org> Thu, 20 Sep 2007 18:05:03 +0200
Added: non-group/banshee/trunk/debian/patches/08_ipod-sharp-0.6.4.patch
===================================================================
--- non-group/banshee/trunk/debian/patches/08_ipod-sharp-0.6.4.patch (rev 0)
+++ non-group/banshee/trunk/debian/patches/08_ipod-sharp-0.6.4.patch 2007-09-20 16:54:54 UTC (rev 3359)
@@ -0,0 +1,20 @@
+--- src/Dap/Banshee.Dap.Ipod/IpodDap.cs 2007-09-07 08:40:38.000000000 +0200
++++ src/Dap/Banshee.Dap.Ipod/IpodDap.cs 2007-09-20 18:44:56.000000000 +0200
+@@ -117,13 +117,15 @@
+ try {
+ device = new IPod.Device(hal_device["block.device"]);
+ if(File.Exists(Path.Combine(device.ControlPath, Path.Combine("iTunes", "iTunesDB")))) {
+- device.LoadTrackDatabase();
++ int version = device.TrackDatabase.Version;
++ if (version < 0)
++ version = 0;
+ } else {
+ throw new DatabaseReadException("iTunesDB does not exist");
+ }
+ database_supported = true;
+ } catch(DatabaseReadException) {
+- device.LoadTrackDatabase(true);
++ device.CreateEmptyTrackDatabase();
+ database_supported = false;
+ } catch {
+ return InitializeResult.Invalid;
More information about the Pkg-mono-svn-commits
mailing list