diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 03:43:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 03:43:25 +0400 |
commit | 90b9fa360835dc607f2a130871c5d7e8d63a96e3 (patch) | |
tree | fda04a65c18aa02b043c1c1935966dd652259fc0 /build_files/scons | |
parent | b9b806e0a0d9f6a6f15b260cb750eb4267abd261 (diff) |
fix [#36459] Official blenderplayer can not go fullscreen on Linux
use modified patch from Alex Fraser (z0r)
Diffstat (limited to 'build_files/scons')
-rw-r--r-- | build_files/scons/config/freebsd8-config.py | 2 | ||||
-rw-r--r-- | build_files/scons/config/freebsd9-config.py | 2 | ||||
-rw-r--r-- | build_files/scons/config/linux-config.py | 2 | ||||
-rw-r--r-- | build_files/scons/tools/btools.py | 4 |
4 files changed, 7 insertions, 3 deletions
diff --git a/build_files/scons/config/freebsd8-config.py b/build_files/scons/config/freebsd8-config.py index 3318e21bf1d..e94f61f7819 100644 --- a/build_files/scons/config/freebsd8-config.py +++ b/build_files/scons/config/freebsd8-config.py @@ -139,7 +139,7 @@ BF_REDCODE_LIBPATH='${BF_REDCODE}/lib' WITH_BF_STATICOPENGL = False BF_OPENGL = '/usr/local' BF_OPENGL_INC = '${BF_OPENGL}/include' -BF_OPENGL_LIB = 'GL GLU X11 Xi' +BF_OPENGL_LIB = 'GL GLU X11 Xi Xxf86vm' BF_OPENGL_LIBPATH = '/usr/X11R6/lib' BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a' diff --git a/build_files/scons/config/freebsd9-config.py b/build_files/scons/config/freebsd9-config.py index b6c5c0d45eb..8535ececb24 100644 --- a/build_files/scons/config/freebsd9-config.py +++ b/build_files/scons/config/freebsd9-config.py @@ -139,7 +139,7 @@ BF_REDCODE_LIBPATH='${BF_REDCODE}/lib' WITH_BF_STATICOPENGL = False BF_OPENGL = '/usr/local' BF_OPENGL_INC = '${BF_OPENGL}/include' -BF_OPENGL_LIB = 'GL GLU X11 Xi' +BF_OPENGL_LIB = 'GL GLU X11 Xi Xxf86vm' BF_OPENGL_LIBPATH = '/usr/X11R6/lib' BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a' diff --git a/build_files/scons/config/linux-config.py b/build_files/scons/config/linux-config.py index 6106142f8a9..93fa6137bb0 100644 --- a/build_files/scons/config/linux-config.py +++ b/build_files/scons/config/linux-config.py @@ -152,7 +152,7 @@ BF_REDCODE_LIBPATH='${BF_REDCODE}/lib' WITH_BF_STATICOPENGL = False BF_OPENGL = '/usr' BF_OPENGL_INC = '${BF_OPENGL}/include' -BF_OPENGL_LIB = 'GL GLU X11 Xi' +BF_OPENGL_LIB = 'GL GLU X11 Xi Xxf86vm' BF_OPENGL_LIBPATH = '/usr/X11R6/lib' BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a' diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index 53dd99a7971..454e72a1a72 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -141,6 +141,8 @@ def validate_arguments(args, bc): 'WITH_GHOST_COCOA', 'WITH_GHOST_SDL', 'WITH_GHOST_XDND', + 'WITH_X11_XINPUT', + 'WITH_X11_XF86VMODE', 'BF_GHOST_DEBUG', 'USE_QTKIT', 'BF_FANCY', 'BF_QUIET', 'BF_LINE_OVERWRITE', @@ -424,6 +426,8 @@ def read_opts(env, cfg, args): ('BF_OPENMP_LIBPATH', 'Path to OpenMP libraries (used when cross-compiling with older versions of WinGW)', ''), (BoolVariable('WITH_GHOST_COCOA', 'Use Cocoa-framework if true', False)), (BoolVariable('WITH_GHOST_SDL', 'Enable building blender against SDL for windowing rather then the native APIs', False)), + (BoolVariable('WITH_X11_XINPUT', 'Enable X11 Xinput (tablet support and unicode input)', True)), + (BoolVariable('WITH_X11_XF86VMODE', 'Enable X11 video mode switching', True)), (BoolVariable('USE_QTKIT', 'Use QTKIT if true', False)), ('BF_OPENMP_LIB_STATIC', 'OpenMP static library', ''), |