Commit 42b482c0 authored by Carlos Ramos Carreño's avatar Carlos Ramos Carreño

Downgrade GDAL to last version supporting Python 2.

parent 81f6f060
...@@ -19,11 +19,12 @@ parts = ...@@ -19,11 +19,12 @@ parts =
[gdal] [gdal]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
version = 3.9.0 version = 3.2.3
url = http://download.osgeo.org/gdal/${:version}/gdal-${:version}.tar.xz url = http://download.osgeo.org/gdal/${:version}/gdal-${:version}.tar.xz
md5sum = 03717a7af435f89fa1e33d1c79af50dc md5sum = 6c276978d625d23a091bac9fdddb99db
configure-command = ${cmake:location}/bin/cmake configure-command = ${cmake:location}/bin/cmake
configure-options = configure-options =
-DCMAKE_BUILD_TYPE=Release
-DGDAL_USE_CURL=ON -DGDAL_USE_CURL=ON
-DCURL_INCLUDE_DIR=${curl:location}/include -DCURL_INCLUDE_DIR=${curl:location}/include
-DCURL_LIBRARY_RELEASE=${curl:location}/lib/libcurl.so -DCURL_LIBRARY_RELEASE=${curl:location}/lib/libcurl.so
...@@ -52,17 +53,18 @@ configure-options = ...@@ -52,17 +53,18 @@ configure-options =
-DGDAL_USE_PNG=ON -DGDAL_USE_PNG=ON
-DPNG_PNG_INCLUDE_DIR=${libpng:location}/include -DPNG_PNG_INCLUDE_DIR=${libpng:location}/include
-DPNG_LIBRARY_RELEASE=${libpng:location}/lib/libpng.so -DPNG_LIBRARY_RELEASE=${libpng:location}/lib/libpng.so
-DGDAL_FIND_PACKAGE_PROJ_MODE=CONFIG
-DPROJ_INCLUDE_DIR=${proj:location}/include -DPROJ_INCLUDE_DIR=${proj:location}/include
-DPROJ_LIBRARY_RELEASE=${proj:location}/lib/libproj.a -DPROJ_LIBRARY_RELEASE=${proj:location}/lib/libproj.a
-DGDAL_USE_SQLITE3=ON -DGDAL_USE_SQLITE3=ON
-DSQLite3_INCLUDE_DIR=${sqlite3:location}/include -DSQLite3_INCLUDE_DIR=${sqlite3:location}/include
-DSQLite3_LIBRARY=${sqlite3:location}/lib/libsqlite3.so -DSQLite3_LIBRARY=${sqlite3:location}/lib/libsqlite3.so
-DGDAL_USE_LIBXML2=ON -DGDAL_USE_LIBXML2=ON
-DLIBXML2_INCLUDE_DIR=${libxml2:location}/include -DLIBXML2_INCLUDE_DIR=${libxml2:location}/include/libxml2
-DLIBXML2_LIBRARY=${libxml2:location}/lib/libxml2.so -DLIBXML2_LIBRARY=${libxml2:location}/lib/libxml2.so
-DGDAL_USE_WEBP=OFF -DGDAL_USE_WEBP=OFF
environment = environment =
CMAKE_PREFIX_PATH=${openjpeg:location} CMAKE_PREFIX_PATH=${openjpeg:location}:${proj:location}
PATH=${xz-utils:location}/bin:%(PATH)s PATH=${xz-utils:location}/bin:%(PATH)s
CPPFLAGS=-I${pcre:location}/include CPPFLAGS=-I${pcre:location}/include
LDFLAGS=-L${pcre:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib -Wl,-rpath=${curl:location}/lib -Wl,-rpath=${geos:location}/lib -Wl,-rpath=${giflib:location}/lib -Wl,-rpath=${openjpeg:location}/lib -Wl,-rpath=${jbigkit:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libjpeg:location}/lib -Wl,-rpath=${libpng:location}/lib -Wl,-rpath=${libtiff:location}/lib -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib LDFLAGS=-L${pcre:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib -Wl,-rpath=${curl:location}/lib -Wl,-rpath=${geos:location}/lib -Wl,-rpath=${giflib:location}/lib -Wl,-rpath=${openjpeg:location}/lib -Wl,-rpath=${jbigkit:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${libjpeg:location}/lib -Wl,-rpath=${libpng:location}/lib -Wl,-rpath=${libtiff:location}/lib -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${zlib:location}/lib
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment