Commit Graph

118 Commits

Author SHA1 Message Date
Campbell Barton
eac95abdf2 missing deps for pacman 2011-02-22 12:36:36 +00:00
Ton Roosendaal
ef91644d5a Type in snapshort ;) 2011-02-22 12:25:31 +00:00
Campbell Barton
12e4c52c5a cmake was using dna source list with the variable out of scope, possibly causing dependency problems. 2011-02-22 06:23:07 +00:00
Campbell Barton
44e33571ca part of a patch from Dan Eicher with some edits.
- clean svn string: 35042:35051M -> 35051
- debian and pacman build with threads by default.
2011-02-22 05:49:21 +00:00
Campbell Barton
b30e59aa71 patch [#26146] debian/rules: Avoid unnecessary downloading
--- from the tracker
It's annoying that build_debian.sh downloads the source tree to create tarball every time we build a deb package.

fix_debian_rules_avoid_downloading.patch modifies debian/rules so that the tarball will be created from local repository if possible.
2011-02-21 13:59:42 +00:00
Campbell Barton
72d5d692ea better macro for getting the blender version from BKE_blender.h, also re-run CMake if BKE_blender.h changes. 2011-02-21 08:31:00 +00:00
Campbell Barton
ff84ad3151 fix for cmake with last commit. 2011-02-21 05:28:22 +00:00
Campbell Barton
848d60caee Move blender version info into BKE_blender.h so we only have the info in one place and so package building scripts can extract it in a more usable way.
this also means we can have a version string like '2.56a-beta' without using buildinfo.

release/VERSION was only used by scons, NSIS installer.

Possibly helps to fix bug [#26062] too.
2011-02-21 04:45:47 +00:00
Campbell Barton
7809d7d0c8 fix [#26152] Blender File for Image too Small
disallow 0% rendersize.

also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
2011-02-21 01:02:30 +00:00
Campbell Barton
c30149991c Experimental option to build blender as a python module, rather then blender embedding python.
CMake build option WITH_PYTHON_MODULE, will build ./bin/bpy.so

This allows 'bpy' to be imported from python or other applications/IDE's which embed python, eg:
   python -c "import bpy ; bpy.ops.render.render(write_still=True)"

This runs in background mode and has similar restrictions to running a script:
   blender --background --python test.py

TODO:
 - install to site-packages with blender scripts
 - add support for imp.reload()
2011-02-20 23:39:29 +00:00
Nathan Letwory
708df39935 Check the os.environ at the start of the build process.
Print any variable that contains a value with non-ascii
characters, then abort build.
2011-02-18 09:39:15 +00:00
Campbell Barton
cf6f6c1c5e patch [#26063] Fix deb package versioning (Patch for #26062)
from Shinsuke Irie (irie),
also updated pacman
2011-02-17 11:49:54 +00:00
Campbell Barton
0927ad8f4c CMake: remove workaround for cmake 2.8.3 problem testing -Werror=strict-prototypes flag (now 2.8.4 is out).
This is harmless, CMake 2.8.3 just wont build with -Werror=strict-prototypes which is nice for picky devs.
2011-02-17 11:38:02 +00:00
Campbell Barton
812f238494 pep8 cleanup and remove unused vars/imports 2011-02-17 04:35:41 +00:00
Campbell Barton
fee5363912 bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00
Campbell Barton
c461a7ea4d patch from IRIE Shinsuke, use systems openjpeg on *nix. 2011-02-15 19:04:51 +00:00
Campbell Barton
52c08fa4d3 CPack packaging support from Dan Eicher, tested to build redhat RPM's, a Mac bundle also defined. 2011-02-15 18:33:05 +00:00
Campbell Barton
a6765280f9 py rna api: turn class.is_register into a class property rather then a class method.
eg:

if MySybclass.is_registered:
    ...
2011-02-14 07:26:07 +00:00
Sergey Sharybin
665a0ff789 Revert incorrect fix for 26062 made in svn rev34828. 2011-02-14 06:04:40 +00:00
Sergey Sharybin
4ca2905ead Fix #26062: build_debian.sh gives unappropriate deb version
Added subverison number to debian package version. Quick tests run ok,
but haven't checked if deb version comparation also goes fine.
2011-02-13 19:47:57 +00:00
Guillermo S. Romero
6554ae1460 SVN maintenance. 2011-02-11 19:36:58 +00:00
Campbell Barton
875f554cff patch [#26030] Debian spec fix (Patch for #26028)
from Shinsuke Irie (irie)
2011-02-11 10:29:47 +00:00
Campbell Barton
a3d142fce0 update pacman spec for newer python and match naming convention to debian spec.
also pre-compile python modiles.
2011-02-11 09:28:11 +00:00
Campbell Barton
0356e3b69f script to build debian packages directly from svn, using blender version and svn rev for package name. 2011-02-10 07:22:56 +00:00
Campbell Barton
1eb7d3bd9e debian package spec [#26007] Debian spec
by Dan Eicher (dna)
2011-02-10 06:11:16 +00:00
Campbell Barton
736a7b7a22 pep8 cleanup 2011-02-04 09:27:25 +00:00
Campbell Barton
89c617a116 remove nan-makefiles 2011-01-30 15:29:22 +00:00
Nathan Letwory
71cb745941 Commit to cope with API changes in OpenCOLLADA (latest for Windows right now r827). 2011-01-27 19:39:06 +00:00
Campbell Barton
6a2e5ad599 [#25815] Patch gcc 4.6
with minor edits, made sure it works in CMake too.
2011-01-27 00:02:25 +00:00
Campbell Barton
7a23193811 cmake attempted fix before didnt work (I cant test on OSX), this should fix. 2011-01-26 07:34:17 +00:00
Campbell Barton
fb08dc11e3 missed this when updating cmake files 2011-01-26 04:48:37 +00:00
Campbell Barton
1bd0db59f4 use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
Campbell Barton
da2b490198 cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
also converted GHOST_SystemWin32.cpp to utf8.
2011-01-25 08:35:10 +00:00
Campbell Barton
f6d54bd1ee correction to own cmake error checking script. 2011-01-21 11:52:56 +00:00
Nathan Letwory
730634ca51 Enable sndfile by default on win64 2011-01-05 09:00:28 +00:00
Campbell Barton
5e382eb8e5 rename blenderlib to blender_add_lib 2010-12-22 23:09:30 +00:00
Guillermo S. Romero
29799bf09c Compact -I paths in makefiles for more readble files/output.
Also some white space cleaning and removal of redundant parameter.
2010-12-22 22:15:20 +00:00
Campbell Barton
7006491451 bugfix [#24469] Cannot add keyframes on custom properties in IDPropertyGroups 2010-12-21 11:40:12 +00:00
Campbell Barton
9d289c602d better make_quiet.sh filter with threaded builds. 2010-12-21 04:55:46 +00:00
Campbell Barton
0d9ead00f8 fix for cmake flag detection, was not caching the resulting variable so the test ran each time.
also cache SSE, SSE2 checks.
2010-12-21 03:32:51 +00:00
Campbell Barton
71202e26ff simple make wrapper to give quiet output. (more like nan-makefiles) 2010-12-20 11:21:29 +00:00
Campbell Barton
6afe713d57 script to generate qtcreator project files, advantage is they include all source which is nicer for refactoring. 2010-12-16 21:32:56 +00:00
Campbell Barton
b978bf39e3 fix for error in testing C/C++ flags 2010-12-16 17:54:00 +00:00
Campbell Barton
566bda734a last commit to fix warnings didnt set them at all, not it works as it should.
also made cmakes output a lot quieter, messages can be uncommented for debugging or added back if other devs need this for some reason.
2010-12-16 12:48:30 +00:00
Campbell Barton
ed4e7271f1 CMake now tests warnings are supported, GCC 4.0 wasn't working because of unsupported warnings.
this can work for other compilers too, currently intel and gcc use this.
2010-12-16 09:55:35 +00:00
Campbell Barton
acd7b81c2d bugfix [#25230] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.
Problem is is with operator redo which click-extrude exposed.

Check if redo operator can run, otherwise lock the UI and add a label that the operator doesn't support redo.
This is clunky but IMHO better then failing silently and leaving the user confused.

- Merged redo functions into ED_undo_operator_repeat(), code was duplicated in a few places.
- added WM_operator_repeat_check to check if WM_operator_repeat() can run, avoids an undo call when redo work.

Unrelated changes
- GHOST_SystemWin32.cpp set to utf8 encoding.
- cmake_consistency_check.py now checks source files are utf8.
2010-12-15 04:06:19 +00:00
Campbell Barton
996bc87793 update for changes in cmake files. 2010-12-14 08:35:56 +00:00
Campbell Barton
afacd18498 use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed. 2010-12-08 08:43:06 +00:00
Nathan Letwory
c5613de2d5 Remove redundant VC_REDIST code, since it's not used anymore. 2010-12-07 08:37:00 +00:00
Campbell Barton
d64f46e0bb CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file. 2010-12-06 10:56:37 +00:00