Commit Graph

142 Commits

Author SHA1 Message Date
Ivan Mincik
f35a9d2707 gdal: bump java source option
Bump java source option to fix build with JDK 21.

Closes 
2024-03-11 18:38:21 +01:00
Victor Engmark
de01ad8151
gdal: Split tests into separate attributes
Makes it easier to run single tests for debugging purposes.

Co-authored-by: Robert Schütz <github@dotlambda.de>
2024-02-22 17:07:56 +13:00
R. Ryantm
54e19cf5a3 gdal: 3.8.3 -> 3.8.4 2024-02-19 00:14:06 +00:00
Matthew Pickering
76fd69c674 gdal: wrap executables in environment containing numpy
Since gdal 3.8.1 there is a numpy dependency on the python library it
seems. This resulted in broken python scrips such as gdal2tiles.py

```
[nix-shell:~/map-scraper/shake-rg]$ gdal2tiles.py --help
ModuleNotFoundError: No module named 'numpy'
```

Therefore it's important to wrap the executables in an environment which
contains numpy.
2024-02-14 12:02:17 +01:00
Rolf Schröder
e130791ad6 gdal: apply nixpkgs-fmt 2024-01-25 12:35:33 +01:00
Rolf Schröder
370afc7cce gdal: add java bindings 2024-01-25 12:35:33 +01:00
Ivan Mincik
0473a5e25e gdal: 3.8.2 -> 3.8.3 2024-01-09 09:59:25 +01:00
Ivan Mincik
3eb3e297c3
Merge pull request from NixOS/gdal-tests-correct-binary
gdal: call correct binaries in tests
2023-12-22 09:58:49 +01:00
Ivan Mincik
2976f952e6 gdal: 3.8.1 -> 3.8.2 2023-12-20 14:34:18 +01:00
Ivan Mincik
61c85d9970 gdal: call correct binaries in tests 2023-12-19 12:35:13 +01:00
Ivan Mincik
043094ee05 gdal: disable test failing with PROJ 9.3.1 2023-12-04 10:50:23 +01:00
Ivan Mincik
6050880252
gdal: 3.7.3 -> 3.8.1 () 2023-11-30 21:22:02 +01:00
Peder Bergebakken Sundt
720fa29e32 gdal: unbreak 2023-11-13 00:17:13 +01:00
R. Ryantm
2e60191ca9 gdal: 3.7.2 -> 3.7.3 2023-11-05 09:17:07 -08:00
Robert Schütz
a8a93eb30f gdal: 3.7.1 -> 3.7.2
Diff: https://github.com/OSGeo/gdal/compare/v3.7.1...v3.7.2

Changelog: https://github.com/OSGeo/gdal/blob/v3.7.2/NEWS.md
2023-09-16 12:58:37 -07:00
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 ()
* 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 ()
* 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 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 ()
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