6 Commits

Author SHA256 Message Date
453ffbc029 Accepting request 1251839 from science
OBS-URL: https://build.opensuse.org/request/show/1251839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/occt?expand=0&rev=16
2025-03-10 18:28:19 +00:00
390724b86b Accepting request 1251177 from home:StefanBruens:branches:science
- Fix build with current freetype, add fix_freetype_tag_type.patch

OBS-URL: https://build.opensuse.org/request/show/1251177
OBS-URL: https://build.opensuse.org/package/show/science/occt?expand=0&rev=49
2025-03-10 15:17:10 +00:00
de422c0962 Accepting request 1235703 from science
OBS-URL: https://build.opensuse.org/request/show/1235703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/occt?expand=0&rev=15
2025-01-09 14:06:53 +00:00
be62108966 Accepting request 1232308 from home:mlin7442:branches:science
disable documentation build on Leap 16

OBS-URL: https://build.opensuse.org/request/show/1232308
OBS-URL: https://build.opensuse.org/package/show/science/occt?expand=0&rev=47
2025-01-07 18:55:15 +00:00
dbd1d4116a Accepting request 1228641 from science
OBS-URL: https://build.opensuse.org/request/show/1228641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/occt?expand=0&rev=14
2024-12-06 13:26:26 +00:00
8e9599995b Accepting request 1228549 from home:StefanBruens:branches:science
- 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.

OBS-URL: https://build.opensuse.org/request/show/1228549
OBS-URL: https://build.opensuse.org/package/show/science/occt?expand=0&rev=45
2024-12-06 01:55:58 +00:00
5 changed files with 133 additions and 33 deletions

View File

@@ -0,0 +1,24 @@
From 7236e83dcc1e7284e66dc61e612154617ef715d6 Mon Sep 17 00:00:00 2001
From: dpasukhi <dpasukhi@opencascade.com>
Date: Tue, 27 Aug 2024 11:33:29 +0100
Subject: [PATCH] 0033808: Coding - FreeType Use unsigned point and contour
indexing in `FT_Outline`
Changes to auto instead of specific type
---
src/StdPrs/StdPrs_BRepFont.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/StdPrs/StdPrs_BRepFont.cxx b/src/StdPrs/StdPrs_BRepFont.cxx
index ab2d9b3c9f..cd701879b1 100644
--- a/src/StdPrs/StdPrs_BRepFont.cxx
+++ b/src/StdPrs/StdPrs_BRepFont.cxx
@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const Standard_Utf32Char theChar,
for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour)
{
const FT_Vector* aPntList = &anOutline->points[aStartIndex];
- const char* aTags = &anOutline->tags[aStartIndex];
+ const auto* aTags = &anOutline->tags[aStartIndex];
const short anEndIndex = anOutline->contours[aContour];
const short aPntsNb = (anEndIndex - aStartIndex) + 1;
aStartIndex = anEndIndex + 1;

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fb23c8d67a7b72061b4f7a6875861e17d412d524527b2a96151ead1d9cfa2c1
size 48408771

3
occt-7.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7321af48c34dc253bf8aae3f0430e8cb10976961d534d8509e72516978aa82f5
size 48432051

View File

@@ -1,3 +1,83 @@
-------------------------------------------------------------------
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>

View File

@@ -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,26 @@
#
%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_8_1
Name: occt
Version: 7.7.2
Version: 7.8.1
Release: 0
%define soname 7_7_2
%define sover 7.7.2
%define soname 7_8_1
%define sover 7.8.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
Patch0: https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e612154617ef715d6.patch#/fix_freetype_tag_type.patch
BuildRequires: bison
BuildRequires: cmake
BuildRequires: fdupes
@@ -105,7 +102,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 +112,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 +124,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 +132,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 +141,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 +151,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 +160,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 +176,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 \
@@ -252,19 +242,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 +268,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}