Bug 295909 - cad/opencascade: upgrade to V8_0_0
Summary: cad/opencascade: upgrade to V8_0_0
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thierry Thomas
URL:
Keywords:
Depends on: 295910 295911 295913 295914 295915 295916 295917 295918 296491 295912
Blocks: 296776
  Show dependency treegraph
 
Reported: 2026-06-07 13:51 UTC by Thierry Thomas
Modified: 2026-07-14 11:00 UTC (History)
1 user (show)

See Also:


Attachments
Upgrade OCCT to v8.0.0 (194.02 KB, patch)
2026-06-07 13:51 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2026-06-07 13:51:25 UTC
Created attachment 271585 [details]
Upgrade OCCT to v8.0.0

- Release notes at https://github.com/Open-Cascade-SAS/OCCT/releases/tag/V8_0_0

- Switch to ffmpeg6.

Remark: this upgrade introduce several breaking changes.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2026-06-07 20:48:47 UTC
A few things to make the port Makefile more consistent with Porters Handbook, tree and easier to follow

BUILD_DEPENDS
Use helpers for buildtools and qmake

QT5 buildtools can use the framework helper
USE_QT=         buildtools:build 
https://cgit.freebsd.org/ports/tree/Mk/Uses/qt.mk#n14
https://docs.freebsd.org/en/books/porters-handbook/book/#using-qt (Table 22)

QT qmake can use USES= qmake:no_configure,no_env
https://docs.freebsd.org/en/books/porters-handbook/book/#using-qmake

First line with CMAKE_ARGS+= should be CMAKE_ARGS=
All arguments with BOOL=ON can use CMAKE_ON
https://docs.freebsd.org/en/books/porters-handbook/book/#using-cmake

pre-everything section can be removed, inaccurate, unnecessary noise and not consistent with tree.

Variables between L52 to L93 (current version in tree) should be placed before OPTIONS_ variables are being defined
https://cgit.freebsd.org/ports/tree/cad/opencascade/Makefile#n52
https://cgit.freebsd.org/ports/tree/cad/opencascade/Makefile#n93
https://docs.freebsd.org/en/books/porters-handbook/book/#porting-order

OPT_CMAKE_BOOL can be used for menu options
https://docs.freebsd.org/en/books/porters-handbook/book/#options-cmake_bool

Why is INSTALL_TEST_CASES enabled?

Best regards,
Daniel