13
0
Commit Graph

564 Commits

Author SHA1 Message Date
David
6b00ff6198 Add option to use libc++ instead of libstdc++ 2015-12-12 15:02:00 +01:00
David
0e1ce02941 Add support for El Capitan 2015-12-10 20:25:49 +01:00
e5136d0375 add a mixbus compile define
allow to minimize branch changes downstream and work closer with upstream.
(so far upstream #ifdef MIXBUS were hardcoded to #if 1 downstream)
2015-12-10 12:36:03 +01:00
68d3b45976 improve itstool detection:
handle "/bin/sh: 1: itstool: not found" cases.
2015-12-05 14:04:11 +01:00
9a058672ab disable pthread-w32 semaphores for now
Two major changes: semaphore AND callback based portaudio on one day
are not great for testing.
2015-12-03 18:41:57 +01:00
4245f2a02b fix pthread-windows semaphore detection 2015-12-02 15:07:33 +01:00
14d6470ad3 prefer pthread-semaphores (posix API) with mingw
Hopefully this resolves glitches on hyperthreading machines.
Apart from using unnamed Semaphores, pthread-w32 includes additional locks
(guess: mem-barriers), a fallback implementation and windows-specific
tricks that I'd rather not want to know about :)
2015-12-02 13:59:48 +01:00
73d1de3b75 NOOP, remove trailing whitespace, replace tabs in python scripts 2015-11-29 17:54:31 +01:00
dc78fcfb2f check for itstool (>= 1.0.4, -j option) 2015-11-25 16:36:37 +01:00
6d08797297 update configure time tests and code to use libsndfile 1.0.26's version of the R64 auto-downgrade-to-WAV code 2015-11-24 08:45:10 -05:00
3a266ff5e8 Add --profile waf option so frame pointer isn't omitted in optimized builds 2015-11-18 09:38:18 +10:00
bb5b0a6d8a Remove -O0 optimize flag from debuggable flags to enable debuggable optimized builds
This allows debug symbol information to be included for optimized builds. This
may not always be useful for debugging but it is necessary to use profiling
tools like perf.

The default optimize level is -O0 if no other optimize flag is specified so the
optimization level will be the same unless overridden.
2015-11-18 09:38:18 +10:00
nick_m
0956708aa9 Build freedesktop files if requested. 2015-10-23 02:21:01 +11:00
6ff50d2140 fix OS X system detection (amend 66704ee) 2015-10-18 23:19:52 +02:00
c799ef723d remove outdated limiation 2015-09-28 15:40:26 +02:00
ba6e274efa new tool to test gcc4/5 ABI 2015-09-26 19:03:22 +02:00
0613b7517c gcc5/c++11 deprecates std::auto_ptr 2015-09-26 00:22:56 +02:00
67aa2f8763 fix bundled LV2 plugin deployment.
Ardour Application bundles use uppercase LV2, consistent with LV2 
"the name" on http://lv2plug.in/  and the recommendation for OSX & Win
on http://lv2plug.in/pages/filesystem-hierarchy-standard.html/

Since this is for internal-use only, so we do not need to follow the lowercase Unix recommendation.
2015-09-14 03:24:21 +02:00
5f6d8aded3 configure time detection of a patch/feature of libsndfile not yet in release 2015-09-08 17:40:28 -04:00
0fd9845957 more python2/3 compat 2015-08-23 00:00:19 +02:00
88920232e9 support the young serpents 2015-08-21 16:35:21 +02:00
95c5b99efc Remove duplicate code in wscript after merge 2015-08-17 22:01:20 +10:00
Guy Sherman
4f387f390e Tweaked build and run for windows
Quotes were appearing around the version number. Modified wscript to
remove quotes from VERSION and PROGRAM_VERSION.

One of the places windows looks for DLLs is in directories
listed in PATH. A new file called ardev-win which sets up the
contents of PATH and LD_LIBRARY_PATH as required.
2015-08-16 18:01:28 +02:00
c2d6249370 provide a mechanism for ./waf dist to work without hardcoding APPNAME in wscript 2015-08-13 14:32:38 -04:00
4666711639 python /^x86_64/ does not match 'x86_64-w64-mingw32-gcc' so what.. 2015-08-12 07:07:21 +02:00
9ab17635f3 regexp fun 2015-08-12 06:22:50 +02:00
d686cb213f Added PT .ptf session audio import functionality
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00
1e169ea3e8 fix wscripts to work with python3.
encode/decode return byte arrays in python3, not strings
2015-07-06 10:06:06 -04:00
7a7c87d5f4 remove tabs from python code 2015-07-05 14:50:13 +02:00
5d45ccf970 Revert "experimentally remove some C++11 flags (likely to return)"
This reverts commit a27ad61695053fc18a9630dd9e7c2418416ba915.

This was not a fix for the problem it was an attempt to fix.
2015-06-29 14:18:15 -04:00
2b2e6a94dc experimentally remove some C++11 flags (likely to return) 2015-06-29 14:18:15 -04:00
3a8bb36e28 ensure that program version strings are not unicode 2015-06-29 14:18:15 -04:00
6485300479 remove more explicit compiler flags by placing them in the compiler flags dictionary 2015-06-29 14:18:14 -04:00
751d330dbb store compiler flags in conf/bld context object so that we can use them selectively at build time 2015-06-29 14:18:13 -04:00
6410aa896f Added optimized AVX function for sample processing
Added AVX versions of existing 5 SSE functions. Added 6th AVX function to copy vectors which is 1.5 times faster then memcpy.
Data consistency and validness  is fully tested after processing with new AVX functions on aligned and non aligned buffers.
2015-06-29 14:18:13 -04:00
c912bd61ae tracks build ... backends are hard-coded 2015-06-29 14:18:10 -04:00
87cfd47818 add now-expected -D defines for a Tracks build 2015-06-29 14:18:10 -04:00
d682c42d5a better implementation of configure and build time is_tracks_build() test 2015-06-29 14:18:10 -04:00
e1bd9401d5 add clean and nice check for Tracks builds 2015-06-29 14:18:10 -04:00
9632600819 define PROGRAM_NAME in waf conf/bld objects, to allow program-dependent stuff at the wscript level 2015-06-29 14:16:43 -04:00
017e580c9f add stacktrace() support for Windows (Grygorii Zharun) 2015-06-29 14:16:42 -04:00
Christopher Arndt
a9bc95a911 Fix mixed spaces/tabs in wscripts 2015-05-03 19:52:38 +02:00
f755185825 add a real check for functioning JACK metadata API; remove configure time option for this 2015-04-23 09:29:45 -04:00
187ddb3bad more windows related SSE build fixes 2015-04-21 13:28:17 -04:00
696100651d fix another recent error in wscript for windows 2015-04-21 12:21:57 -04:00
eabce90f29 fix recent error in wscript for windows 2015-04-21 12:19:01 -04:00
Greg Zharun
8af992c449 [Summary] Added SSE sound processing functions support for Windows. Version 1.
Conflicts:
	wscript
2015-04-21 10:49:00 -04:00
69e41c3b38 disable -rdynamic by default
see man 3 dlopen. Ideally we’d use RTLD_DEEPBIND,
but it’s neither portable and rather new (glibc 2.3.4).

This fixes issues with symbol conflicts in plugins
e.g. http://pastebin.com/FkFkf3Mm  (plugin expects
its own OSC[illator?] class but gets ardour’s
OpenSoundControl instead).
2015-04-15 20:31:27 +02:00
2bbe4baf29 windows can’t rename open files.
This needs a better solution after 4.0.
2015-04-07 05:25:24 +02:00
c313ec29d6 change the compile flags set by the --freebie configure option to enable silence-after-seconds 2015-04-05 14:03:18 -04:00
a842a69c16 allow to prefix tags with “<text>+”
eg. mixbus+3.0 or mb+3.1-rc1
2015-04-02 23:42:28 +02:00
c7216e03f1 small tool to dump default config. 2015-03-22 22:15:37 +01:00
1199fe2f90 fix OSX/Clang optimized builds
not quite sure how -fomit-frame-pointer can make a difference with 64bit
builds, but it does crash on start in 
gdk_window_new -> .. -> [NSColor _controlColor] -> GetThemeImage
-> _NSAppKitThemeLock  with no other threads involved.

full backtrace: http://pastebin.com/FxsCMzSY
2015-03-10 14:32:06 +01:00
9107a4b7fe add a no-jack-metadata option for poor 12.04 souls
(jack does have metadata support but ubuntu packaged
a version with a wrong header)
2015-03-08 21:31:08 +01:00
80ccd280b5 I’m starting to regret these checks.. 2015-03-07 16:15:41 +01:00
3dac4b760b fix linux detection 2015-03-07 10:54:37 +01:00
3b941fc0fa build system tweaks for coreaudio/waves-coreaudio 2015-03-06 23:26:05 +01:00
8ed5633367 fix osx version detection in da975ae 2015-02-25 21:11:55 +01:00
da975ae27b allow carbon support on 10.6, 32bit 2015-02-25 20:50:41 +01:00
7ef0df7904 Revert "use product-neutral name for LV2 install dir"
This reverts commit 44ca3c948c.
2015-01-22 11:38:28 -05:00
44ca3c948c use product-neutral name for LV2 install dir 2015-01-21 21:20:15 -05:00
dfba00766c fix bundled LV2 installation path (waf install) 2015-01-20 18:07:43 +01:00
c1ccf8e28e prepare for release candidate tags:
regexp: /[0—9]+-[0-9]+(-rc[0-9]*)?/
<Major>-<Minor>[-rc[<num>]]
valid tag examples: 4.0, 4.1-rc3, 5.0-rc
2015-01-08 20:18:09 +01:00
659c0d093d remove hardcoded major version in build scripts 2015-01-08 17:59:41 +01:00
c16d520338 prepare for 'ardour4' 2015-01-05 19:07:24 +01:00
50c4385b6b Increase minimum required Glib version to 2.28 for g_get_monotonic_time 2015-01-02 22:11:59 +07:00
1da30faf7f Add tests that show the timing differences between the Glib/mm based timeouts
This shows that PBD::Timer is pretty much identical in terms of timing and CPU
usage as Glib TimeoutSources.

They also show the differences on Windows when setting the minimum Multimedia Timer
resolution using timeBeginPeriod
2015-01-01 19:04:09 +07:00
2e7cfe081f Add --no-lrdf configure option. 2014-12-24 13:00:32 -05:00
a3fcc02644 fix spelling error in MSVC compiler flags dictionary 2014-12-22 14:05:40 -05:00
1eda0bac19 Add some preliminary options for building with msvc and waf 2014-12-22 17:41:02 +00:00
92376a657d Don't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC 2014-12-22 17:38:30 +00:00
09687c1712 allow generic i386 builds with OSX/clang 2014-12-18 10:25:39 +01:00
a45259b783 fix —optimize and —debug-symbols configure flags
“execv() arg 2 must contain only strings”
2014-12-18 10:22:45 +01:00
d36b5c78bd Nuke user CFLAGS/CXXFLAGS if debug is set. 2014-12-18 02:26:51 -05:00
ea9cdaa57a add missing quotes 2014-12-17 22:51:11 +01:00
a280f28af9 potentially a better check for MSVC 2014-12-17 14:09:18 -05:00
9e67d18ad8 remove debug output 2014-12-17 14:08:33 -05:00
8568cb9d8b new wscript using compiler flags dictionary and very basic provision for msvc 2014-12-17 13:59:00 -05:00
246a4f3018 correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit 2014-12-09 08:19:11 -05:00
df92e33cc5 fix typo in wscript 2014-12-06 02:42:14 +01:00
Julien de Kozak
036b6234ac Relax VAMP version from 2.4 to 2.1 2014-12-01 23:18:10 +01:00
b9be8d2652 Replace individual waf options for enabling backends with one --with-backends option 2014-11-26 22:47:05 +07:00
421a1d9912 Revert "Don't add non-clang flag regardless of platform."
Apple's g++ on 10.6. does not understand -Wno-unused-local-typedefs
either

This reverts commit 9dd8024e41.
2014-11-25 14:06:15 +01:00
a2475509e5 Check for clang with an actual code check.
Turns out Apple in its infinite wisdom installs clang as /usr/bin/g++, so
guessing based on executable name doesn't work.
2014-11-25 02:20:21 -05:00
8b268344f9 Shup up clang about gtkmm/papertraits.h. 2014-11-25 02:08:35 -05:00
9dd8024e41 Don't add non-clang flag regardless of platform. 2014-11-25 02:07:40 -05:00
634a348296 Fix clang check for versioned clang executables. 2014-11-25 02:07:07 -05:00
7b3263891f waf is fun 2014-11-24 04:56:31 +01:00
2bdf9e447f OSX gcc does not support local-typedef warning 2014-11-24 04:24:58 +01:00
3aea7af3fd lost quote 2014-11-24 00:00:58 +01:00
5aba4df252 fix/silence various compiler warnings.
* ifdef unused static functions
* brackets around assignment and comparision
* no return statement in function returning non-void
* boost concept_checks.hpp unused-local-typedefs
2014-11-23 23:57:55 +01:00
b630cc81bc the return of the PPC nostalgia 2014-11-14 08:16:25 +01:00
b04414d170 allow to use cairo-image/software surface for canvas & cairowidgets 2014-10-28 02:15:10 +01:00
b23c29c204 fix gcc/C++11 2014-10-25 22:00:47 +02:00
f3ff1b9669 weak/runtime jack linking: load libjack dynamically at runtime 2014-10-23 16:53:13 +02:00
e2c6eb0ba1 silence clang ‘unused include file/compiler flag’ warnings 2014-10-23 03:43:04 +02:00
892909b052 separate host and target (OSX) 2014-10-19 23:13:50 +02:00
6970972191 add OSX 10.9 version flags
TODO: here, Xcode 6.0.1 and OS10.9.5  mmacosx-version-min=10.5 works
and produces binaries compatible with 10.5 or later, but that may 
no be standard. - Please x-check, for now 10.8 should work everywhere.
2014-10-16 16:16:41 +02:00
6794a4d020 add explanatory comment for future historians 2014-10-07 10:57:08 -04:00
a7da906a79 NOOP, proper label for flat carbon header includes 2014-10-07 16:53:10 +02:00
7bfa25777b OSX 10.9.5 compile fixes - part one 2014-10-07 14:46:06 +02:00
d1564669cf windows application icon 2014-10-05 02:12:25 +02:00
aeda6cbea9 add --with-wavesbackend config option (disabled by default) 2014-10-01 18:28:47 +02:00
b69f86b795 also build clearerlooks for windows 2014-10-01 00:13:17 +02:00
e1e4f9c9dd revert stupid change that breaks python3 and was probably related to other python-related issues fixed when support for python3 was added to our wscript files 2014-09-29 21:38:08 -04:00
dfec51964d fix small thinko with --no-lxvst option 2014-09-17 10:25:57 -04:00
beb0b3a6a7 add --no-lxvst option 2014-09-10 20:55:32 +02:00
9ad3feaba0 rename system and user config files with product-neutral names 2014-09-07 10:20:29 -04:00
885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
692f69ba14 parameterize the version number used to define the config directory name 2014-07-16 08:15:18 -04:00
97a99f545f fix attempt at making -framework Accelerate arguments work correctly 2014-07-15 10:42:10 -04:00
d6f2b9561a fix argument list for -framework Accelerate on OS X (arguments were fused into a single string) 2014-07-15 10:19:26 -04:00
e8106bb415 minor fixes to wscript files to make things python3 compatible 2014-07-13 08:36:18 -04:00
39ea166620 add --debug-symbols configure option.
This allows for --optimize --debug-symbols for profiling.
2014-07-08 18:40:52 +02:00
e21907d247 make WINDOWS_KEY value propagate correctly into wscript files for use when generating key bindings 2014-07-08 00:53:13 -04:00
cd57e14cf3 Fix install path of ardour_system.rc 2014-06-07 13:49:11 +10:00
27f8fc90cf mark dbus reservation tool optional 2014-06-05 03:26:52 +02:00
a907d3455e break out ALSA related functions into libardouralsautil 2014-06-04 19:16:37 +02:00
745c3cce1d fix wscript for x-compiling 2014-06-03 02:06:22 +02:00
d5fa80e01d fix linking against libasound 2014-06-02 21:09:21 +02:00
432f54db24 make ALSA backend optional and disable by default 2014-06-02 20:33:12 +02:00
796f4e9711 make building the dummy backend be a configure-time option. defaults to False for the time being 2014-05-28 22:30:06 -04:00
317a6c7f99 fix wscript to handle git revision ID that consists of just MAJOR.MINOR, as will happen if the repo is at the exact same rev as the MAJOR.MINOR tag 2014-05-28 15:53:36 -04:00
1b515fd0ff really fix osx mavericks detection 2014-05-25 00:21:20 +02:00
331b23cd05 fix script breakage 2014-05-24 16:20:58 -04:00
298ce8fdbf osx 10.9 needs c++11 (it's now default and used for the build-stack) 2014-05-24 20:10:14 +02:00
1c57dbfb3b fix typo link*er*_flags for OSX w/c++11 2014-05-24 20:10:13 +02:00
95ccbc452f Merge branch 'noppc' of https://github.com/mojofunk/ardour into cairocanvas 2014-05-19 17:45:01 -04:00
fd2409f90c There will be no supported PPC build of Ardour3 so remove powerpc optimization section 2014-05-14 10:46:07 +10:00
a3c88efa61 Remove Mac Universal build option as it is no longer supported 2014-05-14 10:45:53 +10:00
da596182e1 Remove duplicate test for presence of boost header 2014-05-14 09:47:40 +10:00
058986f77b finish unfinished work at basing all install paths on the program name 2014-04-28 21:11:08 -04:00
2974c87684 parameterize install target directories based on --program-name configure option 2014-04-10 10:23:16 -04:00
716c5b0642 new configure option for trx build, which also generates new menus file 2014-04-10 05:58:49 -04:00
543099afba rework SystemExec - use vfork wrapper (and lots of related stuff) 2014-03-13 16:58:07 +01:00
495c0de4ac fix up waf build in wake of search path changes earlier today 2014-03-10 17:30:12 -04:00
1c839ed541 some more mingw x-compile fixes 2014-03-04 18:53:43 +01:00
912f07b919 mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64) 2014-03-04 15:25:58 +01:00
9952f774e9 some mingw related tweaks to the build-environment. 2014-03-03 16:09:14 +01:00
993ed56701 prepare standalone VST scanner tool.. part one 2014-02-25 14:57:57 +01:00
6f759b5650 add headless to child list for wscript 2014-02-24 14:47:00 -05:00
2a7ed69c28 merge with master, with minor conflict fixes 2014-02-07 19:00:44 -05:00
ed75b9425b make backtrace symbols work again inside gtk2_ardour (-rdynamic is a link-time flag, not compile-time 2014-02-07 15:25:18 -05:00
c11bf0cc72 make -fvisibility=hidden be controlled by ./waf configure --exports-hidden 2014-01-31 10:25:58 -05:00
0b9b895b8d current mingw actually calls libpthread libpthread 2014-01-31 10:25:58 -05:00
0dee3813f9 reintroduce --lv2dir option and LV2DIR value to determine where to install builtin LV2 plugins 2014-01-18 18:21:33 -05:00
83c0720645 remove VAMP and Rubberband from source tree 2014-01-12 15:40:48 -05:00
0a2a6aaabb remove taglib from source tree (require external provision) 2014-01-12 15:40:48 -05:00
5062a00c7d move -fvisibility=hidden to the top of the source tree, and remove its internal use; use libtimecode as a shared lib again 2014-01-12 15:40:47 -05:00
658bb3ccd4 finished merge of cairocanvas with windows and windows+cc branches 2014-01-10 17:11:10 -05:00