Commit d8d24b06 authored by Ajay Patel's avatar Ajay Patel

Add LSM

parent 86de32d2
Pipeline #36981329 failed with stages
in 10 minutes and 16 seconds

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

lsb-db>=0.6.4
\ No newline at end of file
......@@ -10,15 +10,13 @@ There are a few components that need updating when updating the version of `sqli
4. **Update SQLite3 Extension Functions:** Download the latest `extension-functions.c` from the [SQLite website](https://www.sqlite.org/contrib) and place it in `third_party/sqlite3/ext/misc`.
5. **Update the SpatiaLite Extension:** Download the latest `libspatialite` from the [SpatiaLite website](`https://www.gaia-gis.it/fossil/libspatialite/index`) and place it under `third_party/sqlite3/spatialite`.
5. **Copy `shell.c`:** Copy `shell.c` from the root of `third_party/_apsw` (which was updated in step #1) to `third_party/sqlite3/apsw_shell.c`.
6. **Copy `shell.c`:** Copy `shell.c` from the root of `third_party/_apsw` (which was updated in step #1) to `third_party/sqlite3/apsw_shell.c`.
6. **Update ICU:** Download the ICU source files (Unix version) from the [ICU website](http://site.icu-project.org/download). And add the `source/common` folder to the `third_party/sqlite3/icu` folder and then the `source/i8n` folder to the `third_party/sqlite3/icu` folder (merge the two directories). Also add the `source/stubdata/stubdata.cpp` file to the `third_party/sqlite3/icu` folder and the `source/data/in/icudt*l.dat` file to the `third_party/sqlite3/icu/data/` folder.
7. **Update ICU:** Download the ICU source files (Unix version) from the [ICU website](http://site.icu-project.org/download). And add the `source/common` folder to the `third_party/sqlite3/icu` folder and then the `source/i8n` folder to the `third_party/sqlite3/icu` folder (merge the two directories). Also add the `source/stubdata/stubdata.cpp` file to the `third_party/sqlite3/icu` folder and the `source/data/in/icudt*l.dat` file to the `third_party/sqlite3/icu/data/` folder.
7. **Patch ICU:** Make modifications to the source files in `third_party/sqlite3/icu` as instructed by `icu_sources.py`.
8. **Patch ICU:** Make modifications to the source files in `third_party/sqlite3/icu` as instructed by `icu_sources.py`.
9. **Update `miniz`:** The source code is available on [GitHub](https://github.com/richgel999/miniz). Rename `miniz.h` to `zlib.h` and `miniz.c` to `zlib.c` and place all of the `.c` and `.h` files in the project root under `third_party/sqlite3/`. Modify the `zlib.c`, `miniz_zip.h`, and `miniz_tdef.c` file's `#include "miniz.h"` with `#include "zlib.h"`. Also add the follwing:
8. **Update `miniz`:** The source code is available on [GitHub](https://github.com/richgel999/miniz). Rename `miniz.h` to `zlib.h` and `miniz.c` to `zlib.c` and place all of the `.c` and `.h` files in the project root under `third_party/sqlite3/`. Modify the `zlib.c`, `miniz_zip.h`, and `miniz_tdef.c` file's `#include "miniz.h"` with `#include "zlib.h"`. Also add the follwing:
```c
#if __linux
#define _LARGEFILE64_SOURCE 1
......@@ -26,4 +24,4 @@ There are a few components that need updating when updating the version of `sqli
```
to the top of `zlib.h`.
10. **Update Documentation:** Update any documentation in the `README.md` with the SQLite version compiled.
\ No newline at end of file
9. **Update Documentation:** Update any documentation in the `README.md` with the SQLite version compiled.
\ No newline at end of file
Original Author:
Alessandro Furieri <[email protected]>
Contributors:
Klaus Foerster <[email protected]>
Luigi Costalli <[email protected]>
Ahmadou Dicko <[email protected]>
Brad Hards <[email protected]>
Pepijn Van Eeckhoudt <[email protected]>
The Vanuatu Team - University of Toronto - Supervisor:
Greg Wilson <[email protected]>
[you can find the complete team composition in gg_wkt.c]
LOCAL_PATH:= $(call my-dir)/..
include ${CLEAR_VARS}
LOCAL_SRC_FILES := \
src/gaiaaux/gg_sqlaux.c \
src/gaiaexif/gaia_exif.c \
src/gaiageo/gg_advanced.c \
src/gaiageo/gg_endian.c \
src/gaiageo/gg_ewkt.c \
src/gaiageo/gg_geodesic.c \
src/gaiageo/gg_geoJSON.c \
src/gaiageo/gg_geometries.c \
src/gaiageo/gg_geoscvt.c \
src/gaiageo/gg_gml.c \
src/gaiageo/gg_kml.c \
src/gaiageo/gg_relations.c \
src/gaiageo/gg_transform.c \
src/gaiageo/gg_vanuatu.c \
src/gaiageo/gg_wkb.c \
src/gaiageo/gg_wkt.c \
src/spatialite/mbrcache.c \
src/spatialite/spatialite.c \
src/spatialite/virtualfdo.c \
src/spatialite/virtualnetwork.c \
src/spatialite/virtualspatialindex.c \
src/srsinit/srs_init.c \
src/versioninfo/version.c
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/jni/src/headers \
$(LOCAL_PATH)/src/headers \
$(LOCAL_PATH)/../SQLite
LOCAL_MODULE := spatialite
LOCAL_LDLIBS := -ldl -llog
LOCAL_CFLAGS := \
-fvisibility=hidden \
-DOMIT_GEOCALLBACKS \
-DOMIT_GEOS \
-DOMIT_PROJ \
-DOMIT_EPSG \
-DOMIT_ICONV \
-DVERSION="\"3.0.2\""
include $(BUILD_SHARED_LIBRARY)
# -------------------
# Android_4.3.0.mk
# [from 'jni/' directory]
# ndk-build clean
# ndk-build
# -------------------
LOCAL_PATH := $(call my-dir)
JSQLITE_PATH := javasqlite-20120209
SPATIALITE_PATH := libspatialite-4.3.0
GEOS_PATH := geos-3.4.2
PROJ4_PATH := proj-4.9.1
SQLITE_PATH := sqlite-amalgamation-3081002
ICONV_PATH := libiconv-1.13.1
XML2_PATH := libxml2-2.9.1
LZMA_PATH := xz-5.1.3alpha
include $(LOCAL_PATH)/iconv-1.13.1.mk
include $(LOCAL_PATH)/sqlite-3081002.mk
include $(LOCAL_PATH)/proj4-4.9.1.mk
include $(LOCAL_PATH)/geos-3.4.2.mk
include $(LOCAL_PATH)/libxml2-2.9.1.mk
include $(LOCAL_PATH)/lzma-xz-5.1.3a.mk
include $(LOCAL_PATH)/spatialite-4.3.0.mk
include $(LOCAL_PATH)/jsqlite-20120209.mk
$(call import-module,android/cpufeatures)
This diff is collapsed.
This diff is collapsed.
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').