On 20.07.2009 03:46, Alessandro Doro wrote: > On Sun, Jul 19, 2009 at 11:28:51PM +0200, Sven-Hendrik Haase wrote: > >> On 19.07.2009 12:42, Alessandro Doro wrote: >> >>> On Sun, Jul 19, 2009 at 12:29:20PM +0300, Roman Kyrylych wrote: >>> >>> >>>> 2009/7/19 Lukáš Jirkovský <l.jirkovsky@xxxxxxxxx>: >>>> >>>> >>>>> IMO the problem is that you (devs) use make to build blender which is >>>>> several years deprecated and probably no-one builds blender this way. >>>>> Maybe they've dropped support for it completely. I suggest using >>>>> SCons. Maybe you can reuse my blender-svn PKGBUILD from AUR, only >>>>> thing that has to be changed for this purpose is the part where data >>>>> is downloaded from SVN server. >>>>> >>>>> There is one problem which I'm aware of with this package – it >>>>> installs blender executable in /usr/share/blender and adds wrapper to >>>>> /usr/bin. I'll probably move blender to /opt in near future. >>>>> >>>>> >>>> There is also a request about building to SCons: >>>> http://bugs.archlinux.org/task/14893 >>>> and there is a PKGBUILD too (for stable, not svn version). >>>> >>>> >>> That PKGBUILD needs a cleanup; depends and makedepends are wrong. >>> I'll soon post an updated version. >>> >>> FYI I had success with the NaN method. >>> The "key" is (http://bugs.archlinux.org/task/14766#comment46628): >>> export NAN_DEBUG=-O >>> Today I'll work for a PKGBUILD. >>> >>> >>> >> I fixed both packages and uploaded them. Take whichever you want. >> http://doubleskill.de/svens_stuff/blender-pkgs.tar.gz >> > > So you're providing a (scons) PKGBUILD for x86_64 with '-march=i686' and > '-mtune=generic' compile flags? > > Note that all you need (no sedding) for the NaN method is, not reviewed: > export NAN_NO_PLUGIN=true > export NAN_PYTHON_VERSION=2.6 > export INTERNATIONAL=true > export WITH_BF_OPENMP=true > export NAN_USE_FFMPEG_CONFIG=true > export NAN_ODE=/usr > export WITH_VERSE=true > export NAN_DEBUG=-O > and a patch (assuming we DO want sound): > - NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a > + NAN_SND_LIBS += -lopenal > in source/Makefile > > > Whoops, sorry. Didn't see that as I hoped that scons would do some magic for me. Oh well, mind adding a little sed magic into the PKGBUILD to make up for it? Apart from that, building using scons seems to work quite well AND IT HAS COLORS. Honestly though, I don't mind whatever PKGBUILD and build system you are going to choose as long as I won't miss out on any features in Blender :). Since the current Blender version in [extra] is a couple of months old, it should be a priority to update that package as soon as possible.