[packages/SFCGAL] - updated to 2.3.0

qboosh qboosh at pld-linux.org
Wed Oct 14 21:00:26 CEST 2026


commit 48555801e04b9f49f20293700298cf5332b315e1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 14 21:00:53 2026 +0200

    - updated to 2.3.0

 SFCGAL-osg-syntax.patch | 22 ++++++++++++++++++++++
 SFCGAL.spec             | 20 +++++++++++++++-----
 2 files changed, 37 insertions(+), 5 deletions(-)
---
diff --git a/SFCGAL.spec b/SFCGAL.spec
index a69bfcd..b02ffee 100644
--- a/SFCGAL.spec
+++ b/SFCGAL.spec
@@ -1,26 +1,32 @@
 #
 # Conditional build:
 %bcond_without	apidocs		# API documentation
+%bcond_without	eigen		# Eigen support for advanced simplification strategies
 %bcond_without	osg		# OpenSceneGraph support
 #
 Summary:	C++ wrapper around CGAL library
 Summary(pl.UTF-8):	Obudowanie C++ do biblioteki CGAL
 Name:		SFCGAL
-Version:	2.2.0
+Version:	2.3.0
 Release:	1
 License:	LGPL v2.0+
 Group:		Libraries
 #Source0Download: https://gitlab.com/sfcgal/SFCGAL/-/releases
 Source0:	https://gitlab.com/sfcgal/SFCGAL/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
-# Source0-md5:	ef0a4397a6f5bf06299c6c8c5ab77f62
+# Source0-md5:	f0ad3af646c6913902775381a4080b79
+Patch0:		%{name}-osg-syntax.patch
 URL:		https://sfcgal.gitlab.io/SFCGAL
+# minimum is 5.6, more features up to 6.1, build fails with 6.2
+BuildRequires:	CGAL-devel >= 6.2.1
 # osgDB osgUtil
 %{?with_osg:BuildRequires:	OpenSceneGraph-devel}
 # thread system serialization %{?with_osg: chrono unit_test_framework filesystem program_options timer}
-BuildRequires:	boost-devel
-BuildRequires:	cmake >= 3.6
+BuildRequires:	boost-devel >= 1.69.0
+BuildRequires:	cmake >= 3.16
 %{?with_apidocs:BuildRequires:	doxygen}
+%{?with_eigen:BuildRequires:	eigen3 >= 3.3}
 BuildRequires:	libstdc++-devel >= 6:7
+BuildRequires:	nlohmann-json-devel >= 3.11
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,8 +44,10 @@ Summary:	Header files for SFCGAL library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki SFCGAL
 Group:		Development/Libraries
 Requires:	%{name}%{?_isa} = %{version}-%{release}
-Requires:	boost-devel
+Requires:	CGAL-devel >= 6.2.1
+Requires:	boost-devel >= 1.69.0
 Requires:	libstdc++-devel >= 6:7
+Requires:	nlohmann-json-devel >= 3.11
 
 %description devel
 Header files for SFCGAL library.
@@ -87,12 +95,14 @@ Dokumentacja API biblioteki SFCGAL.
 
 %prep
 %setup -q -n %{name}-v%{version}
+%patch -P0 -p1
 
 %build
 install -d build
 cd build
 %cmake .. \
 	%{?with_apidocs:-DSFCGAL_BUILD_DOC=ON} \
+	%{?with_eigen:-DSFCGAL_WITH_EIGEN=ON} \
 	%{?with_osg:-DSFCGAL_WITH_OSG=ON}
 
 %{__make}
diff --git a/SFCGAL-osg-syntax.patch b/SFCGAL-osg-syntax.patch
new file mode 100644
index 0000000..f0a5db5
--- /dev/null
+++ b/SFCGAL-osg-syntax.patch
@@ -0,0 +1,22 @@
+--- SFCGAL-v2.3.0/src/detail/io/OsgFactory.h.orig	2026-06-12 16:38:51.000000000 +0200
++++ SFCGAL-v2.3.0/src/detail/io/OsgFactory.h	2026-10-14 17:50:25.381372210 +0200
+@@ -115,7 +115,6 @@ protected:
+ };
+ 
+ } // namespace io
+-} // namespace detail
+-} // namespace SFCGAL
++} // namespace SFCGAL::detail
+ 
+ #endif
+--- SFCGAL-v2.3.0/src/detail/io/OsgFactory.cpp.orig	2026-06-12 16:38:51.000000000 +0200
++++ SFCGAL-v2.3.0/src/detail/io/OsgFactory.cpp	2026-10-14 17:56:44.462651884 +0200
+@@ -223,7 +223,6 @@ OsgFactory::createVertex(osg::Vec3Array
+ }
+ 
+ } // namespace io
+-} // namespace detail
+-} // namespace SFCGAL
++} // namespace SFCGAL::detail
+ 
+ #endif // SFCGAL_WITH_OSG
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SFCGAL.git/commitdiff/48555801e04b9f49f20293700298cf5332b315e1



More information about the pld-cvs-commit mailing list