This commit includes reverts of the last attempt to bump sqlite: git revert --no-editc4c282f8ec014174f00d835b5659eadb481210e9296744b0f4939244b828f0a272ef14274c36578fand the following new changes: The autoconf-based configure script until version 3.48.0 enabled rtree support by default: https://github.com/sqlite/sqlite/blob/version-3.48.0/autoconf/configure.ac#L180 while the autosetup-based needs -DSQLITE_ENABLE_RTREE https://github.com/sqlite/sqlite/blob/version-3.50.4/autosetup/sqlite-config.tcl#L763 Added Config.in option for RTREE support and enabled it for gdal to provide a needed dependency: https://github.com/OSGeo/gdal/blob/v3.11.4/cmake/helpers/CheckDependentLibraries.cmake#L277 Added upstream patch to fix forced addition of rpath and added configure option --disable-rpath to target build. Added configure option --soname=legacy to fix wrong library name which breaks linking of kodi:7f2281bd7cAdded configure option --disable-shared for static builds. Added build fixes for BR2_m68k_cf. Removed SQLITE_CONF_OPTS and readline support from host build to avoid dependencies. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Tested-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit2cc346e763) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
74 lines
2.6 KiB
Plaintext
74 lines
2.6 KiB
Plaintext
config BR2_PACKAGE_SQLITE
|
|
bool "sqlite"
|
|
help
|
|
SQLite is a small C library that implements a
|
|
self-contained, embeddable, zero-configuration SQL database
|
|
engine.
|
|
|
|
https://www.sqlite.org/
|
|
|
|
if BR2_PACKAGE_SQLITE
|
|
|
|
config BR2_PACKAGE_SQLITE_STAT4
|
|
bool "Additional query optimizations (stat4)"
|
|
help
|
|
Adds additional logic to the ANALYZE command and to the
|
|
query planner that can help SQLite to choose a better query
|
|
plan under certain situations.
|
|
|
|
config BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
|
|
bool "Enable convenient access to meta-data about tables and queries"
|
|
help
|
|
When this option is defined there are some additional APIs
|
|
enabled to access meta-data about tables and queries (see
|
|
https://sqlite.org/compile.html).
|
|
|
|
config BR2_PACKAGE_SQLITE_ENABLE_FTS3
|
|
bool "Enable version 3 of the full-text search engine"
|
|
help
|
|
When this option is defined in the amalgamation (see
|
|
http://www.sqlite.org/amalgamation.html), version 3 of the
|
|
full-text search engine is added to the build automatically.
|
|
|
|
config BR2_PACKAGE_SQLITE_ENABLE_RTREE
|
|
bool "Enable the RTREE extension for SQLite"
|
|
help
|
|
When this option is defined in the amalgamation, the RTREE
|
|
extension is added to the build automatically.
|
|
|
|
config BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY
|
|
bool "Enable sqlite3_unlock_notify() interface"
|
|
help
|
|
This option enables the sqlite3_unlock_notify() interface
|
|
and its accosiated functionality. See the documentation
|
|
http://www.sqlite.org/unlock_notify.html for additional
|
|
information.
|
|
|
|
config BR2_PACKAGE_SQLITE_SECURE_DELETE
|
|
bool "Set the secure_delete pragma on by default"
|
|
help
|
|
This compile-time option changes the default settings of the
|
|
secure_delete pragma. When this option is not used,
|
|
secure_delete defaults to off. When this option is present,
|
|
secure_delete defaults to on.
|
|
|
|
The secure_delete setting causes deleted content to be
|
|
overwritten with zeros. There is a small performance penalty
|
|
for this since additional I/O must occur. On the other hand,
|
|
secure_delete can prevent sensitive information from
|
|
lingering in unused parts of the database file after it has
|
|
allegedly been deleted. See the documentation on the
|
|
http://www.sqlite.org/pragma.html#pragma_secure_delete for
|
|
additional information.
|
|
|
|
config BR2_PACKAGE_SQLITE_NO_SYNC
|
|
bool "Disable fsync"
|
|
help
|
|
By default SQLite forces all database transactions to
|
|
storage immediately using fsync() to protect against data
|
|
loss in case of power failure. This option turns this
|
|
behavior off resulting in higher performance especially when
|
|
using slow flash storage.
|
|
|
|
endif
|