[Pkg-cli-apps-commits] r3542 - in /packages/beagle/trunk/debian: changelog patches/00list patches/checkTextCacheVersion.dpatch

jsogo at users.alioth.debian.org jsogo at users.alioth.debian.org
Sun Dec 9 21:10:45 UTC 2007


Author: jsogo
Date: Sun Dec  9 21:10:45 2007
New Revision: 3542

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=3542
Log:
beagle:
 + add patch for known sqlite3 problem with older databases
   http://beagle-project.org/Known_Issues

Added:
    packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch   (with props)
Modified:
    packages/beagle/trunk/debian/changelog
    packages/beagle/trunk/debian/patches/00list

Modified: packages/beagle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/beagle/trunk/debian/changelog?rev=3542&op=diff
==============================================================================
--- packages/beagle/trunk/debian/changelog (original)
+++ packages/beagle/trunk/debian/changelog Sun Dec  9 21:10:45 2007
@@ -49,10 +49,12 @@
      + icedove: update
      + fix_desktop_files: applied upstream
      + use-python2.4: not needed any more
+     + checkTextCacheVersion: new. Fixes problems with older Sqlite3 databases
   * debian/beagle.menu: use Applications section instead of old Apps
   * debian/beagle.dirs: don't create usr/share/autostart and mozilla-extension
-
- -- Jose Carlos Garcia Sogo <jsogo at debian.org>  Sun, 09 Dec 2007 21:45:38 +0100
+  * 
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org>  Sun, 09 Dec 2007 22:09:15 +0100
 
 beagle (0.2.18-1) unstable; urgency=low
 

Modified: packages/beagle/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/beagle/trunk/debian/patches/00list?rev=3542&op=diff
==============================================================================
--- packages/beagle/trunk/debian/patches/00list (original)
+++ packages/beagle/trunk/debian/patches/00list Sun Dec  9 21:10:45 2007
@@ -10,3 +10,4 @@
 fix_GMime.StreamFs.Seek_usage
 fix_UiUtil.dll.config
 fix_Util.dll.config
+checkTextCacheVersion.dpatch

Added: packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch?rev=3542&op=file
==============================================================================
--- packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch (added)
+++ packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch Sun Dec  9 21:10:45 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## checkTextCacheVersion.dpatch by Jose Carlos Garcia Sogo <jsogo at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix problem with Sqlite database incompatibility.
+##     Taken from r4251. http://beagle-project.org/Known_Issues
+
+ at DPATCH@
+diff -urNad beagle-0.3.0~/beagled/TextCache.cs beagle-0.3.0/beagled/TextCache.cs
+--- beagle-0.3.0~/beagled/TextCache.cs	2007-11-21 00:45:08.000000000 +0100
++++ beagle-0.3.0/beagled/TextCache.cs	2007-12-09 22:07:36.000000000 +0100
+@@ -132,6 +132,10 @@
+ 				} catch (ApplicationException ex) {
+ 					Logger.Log.Warn ("Likely sqlite database version mismatch trying to read from {0}.  Purging.", db_filename);
+ 					create_new_db = true;
++				} catch (SqliteException ex) {
++					// When the table name changed from 0.2.18 -> 0.3.0.
++					Logger.Log.Warn ("Sqlite error: {0}. Purging textcache.", ex.Message);
++				        create_new_db = true;
+ 				}
+ 
+ 				if (reader != null)

Propchange: packages/beagle/trunk/debian/patches/checkTextCacheVersion.dpatch
------------------------------------------------------------------------------
    svn:executable = *




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