Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865825 - media-gfx/blender: build standalone cycles binary
Summary: media-gfx/blender: build standalone cycles binary
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-19 21:08 UTC by PF4Public
Modified: 2024-03-16 08:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PF4Public 2022-08-19 21:08:48 UTC
Please consider building a standalone cycles binary.
This would enable it to be used in FreeCAD for rendering.
This shouldn't complicate the ebuild significantly as it presumably only needs "WITH_CYCLES_STANDALONE", "WITH_CYCLES_STANDALONE_GUI" and maybe "-lGLU" in  "CMAKE_EXE_LINKER_FLAGS". Look here for a reference: https://github.com/FreeCAD/FreeCAD-render/blob/master/docs/EngineInstall.md#notes-on-installing-cycles-for-render-standalone-version=

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 01:38:40 UTC
Thought we had a bug about this before but maybe not.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 02:29:50 UTC
Ah, kurly found bug 828880.
Comment 3 PF4Public 2022-08-20 11:39:13 UTC
I've seen that, but it was a separate ebuild. It is easily doable within the existing blender ebuild. One could probably hide this behind "cycles-standalone" USE flag, which is disabled by default.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 12:40:04 UTC
(In reply to PF4Public from comment #3)
> I've seen that, but it was a separate ebuild. It is easily doable within the
> existing blender ebuild. One could probably hide this behind
> "cycles-standalone" USE flag, which is disabled by default.

Bug 828880 wasn't for a separate ebuild?
Comment 5 Sebastian Parborg 2022-08-20 13:13:28 UTC
As stated in the commit message for the ticket Sam linked, the cycles flags are not really meant to be used for distributions or end users.

If you want to make Cycles a dependecy of an other package then you should use the official cycles repo for this.

https://developer.blender.org/diffusion/C/

Doesn't make too much sense to have freecad pull in Blender if they want to use the cycles render engine.