Robin Gareus
f265bbbf82
mingw/gcc-8.2 compat: _xgetbv() needs -mxsave
...
Otherwise this causes PBD::FPU to fail with
error: inlining failed in call to always_inline ‘long long int _xgetbv(unsigned int)’
2020-03-08 02:41:15 +01:00
Robin Gareus
b0e7ba1262
Fix for modern boost + updated buildstack
...
Ardour's boost is not compiled --with-system, this causes issues
with modern compilers (gcc 8.2) when linking.
2020-03-08 02:38:30 +01:00
Robin Gareus
ede853d791
NO-OP: whitespace
2020-03-08 02:32:07 +01:00
Robin Gareus
6fd27f89b3
Remove debug message
2020-03-06 01:44:32 +01:00
Robin Gareus
09d45eff42
Update boost-ptr debug patch for boost 1.67
2020-02-25 02:29:03 +01:00
Robin Gareus
f79ae05a93
Amend 180843f9
- move scripts
2020-02-23 21:21:33 +01:00
Robin Gareus
54c4d3adc5
Clean up top-level source tree
...
Collect architecture independent data in 'share' subfolder.
This also matches the install path
2020-02-23 16:21:55 +01:00
Robin Gareus
674116b156
Fix configuration with gcc-9
...
Libraries need to be specified in order as last argument,
not as linkflag.
2020-01-26 01:11:23 +01:00
Robin Gareus
5a841ef462
Tweaks to build/package scripts for new waf
...
* Windows: delete waf installed .dll.a files
* Windows: override waf's conf.env.LIBDIR = conf.env.BINDIR
with explicit --libdir
* Windows: fix asm (`x86_64-w64-mingw32-as` -D flag is for
debug messages, -D defines are not available)
* Mac: override waf adding -install_name (and
-Wl,-compatibility_version -Wl,-current_version)
by moving -dynamiclib from linkflags to ldflags
* Mac: Allow libs with compat version number suffix
(not needed anymore, but may help in the future)
2020-01-25 04:07:42 +01:00
Robin Gareus
1d2cfd6f2d
Change waf/darwin default compiler to prefer gcc (if available)
2020-01-25 04:07:41 +01:00
David Runge
2e9ac80e99
Towards waf python 2+3 support
2020-01-25 04:07:37 +01:00
Robin Gareus
8be727114c
Add tsan option to trace data-races
2019-12-07 00:46:33 +01:00
Robin Gareus
216492c60c
Bump boost version requirement
...
1.56 is needed for boost::optional::value_or
2019-11-21 17:43:32 +01:00
David Robillard
7e10eec3c2
Use conf.fatal for fatal configuration errors
2019-10-19 02:22:59 +02:00
David Robillard
84efcb2534
Fix Python3 incompatible syntax
2019-10-19 02:22:59 +02:00
David Robillard
a1d5499f40
Fix typo
2019-10-19 02:22:59 +02:00
Paul Davis
68ec0d23c9
changes required to get build-stack to run on a Mojave VM.
2019-10-02 18:04:40 -06:00
Paul Davis
5ec5bc4523
goodbye USE_TRACKS_CODE_FEATURES and is_tracks_build
2019-09-25 12:16:13 -06:00
Robin Gareus
b9ff3b1e77
Cleanup configuration stage
...
* use print() only for errors
* use write_config_text() for normal operation
* fail if lld was requested, but not found
2019-09-25 14:13:51 +02:00
Paul Davis
d48e916ef1
add configure-time option to use lld as the linker (on linux)
...
this cuts about 15 seconds off the total linker time on a 16 core ryzen threadripper
2019-09-24 17:36:45 -06:00
Paul Davis
4992c69108
remove compiler flags required only by boost::msm and a large transition table
2019-09-19 22:34:18 -06:00
Paul Davis
bd229936ec
add finite state machine to control/manage transport state
2019-09-17 18:26:03 -06:00
Robin Gareus
65268bae5b
Report whether arlua is being built
2019-09-09 04:15:20 +02:00
Robin Gareus
63994f3b82
Include vamp-pyin
...
In preparation for captainMorgan's pitch analysis script.
2019-09-02 03:12:22 +02:00
Robin Gareus
8775087ea6
Remove explicit pulse version check (debian/wheezy builds)
2019-08-17 00:18:39 +02:00
Robin Gareus
384c97e12d
Puls der Zeit
...
Prototype a basic stereo-playback only pulseaudio backend.
2019-07-25 17:49:42 +02:00
Robin Gareus
e0e5ee0b44
Unify build-system customization (Ardour/Mixbus)
2019-04-09 13:17:15 +02:00
Paul Davis
754591e2ee
remove dangling --lv2 waf configure option
2019-01-02 08:11:09 -05:00
Paul Davis
04ccd328dc
remove configure-time --no-lv2 option. LV2 is integral to what we do
2018-12-28 09:47:55 -05:00
Robin Gareus
e554d1fad5
Add upstream libzita-convolver 4.0.3
2018-10-20 00:24:38 +02:00
Robin Gareus
df2a18ec1c
Fix --no-nls (1/5): ENABLE_NLS = 1/0 config
...
system-wide gettext uses `#if ENABLE_NLS`, not #ifdef
2018-09-21 19:00:33 +02:00
Guido Aulisi
5ffd2078da
AppData: 'revision' in revision.cc is expected in the 2nd line
...
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2018-09-19 19:14:02 -04:00
Nils Philippsen
2b8f25e05e
generate revision.cc with one item per line
2018-09-19 19:14:02 -04:00
Nils Philippsen
12544795e8
AppData release tags need a date to be valid
...
Or a timestamp, but that's deprecated. Create it from the last commit,
store it in/retrieve it from revision.cc and substitute it in the
template.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases
2018-09-19 19:14:02 -04:00
Johannes Mueller
3620122ad0
First draft of a-expander
2018-05-12 19:49:18 +02:00
Robin Gareus
49130df35b
Add factory plugin tags + favorites
2018-01-30 01:34:46 +01:00
Chris Dennis
e3c6a41c11
Adds support for building in Mac OS High Sierra
2018-01-28 12:59:25 +01:00
Robin Gareus
7036b2825a
Detected boost using a compile-time check (works w/x-compile)
2017-10-21 21:07:18 +02:00
Paul Davis
48d402c960
part two of initial libtemporal creation
2017-09-24 10:48:00 -04:00
Robin Gareus
3a5f98ba65
Fix buildstack revision report
2017-09-20 14:06:27 +02:00
Robin Gareus
658c6e7141
Fix buildstack report
2017-09-19 20:26:26 +02:00
Robin Gareus
de7963941d
Don't build ni-maschine support by default
...
While the pads work, overall integration is still not present, mainly
because the device does not lend itself for editing & mixing in a
DAW environment.
2017-09-18 11:40:53 -04:00
Robin Gareus
eb71eddbc8
Add libzita-resampler as lib
...
This simplifies x-compiling and x-platform builds as well
allows to statically link, if needed.
2017-09-16 18:31:54 +02:00
Julien "_FrnchFrgg_" RIVAUD
5d0b00589c
Fix the Unicode workaround in wscript
...
The previous code was supposed to ensure VERSION and PROGRAM_VERSION
were *not* Unicode objects since though they are the correct type to
represent strings in Python 2, too many libraries have strange issues
dealing with them, and UnicodeErrors can creep in with implicit
conversions from/to Unicode objects.
But in fact it did exactly the contrary since str.decode() always
returns Unicode objects, whose type corresponds to the str class in
Python 3. Fix it so that in both Python 2 and 3 the constants are
eventually instances of str.
2017-09-03 20:39:10 +02:00
Robin Gareus
55f0bb692a
fix waf template install
2017-08-24 15:26:14 +02:00
Robin Gareus
5cffe7fa84
Deploy Session-templates
2017-08-23 23:55:00 +02:00
Paul Davis
f9aff37623
full integration of beatbox test app into ardour tree+build system
...
Plus a few attempts at catching note on/off quantization stuff
2017-08-05 02:03:59 -04:00
Robin Gareus
beb73edf55
Purify libcanvas, remove libardour dependency
...
A canvas is just a canvas. Move WaveView into its own library.
2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
Tim Mayberry
843d5ffa59
Output the setting of the --no-threaded-waveviews option during configure
2017-06-26 08:40:47 +10:00
Robin Gareus
38285d0e54
Remove cfgtool, it's not useful anymore
...
cfgtool was used to dump the current config defaults into ./system_config
on the system it runs. It was manually invoked (usually on Linux) and
hence produced incorrect settings for Windows and OSX variants.
Since ea4bbcf5
Ardour binaries bundle a minimal empty system_config,
and the built-in defaults are used (correct for every platform).
2017-05-12 16:35:08 +02:00
Robin Gareus
d4f2121cfa
Fix linking on El Capitan
...
Modern xcode, does not allow std::locale::numeric with 10.8 SDK
2017-04-07 23:31:44 +02:00
Robin Gareus
b38e81d261
Fix build-stack revision path ( 3d952b095
)
2017-04-04 17:42:10 +02:00
Robin Gareus
3d952b095a
Include build-stack rev in config report
2017-04-04 17:13:32 +02:00
Robin Gareus
24f7ae4cf6
Sort and group configuration report
2017-04-04 17:13:08 +02:00
Robin Gareus
54fd56de75
Fix yet another oversight for the windows icon file update
2017-02-26 14:40:22 +01:00
Robin Gareus
0653766f79
Allow to keep environment C/XXFLAGS with debug builds
...
this is needed for e.g. windows debug builds to pass mstackrealign
2017-02-19 16:01:25 +01:00
Robin Gareus
1570b6c088
consolidate --help text, allow to generate man page.
2017-01-14 23:07:44 +01:00
powerpaul17
019ab92a5e
adapted wscript for macos sierra
2017-01-05 09:32:41 +00:00
Paul Tirk
e6f94215c4
fixed compilation on osx, minimal version was wrong
2017-01-05 09:32:41 +00:00
Robin Gareus
2481db7a7f
Add a small tool to experiment with libcanvas
2016-12-11 15:52:56 +01:00
David Robillard
4c92d75cbe
Always build dummy backend if building tests
...
The libardour tests require the dummy backend to be present.
2016-12-04 15:13:19 -05:00
David Carlier
282b7c2443
separate openbsd cases
2016-11-29 13:18:46 +00:00
David Carlier
28435d1a30
Making buildable under OpenBSD.
2016-11-29 13:18:46 +00:00
Robin Gareus
878635222a
Disable OSX 10.5/PPC support (MacVST is Cocoa UI only)
2016-11-19 00:46:13 +01:00
Robin Gareus
dcc16b7440
Revert "disable MacVST support (until it's ready)"
...
This reverts commit e0766e8f74
.
2016-11-16 01:25:29 +01:00
Robin Gareus
e0766e8f74
disable MacVST support (until it's ready)
2016-11-13 16:35:06 +01:00
Robin Gareus
8b93fb02f3
Mac VST-2.x support
2016-11-13 16:35:06 +01:00
Robin Gareus
c78824aef5
Include hidapi library
2016-10-23 22:53:10 +02:00
Nils Philippsen
0aaded5318
allow linking unbundled version of qm-dsp
...
In the course, rename the bundled, built version libqm-dsp so it matches
packaged versions.
2016-10-04 22:03:28 +02:00
Paul Davis
e3c93b7470
clang on el capitan etc. no longer supports -fstrength-reduce
2016-09-28 16:52:16 -04:00
Tim Mayberry
e297e27b7f
Add defines necessary for successful gcc/mingw compile with --cxx11 option
...
_USE_MATH_DEFINES is required for M_PI
WIN32 is no longer defined by gcc/mingw with --cxx11 option enabled(of course
_WIN32 still is) but as it is used in a liblo header(even though it is probably
incorrect to do so) define it.
2016-09-15 21:27:55 +10:00
Robin Gareus
53ee3e2e72
Add support for built-in file/url unzip/untar
...
This introduces new build-dependency: libarchive
(http://www.libarchive.org/ )
2016-09-13 16:14:40 +02:00
Len Ovens
7ccbc0ca73
OSC: Add preset loading to OSC GUI
2016-08-24 10:07:21 -07:00
Robin Gareus
870cb19737
a-fluidsynth
2016-08-24 03:18:14 +02:00
Robin Gareus
ac05f05023
Import libfluidsynth into the Ardour codebase
2016-08-23 22:21:03 +02:00
Robin Gareus
43f8d2503c
a-reverb prototype (based on setBfree b_reverb)
2016-07-12 16:43:10 +02:00
Damien Zammit
44de8560a6
Add a-EQ (basic 4 band EQ) with inline display based on SVF filters
2016-07-07 22:15:44 +10:00
Damien Zammit
de4cb2f8af
Add a-Delay plugin
2016-07-06 01:53:59 +10:00
Paul Davis
b9891ec298
add another warning-disable flag for clang
2016-07-04 15:10:34 -04:00
Robin Gareus
94e5060168
bundle a-comp
2016-07-03 03:21:44 +02:00
Robin Gareus
86763cba90
Enable build for FreeBSD (part 1/2)
...
Adopted from Michael Beer -- GH pull-request #232 with minor changes:
* rebased on master,
* removed trailing whitespace,
* don't explicitly change saved configuration defaults (wscript)
* moved sys/wait (WNOHANG) to header include
* separate changes in GUI and lib
2016-06-26 16:43:07 +02:00
Robin Gareus
a8fa5e9158
Ignore numerals before "+" in tag
2016-06-24 02:34:56 +02:00
Robin Gareus
3f665883da
clean up configure output
...
print is not interleaved with autowaf.display_msg
2016-05-16 20:05:08 +02:00
Robin Gareus
2d9ff7b7e7
fix windows builds - rc file needs to be present at build call
2016-05-16 20:04:23 +02:00
Robin Gareus
13e0db6914
icon-name follows program-name
...
so that derivative products don't need to replace binary image/icon
files in the source (use ./waf configure --program-name=...)
2016-05-16 17:35:01 +02:00
Robin Gareus
6972db0d55
add luadoc binary (developer tool) to dump lua bindings
...
output is either JSON or lua-tables.
enable via ./waf configure --luadoc ... , needs C++11
2016-03-20 20:54:36 +01:00
Robin Gareus
5fa4cf996b
prepare custom LV2 extensions
2016-03-14 00:17:08 +01:00
Robin Gareus
c26a53d401
tweak optimization flags for clang
2016-03-04 17:04:04 +01:00
Robin Gareus
d1f18b9994
amend prev commit (OS X El Capitan builds)
2016-03-02 11:03:31 +01:00
Robin Gareus
a47efed9e3
fix OSX El Capitan builds
2016-03-02 10:59:22 +01:00
Robin Gareus
1473c2d364
Add some lua scripts
2016-02-23 15:44:41 +01:00
Robin Gareus
942471d21f
add lua-session commandline tool
2016-02-23 15:43:03 +01:00
Robin Gareus
5b40e073e9
add liblua wrapper and build-scripts
2016-02-22 22:06:47 +01:00
Paul Davis
a598c5d4ac
fix inadvertent case change
2016-02-22 15:31:25 -05:00
Paul Davis
d2a6fec03a
additional GTKOSX => __APPLE__ changes missed in previous commit
2016-02-22 15:31:25 -05:00
Paul Davis
56770ff0af
change GTKOSX macro constant to use __APPLE__ instead
2016-02-22 15:31:25 -05:00
Paul Davis
2d18283379
make threaded waveview rendering a configure time option (enabled by default)
2016-02-21 12:34:10 -05:00
Paul Davis
6b61d58b8a
at the end of waf configure, when displaying selected options, break backend settings into their own "output block"
2016-01-12 08:06:48 -05:00
Paul Davis
baeca3642b
add relevant wscript visibility for the portaudio backend
2016-01-12 08:06:48 -05:00
Paul Davis
90c4985604
remove wavesaudio backend
2016-01-12 08:06:47 -05:00
Robin Gareus
91f5cd008c
amend prev commit (fix typos)
2015-12-17 21:04:08 +01:00
Robin Gareus
bdfddec6fc
more hot wine.
2015-12-17 20:22:02 +01:00
Robin Gareus
b228c11311
commandline session utilities
2015-12-16 00:25:07 +01:00
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
Robin Gareus
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
Robin Gareus
68d3b45976
improve itstool detection:
...
handle "/bin/sh: 1: itstool: not found" cases.
2015-12-05 14:04:11 +01:00
Robin Gareus
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
Robin Gareus
4245f2a02b
fix pthread-windows semaphore detection
2015-12-02 15:07:33 +01:00
Robin Gareus
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
Robin Gareus
73d1de3b75
NOOP, remove trailing whitespace, replace tabs in python scripts
2015-11-29 17:54:31 +01:00
Robin Gareus
dc78fcfb2f
check for itstool (>= 1.0.4, -j option)
2015-11-25 16:36:37 +01:00
Paul Davis
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
Tim Mayberry
3a266ff5e8
Add --profile waf option so frame pointer isn't omitted in optimized builds
2015-11-18 09:38:18 +10:00
Tim Mayberry
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
Robin Gareus
6ff50d2140
fix OS X system detection (amend 66704ee
)
2015-10-18 23:19:52 +02:00
Robin Gareus
c799ef723d
remove outdated limiation
2015-09-28 15:40:26 +02:00
Robin Gareus
ba6e274efa
new tool to test gcc4/5 ABI
2015-09-26 19:03:22 +02:00
Robin Gareus
0613b7517c
gcc5/c++11 deprecates std::auto_ptr
2015-09-26 00:22:56 +02:00
Robin Gareus
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
Paul Davis
5f6d8aded3
configure time detection of a patch/feature of libsndfile not yet in release
2015-09-08 17:40:28 -04:00
Robin Gareus
0fd9845957
more python2/3 compat
2015-08-23 00:00:19 +02:00
Robin Gareus
88920232e9
support the young serpents
2015-08-21 16:35:21 +02:00
Tim Mayberry
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
Paul Davis
c2d6249370
provide a mechanism for ./waf dist to work without hardcoding APPNAME in wscript
2015-08-13 14:32:38 -04:00
Robin Gareus
4666711639
python /^x86_64/ does not match 'x86_64-w64-mingw32-gcc' so what..
2015-08-12 07:07:21 +02:00
Robin Gareus
9ab17635f3
regexp fun
2015-08-12 06:22:50 +02:00
Damien Zammit
d686cb213f
Added PT .ptf session audio import functionality
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00
Paul Davis
1e169ea3e8
fix wscripts to work with python3.
...
encode/decode return byte arrays in python3, not strings
2015-07-06 10:06:06 -04:00
Robin Gareus
7a7c87d5f4
remove tabs from python code
2015-07-05 14:50:13 +02:00
Paul Davis
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
Paul Davis
2b2e6a94dc
experimentally remove some C++11 flags (likely to return)
2015-06-29 14:18:15 -04:00
Paul Davis
3a8bb36e28
ensure that program version strings are not unicode
2015-06-29 14:18:15 -04:00
Paul Davis
6485300479
remove more explicit compiler flags by placing them in the compiler flags dictionary
2015-06-29 14:18:14 -04:00
Paul Davis
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
Paul Davis
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
Paul Davis
c912bd61ae
tracks build ... backends are hard-coded
2015-06-29 14:18:10 -04:00
Paul Davis
87cfd47818
add now-expected -D defines for a Tracks build
2015-06-29 14:18:10 -04:00
Paul Davis
d682c42d5a
better implementation of configure and build time is_tracks_build() test
2015-06-29 14:18:10 -04:00
Paul Davis
e1bd9401d5
add clean and nice check for Tracks builds
2015-06-29 14:18:10 -04:00
Paul Davis
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
Paul Davis
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
Paul Davis
f755185825
add a real check for functioning JACK metadata API; remove configure time option for this
2015-04-23 09:29:45 -04:00
Paul Davis
187ddb3bad
more windows related SSE build fixes
2015-04-21 13:28:17 -04:00
Paul Davis
696100651d
fix another recent error in wscript for windows
2015-04-21 12:21:57 -04:00
Paul Davis
eabce90f29
fix recent error in wscript for windows
2015-04-21 12:19:01 -04:00