Source: sqlite3
Version: 3.11.0-2
Severity: important
Tags: patch

Hi,

as you probably know, fts3_tokenizer support in sqlite3 is problematic
and has been disabled by default by upstream in 3.11
tracker, a desktop search engine, is a user of that API.
Apparently, the issues are not really fixable in fts3, so tracker was
ported to use the fts5 API.
I would therefor kindly ask you to enable fts5 support so I can upload
newer versions of tracker which use fts5 instead of fts3.

See also the (tracker) upstream discussion at
https://bugzilla.gnome.org/show_bug.cgi?id=762226

Enabling fts5 support should be as simple as the attached patch.

Thanks for considering.

Regards,
Michael

[1] https://www.sqlite.org/releaselog/3_11_0.html


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru sqlite3-3.11.0/debian/changelog sqlite3-3.11.0/debian/changelog
--- sqlite3-3.11.0/debian/changelog	2016-02-24 00:24:03.000000000 +0100
+++ sqlite3-3.11.0/debian/changelog	2016-03-02 01:18:19.000000000 +0100
@@ -1,3 +1,10 @@
+sqlite3 (3.11.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable fts5 support.
+
+ -- Michael Biebl <bi...@debian.org>  Wed, 02 Mar 2016 01:18:09 +0100
+
 sqlite3 (3.11.0-2) unstable; urgency=low
 
   * Compile with SQLITE_ENABLE_FTS3_TOKENIZER for backwards compatibility
diff -Nru sqlite3-3.11.0/debian/libsqlite3-0.symbols sqlite3-3.11.0/debian/libsqlite3-0.symbols
--- sqlite3-3.11.0/debian/libsqlite3-0.symbols	2016-01-06 21:48:43.000000000 +0100
+++ sqlite3-3.11.0/debian/libsqlite3-0.symbols	2016-03-02 01:22:40.000000000 +0100
@@ -98,6 +98,7 @@
  sqlite3_finalize@Base 3.5.9
  sqlite3_free@Base 3.5.9
  sqlite3_free_table@Base 3.5.9
+ sqlite3_fts5_may_be_corrupt@Base 3.11.0
  sqlite3_get_autocommit@Base 3.5.9
  sqlite3_get_auxdata@Base 3.5.9
  sqlite3_get_table@Base 3.5.9
diff -Nru sqlite3-3.11.0/debian/rules sqlite3-3.11.0/debian/rules
--- sqlite3-3.11.0/debian/rules	2016-02-23 21:32:31.000000000 +0100
+++ sqlite3-3.11.0/debian/rules	2016-03-02 01:17:54.000000000 +0100
@@ -54,6 +54,7 @@
 	  $(confflags) --enable-threadsafe \
 	  --enable-load-extension \
 	  --enable-json1 \
+	  --enable-fts5 \
 	  --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 	  --libexecdir=\$${libdir}/sqlite3 \
 	  TCLLIBDIR=/usr/lib/tcltk/sqlite3 \

Reply via email to