From caccab6114293a9b4e3b2304de22de997a076a34 Mon Sep 17 00:00:00 2001
This patch updates GDAL to v3.5.0. I added 2 more dependencies to the package:
- curl (To be able to read rasters using vsicurl) [1]
- openssl (To enable Postgresql raster support, pkg-config was not detecting
I also had to add the --without-jpeg12 option, because GDAL did not build with
it's internal libjpeg and libjpeg12 removed. I don't think we supported
libjpeg12 in the previous version, since the bundled code was removed and I
believe libjpeg-turbo does not provide this functionality.
gnu/packages/geo.scm | 42 ++++++++++++++++++++----------------------
1 file changed, 20 insertions(+), 22 deletions(-)
Toggle diff (84 lines)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 7b29c55088..38df5ff537 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -113,6 +113,7 @@ (define-module (gnu packages geo)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
#:use-module (gnu packages time)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages webkit)
#:use-module (gnu packages wxwidgets)
@@ -914,7 +915,7 @@ (define-public spatialite-gui
@@ -922,7 +923,7 @@ (define-public gdal
- "0nk09lws1hk873yn5f4wzqfvr82gm4hw3gq8w9g1h0kvf6j5x4i8"))
+ "0h7dgjx8nk3dd17wwqm2yjnaqciyrd2mz9gcjswpcnmap09wbzrs"))
(modules '((guix build utils)))
@@ -946,27 +947,23 @@ (define-public gdal
(string-append option "="
(assoc-ref %build-inputs input))))))
- ;; TODO: --with-pcidsk, --with-pcraster
- (with "--with-freexl" "freexl")
- (with "--with-libjson-c" "json-c")
- (with "--with-png" "libpng")
- (with "--with-webp" "libwebp")
- (with "--with-gif" "giflib")
- (with "--with-jpeg" "libjpeg-turbo")
- (with "--with-libtiff" "libtiff")
- (with "--with-geotiff" "libgeotiff")
- (with "--with-libz" "zlib")
- (with "--with-expat" "expat")
- (with "--with-sqlite3" "sqlite")
- (modify-phases %standard-phases
- (add-before 'build 'fix-path
- (substitute* "frmts/mrf/mrf_band.cpp"
- (("\"../zlib/zlib.h\"") "<zlib.h>")))))))
+ ;; TODO: --with-pcidsk, --with-pcraster
+ (with "--with-expat" "expat")
+ (with "--with-freexl" "freexl")
+ (with "--with-geotiff" "libgeotiff")
+ (with "--with-gif" "giflib")
+ (with "--with-jpeg" "libjpeg-turbo")
+ (with "--with-libjson-c" "json-c")
+ (with "--with-libtiff" "libtiff")
+ (with "--with-libz" "zlib")
+ (with "--with-png" "libpng")
+ (with "--with-sqlite3" "sqlite")
+ (with "--with-webp" "libwebp")
@@ -977,6 +974,7 @@ (define-public gdal