Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d68cf93b12 | |||
| dec16bb84f | |||
| aac541b37c | |||
| 368b752d25 | |||
| 01187ba192 | |||
| 0839dd6c17 | |||
| c0be332f93 | |||
| a429949abb |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fb23c8d67a7b72061b4f7a6875861e17d412d524527b2a96151ead1d9cfa2c1
|
||||
size 48408771
|
||||
3
occt-7.9.1.tar.gz
Normal file
3
occt-7.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de442298cd8860f5580b01007f67f0ecd0b8900cfa4da467fa3c823c2d1a45df
|
||||
size 48575965
|
||||
56
occt-use-system-tbb.patch
Normal file
56
occt-use-system-tbb.patch
Normal file
@@ -0,0 +1,56 @@
|
||||
Index: OCCT-7_9_1/CMakeLists.txt
|
||||
===================================================================
|
||||
--- OCCT-7_9_1.orig/CMakeLists.txt 2025-05-20 13:17:10.000000000 +0200
|
||||
+++ OCCT-7_9_1/CMakeLists.txt 2025-07-15 17:39:10.823773749 +0200
|
||||
@@ -648,7 +648,7 @@ endif()
|
||||
if (CAN_USE_TBB AND USE_TBB)
|
||||
add_definitions (-DHAVE_TBB)
|
||||
OCCT_ADD_VCPKG_FEATURE ("tbb")
|
||||
- list (APPEND OCCT_3RDPARTY_CMAKE_LIST "adm/cmake/tbb")
|
||||
+ find_package(TBB CONFIG REQUIRED)
|
||||
elseif (NOT CAN_USE_TBB)
|
||||
OCCT_CHECK_AND_UNSET ("USE_TBB")
|
||||
OCCT_UNSET_VCPKG_FEATURE ("tbb")
|
||||
Index: OCCT-7_9_1/adm/cmake/tbb.cmake
|
||||
===================================================================
|
||||
--- OCCT-7_9_1.orig/adm/cmake/tbb.cmake 2025-07-15 17:40:48.874435495 +0200
|
||||
+++ OCCT-7_9_1/adm/cmake/tbb.cmake 2025-07-15 17:41:19.293768202 +0200
|
||||
@@ -52,7 +52,7 @@ if (WIN32)
|
||||
# Employ it.
|
||||
if (EXISTS "${3RDPARTY_TBB_DIR}")
|
||||
find_package (
|
||||
- TBB 2021.5
|
||||
+ TBB
|
||||
PATHS "${3RDPARTY_TBB_DIR}" NO_DEFAULT_PATH
|
||||
REQUIRED
|
||||
CONFIG)
|
||||
@@ -173,23 +173,23 @@ else ()
|
||||
endif()
|
||||
endif()
|
||||
if ((NOT "${3RDPARTY_TBB_DIR}" STREQUAL "") AND (EXISTS "${3RDPARTY_TBB_DIR}"))
|
||||
- # Find TBB 2021.5 in existing directory.
|
||||
+ # Find TBB in existing directory.
|
||||
find_package (
|
||||
- TBB 2021.5
|
||||
+ TBB
|
||||
PATHS "${3RDPARTY_TBB_DIR}" NO_DEFAULT_PATH
|
||||
REQUIRED
|
||||
CONFIG)
|
||||
else()
|
||||
- # Find TBB 2021.5 in system directory.
|
||||
+ # Find TBB in system directory.
|
||||
find_package (
|
||||
- TBB 2021.5
|
||||
+ TBB
|
||||
REQUIRED
|
||||
CONFIG)
|
||||
endif()
|
||||
else()
|
||||
- # Find TBB 2021.5 in system directory.
|
||||
+ # Find TBB in system directory.
|
||||
find_package (
|
||||
- TBB 2021.5
|
||||
+ TBB
|
||||
REQUIRED
|
||||
CONFIG)
|
||||
endif()
|
||||
90
occt.changes
90
occt.changes
@@ -1,3 +1,93 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 15:10:10 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Update to version 7.9.1
|
||||
* Details on
|
||||
https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V7_9_1
|
||||
https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V7_9_0
|
||||
- Added occt-use-system-tbb.patch
|
||||
- Removed fix_freetype_tag_type.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 10:01:02 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Fix build with current freetype, add fix_freetype_tag_type.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 19 11:35:07 UTC 2024 - Max Lin <mlin@suse.com>
|
||||
|
||||
- Disable documentation build on Leap 16 for now until mathjax is
|
||||
available in Leap 16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 19:53:21 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- update to version 7.8.1
|
||||
* Details on
|
||||
https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V7_8_1
|
||||
- update to version 7.8.0
|
||||
* General
|
||||
+ Fixed TDataStd_NamedData HasSmth() methods to no longer
|
||||
return true for empty containers.
|
||||
+ Improved general performance through code updates with static
|
||||
analysis.
|
||||
+ Implemented "Memory Manager" configurations: Native, TBB,
|
||||
JeMalloc, Flexible. JeMalloc leads to a performance increase
|
||||
of up to 40% for large files.
|
||||
+ Introduced CMake configuration for optimization profiles:
|
||||
Default and Production. Production activates all available
|
||||
compiler optimizations.
|
||||
+ Implemented move semantics into NCollection and TCollection
|
||||
containers.
|
||||
+ Modernized NCollection_Vector(NCollection_DynamicArray),
|
||||
NCollection_Array1, and NCollection_Array2.
|
||||
+ Updated memory allocation functionality to avoid unnecessary
|
||||
memory cleaning (set 0).
|
||||
+ Modernized NCollection_IncAllocator (optimized pool for
|
||||
small objects).
|
||||
* Modeling
|
||||
+ Addressed multiple bug fixes and improvements for various
|
||||
modeling algorithm methods.
|
||||
+ Increased memory management performance.
|
||||
+ Improved overall modeling stability.
|
||||
+ Resolved canonical geoplane detection problems.
|
||||
* Visualization
|
||||
+ Resolved compilation issues related to vtk 9.2.6.
|
||||
+ Improved SelectMgr_EntityOwner to process the selection
|
||||
scheme.
|
||||
+ Modified Image_AlienPixMap::Save() to write into a memory
|
||||
buffer instead of a file.
|
||||
+ Reduced sensitivity of lines.
|
||||
+ Extended AIS_AnimationObject with syntax for defining
|
||||
rotation around a specific point.
|
||||
+ Introduced separate gesture mappings for dragging to
|
||||
AIS_ViewController.
|
||||
+ Integrated the ability to scale by moving the mouse on
|
||||
the OY axis.
|
||||
* Mesh
|
||||
+ Fixed BRepMesh_IncrementalMesh issue with overflowing
|
||||
system memory.
|
||||
+ Unhandled Standard_OutOfRange, BRepMesh_PairOfIndex::Append()
|
||||
no longer prevents triangulation with large deflection
|
||||
values.
|
||||
* Data Exchange
|
||||
+ Resolved multiple issues regarding DE Wrapper and Step import
|
||||
and export.
|
||||
+ Increased STEP parser performance.
|
||||
+ Introduced thread-safety interface to STEP import and export.
|
||||
+ Reorganized DE ToolKits according to specific CAD formats.
|
||||
+ Introduced DE plug-in system to load CAD format providers
|
||||
during library loading time.
|
||||
+ Fixed stability issues with XBF and IGES file formats.
|
||||
+ Addressed general problems with importing VRML V1.
|
||||
+ Improved processing of STEP-oriented dimensions.
|
||||
* Draw Test Harness
|
||||
+ Enabled loading of plugins on Linux OS.
|
||||
+ Reorganized DRAW DE ToolKits according to specific CAD
|
||||
formats.
|
||||
+ Resolved environment-related issues with debug tools
|
||||
DrawTrSurf_Set, DrawTrSurf_SetPnt, and `DrawTrSurf_SetPnt2d.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 7 16:30:06 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
||||
70
occt.spec
70
occt.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package occt
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,29 +16,27 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} >= 1600
|
||||
%if 0%{?suse_version} > 1600
|
||||
%bcond_without docs
|
||||
%else
|
||||
%bcond_with docs
|
||||
%endif
|
||||
|
||||
%define OCCT_TAG V7_7_2
|
||||
%define OCCT_TAG 7_9_1
|
||||
|
||||
Name: occt
|
||||
Version: 7.7.2
|
||||
Version: 7.9.1
|
||||
Release: 0
|
||||
%define soname 7_7_2
|
||||
%define sover 7.7.2
|
||||
%define soname 7_9_1
|
||||
%define sover 7.9.1
|
||||
%define sover_len 3
|
||||
Summary: OpenCASCADE Official Edition
|
||||
License: LGPL-2.1-only WITH OCCT-exception-1.0
|
||||
Group: Productivity/Graphics/CAD
|
||||
URL: https://www.opencascade.com/open-cascade-technology/
|
||||
# Password protected URL, factory validation will fail
|
||||
# https://www.opencascade.com/sites/default/files/private/occt/OCC_%%{version}_release/opencascade-%%{version}.tgz
|
||||
# getting it from git for patch level releases not existing as tar ball
|
||||
# Source0: https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V%%{OCCT_TAG}.tar.gz#/occt-%%{version}.tar.gz
|
||||
Source0: https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/%{OCCT_TAG};sf=tgz#/occt-%{version}.tar.gz
|
||||
Source0: https://github.com/Open-Cascade-SAS/OCCT/archive/refs/tags/V%{OCCT_TAG}.tar.gz#/occt-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Use system installed TBB
|
||||
Patch0: occt-use-system-tbb.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
@@ -46,6 +44,7 @@ BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: tk-devel
|
||||
BuildRequires: cmake(TBB)
|
||||
BuildRequires: pkgconfig(RapidJSON)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
@@ -55,7 +54,6 @@ BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xmu)
|
||||
%if %{with docs}
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: mathjax
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -105,7 +103,6 @@ Developer documentation for OpenCASCADE
|
||||
%package -n libopencascade-applicationframework%{soname}
|
||||
Summary: OpenCASCADE application framework libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-applicationframework7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-applicationframework%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -116,7 +113,6 @@ OpenCASCADE application framework module:
|
||||
%package -n libopencascade-dataexchange%{soname}
|
||||
Summary: OpenCASCADE data exchange libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-dataexchange7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-dataexchange%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -129,7 +125,6 @@ OpenCASCADE data exchange module:
|
||||
Summary: OpenCASCADE Draw support libraries
|
||||
Group: System/Libraries
|
||||
Requires: %{name}-resources
|
||||
Conflicts: libopencascade-draw7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-draw%{soname}
|
||||
This package contains support libraries for the
|
||||
@@ -138,7 +133,6 @@ OpenCASCADE DRAWEXE test harness.
|
||||
%package -n libopencascade-foundationclasses%{soname}
|
||||
Summary: OpenCASCADE foundation classes libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-foundationclasses7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-foundationclasses%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -148,7 +142,6 @@ OpenCASCADE foundation classes module:
|
||||
%package -n libopencascade-modelingalgorithms%{soname}
|
||||
Summary: OpenCASCADE modeling algorithms libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-modelingalgorithms7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-modelingalgorithms%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -159,7 +152,6 @@ OpenCASCADE modeling module:
|
||||
%package -n libopencascade-modelingdata%{soname}
|
||||
Summary: OpenCASCADE modeling data libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-modelingdata7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-modelingdata%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -169,7 +161,6 @@ OpenCASCADE modeling module:
|
||||
%package -n libopencascade-visualization%{soname}
|
||||
Summary: OpenCASCADE visualization libraries
|
||||
Group: System/Libraries
|
||||
Conflicts: libopencascade-visualization7_7 = %{version}
|
||||
|
||||
%description -n libopencascade-visualization%{soname}
|
||||
This package contains the OpenCASCADE libraries from the
|
||||
@@ -186,7 +177,7 @@ This package contains the OpenCASCADE DRAWEXE test
|
||||
harness executable.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n occt-%{OCCT_TAG}
|
||||
%autosetup -p1 -n OCCT-%{OCCT_TAG}
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
@@ -200,22 +191,25 @@ harness executable.
|
||||
%cmake_build
|
||||
|
||||
%if %{with docs}
|
||||
# Go back from build dir to source dir
|
||||
cd ..
|
||||
./gendoc -refman -html -mathjax="%{_datadir}/javascript/mathjax"
|
||||
|
||||
chmod u+x ./adm/gendoc
|
||||
./adm/gendoc -refman -html
|
||||
%endif
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# Make scripts executable
|
||||
chmod 0755 %buildroot/usr/bin/*
|
||||
chmod 0755 %{buildroot}%{_bindir}/*.sh
|
||||
|
||||
# fixing up broken files
|
||||
sed -i -e 's,'%{_lib}'\\${OCCT_INSTALL_BIN_LETTER}/,'%{_lib}'/,' %{buildroot}%{_libdir}/cmake/opencascade/*
|
||||
sed -i -e 's,/lib\$,/'%{_lib}'\$,' %{buildroot}%{_libdir}/cmake/opencascade/*
|
||||
grep -C5 -E "BIN_LETTER|/lib" %{buildroot}%{_libdir}/cmake/opencascade/*
|
||||
|
||||
rm -rf %buildroot/usr/share/doc
|
||||
rm -rf %{buildroot}%{_datadir}/doc/opencascade/
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
@@ -252,19 +246,17 @@ rm -rf %buildroot/usr/share/doc
|
||||
%files -n libopencascade-dataexchange%{soname}
|
||||
%_libdir/libTKBinXCAF.so.%{sover}*
|
||||
%_libdir/libTKExpress.so.%{sover}*
|
||||
%_libdir/libTKIGES.so.%{sover}*
|
||||
%_libdir/libTKRWMesh.so.%{sover}*
|
||||
%_libdir/libTKSTEP.so.%{sover}*
|
||||
%_libdir/libTKSTEP209.so.%{sover}*
|
||||
%_libdir/libTKSTEPAttr.so.%{sover}*
|
||||
%_libdir/libTKSTEPBase.so.%{sover}*
|
||||
%_libdir/libTKSTL.so.%{sover}*
|
||||
%_libdir/libTKVRML.so.%{sover}*
|
||||
%_libdir/libTKXCAF.so.%{sover}*
|
||||
%_libdir/libTKXDE.so.%{sover}*
|
||||
%_libdir/libTKXDECascade.so.%{sover}*
|
||||
%_libdir/libTKXDEIGES.so.%{sover}*
|
||||
%_libdir/libTKXDESTEP.so.%{sover}*
|
||||
%_libdir/libTKDE.so.%{sover}*
|
||||
%_libdir/libTKDECascade.so.%{sover}*
|
||||
%_libdir/libTKDEGLTF.so.%{sover}*
|
||||
%_libdir/libTKDEIGES.so.%{sover}*
|
||||
%_libdir/libTKDEOBJ.so.%{sover}*
|
||||
%_libdir/libTKDEPLY.so.%{sover}*
|
||||
%_libdir/libTKDESTEP.so.%{sover}*
|
||||
%_libdir/libTKDESTL.so.%{sover}*
|
||||
%_libdir/libTKDEVRML.so.%{sover}*
|
||||
%_libdir/libTKXSBase.so.%{sover}*
|
||||
%_libdir/libTKXmlXCAF.so.%{sover}*
|
||||
|
||||
@@ -280,6 +272,14 @@ rm -rf %buildroot/usr/share/doc
|
||||
%_libdir/libTKTObjDRAW.so.%{sover}*
|
||||
%_libdir/libTKXDEDRAW.so.%{sover}*
|
||||
%_libdir/libTKXSDRAW.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWDE.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWGLTF.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWIGES.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWOBJ.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWPLY.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWSTEP.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWSTL.so.%{sover}*
|
||||
%_libdir/libTKXSDRAWVRML.so.%{sover}*
|
||||
%_libdir/libTK*Test.so.%{sover}*
|
||||
|
||||
%files -n libopencascade-modelingalgorithms%{soname}
|
||||
@@ -321,7 +321,7 @@ rm -rf %buildroot/usr/share/doc
|
||||
%{_datadir}/opencascade/data
|
||||
|
||||
%files devel
|
||||
%doc README.txt
|
||||
%doc README.md
|
||||
%{_includedir}/opencascade
|
||||
%dir %{_libdir}/cmake
|
||||
%{_libdir}/cmake/opencascade
|
||||
|
||||
Reference in New Issue
Block a user