Skip to content

Commit

Permalink
Add some instructions for updating the bundled version
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Apr 2, 2024
1 parent 1b4b0c1 commit 8f9e7c7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
17 changes: 17 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Updating bundled gdal version for gdal-src

Perform the following steps:

```
git submodule init
git submodule update
cd gdal-src/source
git pull
git checkout v3.8.3 # corresponds to the tag you want to update to
cd ../../
git add gdal-src/source
git commit -m "Update bundled gdal version to 3.8.4"
```

These steps assume that there are no fundamental changes to the gdal build system.

3 changes: 1 addition & 2 deletions gdal-src/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ internal_drivers = [

# ogr and gdal
"driver_idrisi",
"driver_pds",
"driver_sdts",
"driver_vrt",
"driver_mem",
Expand Down Expand Up @@ -259,7 +258,6 @@ driver_zmap = []

# ogr and gdal
driver_idrisi = []
driver_pds = []
driver_sdts = []
driver_vrt = []
driver_mem = []
Expand Down Expand Up @@ -325,6 +323,7 @@ driver_netcdf = ["dep:netcdf-src", "driver_hdf5", "dep:hdf5-sys"]
# driver_pmtiles = ["driver_mvt"] # depends on driver_mvt
# driver_csw = ["curl-sys", "driver_gml"] # depends on gml driver
# driver_wfs = ["curl-sys", "driver_gml"]
# driver_pds = ["driver_gml"]

# unclear
driver_http = []
Expand Down
1 change: 0 additions & 1 deletion gdal-src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ fn main() {
handle_ogr_driver!(config, "driver_vdv");
handle_ogr_driver!(config, "driver_wasp");
handle_ogr_driver!(config, "driver_idrisi");
handle_ogr_driver!(config, "driver_pds");
handle_ogr_driver!(config, "driver_sdts");
handle_ogr_driver!(config, "driver_vrt");
handle_ogr_driver!(config, "driver_mem");
Expand Down

0 comments on commit 8f9e7c7

Please sign in to comment.