SFCGAL is a C++ wrapper library around CGAL with the aim of supporting ISO
19107:2013 and OGC Simple Features Access 1.2 for 3D operations.
SFCGAL provides standard compliant geometry types and operations, that can be
accessed from its C or C++ APIs. PostGIS uses the C API, to expose some
SFCGAL's functions in spatial databases
databases/sfcgal: fix LIB_DEPENDS on boost-libs
libboost-system.so will be gone with the next boost update,
so pick a different boost library to depend on.
Reported by: fluffy
Approved by: portmgr (build fix blanket)
databases/sfcgal: fix build with clang 19
Clang 19 now diagnoses incorrect member accesses, which causes
databases/sfcgal to fail with errors similar to:
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/graph/iterator.h:219:22:
error: no member named 'base' in 'Halfedge_around_source_iterator<Graph>'
219 | return (! (this->base() == nullptr));
| ~~~~ ^
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/graph/iterator.h:313:22:
error: no member named 'base' in 'Halfedge_around_target_iterator<Graph>'
313 | return (! (this->base() == nullptr));
| ~~~~ ^
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/graph/iterator.h:405:22:
error: no member named 'base' in 'Halfedge_around_face_iterator<Graph>'
405 | return (! (this->base() == nullptr));
| ~~~~ ^
Upstream fixed this in https://github.com/CGAL/cgal/commit/0de060acd68
but it does not apply easily due to some changed context. Add a
backported patch instead.
PR: 280737
Approved by: maintainer timeout (2 weeks)
MFH: 2024Q3
bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.
Approved by: portmgr (tcberner, mentor)
Differential Revision: https://reviews.freebsd.org/D37077
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
smath/cgal: Update to 5.0.2
The new version of CGAL brings improvements and a lot of changes, including 2
major ones [1](header only[2] and require c++14) requiring to patch all software
depending on it.
[1] https://www.cgal.org/2019/11/08/cgal50/
[2] https://doc.cgal.org/latest/Manual/installation.html
math/cgal:
- Update to 5.0.2
databases/sfcgal:
- Fix with cgal5 : use c++14 and add gmpxx link
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
databases/sfcgal: 1.2.2 -> 1.3.0
Fixes the build with boost 1.60. Other Changes see
https://github.com/Oslandia/SFCGAL/releases
Add a validity flag to geometries
Add an option to straight skeleton to return the distance to borders
Add sfcgal_geometry_is_valid_detail to the C API
Remove grid and ASC reader
Remove the viewer
Fix compilation issue with boost 1.60 (#119)
Fix WKT parsing issues (#81 #117)
Retain bisectors of narrow angles in MedialAxis output
PR: 207698
Approved by: coder@tuxfamily.org (maintainer)
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
SFCGAL is a C++ wrapper library around CGAL with the aim of supporting ISO
19107:2013 and OGC Simple Features Access 1.2 for 3D operations.
SFCGAL provides standard compliant geometry types and operations, that can be
accessed from its C or C++ APIs. PostGIS uses the C API, to expose some
SFCGAL's functions in spatial databases
WWW: http://www.sfcgal.org/
PR: ports/188927
Submitted by: LoA-c BARTOLETTI <coder@tuxfamily.org>