Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-03Patch from Ejner Fergo: enhancements to install_deps.sh.Bastien Montagne
Mostly, it: * Adds numpy and opencollada * Merges both Suse and Fedora/Redhat into a single func (not sure this is a good idea, but would have been to painful to undo this). Notes: * I changed a bit how numpy is handled, so that the script does not try to build it when py3.3 was installed from package! * Bumped oiio 'magic number', as now trying to use libtiff5 means we have to rebuild everything using tiff! * Only made a quick test on my own system, but Ejner made quite some extensive ones, so it should be safe. * I’m not sure keeping on extending that horrible bash thing is a good idea. Shell scripts are nice for small, limited stuff, but I personnaly find that one (over 53ko!) unreadable and a pita to maintain. Further more, doing the same for windows would mean to rewrite everything in another language... I have started work to port this as a py3 script, so that we have a nice structure (classes...) easy to extend/tweak/implement in various OSs/etc.!
2012-12-19Minor enhancements to end message of build_deps.shBastien Montagne
2012-12-11Install dependencies used to always mark schro as used for suse.Sergey Sharybin
Now it should respect all features option. Also removed some duplicated entries.
2012-12-11OSL install deps script: set STOP_ON_WARNING to OFF to disable -Werror.Brecht Van Lommel
2012-12-05Make installation of some libs off by default (use --with-all option to ↵Bastien Montagne
re-enable them). Currently affected libs: *libspnav *liblame *libjack *libscrhoedinger *libvpx *libxvid
2012-12-05Can't stress how much I hate bash... This should fix a bug with version ↵Bastien Montagne
comparison (at least under fedora, debian looked OK :/ ).
2012-12-03Add libjeack0 as (Debian and co) dep.Bastien Montagne
Also add --skip-foo args to command line.
2012-12-03Exit when package manager fails (exit status >= 1).Bastien Montagne
2012-12-03Add --force-all option to force rebuild of all built libraries.Bastien Montagne
2012-12-03Add exhaustive command line options description in --help message...Bastien Montagne
2012-12-01Various "user-friendly" edits, mostly adding command-line args parsing... So ↵Bastien Montagne
now you can try to build OSL with just install_deps.sh --with-osl
2012-11-29Dependencies Builder: disable LINKSTATIC for OIIOSergey Sharybin
It'll likely give issues with system boost libraries in ubuntu/debian due to this distros doesn't like static linking and not building static libs with -fPIC flag. Disabling LINKSTATIC should be quite painless since blender requires the same image libraries as oiio does.
2012-11-28Seems cmake in debian squeeze is broken and fails to handle BOOST_ROOTSergey Sharybin
I would recommend using debian-backports repo for cmake
2012-11-28Dependency builder: reduce amount of needed sudo commands by checking ↵Sergey Sharybin
permissions for $INST folder
2012-11-28Dependency builder: fixed sources directory not creating in some casesSergey Sharybin
2012-11-21Fix two stupid mistakes... Btw, osl now compiles with Fedora17, once ↵Bastien Montagne
llvm-3.1 has been compiled! ;)
2012-11-21Enable llvm building for fedora too.Bastien Montagne
Unfortunately, this does not solve OSL compile problem in this distro (still the same errors, looks related to gnu c++... :/).
2012-11-21Bring SUSE target to the same level as others.Bastien Montagne
Also add compile_LLVM func, needed by openSuse (which llvm package is completly broken), and probably can help for OSL in Fedora17 too (will test soon).
2012-11-20Update to use new WITH_STATIC_LIBS CMake flag when ALL_STATIC is true.Bastien Montagne
2012-11-19More tweaks:Bastien Montagne
* Prevent ocio from building its python binding, we don't use it, and it looks like OCIO's CMakeList is not robust here (i.e. can try to build it even when Python.h is not found :/ [irc report]). * Do not build ffmpeg's player, server nor doc. * Give right paths to static extra libs for ffmpeg when ALL_STATIC is true.
2012-11-19Basic work for an ALL_STATIC option, to enable when you want to build ↵Bastien Montagne
blender in a portable way. Still WIP!
2012-11-19No boost system when we have own compiled version!Bastien Montagne
2012-11-19Definitive fix for version_ge with equal versions like "1.0.0" and "1.0".Bastien Montagne
Also fixed DEB boost version checking, own fault. And disabled building ocio's apps, else it would go searching for an oiio lib (and we have not yet built ours) - anyway, if users want them, they can build them on their own!
2012-11-19Partial fix to version_ge (greater or equal), was not working correctly with ↵Bastien Montagne
eaqual versions, now will do with exact same versions at least (yet have to fix case like comparing 1.0 and 1.0.0). Also refactored a bit osl/llvm/etc. stuff for DEB (so that now all osl-deps are only installed when we do have a valid llvm and want to [try to!] build osl). And added osl/llvm/etc. code for RPM (osl does not compile under fedora currently, though :/ ).
2012-11-18More cleanup/deduplication. Also explicitly using gawk (so system without it ↵Bastien Montagne
should print a much comprehensive error message!). Note: RPM-related edits not yet tested.
2012-11-18Better handing of llvm version (now we can be sure to use the same for osl ↵Bastien Montagne
and blender - and the latest one available!). And more cosmetic cleanups...
2012-11-18Fix own stupid mistake for threads count, and edits to user messages (mostly ↵Bastien Montagne
adding the ldconfig trick for dynamic boost libs).
2012-11-17Install dependencies: added check for minimal version of x264Sergey Sharybin
Also fixed parsing of package version with epoch
2012-11-17Mono-core platform seem to not output the cores field in /proc/cpuinfo :/Bastien Montagne
Also adding gawk packages (gnu awk), looks like some distro do not have that one by default!
2012-11-17Install dependencies: workaround for SHA linking issuesSergey Sharybin
2012-11-17Install dependencies: abort script if compilation of some component failedSergey Sharybin
2012-11-17Install dependencies: disable OSL for nowSergey Sharybin
It's really horror even for me to compile it on release environment, i do not want anybody to spend time trying to support this lib in automatic script or make it so user's are easily frustrated by some hack added to OSL repository. If you REALLY want to build OSL with this script, set BUILD_OSL to truth (it's in the top of the script).
2012-11-17Install dependencies: dead links should not occurSergey Sharybin
2012-11-17Install dependencies: use OIIO 1.1.1 where SHA crap seems to be solvedSergey Sharybin
2012-11-17Made sure open OIIO does not use system's boost in cases it was compiled ↵Sergey Sharybin
from sources
2012-11-17Install dependencies: made it sure llvm-3.1 or llvm-3.0 is installingSergey Sharybin
llvm-dev could be a meta-package for older version of llvm
2012-11-17quiet scons deprecation warnings and correct --with_filesystem --> ↵Campbell Barton
--with-filesystem in install_deps.sh
2012-11-16More fixes and cleanup...Bastien Montagne
Now OSL should work for DEB-like systems with CMake (not yet tested with scones, nor fedora). Fedora version-checking bug should be fixed. Also simplified a bit compile_FOO funcs code.
2012-11-16First atempt to add OSL.Bastien Montagne
DEB only for now: installs needed deps (LLVM & co), downloads OSL source and compiles the lib. However, blender linking fails currently... :/
2012-11-15Another nuch of fixes/improvements to install_deps script, among which:Bastien Montagne
*New $INST variable to easily change the installation root dir of compiled libs. *Better handling of versions for debian (DEB) too (and fix a bug for fedora (RPM) ones). *Enhancements/fixes to compile_FOO funcs: **Most notable, we now can force a recompile when we change something into these funcs, so user will always have latest-instructions compiled libs (else, he would have have to manually remove lib dirs under $INST...) *General naming cleanup inside script (still wip). Also adding boost date_time lib to linux in cmake file (why wasn't it there???).
2012-11-15looks like we need those libs as well to compile with static ffmpeg on ↵Bastien Montagne
fedora (by why in hell librt???)...
2012-11-15Fixes, mostly for RPM (tested on fedora17):Bastien Montagne
*Better handling of optional libs for ffmpeg, and is now able to check and give user additional link libs for ffmpeg. *Added two helpers (only used by RPM for now) to: **check whether a version number is greater or equal than another one, and... **check whether a version number is "included" into another one (eg 3.3.2 is included into more general 3.3). *Added date-time as target when building our own boost. *Removed apt-get upgrade action for DEB (let the user decide when he wants to globally upgrade its system!).
2012-11-13Fixes for sconsBastien Montagne
2012-11-13Adding an escape for '/' char inside the regex's char classe, looks like it ↵Bastien Montagne
is needed for ubuntu 's awk but not mandatory for debian's awk??? Anyway, does not arm... ;)
2012-11-13Add more info to make ffmpeg work "out of the box" for DEB systems:Bastien Montagne
*For CMake, enable ffmpeg (it is disabled by default...) *Give the full list a librairies to link. Tested on Debian for CMake (did not test scons at all for now, anyway). Not yet implemented for RPM/SUSE distribs, but this should not be too hard.
2012-11-13More fixes:Bastien Montagne
*Unset LANG envar for the script execution time, because commands like "apt-cache policy" will return translated messages, which would not be grep'ed crrectly... *Disable using distrib's ffmpeg for DEB distribs too, as e.g. official debian features libav under ffmpeg name, which is not that much compatible with current Blender code. *Also check for libxvidcore-dev .deb package, debian has no libxvidcore4-dev ;)
2012-11-13Hopefully now suse will just work :)Sergey Sharybin
2012-11-13Install dependencies script: added support of OpenSUSESergey Sharybin
Currently it'll install basic packages only and will compile all python, boost, oiio, ocio and ffmpeg.
2012-11-13fix for boost (symlink was buggy, and better to only build needed boost libs).Bastien Montagne
Note; we might also want to add the --without-icu option later...
2012-11-12Initial implementation of a script for automatic dependencies installer/builderSergey Sharybin
This script will install all packages from the repositories and will compile missing in repositories libraries. It is supposed to replace pre-compiled libraries from our svn. Tested script on Fedora 14 and 17, Ubuntu 10.04 and 12.10. All the dependencies and manually built libraries seems to be fine. However, it's really annoying to build blender in virtual machine to ensure there's no linking errors, i would hope community will help testing and making needed tweaks to the script :) To use the script, simple run it from your user name. It'll run installation commands from a sudo, so you would likely be requested to type a password. I've made tweaks to CMake FindLibs, so it should find OIIO, OCIO and python libraries compiled by this script. Boost and FFmpeg would need to be specified manually. SCons currently would require manual paths specifications as well. Perhaps we could make SCons smarter in the future. All the parameters you need to pass to CMake/SCons would be printed when script finishes to run. Pretty much sure it's not production-ready script, but we need to start testing at some point :)