Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sfcgal for openSUSE:Factory checked in at 2026-09-11 18:04:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sfcgal (Old) and /work/SRC/openSUSE:Factory/.sfcgal.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sfcgal" Fri Sep 11 18:04:56 2026 rev:10 rq:1377359 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sfcgal/sfcgal.changes 2026-03-13 21:22:20.739059810 +0100 +++ /work/SRC/openSUSE:Factory/.sfcgal.new.1265/sfcgal.changes 2026-09-11 18:08:08.110921345 +0200 @@ -1,0 +2,35 @@ +Thu Sep 3 19:29:08 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 2.3.0 (2026-06-12): + * New 3D primitives Box, Cube, Cone, Frustum, Torus and NURBS + curves on a common Primitive base class, with clone and + transform support + * New algorithms: polygon repair, surface mesh simplification, + split by a plane, project_medial_axis, roof generation, + chamfer/fillet and topological point insertion + * New GeoJSON and OBJ readers, WKB code 25 for Solid + * C API gained 75 calls and lost none, deprecated ones are now + marked, added SFCGAL_MAKE_VERSION and SFCGAL_VERSION_NUM + * Header algorithm/tesselate.h renamed to tessellate.h + * Fixes in centroid, offset, distance3D, straight skeleton, + minkowskiSum3D, polygon repair and the WKT writer + * New sfcgalop CLI tool, upstream option left disabled here + * See upstream's NEWS for the full list +- Drop boost.patch and 647.patch - both merged upstream +- Drop libboost_chrono-devel, libboost_filesystem-devel and + libboost_timer-devel buildrequires - upstream switched to + std::chrono and std::filesystem +- Require nlohmann_json >= 3.11, upstream's declared minimum +- Cleanup with spec-cleaner +- Build with -DSFCGAL_WITH_EIGEN=ON - without it two of the three + surface simplification strategies throw at runtime, and the + eigen3 buildrequires was doing nothing +- Let sfcgal-devel require nlohmann_json, the new io/geojson.h + includes nlohmann/json.hpp +- Drop stray -v from %cmake_build - make reads it as --version, so + %build compiled nothing and %install did it all serially +- Add sfcgal-fix-osg-namespace.patch - upstream closes three + namespaces in OsgFactory but the C++17 nested form opens two, + breaking every build with -DSFCGAL_WITH_OSG=ON (x86_64 here) + +------------------------------------------------------------------- Old: ---- 647.patch SFCGAL-v2.2.0.tar.bz2 boost.patch New: ---- SFCGAL-v2.3.0.tar.bz2 sfcgal-fix-osg-namespace.patch ----------(Old B)---------- Old: * See upstream's NEWS for the full list - Drop boost.patch and 647.patch - both merged upstream - Drop libboost_chrono-devel, libboost_filesystem-devel and Old: * See upstream's NEWS for the full list - Drop boost.patch and 647.patch - both merged upstream - Drop libboost_chrono-devel, libboost_filesystem-devel and ----------(Old E)---------- ----------(New B)---------- New: %build compiled nothing and %install did it all serially - Add sfcgal-fix-osg-namespace.patch - upstream closes three namespaces in OsgFactory but the C++17 nested form opens two, ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sfcgal.spec ++++++ --- /var/tmp/diff_new_pack.5LQTmU/_old 2026-09-11 18:08:08.980957769 +0200 +++ /var/tmp/diff_new_pack.5LQTmU/_new 2026-09-11 18:08:08.982957853 +0200 @@ -20,10 +20,6 @@ %define source_name SFCGAL %define _libname libSFCGAL2 %define _soversion 2 -# while upstream https://gitlab.com/Oslandia/SFCGAL/-/issues/259 -# and https://gitlab.com/Oslandia/SFCGAL/-/issues/258 are pending. -# this force postgis ix86 to be build without sfcgal. -ExcludeArch: %{ix86} %define withexamples 0 %ifarch %{ix86} x86_64 %define withosgd 1 @@ -37,51 +33,51 @@ %define withtest 0 %endif Name: sfcgal -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: C++ wrapper library around CGAL License: LGPL-2.0-or-later -Group: Productivity/Graphics/CAD URL: https://sfcgal.gitlab.io/SFCGAL/ Source0: https://gitlab.com/sfcgal/SFCGAL/-/archive/v%{version}/SFCGAL-v%{version}.tar.bz2 -Patch0: boost.patch -# PATCH-FIX-UPSTREAM fix(examples): Add missing cgal target link library - https://gitlab.com/sfcgal/SFCGAL/-/merge_requests/647 -Patch1: 647.patch +# PATCH-FIX-OPENSUSE sfcgal-fix-osg-namespace.patch - 2.3.0 opens 2 namespaces in OsgFactory +# but closes 3, so every -DSFCGAL_WITH_OSG=ON build fails. No upstream ref on purpose: the +# OSG backend was deleted upstream after 2.3.0, so there is no branch left to send it to. +Patch0: sfcgal-fix-osg-namespace.patch BuildRequires: cmake -BuildRequires: eigen3-devel BuildRequires: gmp-devel BuildRequires: lapack-devel -BuildRequires: libboost_chrono-devel >= 1.72 -BuildRequires: libboost_filesystem-devel >= 1.72 BuildRequires: libboost_headers-devel >= 1.72 BuildRequires: libboost_program_options-devel >= 1.72 BuildRequires: libboost_serialization-devel >= 1.72 BuildRequires: libboost_test-devel >= 1.72 BuildRequires: libboost_thread-devel >= 1.72 -BuildRequires: libboost_timer-devel >= 1.72 BuildRequires: libcgal-devel >= 5.6 BuildRequires: libstdc++-devel BuildRequires: llvm-clang BuildRequires: memory-constraints BuildRequires: pkgconfig -BuildRequires: xz-devel BuildRequires: pkgconfig(cunit) +BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gmp) BuildRequires: pkgconfig(libecpg) >= 10 BuildRequires: pkgconfig(libecpg_compat) >= 10 +BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libpgtypes) >= 10 BuildRequires: pkgconfig(libpq) >= 10 BuildRequires: pkgconfig(mpfr) -BuildRequires: pkgconfig(nlohmann_json) +BuildRequires: pkgconfig(nlohmann_json) >= 3.11 BuildRequires: pkgconfig(zlib) +# while upstream https://gitlab.com/Oslandia/SFCGAL/-/issues/259 +# and https://gitlab.com/Oslandia/SFCGAL/-/issues/258 are pending. +# this force postgis ix86 to be build without sfcgal. +ExcludeArch: %{ix86} %description This package contains tools & sample data to test %{_libname}. %package -n %{_libname} Summary: Libraries SFCGAL applications -Group: Development/Libraries/C and C++ Provides: libsfcgal%{_soversion} %description -n %{_libname} @@ -115,8 +111,8 @@ %package devel Summary: Development files and tools for SFCGAL applications -Group: Development/Libraries/C and C++ Requires: %{_libname} = %{version} +Requires: pkgconfig(nlohmann_json) >= 3.11 %description devel Content headers & files to envelopment files for %{_libname} @@ -148,6 +144,7 @@ -DCMAKE_GMP_ENABLE_CXX=ON \ -DSFCGAL_CHECK_VALIDITY=TRUE \ -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DSFCGAL_WITH_EIGEN=ON \ %if %{withosgd} -DSFCGAL_WITH_OSG=ON \ %else @@ -164,7 +161,7 @@ -DSFCGAL_BUILD_TESTS=OFF %endif -%cmake_build -v +%cmake_build %install %cmake_install ++++++ SFCGAL-v2.2.0.tar.bz2 -> SFCGAL-v2.3.0.tar.bz2 ++++++ ++++ 95697 lines of diff (skipped) ++++++ sfcgal-fix-osg-namespace.patch ++++++ diff -Naur a/src/detail/io/OsgFactory.cpp b/src/detail/io/OsgFactory.cpp --- a/src/detail/io/OsgFactory.cpp 2026-09-03 22:37:30.742563465 +0200 +++ b/src/detail/io/OsgFactory.cpp 2026-09-03 22:37:30.862576950 +0200 @@ -223,7 +223,6 @@ } } // namespace io -} // namespace detail -} // namespace SFCGAL +} // namespace SFCGAL::detail #endif // SFCGAL_WITH_OSG diff -Naur a/src/detail/io/OsgFactory.h b/src/detail/io/OsgFactory.h --- a/src/detail/io/OsgFactory.h 2026-09-03 22:37:30.742563465 +0200 +++ b/src/detail/io/OsgFactory.h 2026-09-03 22:37:30.862576950 +0200 @@ -115,7 +115,6 @@ }; } // namespace io -} // namespace detail -} // namespace SFCGAL +} // namespace SFCGAL::detail #endif
