pkgsrc/geography/gdal-lib/Makefile

61 lines
2.1 KiB
Makefile
Raw Normal View History

2017-04-30 03:21:19 +02:00
# $NetBSD: Makefile,v 1.91 2017/04/30 01:21:22 ryoon Exp $
Update to 2.0.3 Upstream changes for 2.0.0 follow. (2.0.[123] are bugfixes) * New GDAL drivers: - BPG: read-only driver for Better Portable Graphics format (experimental, no build support) - GPKG: read/write/update capabilities in the unified raster/vector driver - KEA: read/write driver for KEA format - PLMosaic: read-only driver for Planet Labs Mosaics API - ROI_PAC: read/write driver for image formats of JPL's ROI_PAC project (#5776) - VICAR: read-only driver for VICAR format * New OGR drivers: - Cloudant: read/write driver for Cloudant service - CSW: read-only driver for OGC CSW (Catalog Service for the Web) protocol - JML: read/write driver for OpenJUMP .jml format - PLScenes: read-only driver for Planet Labs Scenes API - Selaphin: read/write driver for the Selaphin/Seraphin format (#5442) * Significantly improved drivers: CSV, GPKG, GTiff, JP2OpenJPEG, MapInfo file, PG, SQLite * RFC 31: OGR 64bit Integer Fields and FIDs (trac.osgeo.org/gdal/wiki/rfc31_ogr_64) In OGR core, OGR SQL, Shapefile, PG, PGDump, GeoJSON, CSV, GPKG, SQLite, MySQL, OCI, MEM, VRT, JML, GML, WFS, CartoDB, XLSX, ODS, MSSQLSpatial, OSM, LIBKML, MITAB * RFC 46: GDAL/OGR unification ( http://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification) - GDAL and OGR PDF drivers are unified into a single one - GDAL and OGR PCIDSK drivers are unified into a single one * RFC 49: Add support for curve geometries (http://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries) In OGR core, and GML, NAS, PostgreSQL, PGDUMP, GPKG, SQLite, VFK, VRT, Interlis drivers * RFC 50: Add support for OGR field subtypes (http://trac.osgeo.org/gdal/wiki/rfc50_ogr_field_subtype) In OGR core, OGR SQL, swig bindings, CSV, FileGDB, GeoJSON, GML, GPKG, OpenFileGDB, PG, PGDump, SQLite, VRT * RFC 51: RasterIO() improvements : resampling and progress callback (http://trac.osgeo.org/gdal/wiki/rfc51_rasterio_resampling_progress) * RFC 52: Stricter SQL quoting (http://trac.osgeo.org/gdal/wiki/rfc52_strict_sql_quoting) * RFC 53: OGR not-null constraints and default values (http://trac.osgeo.org/gdal/wiki/rfc53_ogr_notnull_default) In OGR core, OGR SQL, PG, PGDump, CartoDB, GPKG, SQLite, MySQL, OCI, VRT, GML, WFS, FileGDB, OpenFileGDB and MSSQLSpatial * RFC 54: Dataset transactions (https://trac.osgeo.org/gdal/wiki/rfc54_dataset_transactions) In PG, GPKG, SQLite, FileGDB and MSSQLSpatial * RFC 55: refined SetFeature() and DeleteFeature() semantics. In GPKG, Shape, MySQL, OCI, SQLite, FileGDB, PG, CartoDB, MITAB and MSSQL * RFC 56: OFTTime/OFTDateTime millisecond accuracy ( https://trac.osgeo.org/gdal/wiki/rfc56_millisecond_precision ) * RFC 57: 64bit histogram bucket count ( https://trac.osgeo.org/gdal/wiki/rfc57_histogram_64bit_count ) * Upgrade to EPSG v8.5 database * Fix locale related issues when formatting or reading floating point numbers (#5731)
2017-01-13 15:48:26 +01:00
DISTNAME= gdal-2.0.3
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
PKGNAME= ${DISTNAME:S/gdal/gdal-lib/}
2017-04-30 03:21:19 +02:00
PKGREVISION= 3
CATEGORIES= geography
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
MASTER_SITES= http://download.osgeo.org/gdal/${PKGVERSION_NOREV}/
MAINTAINER= brook@nmsu.edu
Update to 2.0.3 Upstream changes for 2.0.0 follow. (2.0.[123] are bugfixes) * New GDAL drivers: - BPG: read-only driver for Better Portable Graphics format (experimental, no build support) - GPKG: read/write/update capabilities in the unified raster/vector driver - KEA: read/write driver for KEA format - PLMosaic: read-only driver for Planet Labs Mosaics API - ROI_PAC: read/write driver for image formats of JPL's ROI_PAC project (#5776) - VICAR: read-only driver for VICAR format * New OGR drivers: - Cloudant: read/write driver for Cloudant service - CSW: read-only driver for OGC CSW (Catalog Service for the Web) protocol - JML: read/write driver for OpenJUMP .jml format - PLScenes: read-only driver for Planet Labs Scenes API - Selaphin: read/write driver for the Selaphin/Seraphin format (#5442) * Significantly improved drivers: CSV, GPKG, GTiff, JP2OpenJPEG, MapInfo file, PG, SQLite * RFC 31: OGR 64bit Integer Fields and FIDs (trac.osgeo.org/gdal/wiki/rfc31_ogr_64) In OGR core, OGR SQL, Shapefile, PG, PGDump, GeoJSON, CSV, GPKG, SQLite, MySQL, OCI, MEM, VRT, JML, GML, WFS, CartoDB, XLSX, ODS, MSSQLSpatial, OSM, LIBKML, MITAB * RFC 46: GDAL/OGR unification ( http://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification) - GDAL and OGR PDF drivers are unified into a single one - GDAL and OGR PCIDSK drivers are unified into a single one * RFC 49: Add support for curve geometries (http://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries) In OGR core, and GML, NAS, PostgreSQL, PGDUMP, GPKG, SQLite, VFK, VRT, Interlis drivers * RFC 50: Add support for OGR field subtypes (http://trac.osgeo.org/gdal/wiki/rfc50_ogr_field_subtype) In OGR core, OGR SQL, swig bindings, CSV, FileGDB, GeoJSON, GML, GPKG, OpenFileGDB, PG, PGDump, SQLite, VRT * RFC 51: RasterIO() improvements : resampling and progress callback (http://trac.osgeo.org/gdal/wiki/rfc51_rasterio_resampling_progress) * RFC 52: Stricter SQL quoting (http://trac.osgeo.org/gdal/wiki/rfc52_strict_sql_quoting) * RFC 53: OGR not-null constraints and default values (http://trac.osgeo.org/gdal/wiki/rfc53_ogr_notnull_default) In OGR core, OGR SQL, PG, PGDump, CartoDB, GPKG, SQLite, MySQL, OCI, VRT, GML, WFS, FileGDB, OpenFileGDB and MSSQLSpatial * RFC 54: Dataset transactions (https://trac.osgeo.org/gdal/wiki/rfc54_dataset_transactions) In PG, GPKG, SQLite, FileGDB and MSSQLSpatial * RFC 55: refined SetFeature() and DeleteFeature() semantics. In GPKG, Shape, MySQL, OCI, SQLite, FileGDB, PG, CartoDB, MITAB and MSSQL * RFC 56: OFTTime/OFTDateTime millisecond accuracy ( https://trac.osgeo.org/gdal/wiki/rfc56_millisecond_precision ) * RFC 57: 64bit histogram bucket count ( https://trac.osgeo.org/gdal/wiki/rfc57_histogram_64bit_count ) * Upgrade to EPSG v8.5 database * Fix locale related issues when formatting or reading floating point numbers (#5731)
2017-01-13 15:48:26 +01:00
#MAINTAINER+= gdt@NetBSD.org
HOMEPAGE= http://www.gdal.org/
COMMENT= Translator library for raster geospatial data formats
LICENSE= mit
# This package links against the geos C++ library. geos regards this
# as a bug and changes the C++ shlib version every release. Therefore
# this package needs revbumping on every geos update.
2015-12-12 16:27:50 +01:00
USE_LANGUAGES= c99 c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-geos
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
CONFIGURE_ARGS+= --with-libjson-c=internal
CONFIGURE_ARGS+= --with-libtiff=${BUILDLINK_PREFIX.tiff}
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-netcdf=${BUILDLINK_PREFIX.netcdf}
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
CONFIGURE_ARGS+= --with-webp=${BUILDLINK_PREFIX.libwebp}
CONFIGURE_ARGS+= --with-xerces
CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
CONFIGURE_ARGS+= --without-python
2006-09-09 04:41:53 +02:00
MAKE_FILE= GNUmakefile
.include "options.mk"
CHECK_PORTABILITY_SKIP+= mkbindist.sh
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
2016-12-18 00:24:31 +01:00
# jasper uses SIZE_MAX and friends in its headers.
CPPFLAGS+= -D__STDC_LIMIT_MACROS
.include "../../devel/netcdf/buildlink3.mk"
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
2010-03-14 17:32:15 +01:00
.include "../../geography/proj/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
The 1.11.3 release is a bug fix release. == Build (Unix) == * Support custom buildflags in GRASS plugin (5850) * GRASS 7.0.0 support (5852) * fix detection of ECW SDK 5.1 on Mac (5867, 5390) * Add support for Poppler >= 0.31.0 (6118) == Port == * /vsitar/: remove useless validation test that prevents from opening valid .tar files (5864) == Algorithms == * gdal_grid: fix crash in optimized mode with GCC 4.4 on 64bit (5987) * Fix failure in GDALSuggestedWarpOut2() when computing output image size in case the top-left and bottom-right corners tranform to the same point (5980) * Rasterize: add check to avoid burning negative x values (5641) == GDAL core == * GMLJP2 reader: add compatibility with OGC CRS URL as found in GMLJP2v2 (5940) * GMLJP2: on reading, don't do axis inversation if there's an explicit axisName requesting easting, northing order (5960) * GMLJP2: add missing rangeParameters element to validate against GMLJP2 schema (5707) == Utilities == * gdalbuildvrt: fix potential crash when using -b switch (6095) * gdalserver: fix compilation with recent GNU libc (such as in Arch Linux) (6073) * gdalwarp: emit error message if file specified with -cutline cannot be opened (5921) * gdalwarp: fix 1.11.2 regression when invoking several times gdalwarp with several input files on the same target file, and when the input files have a nodata setting: only the last input file was warped onto the target dataset (5909) * ogr2ogr: fix crash with -clipdst when a reprojection fails before (5973) * ogr_layer_algebra.py: for Update, Clip and Erase, only creates attribute of input layer by default
2015-11-26 14:37:30 +01:00
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
Update to 1.4.0, supplied by Brook Milligan in PR 35752. The package now has a mysql option in addition to the default pgsql. GDAL/OGR 1.4.0 - General Changes -------------------------------- Perl Bindings: - Added doxygen based documentation. NG Python Bindings: - Implemented numpy support. CSharp Bindings: - Now mostly operational. WinCE Porting: - CPL - base OGR, OSR and mitab and shape drivers. - GDAL, including GeoTIFF, DTED, AAIGrid drivers - Added test suite (gdalautotest/cpp) Mac OSX Port: - Added framework support (--with-macosx-framework) GDAL 1.4.0 - Overview Of Changes -------------------------------- WCS Driver: - New PDS (Planetary Data Set) Driver: - New ISIS (Mars Qubes) Driver: - New HFA (.img) Driver: - Support reading ProjectionX PE strings. - Support producing .aux files with statistics. - Fix serious bugs with u1, u2 and u4 compressed data. NITF Driver: - Added BLOCKA reading support. - Added ICORDS='D' - Added jpeg compression support (readonly) - Support multiple images as subdatasets. - Support CGM data (as metadata) AIGrid Driver: - Use VSI*L API (large files, in memory, etc) - Support upper case filenames. - Support .clr file above coverage. HDF4 Driver: - Added support for access to geolocation arrays (see RFC 4). - External raw raster bands supported. PCIDSK (.pix) Driver: - Support METER/FEET as LOCAL_CS. - Fix serious byte swapping error on creation. BMP Driver: - Various fixes, including 16bit combinations, and non-intel byte swapping. GeoTIFF Driver: - Fixed in place update for LZW and Deflated compressed images. JP2KAK (JPEG2000) Driver: - Added support for reading and writing gmljp2 headers. - Read xml boxes as metadata. - Accelerate YCbCr handling. JP2MrSID (JPEG2000) Driver: - Added support for reading gmljp2 headers. EHDR (ESRI BIL) Driver: - Support 1-7 bit data. - Added statistics support. OGR 1.4.0 - Overview of Changes ------------------------------- OGR SQL: - RFC 6: Added support for SQL/attribute filter access to geometry, and style strings. OGRSpatialReference: - Support for OGC SRS URNs. - Support for +wktext/EXTENSION stuff for preserving PROJ.4 string in WKT. - Added Two Point Equidistant projection. - Added Krovak projection. - Updated support files to EPSG 6.11. OGRCoordinateTransformation: - Support source and destination longitude wrapping control. OGRFeatureStyle: - Various extensions and improvements. INFORMIX Driver: - New KML Driver: - New (write only) E00 Driver: - New (read only) - Polygon (PAL) likely not working properly. Postgres/PostGIS Driver: - Updated to support new EWKB results (PostGIS 1.1?) - Fixed serious bug with writing SRSes. - Added schema support. GML Driver: - Strip namespaces off field names. - Handle very large geometries gracefully. ODBC Driver: - Added support for spatial_ref_sys table. SDE Driver: - Added logic to speed things up while actually detecting layer geometry types PGeo Driver: - Added support for MDB Tools ODBC driver on linux/unix. VRT Driver: - Added useSpatialSubquery support.
2007-02-23 23:22:38 +01:00
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"