-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#21511) libspatialite: add v5.1.0, bump deps
* libspatialite: bump dependencies * libspatialite: drop force=True * libspatialite: bump deps * libspatialite: add a workaround for NMakeDeps quoting issues conan-io/conan#13603 * libspatialite: add v5.1.0 * libspatialite: bump deps * libspatialite: fix MSVC build
- Loading branch information
Showing
7 changed files
with
78 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
sources: | ||
"5.1.0": | ||
url: "https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.1.0.tar.gz" | ||
sha256: "43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080" | ||
"5.0.1": | ||
url: "https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.0.1.tar.gz" | ||
sha256: "eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98" | ||
patches: | ||
"5.1.0": | ||
- patch_file: "patches/5.1.0/0002-nmake-honor-flags.patch" | ||
- patch_file: "patches/5.0.1/0003-msvc-minizip.patch" | ||
"5.0.1": | ||
- patch_file: "patches/0001-autotools-no-geos-config.patch" | ||
- patch_file: "patches/0002-nmake-honor-flags.patch" | ||
- patch_file: "patches/0003-msvc-minizip.patch" | ||
- patch_file: "patches/5.0.1/0002-nmake-honor-flags.patch" | ||
- patch_file: "patches/5.0.1/0003-msvc-minizip.patch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
recipes/libspatialite/all/patches/0001-autotools-no-geos-config.patch
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
recipes/libspatialite/all/patches/5.1.0/0002-nmake-honor-flags.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
This patch for msvc build allows to: | ||
* define OPTFLAG ourself from conanfile (allow to honor profile) | ||
* not hardcode this very specific C:\OSGeo4W environment | ||
|
||
--- a/makefile.vc | ||
+++ b/makefile.vc | ||
@@ -2,7 +2,6 @@ | ||
# | ||
# NMAKE Makefile to build libspatialite on Windows | ||
# | ||
-!INCLUDE nmake.opt | ||
|
||
LIBOBJ = src\gaiaaux\gg_sqlaux.obj src\gaiaaux\gg_utf8.obj \ | ||
src\gaiaexif\gaia_exif.obj src\gaiageo\gg_advanced.obj \ | ||
@@ -96,7 +95,7 @@ | ||
SPATIALITE_DLL = spatialite$(VERSION).dll | ||
|
||
CFLAGS = /nologo -I.\src\headers -I.\src\topology \ | ||
- -I. -IC:\OSGeo4W\include $(OPTFLAGS) | ||
+ -I. $(CFLAGS) $(OPTFLAGS) | ||
|
||
default: all | ||
|
||
@@ -111,11 +110,7 @@ | ||
|
||
spatialite_i.lib: $(LIBOBJ) | ||
link /dll /out:$(SPATIALITE_DLL) \ | ||
- /implib:spatialite_i.lib $(LIBOBJ) \ | ||
- C:\OSGeo4W\lib\proj_i.lib C:\OSGeo4W\lib\geos_c.lib \ | ||
- C:\OSGeo4w\lib\freexl_i.lib C:\OSGeo4w\lib\iconv.lib \ | ||
- C:\OSGeo4W\lib\sqlite3_i.lib C:\OSGeo4W\lib\zlib.lib \ | ||
- C:\OSGeo4W\lib\libxml2.lib C:\OSGeo4W\lib\librttopo.lib | ||
+ /implib:spatialite_i.lib $(LIBOBJ) | ||
if exist $(SPATIALITE_DLL).manifest mt -manifest \ | ||
$(SPATIALITE_DLL).manifest -outputresource:$(SPATIALITE_DLL);2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"5.1.0": | ||
folder: all | ||
"5.0.1": | ||
folder: all |