Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49596 - Blender 2.33 really avaliable - scons generates issues.
Summary: Blender 2.33 really avaliable - scons generates issues.
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Graphics Project
URL: http://www.blender3d.org/cms/Blender_...
Whiteboard:
Keywords:
: 52376 56742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-01 07:04 UTC by Leandro
Modified: 2006-05-03 03:56 UTC (History)
13 users (show)

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


Attachments
Blender cvs ebuild working with scons (blender-cvs-2.3.2.ebuild,1.51 KB, text/plain)
2004-05-02 15:24 UTC, Pol
Details
workaround for segfault of gcc (blender-2.33-wa.patch,782 bytes, patch)
2004-05-02 17:13 UTC, Francesco Tamagni
Details | Diff
Blender ebuild without the support for USE flags (blender-2.33.ebuild,1.79 KB, text/plain)
2004-05-03 10:15 UTC, Ville Leskinen
Details
New ebuild with some USE flag support (blender-2.33.ebuild,2.12 KB, text/plain)
2004-05-13 13:43 UTC, Ville Leskinen
Details
blender 2.33a ebuild (blender-2.33a.ebuild,2.27 KB, text/plain)
2004-06-25 22:44 UTC, Manuel Schroeder
Details
blender 2.33a ebuild with scons (blender-2.33a.ebuild,2.86 KB, text/plain)
2004-07-12 14:36 UTC, Benjamin GIRAULT
Details
patch for SConstruct file and fmod flag (blender-2.33a-scons.patch,5.44 KB, patch)
2004-07-12 14:38 UTC, Benjamin GIRAULT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro 2004-05-01 07:04:57 UTC
Blender 2.33 is avaliale on blender.org.
http://www.blender3d.org/cms/Blender.31.0.html
Can you put in the portage tree, please?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Davin Boling 2004-05-01 09:51:30 UTC
This version of Blender re-integrates the realtime engine. As such, I have closed bug <a href="http://bugs.gentoo.org/show_bug.cgi?id=42497">42497</a>.
Comment 2 Pol 2004-05-01 10:35:58 UTC
be carefull the new building system is scons, this is no more with makefiles.

To enable the gameengine, edit config.opts in the same directory as the SConstruct. Modify it so that it reads BUILD_GAMEENGINE='true' and USE_PHYSICS='solid'

That's all for now I think.
Comment 3 Pol 2004-05-02 15:24:12 UTC
Created attachment 30558 [details]
Blender cvs ebuild working with scons

Some month ago I did a small ebuild.

It build the blender cvs with scons and works pretty good.
Maybe we can use that ebuild as a 'base' for blender 2.33.

The only thing I cannot do is to modify a file (config.opts) with and ebuild.
If someone can help me ... I would be happy to provide to gentoo users the good
ebuild :p

Cya

 -pol-
Comment 4 Francesco Tamagni 2004-05-02 16:43:37 UTC
maybe it is necessary to include a patch which contains the right config.opts
file but... this is not very compatible with "local myconf" policy used with automake packages... mumble mumble!

Fra
Comment 5 Francesco Tamagni 2004-05-02 17:13:52 UTC
Created attachment 30562 [details, diff]
workaround for segfault of gcc

i made this stupid patch to workaround a stupid segfault 
of gcc on my stupid x86 system during the sconsing of blender...
[ gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7) ]
Comment 6 Ville Leskinen 2004-05-03 10:15:48 UTC
Created attachment 30619 [details]
Blender ebuild without the support for USE flags

OK, here's an ebuild that uses scons to build blender. There's still some need
for sed magick and scos knowledge to get the USE flags working. Also I haven't
yet gotten either the plugins or the game engine to compile with gcc-3.4 so I
didn't enable them in the ebuild.

The gcc34 patch can be found from here:
http://bugs.gentoo.org/show_bug.cgi?id=49844
Comment 7 Pol 2004-05-09 13:12:41 UTC
How to enable the game engine now ?
Comment 8 Luca Barbato gentoo-dev 2004-05-10 05:46:26 UTC
ops seems we miss the release date
Comment 9 Luca Barbato gentoo-dev 2004-05-10 08:38:09 UTC
Some points:

- the SConstruct looks lacking too many features to be used on gentoo (eg: missing support for linuxppc,linuxppc64,linuxamd64)

- supporting options is just a matter of sed, once SConstruct is fixed

Said that, the current tarball looks messier than ever.

Could someone tell me that I'm wrong and give me some insight about scons and friends?

Comment 10 Ville Leskinen 2004-05-13 13:43:24 UTC
Created attachment 31363 [details]
New ebuild with some USE flag support

Well, my exam season ended yesterday so I finally got a chance to add some
features to the ebuild. It now supports some USE flags(static, openal, fmod and
blender-game). Adding 'blender-game' to your use flags should enable game
engine, but it also makes build fail with gcc 3.4.(I haven't tested it with
earlier versions) Also enabling quicktime support makes build fail, but if you
want to test it just uncomment the line with 'use quicktime && ...' and be sure
that quicktime is in USE.

There are still some issues:

- I haven't figured out yet how to enable/disable some features(support for
sdl, jpeg, png, mozilla) so I left out the support for those USE flags from the
ebuild. 

- I can't test the build on other archs than x86.
Comment 11 Luca Barbato gentoo-dev 2004-05-13 14:16:34 UTC
I put a bug in the blender issuetracker, some problems comes from our glibc (we need a newer one) and some comes from the blender source itself.
I hope to discover how to enable disable components (probably using # may work but isn't really a good option)
Thanks for the ebuild and the support.
Comment 12 Leandro 2004-05-14 09:33:23 UTC
Blender 2.33a is avaliable. The 2.33a version is a bug fixed upgrade of 2.33. 

Bug Fixes:
http://www.blender3d.org/cms/Blender_2_33a_update.313.0.html
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-29 16:49:37 UTC
*** Bug 52376 has been marked as a duplicate of this bug. ***
Comment 14 Mridul Khan 2004-05-29 22:02:26 UTC
So when will we be seeing Blender 2.33a in the portage tree?
Comment 15 Luca Barbato gentoo-dev 2004-05-30 09:04:16 UTC
When we find how to make a blender ebuild using scons that isn't a regression from the 2.32. If anybody has time to dig in the issue we'll be glad, currently I don't have enough time to ensure a complete ebuild in short time.
Comment 16 Manuel Schroeder 2004-06-25 22:44:58 UTC
Created attachment 34180 [details]
blender 2.33a ebuild

I used the latest ebuild posted here to make one for blender 2.33a.
no guarantees, but it worked on my system.
Comment 17 Manuel Schroeder 2004-06-25 23:15:55 UTC
Comment on attachment 34180 [details]
blender 2.33a ebuild

Sorry submitted the wrong version:

problems:

>#src_unpack() {
>#	unpack ${A}
>#}

those should be un-commented.

>src_install() {
>	#einstall || die
insert:
    exeinto /usr/bin/
    doexe ${S}/blender

and it worked.
Comment 18 Roman Polach 2004-06-30 06:24:58 UTC
Could help inspiration from Mandrake's blender-2.33a-1mdk.src.rpm ???
(blender.spec, blender-2.33a-gcc34.patch.bz2, blender-2.33a-templates.patch.bz2)
Comment 19 Luca Barbato gentoo-dev 2004-07-12 03:14:16 UTC
I'll work on it next week seems that the gcc34 patch is the one from the issuetracker, still are missing the plugins and the selective deps support (I'll be forced to build it with everything including the kitchensink)

If you thing that is acceptable I'll put a p.masked ebuild.

Malverian feel free to takeover if you have better solutions or more time
Comment 20 Luca Barbato gentoo-dev 2004-07-12 03:19:22 UTC
*** Bug 56742 has been marked as a duplicate of this bug. ***
Comment 21 Luca Barbato gentoo-dev 2004-07-12 09:45:25 UTC
The ebuild is in cvs marked -*

feel free to test it and tell me if you are missing was is left
Comment 22 Benjamin GIRAULT 2004-07-12 14:36:29 UTC
Created attachment 35263 [details]
blender 2.33a ebuild with scons

I've worked on the ebuild for some days and here is what I obtain.
Support for fmod is quite strange : I had to change a line in the FMod's
include file so that a function be (see the ebuild), and many things needs to
be change in the source file concerned. I don't know if this solution really
works.
I didn't manage to make ode part build, it always appeared that this function
is missing : KX_ClearSumoSharedShapes, and I didn't find it anywhere.
The dependencies for blender-plugin and blender-player are not set because I
have no idea of what they are and what do these flags but they works. Other
flags work for me.
Comment 23 Benjamin GIRAULT 2004-07-12 14:38:30 UTC
Created attachment 35264 [details, diff]
patch for SConstruct file and fmod flag

I'm not submitting the patch for gcc3.4.
Comment 24 Luca Barbato gentoo-dev 2004-07-12 16:17:32 UTC
hm, I have an ebuild already in portage, yours is quite better since supports more  some options. I'll try to merge them tomorrow
thanks for your work
Comment 25 D J Capelis 2004-07-18 07:31:06 UTC
Does this mean the bug is now assigned?

(And I hate to be picky, but how're those plans for tomorrow working?)
Comment 26 Jean-Michel Smith 2004-07-19 12:45:59 UTC
It is 7/19/2004.  I don't know which ebuild is currently in portage (the one discussed here, or an earlier one), but the gcc-3.4 patch needs to be added to the SRC-URI entry, else the ebuild fails (on AMD64 with gcc-3.4.1), as the EPATCH file doesn't exist.

simply changing
SRC_URI="http://download.blender.org/source/${P}.tar.bz2"

to
SRC_URI="http://download.blender.org/source/${P}.tar.bz2 http://www.ibiblio.org\
/pub/Linux/distributions/gentoo/distfiles/${P}-gcc34.patch.bz2"

and regenerating the digest did the trick!  The patch (already at ibiblio) with that change downloads and installs correctly.
Comment 27 Mike Vanecek 2004-07-19 23:28:36 UTC
In case no one has tested the latest ebuild for 2.33a, it incorrectly tries to download blender-2.33a-gcc34.tar.bz2 which doesn't exist at the blender site or any of the Gentoo mirrors. There's also no mention of a patch in the ebuild either...
Comment 28 Luca Barbato gentoo-dev 2004-07-20 06:21:08 UTC
My bad, sorry for the typo, now is fixed (hopefully)
Comment 29 Harm Geerts 2004-07-20 19:18:35 UTC
Almost done ;)

!!! No message digest entry found for file "blender-2.33a-gcc34.patch.bz2."
!!! Most likely a temporary problem. Try 'emerge sync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest
Comment 30 Luca Barbato gentoo-dev 2004-10-02 01:42:54 UTC
Should be fixed long time ago 2.34 available.
Comment 31 Luca Barbato gentoo-dev 2004-10-02 02:32:54 UTC
Closing it