Bug 278913 - cad/opencascade: Disable FFmpeg support
Summary: cad/opencascade: Disable FFmpeg support
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL: https://dev.opencascade.org/content/c...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-11 12:03 UTC by Daniel Engberg
Modified: 2024-05-18 12:09 UTC (History)
0 users

See Also:
thierry: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-05-11 12:03:57 UTC
Looking at https://git.alpinelinux.org/aports/tree/community/opencascade/APKBUILD#n37 it doesn't seem to cause any issues?
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2024-05-13 18:03:07 UTC
Alpine Linux has a problem which does not exist in the FreeBSD ports tree:

- they have 2 different conflicting packages for FFmpeg, one of them used by VTK9 and the other one by OpenCascade;

- math/vtk9 does not depend on FFmpeg ATM (if yuri@ would add this dependency, I would ask him to choose the same version that OCCT!).

It could be possible to add an option in cad/opencascade to disable FFmpeg, but I prefer to avoid it: the gain would be small, this feature is not useless, and the port maintenance would be more complicated.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-05-18 11:35:22 UTC
One concern is that it spills over to consumers which tends to pull in the legacy FFmpeg 4 and the new 6 (because only a handful of ports are still stuck on 4.x) which will probably lead to runtime issues.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2024-05-18 12:09:30 UTC
The problem has been reported to upstream, by me and by others, and they are working on it.

It should be fixed in the nest release.