Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package FreeCAD for openSUSE:Factory checked in at 2022-06-21 16:31:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/FreeCAD (Old) and /work/SRC/openSUSE:Factory/.FreeCAD.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "FreeCAD" Tue Jun 21 16:31:57 2022 rev:37 rq:982855 version:0.20 Changes: -------- --- /work/SRC/openSUSE:Factory/FreeCAD/FreeCAD-test.changes 2022-02-09 20:40:03.690499606 +0100 +++ /work/SRC/openSUSE:Factory/.FreeCAD.new.1548/FreeCAD-test.changes 2022-06-21 16:31:59.243773809 +0200 @@ -1,0 +2,5 @@ +Tue Jun 14 17:12:47 UTC 2022 - Stefan Br??ns <[email protected]> + +- Update to version 0.20 + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/FreeCAD/FreeCAD.changes 2022-03-15 19:05:10.304958358 +0100 +++ /work/SRC/openSUSE:Factory/.FreeCAD.new.1548/FreeCAD.changes 2022-06-21 16:31:59.259773832 +0200 @@ -1,0 +2,24 @@ +Tue Jun 14 17:12:11 UTC 2022 - Stefan Br??ns <[email protected]> + +- Update to version 0.20: + * Lots of bugfixes and new features, for details see + https://wiki.freecad.org/Release_notes_0.20 and + https://github.com/FreeCAD/FreeCAD/releases/tag/0.20 +- Drop upstream patches: + * fix_unittestgui_tkinter_py3.patch + * fix-smesh-vtk9.patch + * 0001-Test-remove-not-needed-u-before-py3-unicode-string.patch + * 0001-Test-fix-exception-handling-in-tests-for-units.patch + * 0001-Test-Provide-more-useful-information-when-unit-trans.patch + * 0002-Base-Fix-wrong-character-encoding-for-micro-siemens.patch + * 0001-improve-search-for-VTK-9.patch +- Add 0001-Gui-Quarter-Add-missing-OpenGL-includes.patch +- Add 0001-Avoid-catching-SIGSEGV-defer-to-system-services.patch + +------------------------------------------------------------------- +Wed Mar 16 18:15:57 UTC 2022 - Stefan Br??ns <[email protected]> + +- Remove VTK::Java/java-devel dependency, add + 0001-improve-search-for-VTK-9.patch + +------------------------------------------------------------------- Old: ---- 0001-Test-Provide-more-useful-information-when-unit-trans.patch 0001-Test-fix-exception-handling-in-tests-for-units.patch 0001-Test-remove-not-needed-u-before-py3-unicode-string.patch 0002-Base-Fix-wrong-character-encoding-for-micro-siemens.patch FreeCAD-0.19.4.tar.gz fix-smesh-vtk9.patch fix_unittestgui_tkinter_py3.patch New: ---- 0001-Avoid-catching-SIGSEGV-defer-to-system-services.patch 0001-Gui-Quarter-Add-missing-OpenGL-includes.patch FreeCAD-0.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ FreeCAD-test.spec ++++++ --- /var/tmp/diff_new_pack.FnwCle/_old 2022-06-21 16:32:02.299778291 +0200 +++ /var/tmp/diff_new_pack.FnwCle/_new 2022-06-21 16:32:02.307778302 +0200 @@ -17,7 +17,7 @@ Name: FreeCAD-test -Version: 0.19.4 +Version: 0.20 Release: 0 Summary: Meta source package that runs the FreeCAD testsuite when built License: GPL-2.0-or-later AND LGPL-2.0-or-later ++++++ FreeCAD.spec ++++++ --- /var/tmp/diff_new_pack.FnwCle/_old 2022-06-21 16:32:02.327778332 +0200 +++ /var/tmp/diff_new_pack.FnwCle/_new 2022-06-21 16:32:02.331778337 +0200 @@ -27,24 +27,17 @@ %bcond_without smesh Name: FreeCAD -Version: 0.19.4 +Version: 0.20 Release: 0 Summary: General Purpose 3D CAD Modeler License: GPL-2.0-or-later AND LGPL-2.0-or-later Group: Productivity/Graphics/CAD URL: https://www.freecadweb.org/ Source0: https://github.com/FreeCAD/FreeCAD/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-OPENSUSE Use correct import for Python 3 tkinter -Patch1: fix_unittestgui_tkinter_py3.patch -# PATCH-FIX-UPSTREAM Rebased https://github.com/wwmayer/FreeCAD/commit/bb9bcbd51df7 -Patch2: fix-smesh-vtk9.patch # PATCH-FIX-UPSTREAM -Patch3: 0001-Test-remove-not-needed-u-before-py3-unicode-string.patch -# PATCH-FIX-UPSTREAM -Patch4: 0001-Test-fix-exception-handling-in-tests-for-units.patch -# PATCH-FIX-UPSTREAM -Patch5: 0001-Test-Provide-more-useful-information-when-unit-trans.patch -Patch6: 0002-Base-Fix-wrong-character-encoding-for-micro-siemens.patch +Patch0: 0001-Gui-Quarter-Add-missing-OpenGL-includes.patch +# PATCH-FIX-OPENSUSE +Patch1: 0001-Avoid-catching-SIGSEGV-defer-to-system-services.patch # Test suite fails on 32bit and I don't want to debug that anymore ExcludeArch: %ix86 %arm ppc s390 s390x @@ -71,7 +64,6 @@ # We use the internal smesh version with fixes atm BuildRequires: smesh-devel %endif -BuildRequires: java-devel BuildRequires: libXerces-c-devel BuildRequires: libXi-devel BuildRequires: libmed-devel @@ -84,8 +76,9 @@ BuildRequires: sqlite3-devel # Qt5 & python3 -BuildRequires: python3-devel +BuildRequires: python3-devel >= 3.6.9 BuildRequires: python3-matplotlib +BuildRequires: python3-pivy BuildRequires: python3-ply BuildRequires: python3-pybind11-devel BuildRequires: python3-pycxx-devel @@ -109,6 +102,7 @@ Requires: python3-pivy # For FEM workbench Requires: python3-PyYAML +Requires: python3-matplotlib-qt5 Requires: python3-ply Requires: python3-six @@ -116,8 +110,6 @@ BuildRequires: update-desktop-files BuildRequires: vtk-devel BuildRequires: zlib-devel -# we need to ensure to have the minimum version from build env -Requires: libopencascade7 >= %(/bin/bash -c 'rpm -q --qf "%%{version}" libopencascade7') Recommends: ccx @@ -182,8 +174,10 @@ -DOCC_INCLUDE_DIR=%{_includedir}/opencascade \ -DRESOURCEDIR=%{_datadir}/%{name} \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \ + -DPYTHON_INCLUDE_DIR=%{python3_sysconfig_path include} \ -DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2/ \ -DPYSIDE_INCLUDE_DIR=/usr/include/PySide2/ \ + -DPYBIND11_FINDPYTHON:BOOL=ON \ -DFREECAD_USE_PYBIND11:BOOL=ON \ -DBUILD_ENABLE_CXX_STD:STRING="C++17" \ -DBUILD_QT5=ON \ @@ -205,26 +199,6 @@ %install %cmake_install -# create parsetab.py for yacc.ply (FEM) -# https://tracker.freecadweb.org/view.php?id=4840 -pushd %{buildroot}/%{_libdir}/FreeCAD/Mod/Fem -python3 -B femtools/tokrules.py -rm femtools/parser.out -# create parsetab.py for yacc.ply (OpenSCAD) -export PYTHONPATH=%{buildroot}/%{_libdir}/FreeCAD/lib -export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}/FreeCAD/lib -cd ../OpenSCAD -python3 -B -c "\ -import ply.lex as lex -import ply.yacc as yacc -import importCSG -import tokrules -from tokrules import tokens -lex.lex(module=tokrules) -yacc.yacc(module=importCSG,outputdir=\"./\") -" -rm parser.out - # Fix "non-executable-script" rpmlint warning # Run after install, as CMake "install(FILES...) sets rw- permissions chmod 755 %{buildroot}%{_libdir}/FreeCAD/Mod/AddonManager/AddonManager.py \ ++++++ 0001-Avoid-catching-SIGSEGV-defer-to-system-services.patch ++++++ >From 00d1d5908f85054f3c149c9b6a14fd36a1eaa572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> Date: Sun, 20 Mar 2022 04:22:24 +0100 Subject: [PATCH] Avoid catching SIGSEGV, defer to system services The current implementation ignores the basic signal handler requirement to only call signal safe functions, e.g. backtrace_symbols and abi::__cxa_demangle. This causes deadlocks when the handler is called from malloc/free and similar. --- src/App/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 7f93db5775..58e3b1f90f 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -1860,7 +1860,7 @@ void Application::init(int argc, char ** argv) std::set_terminate(unhandled_exception_handler); ::set_unexpected(unexpection_error_handler); #elif defined(FC_OS_LINUX) - std::signal(SIGSEGV,segmentation_fault_handler); + // std::signal(SIGSEGV,segmentation_fault_handler); #endif #if defined(FC_SE_TRANSLATOR) _set_se_translator(my_se_translator_filter); -- 2.35.1 ++++++ 0001-Gui-Quarter-Add-missing-OpenGL-includes.patch ++++++ >From 70b313a5bd282e09129d0643b96dee85f9494c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> Date: Tue, 14 Jun 2022 20:49:08 +0200 Subject: [PATCH] [Gui] Quarter: Add missing OpenGL includes QuarterWidget directly uses e.g. glPushAttrib/glPopAttrib, and thus should include the relevant headers. The headers are required on e.g. ARM platforms where Qt is build with GLES instead of Desktop GL, and does not implicitly include the headers. This fixes a regression introduced with commit 9654786c670b ("[Gui] Quarter: remove unused includes"). --- src/Gui/Quarter/QuarterWidget.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Gui/Quarter/QuarterWidget.cpp b/src/Gui/Quarter/QuarterWidget.cpp index 5e1f89e04d..18f418e19e 100644 --- a/src/Gui/Quarter/QuarterWidget.cpp +++ b/src/Gui/Quarter/QuarterWidget.cpp @@ -72,6 +72,11 @@ #include <Inventor/SbByteBuffer.h> #endif +#if !defined(FC_OS_MACOSX) +# include <GL/gl.h> +# include <GL/glext.h> +#endif + #include <Inventor/SbColor.h> #include <Inventor/SbViewportRegion.h> #include <Inventor/SoDB.h> @@ -131,10 +136,6 @@ using namespace SIM::Coin3D::Quarter; #define PRIVATE(obj) obj->pimpl -#ifndef GL_MULTISAMPLE_BIT_EXT -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 -#endif - //We need to avoid buffer swapping when initializing a QPainter on this widget class CustomGLWidget : public QOpenGLWidget { public: -- 2.36.1 ++++++ FreeCAD-0.19.4.tar.gz -> FreeCAD-0.20.tar.gz ++++++ /work/SRC/openSUSE:Factory/FreeCAD/FreeCAD-0.19.4.tar.gz /work/SRC/openSUSE:Factory/.FreeCAD.new.1548/FreeCAD-0.20.tar.gz differ: char 12, line 1
