Commit graph

127 commits

Author SHA1 Message Date
Austin Seipp a93ab55b41 gdal: make armadillo and netcdf optional
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-15 16:04:39 -05:00
Austin Seipp 55f76104aa gdalMinimal: make poppler, arrow, and HDF optional
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-15 16:04:39 -05:00
Austin Seipp 5a093929cf gdalMinimal: make database support optional
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-15 16:04:39 -05:00
Austin Seipp a62a25c292 gdalMinimal: make libheif optional
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-15 16:04:39 -05:00
Austin Seipp 0570c3fdf6 gdal: introduce 'useMinimalFeatures' flag to reduce closure size
Summary: GDAL has an atrociously large closure weighing in at over
1.3GiB. This makes many things such as packaging PostGIS/PostgreSQL
inside Docker images, or even copying closures, perform pretty poorly.

More importantly, adding unlimited surface area to GDAL is effectively
a support and maintenance burden. This is one of the major motivators
of this patch: to make it possible to reduce the number of supported
raster formats and thus scope support and maintence to specific subsets
of functionality.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-15 16:04:39 -05:00
Ivan Mincik bfe4db82ae gdal: add package tests
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-15 13:11:43 +02:00
Ivan Mincik 07382e73d0 gdal: 3.7.0 -> 3.7.1 2023-07-14 08:53:13 +02:00
Jérémy Anger 4a6f4b549b
gdal: 3.6.4 -> 3.7.0 (#239458)
* gdal: 3.6.4 -> 3.7.0

Diff: https://github.com/OSGeo/gdal/compare/v3.6.4...v3.7.0

Changelog: https://github.com/OSGeo/gdal/blob/v3.7.0/NEWS.md

* gdal: add filelock

* gdal: fix unit tests

---------

Co-authored-by: Robert Schütz <nix@dotlambda.de>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-07-13 21:42:31 +02:00
Ivan Mincik f534b012e6 gdal: add geospatial team to maintainers 2023-07-03 12:57:12 +02:00
Martin Weinelt de1af66dcd
gdal: Fix tests on darwin
by allowing local network access.
2023-05-10 21:41:14 +02:00
Weijia Wang 3edf6e18e6 gdal: fix build on x86_64-darwin 2023-05-08 21:57:33 +03:00
Robert Schütz af10ec1c5b gdal: 3.6.3 -> 3.6.4
Diff: https://github.com/OSGeo/gdal/compare/v3.6.3...v3.6.4

Changelog: https://github.com/OSGeo/gdal/blob/v3.6.4/NEWS.md
2023-04-23 16:58:00 -07:00
Robert Schütz 35e9378d52 gdal: 3.6.2 -> 3.6.3
Diff: https://github.com/OSGeo/gdal/compare/v3.6.2...v3.6.3

Changelog: https://github.com/OSGeo/gdal/blob/v3.6.3/NEWS.md
2023-03-17 16:11:07 -07:00
Martin Weinelt b9302d9c7f gdal: Disable failing test
```
>           raise CalledProcessError(retcode, cmd)
E           subprocess.CalledProcessError: Command '['/nix/store/r0xi4wqmplkiapxhi8ns7hd3jl5011gc-python3-3.10.10/bin/python3.10', 'osr_basic_subprocess.py']' returned non-zero exit status 1.

/nix/store/r0xi4wqmplkiapxhi8ns7hd3jl5011gc-python3-3.10.10/lib/python3.10/subprocess.py:369: CalledProcessError
----------------------------- Captured stderr call -----------------------------
ERROR 1: PROJ: proj_create_from_database: crs not found
Traceback (most recent call last):
  File "/build/source/autotest/osr/osr_basic_subprocess.py", line 42, in <module>
    assert sr.ImportFromEPSG(4326) == 0
AssertionError
```
2023-03-03 23:59:32 +01:00
Weijia Wang 64122c7563 gdal: allow overriding libmysqlclient with mysql80 2023-02-01 21:55:28 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Schütz 3d8e2cb674 gdal: 3.6.1 -> 3.6.2
https://github.com/OSGeo/gdal/blob/v3.6.2/NEWS.md
2023-01-09 19:38:00 -08:00
Ivan Mincik 44c6df321f gdal: 3.6.0.1 -> 3.6.1 2022-12-15 23:35:49 +01:00
Robert Schütz 50f24d3b97 gdal: 3.5.2 -> 3.6.0.1
https://github.com/OSGeo/gdal/blob/v3.6.0.1/NEWS.md
2022-11-20 14:17:12 -08:00
Robert Schütz 80703c4155 gdal: don't depend on kea
The actual (optional) dependency is http://www.kealib.org/.
2022-11-10 21:29:37 -08:00
Robert Scott 7bcfaeb21d gdal: fix build on darwin 2022-10-30 12:24:40 +00:00
Robert Schütz 5d916d42b0 gdal: skip test failing when using PROJ < 8 2022-10-30 00:00:17 -07:00
Robert Schütz dcd559e081 gdal: 3.4.2 -> 3.5.2
https://github.com/OSGeo/gdal/blob/v3.5.2/NEWS.md
2022-10-29 10:36:44 -07:00
Yorick van Pelt ec947b13cd
gdal_2: drop 2022-10-09 12:11:49 +02:00
Phillip Cloud 738d1454fe
gdal_2: fix build (#169738)
* gdal_2: fix build

* gdal_2: remove broken flag
2022-05-03 01:13:34 +02:00
Will Cohen dd9b25ca2b gdal_2: mark as broken on linux 2022-04-29 16:08:44 -04:00
Robert Scott e52d6c1260 gdal: enable tests 2022-04-02 14:10:42 +01:00
R. Ryantm 186de60a90 gdal: 3.4.1 -> 3.4.2 2022-03-15 06:54:16 +00:00
Jan Tojnar d8bcc674c4 gdal: fix build with latest poppler
Poppler 22.01.0 requires std=c++17:

https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1027
2022-01-27 18:07:23 +01:00
Robert Scott 2a13b8ef6e
Merge pull request #154037 from risicle/ris-gdal-3.4.1
gdal: 3.3.2 -> 3.4.1, t-rex: 0.14.2 -> 0.14.3-beta4
2022-01-19 19:11:07 +00:00
Martin Weinelt 878c920437
gdal: use python3 2022-01-16 02:36:23 +01:00
Robert Scott 7247a85036 gdal: 3.3.2 -> 3.4.1 2022-01-08 01:42:15 +00:00
Joan Arnaldich d2ef345f75 Replaced libspatialite -> libspatialite.dev in configureFlags so that it gets actually enabled 2021-10-07 10:44:05 +02:00
R. RyanTM 5c133e0acc gdal: 3.3.1 -> 3.3.2 2021-09-14 07:52:34 +00:00
Ben Gamari 9c65427ba7
gdal: 3.2.2 -> 3.3.1 (#132852)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-08-27 09:07:06 +02:00
Ben Siraphob c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Frederik Rietdijk 54dcdfb59b gdal_2: keep using pythn 2 2021-04-03 17:06:06 +02:00
Frederik Rietdijk 363925961e gdal_1_11: remove old and unused version 2021-04-03 17:06:06 +02:00
github-actions[bot] dec95bae4a
Merge master into staging-next 2021-03-15 12:25:41 +00:00
Thomas Bereknyei 049c36c267 gdal: 3.1.2 -> 3.2.2 2021-03-14 23:39:57 -07:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Robert Scott c0ff0a1e3c gdal_2: 2.4.0 -> 2.4.4
remove redundant patches
2021-01-30 20:38:50 +00:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Thomas Tuegel de938ee3f5
gdal: fix path to mysql_config 2020-09-12 06:58:25 -05:00
Jonathan Ringer bd6bfd53e7 gdal: 3.0.4 -> 3.1.2.post2020-08-26
parsing of POPPLER_MINOR_VERSION is broken, as it doesn't truncate
leading zeroes. Leading gcc to believe it's trying to evaluate an
octal value (e.g. 08 > 72 ). However, 8 isn't a valid octal value.

Patches from master do not apply cleanly do a series of changes
done to configure.ac. So instead, a commit from master was chosen.
2020-08-26 12:38:57 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Bruce Toll bb46f897d1 gdal: 3.0.3 -> 3.0.4
Update GDAL/OGR to 3.0.4

GDAL 3.0.4 includes a fix for build failure due to poppler 0.85.0
upgrade (change to parameters for setErrorCallback). See commit:

6e9e51ef93
2020-03-02 09:38:08 -05:00
brano543 78b6642e5d gdal: correct indentation in preConfigure 2020-02-15 13:29:00 +01:00
brano543 b57af2d024 gdal: Fix finding postgresql after 3.0 update 2020-02-15 13:09:14 +01:00
brano543 175d83634b gdal: Clean up formatting 2020-02-15 13:05:56 +01:00