A new version of Blender has been released, which contains some new features, and bug fixes. And it would be nice to get it into portage. I am working on a ebuild, but I'm haveing some problems that I can't seem to figure out. I'll attach the incomplete ebuild, if somebody else can use it.
Created attachment 21592 [details] Not working ebuild for blender 2.31. Just a modified version of the blender 2.30 ebuild. Complains about not finding OpenGL when doing configure, but does not when configureing workdir afterwards.
Created attachment 21668 [details, diff] fixes the "opengl is not found" bug fixes the "opengl is not found" bug in blender-2.31 ./configure (same patch already exists for blender-2.30)
The patch I posted should work if you copy blender-2.30.ebuild to blender-2.31.ebuild and just use that. (patch itself should ofcourse go to <portage>/media-gfx/blender/files)
sorry I was a bit busy, I'll update blender ebuild within tomorrow, hopefully
FYI, the blender developers released version 2.31a today, a bugfix release. So perhaps this version should be added to portage instead of 2.31? Modifying ebuild for new version: (works for me). 1) From blender-2.30.ebuild: cp blender-2.30.ebuild blender-2.31a.ebuild cp files/configure-fix-2.30.patch files/configure-fix-2.31a.patch 2) Edit the patch: Small change only, bump the version number in the patch header (1st two lines) from 2.30 to 2.31a. This resulted in a working ebuild of the latest version of blender.
The 2.31 ebuild has been added to portage... but the header in the patch file didn't get changed, so the ebuild is broken. So it makes sense to abandon the 2.31 ebuild altogether and just move onto the 2.31a version, imho (which is why I haven't actually submitted a bug report for this yet, but maybe someone else will in the time being). :)
Nice catch ferret. :) I've fixed -2.30 and committed blender-2.31a in cvs with a few extra goodies (sequence and texture plugins, png icon etc)
I just compiled blender 2.31a like Dan Bryant described, works perfectly.