Subject: [PATCH 5/6] gnu: sqlite: Enable FTS3.

From: Pierre Langlois <[email-masked]>
Date: Sat, 18 Feb 2017 18:02:33 +0000

* gnu/packages/databases.scm (sqlite)[arguments]: Enable configure-flags
  -DSQLITE_ENABLE_FST3 -DSQLITE_ENABLE_FTS2_PARENTHESIS
  -DSQLITE_ENABLE_FTS3_TOKENIZER
---
 gnu/packages/databases.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index fd8baa153..171c85eef 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 Andy Patterson <[email-masked]>
 ;;; Copyright © 2017 Marius Bakke <[email-masked]>
 ;;; Copyright © 2017 Thomas Danckaert <[email-masked]>
+;;; Copyright © 2017 Pierre Langlois <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -704,9 +705,13 @@ for example from a shell script.")
       ;; Add -DSQLITE_SECURE_DELETE, -DSQLITE_ENABLE_UNLOCK_NOTIFY and
       ;; -DSQLITE_ENABLE_DBSTAT_VTAB to CFLAGS.  GNU Icecat will refuse
       ;; to use the system SQLite unless these options are enabled.
+      ;; Additionaly, Clementine needs support for the FTS3 extension.
       (list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
                            "-DSQLITE_ENABLE_UNLOCK_NOTIFY "
-                           "-DSQLITE_ENABLE_DBSTAT_VTAB"))))
+                           "-DSQLITE_ENABLE_DBSTAT_VTAB "
+                           "-DSQLITE_ENABLE_FTS3 "
+                           "-DSQLITE_ENABLE_FTS3_PARENTHESIS "
+                           "-DSQLITE_ENABLE_FTS3_TOKENIZER"))))
    (home-page "http://www.sqlite.org/")
    (synopsis "The SQLite database management system")
    (description
-- 
2.11.1