Commit Graph

149 Commits

Author SHA1 Message Date
Vladimír Čunát
8ebbf8f8cb
gdal: fix by using libxml2 with http support (again)
https://hydra.nixos.org/build/267532476/nixlog/1/tail
2024-07-27 15:37:58 +02:00
Ivan Mincik
59dd391879
gdal: 3.9.0 -> 3.9.1 2024-07-04 09:16:11 +02:00
Ivan Mincik
6997f6739f gdal: fix build with latest hdf5 version 2024-06-12 11:05:24 +02:00
Ivan Mincik
06c9d396bd gdal: 3.8.5 -> 3.9.0 2024-06-12 11:05:19 +02:00
Ivan Mincik
52b72064ff gdal: add pname suffix when builing minimal version 2024-06-10 16:41:18 +02:00
Ivan Mincik
35725d3bea gdal: 3.8.4 -> 3.8.5 2024-04-05 13:20:28 +02:00
Martin Weinelt
f13af94a1f
gdal: use pytest-benchmark to disable benchmarks
This is a the reliable way to make sure we don't run any benchmarks,
since apparently disabling the benchmark directory has become
insufficient.
2024-03-14 13:45:45 +01:00
Ivan Mincik
f35a9d2707 gdal: bump java source option
Bump java source option to fix build with JDK 21.

Closes #294940
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 #275389 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 (#271240) 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 (#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