Ana Guerrero 701cfa9092 Accepting request 1338714 from Application:Geo
- add upstream patch 647.patch fix(examples): Add missing cgal target link library
- add withexample and withtest macro
- add new buildrequires gmp,eigen3,xz,nlohmann_json
- removed old test binaries
- add cmake files
- Update to version 2.2.0 (2025-07-31):
  + New Features (Feat)
    - !455: feat(Simplification): Add a wrapper around CGAL 2D simplification (Loïc Bartoletti)
    - !383: feat(cmake config): add a modern CMake Find (Loïc Bartoletti)
  + Bug Fixes (Fix)
    - !523: fix(Simplification): Add validitiy check (Loïc Bartoletti)
    - !522: fix(Algorithm): Visibilty returns empty polygon if one input is empty (Loïc Bartoletti)
    - !520: capi: fix missing @post documentation (Benoit D.-M.)
    - !516: fix(StraightSkeleton): Return POLYHEDRALSURFACE EMPTY if input geometry is empty (Loïc Bartoletti)
    - !511: Extrude Straigth Skeleton: Fix geometry validity removing roof bottom (Loïc Bartoletti)
    - !510: fix(ci): Ignore deleted files in doxygen check (Jean Felder)
    - !499: fix(intersection): handle multiple intersection points for segment-solid intersection (Loïc Bartoletti)
    - !490: fix(capi): Mark sfcgal_triangulated_surface_add_triangle as deprecated (Jean Felder)
    - !489: fix(centroid): Fix ignored attribute warning (Jean Felder)
    - !483: fix(alphaShapes): handle missing optimal alpha iterator properly (Loïc Bartoletti)
    - !480: fix(capi): Fix patches typo in documentation (Jean Felder)
    - !479: fix(polyhedralsurface): Fix wrong variable name (Jean Felder)
    - !478: fix(ci): Upload clang-tidy artifact on failure (Jean Felder)
    - !477: fix(capi): Fix sfcgal_geometry_alpha_wrapping_3d documentation (Jean Felder)
    - !474: fix(triangulatedsurface): Use correct plural form for patch (Jean Felder)
    - !461: Treat PolyhedralSurface and TriangulatedSurface as one geometry instead of a Collection of Polygons/Triangles (Jean Felder)
  + Improvements (Improve/Update)
    - !508: chore(release): Specify that the sonar file needs to be updated (Jean Felder)
    - !506: refactor(Primitive-3D): Move sphere and cylinder to a dedicated primitive3d folder (Loïc Bartoletti)
    - !496: docker: Add missing files to compile (Jean Felder)
    - !493: refactor: Use " instead of <> for SFCGAL header (Loïc Bartoletti)
  + Continuous Integration (CI)
    - !503: chore(ci): Allow failure of the windows jobs (Jean Felder)
    - !500: chore(ci): Add a job to build latest macos version as a brew package (Jean Felder)
    - !495: ci and pre-commit: Apply clang-format on the test directory too (Jean Felder)
    - !492: Add CI markdown (Loïc Bartoletti)
    - !491: chore(ci): Also test fedora 42 (Jean Felder)
    - !488: chore: replace CI_COMMIT_REF_NAME var by %{source_branch} in MR template (Benoit D.-M.)
    - !484: chore(BSD CI): Use Github actions (Loïc Bartoletti)
    - !482: chore(ci): Improve doxygen config file to avoid false positives (Jean Felder)
    - !476: ci: check doxygen warnings (Jean Felder)
  + Documentation (Docs)
    - !481: Capi doc fixes (Jean Felder)
    - !473: capi: force the value of CGAL error behaviour to THROW_EXCEPTION in sfcgal_init() (Benoit D.-M.)
  + Tests (Tests)
    - !515: sfcgal-config: Define CMAKE_INSTALL_FULL_LIBDIR if not defined and add unit test for sfcgal-config --libs (Loïc Bartoletti)
    - !502: chore(clang-tidy): Disable readability-magic-numbers check in test (Jean Felder)
    - !497: tests(bin): Do not install tests bin (Loïc Bartoletti)
    - !487: tests(AlphaWrapping): Workaround for tests (Loïc Bartoletti)
  + Chore / Maintenance (Chore)
    - !518: build: Add an option to compile with thread sanitizer (Jean Felder)
    - !514: chore(clang-tidy): Ignore use-trailing-return-type warning in capi (Jean Felder)
    - !512: chore(build): Post release bump version (Jean Felder)
    - !509: chore(sonar): Bump version number to 2.1.0 (Jean Felder)
    - !507: chore(ci): Fix gitlab pages deploy job (Jean Felder)
    - !505: chore(clang-tidy): Ignore some default names in readability-identifier-length (Jean Felder)
    - !504: chore(sfcgal_cTest): Fix clang-tidy warnings (Jean Felder)
    - !494: style: apply clang-format to example and test (Loïc Bartoletti)
    - !485: chore(MR): Add template (Loïc Bartoletti)
    - !475: chore(2.1.0): Prepare 2.1.0. Add NEWS (Loïc Bartoletti)
    - !462: chore: add commitizen to the project (Jean Felder)
  + Misc
    - !521: Fix license years (Loïc Bartoletti)
    - !517: Ensure that all source files contain copyright and license info (Jean Felder)
    - !501: IO: Add STL export (Loïc Bartoletti)
    - !498: Added square logo for SFCGAL (Sylvain Beorchia)
    - !486: Workaround for alpha wrapping segfault with gcc 15.1 (Jean Felder)
    - !384: Nix cmake (Loïc Bartoletti)
- update to version 2.1.0 (2025-05-14):
  + New Features (Feat)
    - !464: Add a new Segment class (Loïc Bartoletti)
	- !463: Add a const ESPILON=1e-8 and use it (Loïc Bartoletti)
	- !461: Treat PolyhedralSurface and TriangulatedSurface as one geometry instead of a Collection of Polygons/Triangles (Jean Felder)
	- !459: Add sfcgal_geometry_force_m (Jean Felder)
	- !458: Add sfcgal_geometry_force_z (Jean Felder)
	- !457: Add support for swapXY (Jean Felder)
	- !455: Add a wrapper around CGAL 2D simplification (Loïc Bartoletti)
	- !452: Add sfcgal_geometry_boundary (Jean Felder)
	- !451: Add support for sfcgal_geometry_type (Jean Felder)
	- !449: Add sfcgal_geometry_dimension (Jean Felder)
	- !448: Add support for geometry::dropM (Jean Felder)
	- !447: Add support for geometry::dropZ (Jean Felder)
	- !433: Add sfcgal_geometry_is_equals function (Benoit De Mezzo)
	- !423: Add Centroid algorithm and apic (Benoit De Mezzo)
	- !421: Add sfcgal_geometry_length functions (Benoit De Mezzo)
	- !419: Add a setGeometryN method (Jean Felder)
	- !413: Add sfcgal_delete_buffer (Benoit De Mezzo)
	- !398: Add 3D Alpha Wrapping algorithm (Jean Felder)
	- !390: Add a method to set the external shell (Jean Felder)
	- !383: Add a modern CMake Find (Loïc Bartoletti)
	- !382: Add isSimple method for geometries (Raphael Delhome)
  + Bug Fixes (Fix)
	- !489: Fix ignored attribute warning (centroid) (Jean Felder)
	- !486: Workaround for alpha wrapping segfault with gcc 15.1 (Jean Felder)
	- !483: handle missing optimal alpha iterator properly (Loïc Bartoletti)
	- !479: Fix wrong variable name for PolyhedralSurface (Jean Felder)
	- !474: Use correct plural form for patch in triangulatedsurface (Jean Felder)
	- !472: Fix constructor to avoid Kernel::FT creation when z is NaN (Benoit De Mezzo)
	- !470: Make const the "geom" param of sfcgal_geometry_simplify (Benoit De Mezzo)
	- !467: Enforce ring order and apply NoValidityCheck in Partition (Loïc Bartoletti)
	- !466: Return PolyhedralSurface instead of MultiPolygon in StraightSkeletonPartition (Loïc Bartoletti)
	- !456: Fix typo in triangle test (Jean Felder)
	- !454: Make translate geom parameter const (Jean Felder)
	- !450: Improve sfcgal_geometry_covers documentation (Jean Felder)
	- !445: Add missing override in geometrycollection (Jean Felder)
	- !444: Use sfcgal exception everywhere (Jean Felder)
	- !440: Throw an error in geometryN in case of failure (Jean Felder)
	- !438: Add missing override to the different geometry classes (Jean Felder)
	- !435: Remove default value for sfcgal_geometry_is_almost_equals (Jean Felder)
	- !434: Fix deprecated usage in capi (Jean Felder)
	- !430: Improve buffer allocations, checks and set default content (Benoit De Mezzo)
	- !429: Fix numGeometries for atomic empty geometries (Jean Felder)
	- !420: Split sfcgal_geometry_envelope function in 2D/3D variants (Benoit De Mezzo)
	- !418: Misc alpha wrapping fixes follow up (Jean Felder)
	- !415: Fix typo in SFCGAL_VALGRIND (Jean Felder)
	- !414: Fix typo in sfcgal_set_alloc_handlers documentation (Jean Felder)
	- !409: Fix geometry memory leaks in C API unit tests (Jean Felder)
	- !406: Fix a typo and bump standard version (Loïc Bartoletti)
	- !402: Fix typo in wkbreader (Jean Felder)
	- !400: Fix a segfault in exterior shell unit test (Jean Felder)
	- !395: Fix some compilation warning (Jean Felder)
	- !388: Fix error message in addGeometry for GeometryCollection (Jean Felder)
	- !381: Buffer3d should not accept segments=3 (Raphael Delhome)
	- !378: Remove unused variable is_first in buffer3d (Jean Felder)
  + Improvements (Improve/Update)
	- !490: Mark sfcgal_triangulated_surface_add_triangle as deprecated (Jean Felder)
	- !488: replace CI_COMMIT_REF_NAME var by %{source_branch} in MR template (Benoit De Mezzo)
	- !485: Add MR template (Loïc Bartoletti)
	- !469: Remove unused preserveTopology in Simplification (Loïc Bartoletti)
	- !468: Remove unused Z value and useless dimension code in SegmentStore (Loïc Bartoletti)
	- !465: Update clang-format to version 19 (Jean Felder)
	- !453: Explain sfcgal_geometry_buffer3d memory management (Jean Felder)
	- !442: Fix some ci pipelines (Jean Felder)
	- !436: Add a test to check that the c api works (Jean Felder)
	- !432: Rework code documentation (Benoit De Mezzo)
	- !424: Update badge URL (Raphael Delhome)
	- !422: Add missing tests for apic (Benoit De Mezzo)
	- !412: Improve explanation about test executions (Benoit De Mezzo)
	- !411: Improve support for valgrind (Benoit De Mezzo)
	- !408: Add missing function to api C (Benoit De Mezzo)
	- !407: Fix links (Loïc Bartoletti)
	- !405: Minor documentation fixes improvements (Ju M)
	- !403: Remove redundant Boost_USE_STATIC_LIBS=OFF setting (Loïc Bartoletti)
	- !380: The buffer3d type name should be uppercase (Raphael Delhome)
	- !379: Some improvements in the doc (Florent Fougères)
  + Continuous Integration (CI)
	- !492: Add CI Markdown (Loïc Bartoletti)
	- !491: Test Fedora 42 (Jean Felder)
	- !484: Use Github actions for FreeBSD, NetBSD, OpenBSD and macOS CI (Loïc Bartoletti)
	- !482: Improve doxygen config file to avoid false positives (Jean Felder)
	- !478: Upload clang-tidy artifact on failure (Jean Felder)
	- !476: check doxygen warnings (Jean Felder)
	- !460: Init 2.1.0 (Loïc Bartoletti)
	- !439: Bump FreeBSD to 14.2 and remove 13.3 (Loïc Bartoletti)
	- !428: Ignore vcpkg.json in gitlab CI (Jean Felder)
	- !416: Update runner and add linux and macos for vcpkg (Loïc Bartoletti)
	- !410: Fix debian clang testing ci (Jean Felder)
	- !404: Bump macOs image to sonoma (Loïc Bartoletti)
	- !401: Renable parallalize build (Jean Felder)
	- !394: Use all procs for the build jobs (Jean Felder)
	- !389: Bump CGAL versions to 5.6.2 and 6.0.1 (Loïc Bartoletti)
	- !387: Upgrade clang-format from 15 to 16 in the CI (Raphael Delhome)
	- !385: Ensure to use the .clang-format configuration file (Jean Felder)
	- !384: Nix cmake (Loïc Bartoletti)
	- !377: Pages and build:documentation need to have the same limitations (Jean Felder)
	- !376: Declare dependencies for docker deploy jobs (Jean Felder)
	- !375: Declare dependencies for docker deploy jobs (Jean Felder)
  + Documentation (Docs)
	- !481: Capi doc fixes (Jean Felder)
	- !480: Fix patches typo in documentation (capi) (Jean Felder)
	- !477: Fix sfcgal_geometry_alpha_wrapping_3d documentation (Jean Felder)
  + Tests (Tests)
	- !487: Workaround for AlphaWrapping tests (Loïc Bartoletti)
- renew boost.patch

OBS-URL: https://build.opensuse.org/request/show/1338714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sfcgal?expand=0&rev=9
2026-03-13 20:18:25 +00:00
Description
No description provided
154 KiB
Languages
Diff 100%