Anything linking against SpatiaLite also needs to use Homebrew's SQLite so that
loadable extensions are enabled along with RTree indices.
This commit cleans up several formulae to use the specific `opt/sqlite/lib`
prefix rather than `HOMEBREW_PREFIX/lib` and also adds this searching to
`gdal`.
However, this hack is getting a little large. The best fix would probably be to
flag SQLite as `keg_only` so that lib path munging is handled automagically for
everything with a dependency tree that includes SQLite.
Ammend links for freexl, libspatialite, librasterlite, libgaiagraphics and
spatialite-tools to point at the archives rather than the front page.
The front page link breaks when new releases are made.
-O3/-O2 leads to corrupt rtree indexes on 10.6/10.7 with both gcc and llvm-gcc.
This issue also affects SpatiaLite.
ClosesHomebrew/homebrew#8584.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
libspatialite:
* completely refactored CSV/TXT reader
* now supporting KML and GML geometry output [AsKML(), AsGml()]
* introduced a new SQL function supporting easy WGS84 POINTs filtering: PtDistWithin()
* fixed several memory leaks (mainly related with the new WKT parser introduced in RC-3)
* fixed some bugs
* major updates to the build scripts
* update: SQLite v.3.7.3 [introducing Geometry Callbacks support: RTreeIntersects(), RTreeWithin(), RTreeContains(), RTreeDistWithin()]
spatialite-tools
* for the sake of clarity the spatialite_osm tool has been renamed as spatialite_osm_net
* new CLI tool: spatialite_osm_raw
* major updates to the build scripts
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Added version tag and removed the initialization database since
libspatialite now supports self initialization.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews