pkgsrc/geography/geos/Makefile

46 lines
1.6 KiB
Makefile
Raw Normal View History

2017-01-23 00:44:47 +01:00
# $NetBSD: Makefile,v 1.29 2017/01/22 23:44:47 gdt Exp $
# Do not update to 3.6, because there is serious ABI breakage which
# prevents osm2pgsql from working, and may well cause other programs
# to have issues. osm2pgsql plans to stop using geos, and it seems
# better to have slightly old geos in pkgsrc then to have a bunch of
# broken other programs. Please email me if you have a problem with
2017-01-23 00:44:47 +01:00
# this. -- gdt, 20170122
DISTNAME= geos-3.5.1
2011-02-15 10:19:29 +01:00
CATEGORIES= geography
MASTER_SITES= http://download.osgeo.org/geos/
EXTRACT_SUFX= .tar.bz2
# geos has two libraries:
# geos_c (C), which follows normal versioning rules
# geos (C++), which uses -release, and changes on every release
# According to the geos project (as documented in README), the C++
# interface should not be directly used and other packages should not
# link against it. Therefore, pkgsrc will perform a recursive revbump
# when the geos_c shlib version changes, and will generally ignore
# geos shlib name changes. However, people on the geos list dispute
# this characterization.
# The following packages either incorrectly (from the geos
# READMEviewpoint) or suboptimally (from some comments ont he list)
# link directly against -lgeos and should be revbumped on every update
# (and perhaps fixed not to use -lgeos):
# geography/gdal-lib
# geoggraph/osm2pgsql
# https://github.com/openstreetmap/osm2pgsql/issues/634
2011-02-15 10:19:29 +01:00
MAINTAINER= gdt@NetBSD.org
2017-01-22 16:56:07 +01:00
HOMEPAGE= https://trac.osgeo.org/geos
2011-02-15 10:19:29 +01:00
COMMENT= C++ port of the Java Topology Suite (JTS)
LICENSE= gnu-lgpl-v2.1
Changes 3.3.0: - New things: - CAPI: GEOSBufferWithParams (allows single sided buffers) - CAPI: GEOSOffsetCurve deprecates GEOSSingleSidedBuffer - CAPI: GEOSUnaryUnion deprecates GEOSCascadedUnion - CAPI: GEOSisValidDetail: tell state, reason & location apart. allows passing flags. - CAPI: GEOSContext_setNoticeHandler_r, GEOSContext_setErrorHandler_r - CAPI: GEOSGeom_createEmptyPoint, GEOSGeom_createEmptyLineString GEOSGeom_createEmptyPolygon, GEOSGeom_createEmptyCollection - CAPI: GEOSGeom_extractUniquePoints - CAPI: GEOSGetGeometryN support for single geometries - CAPI: GEOSPolygonize_full to return all informations computed by the polygonizer - CAPI: GEOSOrientationIndex - CAPI: GEOSSharedPaths to find shared paths and their orientation - CAPI: GEOSSnap - CAPI: GEOSRelatePatternMatch - CAPI: GEOSCovers, GEOSCoveredBy - CAPI: GEOSRelateBoundaryNodeRule - PHP: new PHP5 bindings based on CAPI - Semantic C++ API changes: - Geometry inheritance chain changed to introduce Puntal, Lineal and Polygonal classes (virtual inheritance introduced) - Polygonizer::getInvalidRingLines retains ownership of vector elements - Geometry::isWithinDistance method is now const - Polygonizer::getCutEdges returns by const ref - Polygonizer::getDangles returns by const ref - Empty LinearRings are closed by definition - Bug fixes / improvements - Fixed Geometry.distance() and DistanceOp to return 0.0 for empty inputs - Invalid compound geometries reported as valid - Return up to 15 digits of precision from GEOSisValidReason_t - CAPI: do not leak contexts when using the non-reentrant interface - Fix duplicated dangles returned by Polygonizer - Fix SnapIfNeededOverlayOp to throw the originating exception - Fixed LineMerger to skip lines with only a single unique coordinate - Fix NodedSegmentString to handle zero-length line segments correctly (via safeOctant) - Fixed buffer OffsetCurveSetBuilder to handle "flat" rings correctly - Added illegal state check in LineSegment::pointAlongOffset() - Improved performance of RectangleIntersects by always using segment-scanning and refining SegmentIntersectionTester - Reduce memory use in PreparedGeometry predicates - Fix infinite loop in RobustDeterminant with nan/inf input
2011-06-16 11:24:05 +02:00
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
Changes 3.3.0: - New things: - CAPI: GEOSBufferWithParams (allows single sided buffers) - CAPI: GEOSOffsetCurve deprecates GEOSSingleSidedBuffer - CAPI: GEOSUnaryUnion deprecates GEOSCascadedUnion - CAPI: GEOSisValidDetail: tell state, reason & location apart. allows passing flags. - CAPI: GEOSContext_setNoticeHandler_r, GEOSContext_setErrorHandler_r - CAPI: GEOSGeom_createEmptyPoint, GEOSGeom_createEmptyLineString GEOSGeom_createEmptyPolygon, GEOSGeom_createEmptyCollection - CAPI: GEOSGeom_extractUniquePoints - CAPI: GEOSGetGeometryN support for single geometries - CAPI: GEOSPolygonize_full to return all informations computed by the polygonizer - CAPI: GEOSOrientationIndex - CAPI: GEOSSharedPaths to find shared paths and their orientation - CAPI: GEOSSnap - CAPI: GEOSRelatePatternMatch - CAPI: GEOSCovers, GEOSCoveredBy - CAPI: GEOSRelateBoundaryNodeRule - PHP: new PHP5 bindings based on CAPI - Semantic C++ API changes: - Geometry inheritance chain changed to introduce Puntal, Lineal and Polygonal classes (virtual inheritance introduced) - Polygonizer::getInvalidRingLines retains ownership of vector elements - Geometry::isWithinDistance method is now const - Polygonizer::getCutEdges returns by const ref - Polygonizer::getDangles returns by const ref - Empty LinearRings are closed by definition - Bug fixes / improvements - Fixed Geometry.distance() and DistanceOp to return 0.0 for empty inputs - Invalid compound geometries reported as valid - Return up to 15 digits of precision from GEOSisValidReason_t - CAPI: do not leak contexts when using the non-reentrant interface - Fix duplicated dangles returned by Polygonizer - Fix SnapIfNeededOverlayOp to throw the originating exception - Fixed LineMerger to skip lines with only a single unique coordinate - Fix NodedSegmentString to handle zero-length line segments correctly (via safeOctant) - Fixed buffer OffsetCurveSetBuilder to handle "flat" rings correctly - Added illegal state check in LineSegment::pointAlongOffset() - Improved performance of RectangleIntersects by always using segment-scanning and refining SegmentIntersectionTester - Reduce memory use in PreparedGeometry predicates - Fix infinite loop in RobustDeterminant with nan/inf input
2011-06-16 11:24:05 +02:00
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"