aboutsummaryrefslogtreecommitdiffstats
path: root/packages/libopie/libopie2.inc
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-01-15 03:37:55 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-01-15 03:37:55 +0000
commit18b31b669a67fd9dbfdf043d21817ce42831ee16 (patch)
tree85ac04c6cd78781abbe3fb5a89b39b4118f8b5dd /packages/libopie/libopie2.inc
parent6510c755565cf44a68179f64a6487b9824ee8315 (diff)
downloadopenembedded-18b31b669a67fd9dbfdf043d21817ce42831ee16.tar.gz
libopie2: Enable SQL PIM backend.
* Let users store their data reliably. XML backend is still used by default, user must activate SQLite in config files (see OPIE wiki). * Regarding concerns due to which is wasn't enabled before: "too large for 16MB flash devices" - such devices welcome to disable-override it; "no sync" - apparently, no sync with SQLite backend active, but XML is till by default. * SQLite backend and opie-pimconvert tested to work OK on hx4700 (on small dataset though, more tetsing pending). Suprising;y, I had rather weird issues with sqlite3 on qemuarm.
Diffstat (limited to 'packages/libopie/libopie2.inc')
-rw-r--r--packages/libopie/libopie2.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/libopie/libopie2.inc b/packages/libopie/libopie2.inc
index 17ac4e2605..1e0d4f1b9a 100644
--- a/packages/libopie/libopie2.inc
+++ b/packages/libopie/libopie2.inc
@@ -19,8 +19,12 @@ EXTRA_QMAKEVARS_POST += 'DEFINES+=OPIE_NEW_MALLOC \
DEFINES+=OPIE_NO_ERASE_RECT_HACKFIX \
LIBS+=-L${S} LIBS+="-Wl,-rpath-link,${S}"'
-#NOTE: We no longer enable the sqlite PIM backend here, since a) using it means no sync and b) it's too large for 16MB images
-EXTRA_QMAKEVARS_PRE += 'ENABLE_SQL_PIM_BACKEND=n'
+ENABLE_SQL_PIM_BACKEND = "y"
+# NOTE: Machines with too little amount of flash may want to disable SQL backend support
+# (known not to fit in 16MB). Also, XML backend is still used by default, as SQL doesn't
+# support sync yet.
+#ENABLE_SQL_PIM_BACKEND_smallmachine = "n"
+EXTRA_QMAKEVARS_PRE += 'ENABLE_SQL_PIM_BACKEND=${ENABLE_SQL_PIM_BACKEND}'
MODULES = "opiecore opiedb opiemm opienet opiepim opiesecurity opieui opiebluez"
LIBS = "core2 db2 mm2 net2 pim2 security2 ui2 bluez2"