[Pkg-cli-apps-commits] [SCM] tangerine branch, master, updated. debian/0.3.3-2-1-g01da69f

Jo Shields directhex at apebox.org
Sat Aug 20 20:20:57 UTC 2011


The following commit has been merged in the master branch:
commit 01da69fc1916551c69ca98c34c9055ed1faecdfe
Author: Jo Shields <directhex at apebox.org>
Date:   Sat Aug 20 21:20:05 2011 +0100

    Patch to build the File plugin against Db4o 8.0.

diff --git a/debian/patches/port_file_plugin_to_db4o_8.0.patch b/debian/patches/port_file_plugin_to_db4o_8.0.patch
new file mode 100644
index 0000000..d09eebb
--- /dev/null
+++ b/debian/patches/port_file_plugin_to_db4o_8.0.patch
@@ -0,0 +1,22 @@
+Index: tangerine/plugins/File/src/FilePlugin.cs
+===================================================================
+--- tangerine.orig/plugins/File/src/FilePlugin.cs	2011-08-20 21:09:30.000000000 +0100
++++ tangerine/plugins/File/src/FilePlugin.cs	2011-08-20 21:19:46.000000000 +0100
+@@ -127,7 +127,7 @@
+                 odb = Db4oFactory.OpenFile (Path.Combine (Daemon.ConfigDirectory, "tracks.db"));
+             }
+ 
+-            IObjectSet result = odb.Get (typeof (Track));
++            IObjectSet result = odb.QueryByExample (typeof (Track));
+             log.DebugFormat ("{0} songs in database", result.Count);
+             
+             foreach (Track song in result) {
+@@ -261,7 +261,7 @@
+                 if (UpdateTrack (track, file)) {
+                     db.AddTrack (track);   
+                     trackHash[file] = track;
+-                    odb.Set (track);
++                    odb.Store (track);
+                 }
+             } catch {
+             }
diff --git a/debian/patches/series b/debian/patches/series
index d2c4e4e..ebfe800 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+port_file_plugin_to_db4o_8.0.patch
 kfreebsd_use_assemblyrefs_in_configure.ac.patch
 CVE-2010-3381-insecure-library-loading
 dbus-sharp.patch

-- 
tangerine



More information about the Pkg-cli-apps-commits mailing list