Skip to content

[media-gfx/freecad] Make the Web Workbench optional #264

@Dr-Terrible

Description

@Dr-Terrible

media-gfx/freecad-0.18.4-r1::waebbl unconditionally enables the Web Workbench module. This module (as stated in the official Wiki) is not a modelling workbench but merely provides a convenient web browser window within the app itself; it doesn't enhance FreeCAD with extra 2D/3D features.

The module uses dev-qt/qtwebkit:5, which soon is going to be retired from portage. QtWebKit is deprecated in favour of QtWebEngine, which means upstream is going to switch to QtWebEngine for their Web Workbench. Both QtWebKit and QtWebEngine impose a heavy burden on specific archs (ex.: dual-core x86, or 64-bit ARM with limited amount of RAM such as Raspberry Pi or similar hardware) causing compilations that can last for more than 24-48 hours. Cross-compilation is not an option either, because VTK, QtWebKit, QtWebEngine, nor several other FreeCAD's dependencies are designed to properly support it.

It would be nice to hide the Web Workbench behind a web USE flag, so people with constrained resources can skip the dependency on dev-qt/qtweb*. It's a trivial modification to the ebuild, and I can provide a pull request if this feature request is accepted.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions