2017-04-30 03:21:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.91 2017/04/30 01:21:22 ryoon Exp $
|
2006-05-02 22:36:33 +02:00
|
|
|
|
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
|
2015-11-26 14:37:30 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/gdal/gdal-lib/}
|
2017-04-30 03:21:19 +02:00
|
|
|
PKGREVISION= 3
|
2010-01-18 10:36:09 +01:00
|
|
|
CATEGORIES= geography
|
2015-11-26 14:37:30 +01:00
|
|
|
MASTER_SITES= http://download.osgeo.org/gdal/${PKGVERSION_NOREV}/
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
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
|
2010-01-18 10:36:09 +01:00
|
|
|
HOMEPAGE= http://www.gdal.org/
|
|
|
|
COMMENT= Translator library for raster geospatial data formats
|
2010-08-27 13:14:23 +02:00
|
|
|
LICENSE= mit
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2013-01-23 01:37:58 +01:00
|
|
|
# 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++
|
2006-05-02 22:36:33 +02:00
|
|
|
USE_LIBTOOL= yes
|
2010-01-18 10:36:09 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-05-02 22:36:33 +02:00
|
|
|
USE_TOOLS+= gmake
|
2010-01-18 10:36:09 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-geos
|
2015-11-26 14:37:30 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libjson-c=internal
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libtiff=${BUILDLINK_PREFIX.tiff}
|
2010-01-18 10:36:09 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
CONFIGURE_ARGS+= --with-netcdf=${BUILDLINK_PREFIX.netcdf}
|
2015-11-26 14:37:30 +01:00
|
|
|
CONFIGURE_ARGS+= --with-webp=${BUILDLINK_PREFIX.libwebp}
|
2010-01-18 10:36:09 +01:00
|
|
|
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-05-02 22:36:33 +02:00
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= GNUmakefile
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
.include "options.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2006-10-24 11:00:02 +02:00
|
|
|
CHECK_PORTABILITY_SKIP+= mkbindist.sh
|
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
|
2007-08-16 02:42:20 +02:00
|
|
|
|
2016-12-18 00:24:31 +01:00
|
|
|
# jasper uses SIZE_MAX and friends in its headers.
|
|
|
|
CPPFLAGS+= -D__STDC_LIMIT_MACROS
|
|
|
|
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
.include "../../devel/netcdf/buildlink3.mk"
|
2015-11-26 14:37:30 +01:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2006-06-11 22:42:49 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
.include "../../geography/geos/buildlink3.mk"
|
2010-03-14 17:32:15 +01:00
|
|
|
.include "../../geography/proj/buildlink3.mk"
|
2010-01-26 09:26:11 +01:00
|
|
|
.include "../../graphics/jasper/buildlink3.mk"
|
2014-05-31 17:56:26 +02:00
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
2015-11-26 14:37:30 +01:00
|
|
|
.include "../../graphics/libwebp/buildlink3.mk"
|
|
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
2010-01-26 09:26:11 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2015-06-10 03:44:56 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
.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"
|
2006-05-02 22:36:33 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|