Commit Graph

75 Commits

Author SHA1 Message Date
Joaquim
50cf58d494 Add netcdf and hdf5 dependencies (#5289)
Netcdf and HDF are important _formats_ in the scientific domains (lots of satellite data come in nc or hdf) so having them by default in GDAL seems the most natural.
2019-02-05 10:19:55 -08:00
Joaquim
2c5efa81ca [gdal] Remove libmysql dependency (#5271)
* Remove the libmysql  dependency

The fact that it's not possible to build libmysql for x86 is a source of troubles for projects that have GDAL as a dependency. Though it's possible to build GDAL separately for x64 & x86 this is very confusing and breaks other builds. For example I'm often crossing this issue when trying to build a local GMT package. So the best is to just remove it as a dependency.

```
C:\programs\compa_libs\vcpkg>vcpkg install gmt:x86-windows --recurse
The following packages will be built and installed:
  * gdal[core,mysql-libmysql]:x86-windows
    gmt[core]:x86-windows
  * libmysql[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: libmysql:x86-windows
Building package libmysql[core]:x86-windows...
CMake Error at C:/programs/compa_libs/vcpkg/ports/libmysql/portfile.cmake:10 (message):
  Oracle has dropped support in libmysql for 32-bit Windows.
```

* Revert "Remove the libmysql  dependency"

* Remove the libmysql dependency

The fact that it's not possible to build libmysql for x86 is a source of troubles for projects that have GDAL as a dependency. Though it's possible to build GDAL separately for x64 & x86 this is very confusing and breaks other builds. For example I'm often crossing this issue when trying to build a local GMT package. So the best is to just remove it as a dependency.

```
C:\programs\compa_libs\vcpkg>vcpkg install gmt:x86-windows --recurse
The following packages will be built and installed:
  * gdal[core,mysql-libmysql]:x86-windows
    gmt[core]:x86-windows
  * libmysql[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: libmysql:x86-windows
Building package libmysql[core]:x86-windows...
CMake Error at C:/programs/compa_libs/vcpkg/ports/libmysql/portfile.cmake:10 (message):
  Oracle has dropped support in libmysql for 32-bit Windows.
```
2019-02-01 11:01:19 -08:00
hlysunnaram
a26c95b0e3 [gdal] update to 2.4.0 (#5195)
* [gdal] update to 2.4.0 (#5132)

* [gdal] update CONTROL file (#5132)
2019-01-25 18:34:31 -08:00
Robert Schumacher
ff659ef957 [gdal] Fix build failure in finding license file 2018-10-25 10:28:09 -07:00
hlysunnaram
38c741f390 [gdal] update port to 2.3.2 and mysql support as port feature (#4413)
* [gdal] update port from 2.3.0 to 2.3.2

* [libmariadb] fix build failure when VCPKG_BUILD_TYPE is set

* [gdal] remove libmysql dependency from port core to allow x86 build

* create new port features: mysql-libmysql and mysql-libmariadb
* add mysql-libmysql as default feature: to build on x86, install gdal[core] or gdal[core,mysql-libmariadb] if mysql support is needed
2018-10-12 15:12:15 -07:00
hlysunnaram
008c5d8668 Handle VCPKG_BUILD_TYPE (#4287)
* [curl] fix build failure when VCPKG_BUILD_TYPE is set

* [libmysql] fix build failure when VCPKG_BUILD_TYPE is set

* [openssl-windows] use VCPKG_BUILD_TYPE to build release or debug only

* [icu] use VCPKG_BUILD_TYPE to build release or debug only

* [gdal] use VCPKG_BUILD_TYPE to build release or debug only

* bump versions of curl, gdal, icu, libmysql and openssl-windows
2018-10-03 23:09:42 -07:00
Mateusz Loskot
0aad7df944 [GDAL] Update to 2.3.0 (#3478)
Update portfile.cmake for easier version/checksum maintenance.
Update and rename 0001 patch fixing debug build.
Update no-my-bool.patch following source file changes.
Remove no patches which are no longer required due to corresponding
changes in the GDAL source code.

Supports PROJ 4.9.x and 5.x - the latter not in vcpkg ports.
2018-05-17 23:46:04 -07:00
Mateusz Loskot
793019b9cd [GEOS] Generate debug library names with d suffix (#3371)
* [GEOS] Generate debug library names with `d` suffix

Currently geos.lib name is used for both, debug and optimised
GEOS libraries. This leads to situation when:
```
find_library(GEOS_LIBRARY_DEBUG NAMES geos)
find_library(GEOS_LIBRARY_RELEASE NAMES geos)
```

finds the same library for both
```
GEOS_LIBRARY_DEBUG=D:/vcpkg/installed/x64-windows/debug/lib/geos.lib
GEOS_LIBRARY_RELEASE=D:/vcpkg/installed/x64-windows/debug/lib/geos.lib
```

This is minimal patch that works around the problem.

Next, complete fix should be submitted to GEOS upstream,
preferably using exported targets.

* [libspatialite] Add missing geos suffixes in static builds
2018-05-01 01:14:18 -07:00
Robert Schumacher
d9abd619fa [gdal] Fix regression due to libmysql upgrade 2018-03-18 04:17:26 -07:00
Robert Schumacher
e033dcd649 [gdal] Add early checks for incompatible target settings 2018-02-27 10:14:30 -08:00
Robert Schumacher
12ac3e9056 Merge pull request #1879 from mloskot/ml/gdal-2.2.2
[gdal] Update port to latest GDAL 2.2.2
2017-10-12 11:00:49 -07:00
Robert Schumacher
1130cc3784 [proj][proj4] Rename proj to proj4. Leave empty forwarder behind. 2017-10-02 15:54:51 -07:00
Mateusz Loskot
6df1629d4d [gdal] Update port to latest GDAL 2.2.2
* Bump GDAL version wherever necessary
* Update download package and checksum.
* Remove 0001-Add-support-for-MSVC1900-backported-from-GDAL2.patch
  no longer necessary.
* Recalculate 000N prefix in patche filenames after the removal.
* Update 0002-Ensures-inclusion-of-PDB-in-release-dll-if-so-reques.patch
  * Patch pushed upstream https://trac.osgeo.org/gdal/ticket/7055
    and should no longer be necessary in GDAL 2.2.3 or later
* Update 0003-Fix-openjpeg-include.patch
2017-09-26 19:13:28 +02:00
Albert Ziegenhagel
f2482d3af9 [gdal] fix linking to curl libraries 2017-08-16 16:32:33 +02:00
codicodi
7c4aa34216 [gdal] fix build with updated openjpeg 2017-08-11 16:50:07 +02:00
Jackie Ng
65fff24ff5 [gdal] Add dependencies for openjpeg, libwebp, libxml2 and liblzma
This enables support for 2 additional raster data formats and enables extra capabilities on certain format drivers
2017-04-29 14:38:35 +10:00
Jackie Ng
83686b514c [gdal]: Build with support for sqlite3, curl, expat, libpq and libmysql sibling ports. This activates GDAL support for 14 additional vector data formats and 6 additonal raster data formats 2017-04-29 00:54:01 +10:00
Jackie Ng
0701a70027 Light up GEOS support in GDAL 2017-04-24 05:05:05 +10:00
Robert Schumacher
fe96dcab61 [gdal] Bump version to correspond with adding external libpng dependency. 2017-01-25 17:25:56 -08:00
Manuel Massing
23ac6d0c19 [gdal] Link against external libpng 2017-01-25 08:59:40 +01:00
Robert Schumacher
55605c73e0 [gdal] Use CURRENT_INSTALLED_DIR instead of calculating it out. Use VCPKG_TARGET_ARCHITECTURE instead of parsing the triplet. 2016-12-06 00:57:58 -08:00
Manuel Massing
05f9b3a164 [gdal] Rename dynamic gdal libraries to match static library naming, add "d" suffix for debug libraries 2016-11-30 10:38:56 +01:00
Manuel Massing
e3001c78b9 [gdal] Enable building of PDBs in release builds as well, copy PDBs over 2016-11-30 10:38:56 +01:00
Manuel Massing
e7f0cf8694 [gdal] Separate build directories for dynamic and static build 2016-11-30 10:38:56 +01:00
Manuel Massing
167f82b804 [ports] Initial commit of GDAL 1.11.3 port 2016-11-28 22:01:06 +01:00