pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freecad: Update to 1.1.3



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sat Jul 25 17:27:37 2026 +1000
Changeset:	97a8268420fa091d347faf60d68bd7ddc85fafba

Modified Files:
	freecad/Makefile
	freecad/PLIST
	freecad/distinfo
Added Files:
	freecad/patches/patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake

Log Message:
freecad: Update to 1.1.3

FreeCAD 1.1.3 is a maintenance release in the 1.1.x series. It includes several
security fixes addressing code-execution and other file-handling
vulnerabilities that can be triggered by opening a maliciously crafted FCStd
file. All previously-released versions are affected by one or more of these
issues, so we strongly recommend that all users upgrade, especially anyone who
opens FreeCAD files from untrusted or unknown sources.

What happened to 1.1.2?

Shortly after the release of 1.1.2 we discovered that a bugfix that had been
intended for inclusion in the next release had been inadvertently omitted. It
is not a security bug, so if you've already installed 1.1.2 there is no urgent
need to update to 1.1.3, though the bug is an annoyance (repeated warnings of a
version update when saving a file) so you will likely want to upgrade sooner
rather than later.

What's Changed

- BIM: fix projection direction of hidden geometry in TechDraw_ArchView by
  @Roy-043 in #29384
- BIM: fix double-click visibility behavior of views in Views Manager by
  @Roy-043 in #29387
- Let setupTitleBar replace existing title bar, to avoid need to first remove
  any existing (#14650) by @andershol in #29460
- CAM: Fix HiDPI support and font scaling in CAM tool widgets by @Connor9220
  in #29469
- Sketcher: preserve local overlay depth for dimensions and grid by @tritao
  in #29394
- Sketcher: preserve local overlay depth for dimensions and grid by @tritao
  in #29289
- FEM: Fix highlight selection for compsolid pop-up tool by @ipatch in #29531
- PartDesign: fix Chamfer tool not starting in selection mode by @Bojan9597 in
  #29529
- App: Use ModDirs as the authoritative list of mods to load from by @chennes
  in #29068
- core: fixes #29090 allow navigation ie. pan, orbit, track after using long
  LMB press by @ipatch in #29541
- BIM: fix duplicate processing in IFC export by @Roy-043 in #29530
- TechDraw: prevent crash on document load by @WandererFan in #29657
- Draft: fix clone diffuse color regression 2 by @Roy-043 in #29735
- Draft: Draft_ShapeString: disable point update after entering coords in task
  panel by @Roy-043 in #29840
- TechDraw: Do not maximize MDIView when closing by @maxwxyz in #29842
- BIM: fix accuracy issue with roof subtraction by @Roy-043 in #29851
- core: cmake: fix build errors with qt v6.11 by @ipatch in #29905
- App: Fixes possible crashes in ComplexGeoDataPy::setElementName by @wwmayer
  in #29960
- Gui: Fix possible crash when opening by drag and drop by @wwmayer in #29965
- Gui: Disable drag and drop of coordinate system by @maxwxyz in #29964
- Fix possible crash in DrawViewPart by @wwmayer in #29963
- Part: Fix crash in wireEncirclesAxis by @wwmayer in #29969
- App: Fix crash in GeoFeaturePy::getGlobalPlacementOf by @wwmayer in #29968
- PartDesign: Fix both Pipes by @drwho495 in #30147
- Style: greyed the text in non-visible objects by @paragforwork in #30199
- Fem: Update analysis type and eigenmode limits properties for old projects by
  @marioalexis84 in #30198
- Assembly: Fix AssemblyLink double click not working if no view (#28848) by
  @PaddleStroke in #30177
- BIM: Update BIM Classification Download URL by @semhustej in #30258
- Core: Add version warning dialog and preference by @Connor9220 in #30276
- Draft: fix AutoUpdate icon change of Shape2DView by @Roy-043 in #30315
- Draft: update draft_test_objects.FCstd by @semhustej in #30345
- Gui: Don't auto-select object after deletion by @rehan-ahmed-aix in #30457
- CAM: Vcarve - Fix step down [1.1 manual backport] by @tarman3 in #30490
- CAM: Fix armhf build failure: OpenGL macro conflict with Coin3D heade# by
  @coldtobi, @chennes in #30174
- BIM: fix fill of shaft-like objects in TechDraw_ArchView by @Roy-043 in
  #30526
- BIM: fix Arch_RemoveShape by @Roy-043 in #30527
- BIM: fix faulty Presets paths by @Roy-043 in #30528
- Gui: Only set style-sheet if it has actually changed. Simplify overla# by
  @andershol in #30173
- BIM: fix import issues related to switching to Strict IFC by @Roy-043 in
  #30619
- BIM: fix fill of shaft-like objects in Draft_Shape2DView by @Roy-043 in
  #30618
- Draft: Fix crossed segment pairing when binding offset wall wires by @tritao
  in #30638
- CI: Pin Windows runners to windows-2022 by @chennes in #31213
- Sketcher: add reverse mapping correction to Carbon Copy (#25745) by
  @marbocub, @chennes in #31205
- App: Add #include <climit> and switch to std::numeric_limits (#27742) by
  @filippor in #31202
- Update ArchPipe.py by @Roy-043 in #31201
- CI: Run expensive CI only after initial PR approval by @chennes in #31199
- CAM: Fix case when CAM operation Safe height, Start depth, and Final depth
  are the same value. (#27258) by @Daniel-Khodabakhsh in #31196
- Merge pull request #27243 from 3x380V/app by @kadet1090 in #31206
- BIM: changing door or window opening or direction should touch hosts (#29404)
  by @Roy-043 in #31204
- App: handle symlinks in Application::processFiles & DocInfo::getDocPath by
  @captain0xff in #31198
- App/BIM/Draft: use repr() for more robust quoting (#28757) by @chennes in
  #31203
- Gui: Improve drag & move of annotation label (#29953) by @maxwxyz in #31200
- App: Get Addon name from Metadata by @chennes in #31197
- Escape strings when passing to interpreter by @chennes in #31219
- Fix #30706: Allow Macro dirs as sources of PropertyPythonObject by @mnesarco
  in #31220
- Fix weekly Linux and Windows package builds by @tritao in #31232
- Draft: increase center point tolerance for angular dimensions by @Roy-043 in
  #31262
- Gui: Fix SplashScreen-induced app startup slowdown by @ElementW, @3x380V in
  #31260
- Base: Harden FCStd Reader against XXE by @chennes in #31280
- App: Prevent directory traversal in included file by @chennes in #31281
- FEM: Switch to direct C++ set of text values by @chennes in #31312
- TD: harden face creation by @wwmayer in #31370
- Part: Ensure filename is properly escaped by @chennes in #31381
- Robot: Ensure filenames are properly escaped by @chennes in #31380
- TD: Ensure quotes in a filename are properly escaped by @chennes in #31379
- CAM: Escape user input to avoid code injection by @chennes in #31378
- Sanitize user-controlled strings by @chennes in #31377
- BIM: fix error in #30001 by @Roy-043 in #31447
- Backport #30910 to releases/FreeCAD-1-1 by @adrianinsaval, @chennes in #31458
- TD: Add missing escapeEncodeString() by @chennes in #31493
- BIM: remove calls to eval in BimTutorial (workaround solution) by @Roy-043 in
  #31498
- Cherry-pick security fixes by @wwmayer in #31505
- CAM: Fix cam eval blacklist by @wwmayer, @chennes in #31504
- PD: Add FuzzyTolerance property by @wwmayer, @chennes in #31249
- Sketcher/Measure: fix precision loss in dimension and measurement values by
  @Bojan9597 in #31512
- "sketcher: fixes 28639, restore preselect highlight for faces when using
  external projection tool" by @ipatch in #31513
- Robot: Escape strings by @wwmayer, @chennes in #31502
- Build: Update version to 1.1.2 by @chennes in #31250
- Core: Update d->programVersion after successful save by @Connor9220 in #31535
- Build: Update version to 1.1.3 by @chennes in #31552

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=97a8268420fa091d347faf60d68bd7ddc85fafba

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freecad/Makefile                                   |  2 +-
 freecad/PLIST                                      |  4 ++++
 freecad/distinfo                                   |  7 ++++---
 .../patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake | 23 ++++++++++++++++++++++
 4 files changed, 32 insertions(+), 4 deletions(-)

diffs:
diff --git a/freecad/Makefile b/freecad/Makefile
index 4312325aba..c63ec9a520 100644
--- a/freecad/Makefile
+++ b/freecad/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-VERSION=	1.1.1
+VERSION=	1.1.3
 DISTNAME=	freecad_source_${VERSION}
 PKGNAME=	freecad-${VERSION}
 CATEGORIES=	cad
diff --git a/freecad/PLIST b/freecad/PLIST
index 8fdda5dbba..3b72ddfe20 100644
--- a/freecad/PLIST
+++ b/freecad/PLIST
@@ -329,9 +329,11 @@ Mod/BIM/bimtests/TestArchStructure.py
 Mod/BIM/bimtests/TestArchTruss.py
 Mod/BIM/bimtests/TestArchWall.py
 Mod/BIM/bimtests/TestArchWindow.py
+Mod/BIM/bimtests/TestArchWindowGui.py
 Mod/BIM/bimtests/TestWebGLExport.py
 Mod/BIM/bimtests/TestWebGLExportGui.py
 Mod/BIM/bimtests/fixtures/FC_site_simple-102.FCStd
+Mod/BIM/bimtests/test_roof_subtraction.brep
 Mod/BIM/importers/Sample.sh3d
 Mod/BIM/importers/__init__.py
 Mod/BIM/importers/exportIFC.py
@@ -1813,6 +1815,8 @@ Mod/Sketcher/ProfileLib/__init__.py
 Mod/Sketcher/Profiles.py
 Mod/Sketcher/SketcherExample.py
 Mod/Sketcher/SketcherTests/TestPlacementUpdate.py
+Mod/Sketcher/SketcherTests/TestSketchCarbonCopyReverseMapping.FCStd
+Mod/Sketcher/SketcherTests/TestSketchCarbonCopyReverseMapping.py
 Mod/Sketcher/SketcherTests/TestSketchExpression.py
 Mod/Sketcher/SketcherTests/TestSketchFillet.py
 Mod/Sketcher/SketcherTests/TestSketchValidateCoincidents.py
diff --git a/freecad/distinfo b/freecad/distinfo
index f7b38a7915..06cd7328c0 100644
--- a/freecad/distinfo
+++ b/freecad/distinfo
@@ -1,8 +1,9 @@
 $NetBSD$
 
-BLAKE2s (freecad_source_1.1.1.tar.gz) = e91bd2dbde90bd351cfe8e16542e4b2a4b87838fda74a6785f95fe2972be338c
-SHA512 (freecad_source_1.1.1.tar.gz) = f549d1dd26031ea3909e08839d4267f19d19e61d66138bfaa6a77bc0b1877c7c63f26eaa0ec1792ac10d6524b108fa6fef348f9a3c2d3ef1b2f6a38d63d25a57
-Size (freecad_source_1.1.1.tar.gz) = 98159711 bytes
+BLAKE2s (freecad_source_1.1.3.tar.gz) = 283d4f49ce6756433a7421351130ee741425a58355bcba5d14cc3d0a03f30416
+SHA512 (freecad_source_1.1.3.tar.gz) = 36fd55ff54a7eec38a1364e95b86fbb6e70336e79936b8bb58f56d52e0c6ddb4dcb0eb96d5c2fde2e34ed233421b088cd19e85edfbad13a99c983d7c79e38261
+Size (freecad_source_1.1.3.tar.gz) = 98193618 bytes
+SHA1 (patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake) = fa7978dafa7ae3e5bdf311efa63b0ad2a5d80358
 SHA1 (patch-cMake_FreeCAD__Helpers_SetupSalomeSMESH.cmake) = 2d8e3ce0c1a08d3dfb9ca96141fe025ae922fce5
 SHA1 (patch-src_App_Application.cpp) = ed1a23d643d67063bbe5e4bede3a04f1a516ed12
 SHA1 (patch-src_App_ApplicationDirectories.cpp) = c188c7cd0d85779d1c060b5eb1e9cd58a7f3ecc7
diff --git a/freecad/patches/patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake b/freecad/patches/patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake
new file mode 100644
index 0000000000..7b3bcb701d
--- /dev/null
+++ b/freecad/patches/patch-cMake_FreeCAD__Helpers_SetupCoin3D.cmake
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Support Coin versions with numeric version components with more than one digit.
+
+https://github.com/FreeCAD/FreeCAD/issues/31166
+
+--- cMake/FreeCAD_Helpers/SetupCoin3D.cmake.orig	2026-07-25 06:38:19.205647729 +0000
++++ cMake/FreeCAD_Helpers/SetupCoin3D.cmake
+@@ -25,11 +25,11 @@ macro(SetupCoin3D)
+ 
+     IF (NOT COIN3D_VERSION)
+         file(READ "${COIN3D_INCLUDE_DIRS}/Inventor/C/basic.h" _coin3d_basic_h)
+-        string(REGEX MATCH "define[ \t]+COIN_MAJOR_VERSION[ \t]+([0-9?])" _coin3d_major_version_match "${_coin3d_basic_h}")
++        string(REGEX MATCH "define[ \t]+COIN_MAJOR_VERSION[ \t]+([0-9?]+)" _coin3d_major_version_match "${_coin3d_basic_h}")
+         set(COIN3D_MAJOR_VERSION "${CMAKE_MATCH_1}")
+-        string(REGEX MATCH "define[ \t]+COIN_MINOR_VERSION[ \t]+([0-9?])" _coin3d_minor_version_match "${_coin3d_basic_h}")
++        string(REGEX MATCH "define[ \t]+COIN_MINOR_VERSION[ \t]+([0-9?]+)" _coin3d_minor_version_match "${_coin3d_basic_h}")
+         set(COIN3D_MINOR_VERSION "${CMAKE_MATCH_1}")
+-        string(REGEX MATCH "define[ \t]+COIN_MICRO_VERSION[ \t]+([0-9?])" _coin3d_micro_version_match "${_coin3d_basic_h}")
++        string(REGEX MATCH "define[ \t]+COIN_MICRO_VERSION[ \t]+([0-9?]+)" _coin3d_micro_version_match "${_coin3d_basic_h}")
+         set(COIN3D_MICRO_VERSION "${CMAKE_MATCH_1}")
+         set(COIN3D_VERSION "${COIN3D_MAJOR_VERSION}.${COIN3D_MINOR_VERSION}.${COIN3D_MICRO_VERSION}")
+     ENDIF ()


Home | Main Index | Thread Index | Old Index