Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 287121 Details for
Bug 382097
media-gfx/blender-2.59 bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
blender-2.5-sconstruct.patch
blender-2.5-sconstruct.patch (text/plain), 22.17 KB, created by
(RETIRED)
on 2011-09-20 06:34:35 UTC
(
hide
)
Description:
blender-2.5-sconstruct.patch
Filename:
MIME Type:
Creator:
(RETIRED)
Created:
2011-09-20 06:34:35 UTC
Size:
22.17 KB
patch
obsolete
>--- SConstruct 2011-08-11 13:49:56.000000000 -0300 >+++ SConstruct 2011-09-20 01:03:56.064841761 -0300 >@@ -1,5 +1,5 @@ > #!/usr/bin/env python >-# $Id: SConstruct 39307 2011-08-11 15:59:19Z nazgul $ >+# $Id: SConstruct 40341 2011-09-19 08:02:17Z campbellbarton $ > # ***** BEGIN GPL LICENSE BLOCK ***** > # > # This program is free software; you can redistribute it and/or >@@ -166,6 +166,13 @@ > > env.SConscriptChdir(0) > >+# Remove major kernel version from linux platform. >+# After Linus switched kernel to new version model this major version >+# shouldn't take much sense for building rules. >+ >+if re.match('linux[0-9]+', platform): >+ platform = 'linux' >+ > crossbuild = B.arguments.get('BF_CROSS', None) > if crossbuild and platform not in ('win32-vc', 'win64-vc'): > platform = 'linuxcross' >@@ -262,15 +269,15 @@ > else: > print B.bc.OKGREEN + "Found recommended sdk :" + B.bc.ENDC + " using MacOSX10.5.sdk" > >- # for now, Mac builders must download and install the driver framework from 3Dconnexion >+ # for now, Mac builders must download and install the 3DxWare 10 Beta 4 driver framework from 3Dconnexion > # necessary header file lives here when installed: > # /Library/Frameworks/3DconnexionClient.framework/Versions/Current/Headers/ConnexionClientAPI.h >- if env['WITH_BF_3DMOUSE'] == 1 and not os.path.exists('/Library/Frameworks/3DconnexionClient.framework'): >- print "3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE" # avoid build errors ! >- env['WITH_BF_3DMOUSE'] = 0 >- else: >- env.Append(LINKFLAGS=['-weak_framework','3DconnexionClient']) >- >+ if env['WITH_BF_3DMOUSE'] == 1: >+ if not os.path.exists('/Library/Frameworks/3DconnexionClient.framework'): >+ print "3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE" # avoid build errors ! >+ env['WITH_BF_3DMOUSE'] = 0 >+ else: >+ env.Append(LINKFLAGS=['-weak_framework','3DconnexionClient']) > > if env['WITH_BF_OPENMP'] == 1: > if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): >@@ -330,6 +337,17 @@ > env['CXXFLAGS'].append('-DDISABLE_ELBEEM') > env['CCFLAGS'].append('-DDISABLE_ELBEEM') > >+ >+if btools.ENDIAN == "big": >+ env['CPPFLAGS'].append('-D__BIG_ENDIAN__') >+ env['CXXFLAGS'].append('-D__BIG_ENDIAN__') >+ env['CCFLAGS'].append('-D__BIG_ENDIAN__') >+else: >+ env['CPPFLAGS'].append('-D__LITTLE_ENDIAN__') >+ env['CXXFLAGS'].append('-D__LITTLE_ENDIAN__') >+ env['CCFLAGS'].append('-D__LITTLE_ENDIAN__') >+ >+ > # TODO, make optional > env['CPPFLAGS'].append('-DWITH_AUDASPACE') > env['CXXFLAGS'].append('-DWITH_AUDASPACE') >@@ -551,7 +569,7 @@ > scriptinstall.append(env.Install(dir=dir,source=source)) > > #-- icons >-if env['OURPLATFORM']=='linux2': >+if env['OURPLATFORM']=='linux': > iconlist = [] > icontargetlist = [] > >@@ -630,7 +648,7 @@ > > if env['OURPLATFORM']=='darwin': > allinstall = [blenderinstall, plugininstall, textinstall] >-elif env['OURPLATFORM']=='linux2': >+elif env['OURPLATFORM']=='linux': > allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, textinstall, iconinstall] > else: > allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, textinstall] >@@ -638,7 +656,7 @@ > if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'win64-vc', 'linuxcross'): > dllsources = [] > >- if not env['OURPLATFORM'] in ('win32-mingw', 'win64-vc', 'linuxcross'): >+ if not env['OURPLATFORM'] in ('win32-mingw', 'linuxcross'): > # For MinGW and linuxcross static linking will be used > dllsources += ['${LCGDIR}/gettext/lib/gnu_gettext.dll'] > >--- build_files/scons/config/linux2-config.py 2011-08-11 13:47:20.000000000 -0300 >+++ build_files/scons/config/linux-config.py 2011-09-20 01:01:43.168951378 -0300 >@@ -1,4 +1,4 @@ >-LCGDIR = '../lib/linux2' >+LCGDIR = '../lib/linux' > LIBDIR = "${LCGDIR}" > > BF_PYTHON_ABI_FLAGS = 'm' # Most common for linux distros >@@ -241,8 +241,8 @@ > BF_DEBUG = False > BF_DEBUG_CCFLAGS = ['-g', '-D_DEBUG'] > >-BF_BUILDDIR = '../build/linux2' >-BF_INSTALLDIR='../install/linux2' >+BF_BUILDDIR = '../build/linux' >+BF_INSTALLDIR='../install/linux' > > #Link against pthread > PLATFORM_LINKFLAGS = ['-pthread'] >--- build_files/scons/tools/Blender.py 2011-08-11 13:47:18.000000000 -0300 >+++ build_files/scons/tools/Blender.py 2011-09-20 01:01:42.066811300 -0300 >@@ -206,7 +206,7 @@ > if lenv['WITH_BF_STATICJEMALLOC']: > statlibs += Split(lenv['BF_JEMALLOC_LIB_STATIC']) > >- if lenv['OURPLATFORM']=='linux2': >+ if lenv['OURPLATFORM']=='linux': > if lenv['WITH_BF_3DMOUSE']: > libincs += Split(lenv['BF_3DMOUSE_LIBPATH']) > if lenv['WITH_BF_STATIC3DMOUSE']: >@@ -277,7 +277,7 @@ > if not lenv['WITH_BF_STATICJEMALLOC']: > syslibs += Split(lenv['BF_JEMALLOC_LIB']) > >- if lenv['OURPLATFORM']=='linux2': >+ if lenv['OURPLATFORM']=='linux': > if lenv['WITH_BF_3DMOUSE']: > if not lenv['WITH_BF_STATIC3DMOUSE']: > syslibs += Split(lenv['BF_3DMOUSE_LIB']) >@@ -364,16 +364,16 @@ > > obj = [] > if lenv['BF_BUILDINFO']: >- lenv.Append (CPPDEFINES = ['BUILD_TIME="%s"'%(build_time), >- 'BUILD_DATE="%s"'%(build_date), >- 'BUILD_TYPE="%s"'%(build_type), >- 'BUILD_REV="%s"'%(build_rev), >- 'NAN_BUILDINFO', >- 'BUILD_PLATFORM="%s:%s"'%(platform.system(), platform.architecture()[0]), >+ lenv.Append (CPPDEFINES = ['BUILD_TIME=\\"%s\\"'%(build_time), >+ 'BUILD_DATE=\\"%s\\"'%(build_date), >+ 'BUILD_TYPE=\\"%s\\"'%(build_type), >+ 'BUILD_REV=\\"%s\\"'%(build_rev), >+ 'WITH_BUILDINFO', >+ 'BUILD_PLATFORM=\\"%s:%s\\"'%(platform.system(), platform.architecture()[0]), > 'BUILD_CFLAGS=\\"%s\\"'%(build_cflags), > 'BUILD_CXXFLAGS=\\"%s\\"'%(build_cxxflags), > 'BUILD_LINKFLAGS=\\"%s\\"'%(build_linkflags), >- 'BUILD_SYSTEM="SCons"' >+ 'BUILD_SYSTEM=\\"SCons\\"' > ]) > > lenv.Append (CPPPATH = [root_build_dir+'source/blender/blenkernel']) >@@ -536,7 +536,10 @@ > print("Installing to %s"%(installdir)) > # TODO, use tar. > python_zip = 'python_' + osxarch + '.zip' # set specific python_arch.zip >- print("unzipping to app-bundle: %s"%(python_zip)) >+ if env['WITH_OSX_STATICPYTHON']: >+ print("unzipping to app-bundle: %s"%(python_zip)) >+ else: >+ print("dynamic build - make sure to have python3.x-framework installed") > bldroot = env.Dir('.').abspath > binary = env['BINARYKIND'] > >@@ -569,10 +572,11 @@ > commands.getoutput(cmd) > cmd = 'cp %s/release/bin/%s/.Blanguages %s/%s.app/Contents/Resources/'%(bldroot,VERSION,installdir,binary) > commands.getoutput(cmd) >- cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/python/'%(installdir,binary, VERSION) >- commands.getoutput(cmd) >- cmd = 'unzip -q %s/release/%s -d %s/%s.app/Contents/MacOS/%s/python/'%(libdir,python_zip,installdir,binary,VERSION) >- commands.getoutput(cmd) >+ if env['WITH_OSX_STATICPYTHON']: >+ cmd = 'mkdir %s/%s.app/Contents/MacOS/%s/python/'%(installdir,binary, VERSION) >+ commands.getoutput(cmd) >+ cmd = 'unzip -q %s/release/%s -d %s/%s.app/Contents/MacOS/%s/python/'%(libdir,python_zip,installdir,binary,VERSION) >+ commands.getoutput(cmd) > > if binary == 'blender':#not copy everything for blenderplayer > cmd = 'cp -R %s/release/scripts %s/%s.app/Contents/MacOS/%s/'%(bldroot,installdir,binary,VERSION) >@@ -775,7 +779,7 @@ > if lenv['OURPLATFORM'] in ('win32-vc', 'cygwin', 'win64-vc'): > if lenv['BF_DEBUG']: > lenv.Prepend(LINKFLAGS = ['/DEBUG','/PDB:'+progname+'.pdb','/NODEFAULTLIB:libcmt']) >- if lenv['OURPLATFORM']=='linux2': >+ if lenv['OURPLATFORM']=='linux': > if lenv['WITH_BF_PYTHON']: > lenv.Append(LINKFLAGS = lenv['BF_PYTHON_LINKFLAGS']) > if lenv['OURPLATFORM']=='sunos5': >--- build_files/scons/tools/btools.py 2011-08-11 13:47:18.000000000 -0300 >+++ build_files/scons/tools/btools.py 2011-09-20 01:01:42.068811554 -0300 >@@ -63,9 +63,27 @@ > > return 'r' + build_rev > >+ >+# copied from: http://www.scons.org/wiki/AutoconfRecipes >+def checkEndian(): >+ import struct >+ array = struct.pack('cccc', '\x01', '\x02', '\x03', '\x04') >+ i = struct.unpack('i', array) >+ # Little Endian >+ if i == struct.unpack('<i', array): >+ return "little" >+ # Big Endian >+ elif i == struct.unpack('>i', array): >+ return "big" >+ else: >+ raise Exception("cant find endian") >+ >+ > # This is used in creating the local config directories > VERSION, VERSION_DISPLAY = get_version() > REVISION = get_revision() >+ENDIAN = checkEndian() >+ > > def print_arguments(args, bc): > if len(args): >@@ -78,7 +96,7 @@ > > def validate_arguments(args, bc): > opts_list = [ >- 'WITH_BF_PYTHON', 'WITH_BF_PYTHON_SAFETY', 'BF_PYTHON', 'BF_PYTHON_VERSION', 'BF_PYTHON_INC', 'BF_PYTHON_BINARY', 'BF_PYTHON_LIB', 'BF_PYTHON_LIBPATH', 'WITH_BF_STATICPYTHON', 'BF_PYTHON_LIB_STATIC', 'BF_PYTHON_DLL', 'BF_PYTHON_ABI_FLAGS', >+ 'WITH_BF_PYTHON', 'WITH_BF_PYTHON_SAFETY', 'BF_PYTHON', 'BF_PYTHON_VERSION', 'BF_PYTHON_INC', 'BF_PYTHON_BINARY', 'BF_PYTHON_LIB', 'BF_PYTHON_LIBPATH', 'WITH_BF_STATICPYTHON', 'WITH_OSX_STATICPYTHON', 'BF_PYTHON_LIB_STATIC', 'BF_PYTHON_DLL', 'BF_PYTHON_ABI_FLAGS', > 'WITH_BF_OPENAL', 'BF_OPENAL', 'BF_OPENAL_INC', 'BF_OPENAL_LIB', 'BF_OPENAL_LIBPATH', 'WITH_BF_STATICOPENAL', 'BF_OPENAL_LIB_STATIC', > 'WITH_BF_SDL', 'BF_SDL', 'BF_SDL_INC', 'BF_SDL_LIB', 'BF_SDL_LIBPATH', > 'BF_LIBSAMPLERATE', 'BF_LIBSAMPLERATE_INC', 'BF_LIBSAMPLERATE_LIB', 'BF_LIBSAMPLERATE_LIBPATH', 'WITH_BF_STATICLIBSAMPLERATE', 'BF_LIBSAMPLERATE_LIB_STATIC', >@@ -230,6 +248,7 @@ > ('BF_PYTHON_LIBPATH', 'Library path', ''), > ('BF_PYTHON_LINKFLAGS', 'Python link flags', ''), > (BoolVariable('WITH_BF_STATICPYTHON', 'Staticly link to python', False)), >+ (BoolVariable('WITH_OSX_STATICPYTHON', 'Staticly link to python', True)), > ('BF_PYTHON_ABI_FLAGS', 'Python ABI flags (suffix in library version: m, mu, etc)', ''), > > (BoolVariable('BF_NO_ELBEEM', 'Disable Fluid Sim', False)), >@@ -568,7 +587,7 @@ > extension = '.tar.bz2' > > platform = env['OURPLATFORM'].split('-')[0] >- if platform == 'linux2': >+ if platform == 'linux': > import platform > > bitness = platform.architecture()[0] >--- doc/build_systems/scons-dev.txt 2011-08-11 13:47:22.000000000 -0300 >+++ doc/build_systems/scons-dev.txt 2011-09-20 01:01:46.780410375 -0300 >@@ -1,4 +1,4 @@ >-$Id: scons-dev.txt 32452 2010-10-13 14:44:22Z mindrones $ >+$Id: scons-dev.txt 39584 2011-08-21 13:31:46Z nazgul $ > > > Internals of Blenders SCons scripts >@@ -27,7 +27,7 @@ > filenames have the form (platform)-config.py, where platform one of: > > * darwin >- * linux2 >+ * linux > * win32-mingw > * win32-vc > >--- doc/build_systems/scons.txt 2011-08-11 13:47:22.000000000 -0300 >+++ doc/build_systems/scons.txt 2011-09-20 01:01:46.781410502 -0300 >@@ -1,4 +1,4 @@ >-$Id: scons.txt 32452 2010-10-13 14:44:22Z mindrones $ >+$Id: scons.txt 39584 2011-08-21 13:31:46Z nazgul $ > > Blenders SCons build scripts > ============================ >@@ -76,7 +76,7 @@ > $BLENDERHOME/config. Your platform specific defaults are in > (platform)-config.py, where platform is one of: > >- - linux2, for machines running Linux >+ - linux, for machines running Linux > - win32-vc, for Windows machines, compiling with a Microsoft compiler > - win32-mingw, for Windows machines, compiling with the MingW compiler > - darwin, for OS X machines >--- extern/bullet2/src/SConscript 2011-08-11 13:48:23.000000000 -0300 >+++ extern/bullet2/src/SConscript 2011-09-20 01:02:46.714027629 -0300 >@@ -11,10 +11,10 @@ > defs += ' WIN32 NDEBUG _WINDOWS' > #cflags += ['/MT', '/W3', '/GX', '/O2', '/Op'] > cflags += ['/MT', '/W3', '/GX', '/Og', '/Ot', '/Ob1', '/Op', '/G6', '/O3', '/EHcs'] >-elif env['OURPLATFORM']=='win32-mingw': >+elif env['OURPLATFORM'] in ('win32-mingw', 'linuxcross'): > defs += ' NDEBUG' > cflags += ['-O2'] >-elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5': >+elif env['OURPLATFORM'] in ('linux', 'freebsd4', 'freebsd5'): > defs += ' NDEBUG' > cflags += ['-O2'] > elif sys.platform=='darwin': >--- extern/eltopo/SConscript 2011-08-11 13:47:38.000000000 -0300 >+++ extern/eltopo/SConscript 2011-09-20 01:02:05.766823450 -0300 >@@ -11,10 +11,10 @@ > defs += ' WIN32 NDEBUG _WINDOWS' > #cflags += ['/MT', '/W3', '/GX', '/O2', '/Op'] > cflags += ['/MT', '/W3', '/GX', '/Og', '/Ot', '/Ob1', '/Op', '/G6', '/O3', '/EHcs'] >-elif env['OURPLATFORM']=='win32-mingw': >+elif env['OURPLATFORM'] in ('win32-mingw', 'linuxcross'): > defs += ' NDEBUG' > cflags += ['-O2'] >-elif sys.platform=='linux2' or sys.platform=='linux-i386' or sys.platform=='freebsd4' or sys.platform=='freebsd5': >+elif env['OURPLATFORM'] in ('linux', 'freebsd4', 'freebsd5'): > defs += ' NDEBUG' > cflags += ['-O2'] > elif sys.platform=='darwin': >--- intern/ghost/SConscript 2011-08-11 13:39:19.000000000 -0300 >+++ intern/ghost/SConscript 2011-09-20 00:52:58.313244917 -0300 >@@ -26,7 +26,7 @@ > pass > incs += ' ' + env['BF_SDL_INC'] > defs += ['WITH_GHOST_SDL'] >-elif window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'irix6', 'aix4', 'aix5'): >+elif window_system in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'irix6', 'aix4', 'aix5'): > for f in pf: > try: > sources.remove('intern' + os.sep + f + 'Win32.cpp') >@@ -81,7 +81,7 @@ > if env['WITH_BF_3DMOUSE']: > defs.append('WITH_INPUT_NDOF') > >- if env['OURPLATFORM']=='linux2': >+ if env['OURPLATFORM']=='linux': > incs += ' ' + env['BF_3DMOUSE_INC'] > else: > sources.remove('intern' + os.sep + 'GHOST_NDOFManager.cpp') >--- source/blender/blenpluginapi/SConscript 2011-08-11 13:43:53.000000000 -0300 >+++ source/blender/blenpluginapi/SConscript 2011-09-20 00:58:34.190933244 -0300 >@@ -11,7 +11,7 @@ > defs.append('WITH_QUICKTIME') > incs += ' ' + env['BF_QUICKTIME_INC'] > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/armature/SConscript 2011-08-11 13:45:42.000000000 -0300 >+++ source/blender/editors/armature/SConscript 2011-09-20 01:00:04.065355821 -0300 >@@ -7,7 +7,7 @@ > incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include' > incs += ' ../../gpu ../../makesrna #/intern/opennl/extern' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/mesh/SConscript 2011-08-11 13:45:58.000000000 -0300 >+++ source/blender/editors/mesh/SConscript 2011-09-20 01:00:16.102885728 -0300 >@@ -8,7 +8,7 @@ > incs += ' ../../gpu ../../blenloader' > incs += ' ../../makesrna ../../render/extern/include #/intern/elbeem/extern' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/object/SConscript 2011-08-11 13:47:08.000000000 -0300 >+++ source/blender/editors/object/SConscript 2011-09-20 01:01:28.457081574 -0300 >@@ -1,16 +1,17 @@ > #!/usr/bin/python > Import ('env') > >-sources = env.Glob('*.c') >+sources = env.Glob('*.c') + env.Glob('*.cpp') > > incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf' > incs += ' ../../windowmanager #/intern/guardedalloc ../../blenloader' > incs += ' ../../makesrna ../../python ../../ikplugin' > incs += ' ../../render/extern/include ../../gpu' # for object_bake.c >+incs += ' #extern/recastnavigation/Recast/Include' > > defs = [] > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >@@ -19,5 +20,8 @@ > > if env['WITH_BF_PYTHON']: > defs.append('WITH_PYTHON') >+ >+if env['WITH_BF_GAMEENGINE']: >+ defs.append('WITH_GAMEENGINE') > > env.BlenderLib ( 'bf_editors_object', sources, Split(incs), defs, libtype=['core'], priority=[35] ) >--- source/blender/editors/physics/SConscript 2011-08-11 13:45:07.000000000 -0300 >+++ source/blender/editors/physics/SConscript 2011-09-20 00:59:36.653871962 -0300 >@@ -10,7 +10,7 @@ > > defs = '' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/render/SConscript 2011-08-11 13:45:34.000000000 -0300 >+++ source/blender/editors/render/SConscript 2011-09-20 00:59:59.816815852 -0300 >@@ -9,7 +9,7 @@ > incs += ' ../../makesrna ../../render/extern/include #/intern/elbeem/extern' > incs += ' ../../blenloader' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/screen/SConscript 2011-08-11 13:45:04.000000000 -0300 >+++ source/blender/editors/screen/SConscript 2011-09-20 00:59:34.254567021 -0300 >@@ -10,7 +10,7 @@ > > defs = '' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/sculpt_paint/SConscript 2011-08-11 13:45:17.000000000 -0300 >+++ source/blender/editors/sculpt_paint/SConscript 2011-09-20 00:59:44.700894696 -0300 >@@ -10,7 +10,7 @@ > incs += ' ../../render/extern/include' > incs += ' ../../gpu ../../makesrna ../../blenloader' > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/space_file/SConscript 2011-08-11 13:45:51.000000000 -0300 >+++ source/blender/editors/space_file/SConscript 2011-09-20 01:00:09.998109842 -0300 >@@ -19,7 +19,7 @@ > if env['WITH_BF_TIFF']: > defs.append('WITH_TIFF') > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/editors/space_node/SConscript 2011-08-11 13:46:55.000000000 -0300 >+++ source/blender/editors/space_node/SConscript 2011-09-20 01:01:15.403422520 -0300 >@@ -15,7 +15,7 @@ > #cf.append('-Werror') > pass > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/makesrna/SConscript 2011-08-11 13:44:23.000000000 -0300 >+++ source/blender/makesrna/SConscript 2011-09-20 00:58:55.075587575 -0300 >@@ -9,6 +9,7 @@ > incs = '#/intern/guardedalloc #/intern/memutil #/intern/audaspace/intern ../blenkernel ../blenlib ../makesdna intern .' > incs += ' ../windowmanager ../editors/include ../gpu ../imbuf ../ikplugin ../blenfont ../blenloader' > incs += ' ../render/extern/include' >+incs += ' ../nodes' > incs += ' #/extern/glew/include' > > defs = [] >@@ -54,7 +55,7 @@ > if env['WITH_BF_COLLADA']: > defs.append('WITH_COLLADA') > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/makesrna/intern/SConscript 2011-08-11 13:44:23.000000000 -0300 >+++ source/blender/makesrna/intern/SConscript 2011-09-20 00:58:54.779549949 -0300 >@@ -71,7 +71,7 @@ > defs.append('WITH_GAMEENGINE') > > if env['WITH_BF_FFTW3']: >- defs.append('FFTW3=1') >+ defs.append('WITH_FFTW3') > > if env['WITH_BF_SDL']: > defs.append('WITH_SDL') >@@ -91,7 +91,7 @@ > if env['WITH_BF_COLLADA']: > defs.append('WITH_COLLADA') > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >@@ -140,7 +140,7 @@ > if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): > targetpath = '#' + targetpath > >-if env['OURPLATFORM'] == 'linux2' and root_build_dir[0]==os.sep: >+if env['OURPLATFORM'] == 'linux' and root_build_dir[0]==os.sep: > makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) > else: > makesrna = makesrna_tool.Program (target = targetpath, source = source_files, LIBS=['bf_intern_guardedalloc', 'bf_dna', 'bf_blenlib']) >--- source/blender/nodes/SConscript 2011-08-11 13:44:59.000000000 -0300 >+++ source/blender/nodes/SConscript 2011-09-20 00:59:27.079655126 -0300 >@@ -26,7 +26,7 @@ > if env['BF_DEBUG']: > defs.append('_DEBUG') > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >--- source/blender/render/SConscript 2011-08-11 13:42:41.000000000 -0300 >+++ source/blender/render/SConscript 2011-09-20 00:57:42.140317877 -0300 >@@ -31,7 +31,7 @@ > cflags_raytrace = env['CFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] > cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > if env['WITH_BF_RAYOPTIMIZATION']: > cflags_raytrace = env['CCFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] > cxxflags_raytrace = env['CXXFLAGS'] + env['BF_RAYOPTIMIZATION_SSE_FLAGS'] >--- source/blender/windowmanager/SConscript 2011-08-11 13:44:27.000000000 -0300 >+++ source/blender/windowmanager/SConscript 2011-09-20 00:58:57.161852727 -0300 >@@ -26,7 +26,7 @@ > if env['WITH_BF_COLLADA']: > defs.append('WITH_COLLADA') > >-if env['OURPLATFORM'] == 'linux2': >+if env['OURPLATFORM'] == 'linux': > cflags='-pthread' > incs += ' ../../../extern/binreloc/include' > >@@ -37,6 +37,6 @@ > sources.remove('intern' + os.sep + 'wm_apple.c') > > if env['BF_BUILDINFO']: >- defs.append('NAN_BUILDINFO') >+ defs.append('WITH_BUILDINFO') > > env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), defines=defs, libtype=['core'], priority=[5] )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 382097
:
285743
|
285745
|
285747
|
285749
|
285751
|
287115
| 287121 |
287445
|
287447
|
290149
|
291023