Deb-like distro may use either jack or jack2, add support for this.
Cleanup: remove completely all-static option, just too complex to support in modern linuxes!
Correct help: -b/--background does not take a file argument

The documentation for the -b/--background option incorrectly states that it
takes a <file>, however it can run also without a file with e.g. a script.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D250
Fix missing $BLENDER_USER_DATAFILES in command line help text.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D249
SCons: cleaner determination of 32-bit/64-bit builds

Try not to be x86-centric, remove unneeded blenderdeps variable.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D240
SCons: code cleanup, shorter way to determine makesrna output directory.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D237
Correct 3d text editing update logic

- editmode operations were converting text->nurbs twice.
- cursor and selection operations were re-tessellating text every time.
Scanfill: minor optimization, comment unused code, avoid vert loop
Scanfill: optimize filling curves, text, masks - skip calculating holes

Support for tagging polygon numbers when adding scanfill data,
saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves).
Code cleanup: remove scdata from ScanFillContext
Cycles: bvh_cardinal_curve_intersect intro SSE optimization

Gives 5% speedup for koro_final.blend, 10-15% for hair.blend

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D225
Attempt to fix OSL build error on Linux with latest OSL master.
BGE: Fixing memory corruption/double free when duplicating (e.g., addObject) LibLoaded lights.
Change confusing check discovered while working on HCL color wheel:

COLOR widgets never get created with UI_GRAD_V_ALT values. This is
intended for HSVCUBE color sliders only so reverting this to old value
before it was substituted with a define, which was -1.

There's one case where COLOR buttons get defined with a1 value different
than -1 which is in ui_def_but_rna. There the step value of the RNA
property is used. However, that meant that if step equaled to 9, which
is UI_GRAD_V_ALT value (unlikely) or if UI_GRAD_V_ALT was changed to 10
in future, or we added check for e.g. UI_GRAD_L_ALT which is 10 in HCL
branch, color widget would not get a color selection menu spawned.
Fix for vpaint_stroke_test_start returning operator flags, not bool

also use bools for paint callbacks
Code cleanup: use bool for static methods
Fix for RNA stringifying enum-flags freeing wrong pointer.
Fix T38471: parenting in the outliner was possible with library linked objects.
Fix T38466: F12 / ctrl F12 shortcuts not showing in Render menu.

This is tricking the keymap system a bit to make it match, this use_viewport
option has no effect when invoked from the info space.
PyAPI: mathutils.Vector.cross now works for 2d vectors (returns a float)

also fixed crash when running on large vectors (raises exception now)