1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

85 Commits

Author SHA1 Message Date
Paul Licameli
33210ec8c7 Add sqlite3.h to CMakeLists.txt for easier browsing in the IDEs 2020-07-04 15:48:32 -04:00
Leland Lucius
4f129ae0af AUP3: Change database blocksize to 64KB
Preliminary tests show it to be a bit faster than the default
4KB.  For a simple example, generate 2-hour chirp dropped from
11 seconds to 7 seconds.  Not a lot, but...
2020-07-03 20:43:53 -05:00
Leland Lucius
2fbfd3e0a5 AUP3: Add SQLite to the project 2020-07-01 01:13:37 -05:00
Leland Lucius
eeb8122a1d
Bug 2488 - Windows: Change Pitch effect with high quality stetching much slower in 2.4.1 than 2.3.1 (#580) 2020-06-19 09:54:15 +01:00
Paul Licameli
04a0eb4370 Fix comments 2020-06-14 13:44:52 -04:00
Carlo Bramini
e5968db44f
[CMAKE] SBSMS: fix compilation error. (#467)
If you try to build local SBSMS with CMake for i686, you get many error messages like this one:

audacity/lib-src/sbsms/src/fft.h:346:29: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

The solution is to add the option provided by SSE_FLAGS.
So, I replicated in this PR the same fix made for local soundtouch and LAME library.
2020-06-03 13:35:10 -05:00
Leland Lucius
1426331d3f Fix detection of ssize_t for libsndfile 2020-05-26 23:50:48 -05:00
Sebastian Ramacher
df16b7e5c8
cmake: check for system portsmf via correct pkg-config name (#539)
Thanks much
2020-05-26 18:58:02 -05:00
Leland Lucius
a1dca132a8 Remove unnecessary ALIAS definition
No longer needed after removal of old build system
2020-05-26 13:50:34 -05:00
Leland Lucius
e7decd8013 Cleanup a few more library builds 2020-05-26 13:36:07 -05:00
Leland Lucius
ccb32b363d Adjust include paths 2020-05-26 03:24:27 -05:00
Leland Lucius
51507ecdf8 Move libmp3lame into the lame directory
This is where it would be in the original library structure
and makes the CMakeLists.txt a tad cleaner.
2020-05-26 02:05:43 -05:00
Leland Lucius
d738d35a7b Remove mpglib as it's not needed
And slower than libmad
2020-05-26 01:44:58 -05:00
Paul Licameli
7fbfc2b292 Finish the job of 30dbdf4, deleting abandoned source files...
... And correcting #include paths, and removing mentions in read-me files, and
correcting CMakeLists.txt
2020-05-25 17:21:05 -04:00
Leland Lucius
1f55332bb3 Fix wx3.0 build 2020-05-24 14:04:39 -05:00
Leland Lucius
c42d188e7b Removed old build system
This was fun!!! Holler if I had too much fun. :-)
2020-05-24 13:18:47 -05:00
Carlo Bramini
e9d2669a33
[CMAKE] WIN32: Fix error in LILV_DEFAULT_LV2_PATH (#534) 2020-05-23 14:31:37 -05:00
Leland Lucius
8756258e55 Only add values if they were found 2020-05-22 22:49:08 -05:00
Paul Licameli
a3d690e473 Remove lib-src/lib-widget-extra...
... It only implemented class NonGuiThread, which was not third-party, and
became unused at commit a6d0b3f
2020-05-22 09:22:49 -04:00
Leland Lucius
b5ebfd2e6b Fix module build on Windows 2020-05-19 10:32:47 +01:00
Leland Lucius
93fd83c58c Fix CMake build of modules
They must not be linked against any libraries as build time.  The
symbols will be resovled at runtime.
2020-05-19 10:32:47 +01:00
Leland Lucius
4b1d5c376d Bug 2400 - Mac: Zoomed in, playback meters slow to respond. 2020-05-10 02:36:28 -05:00
Leland Lucius
4daae34181 Bug 2425 - Linux: No MIDI support 2020-05-10 02:34:22 -05:00
Leland Lucius
27acd6ffd8 Bug 2426 - Linux: No FFmpeg support 2020-05-10 02:33:29 -05:00
Leland Lucius
eabcd35d26 Disable use of AVX instructions in libsoxr 2020-04-28 12:27:52 -05:00
Leland Lucius
06c36f7fe6 Synchronize CMake install target with original 2020-04-24 23:59:11 -05:00
Leland Lucius
4b8f923fd1 Fix GIT revision when build directory is outside source tree 2020-04-24 23:39:12 -05:00
Leland Lucius
0b716cabee No longer need to use the obsolute functions
The last commit resolved this requirement.  I'd really like to
remove ALL of the old dynamic loading code from ExportMP3 as well,
but a task for another day...
2020-04-17 08:48:53 -05:00
Leland Lucius
5cd94707f8 Prefer shared libs over static 2020-04-06 07:31:32 -05:00
Carlo Bramini
f60bd42e9d
[CMAKE] Portaudio: do not activate OSS on Windows (#477)
* [CMAKE] Portaudio: do not activate OSS on Windows

I had a strange error when building the local portaudio library with MinGW under msys2.
The error was caused by the file sys/soundcard.h that was found somewhere in the path, because use_pa_oss is always activated regardless the platform.
So, in my opinion it is better to not activate this option if the platform is Windows.
Afterall, it is useless in this case.

* [CMAKE] Portaudio: move also remaining OSS code
2020-04-02 10:04:10 -05:00
Carlo Bramini
1437fb38ad
[CMAKE] Portaudio: x86_plain_converters is MSVC only (#476)
As you can see from the original CMakeLists.txt into the sources of Portaudio, the file pa_x86_plain_converters.c can be compiled only with Visual C++, so it should not be include if there is not the Microsoft Compiler.
2020-04-02 09:34:28 -05:00
Leland Lucius
11bfccba53 Remove a couple more unneeded quotes 2020-04-01 18:54:49 -05:00
Leland Lucius
ffc7452eba Fix quoting issue in libsoxr build 2020-04-01 14:30:26 -05:00
Carlo Bramini
3a91981c86
[CMAKE] LV2: Fix conflict with main() (#468)
After compiling Audacity with MinGW, a strange message appeared on the console after the executable was launched:

# ./Audacity.exe
Usage: C:\msys64\home\Carlo\a\bin\Audacity.exe [OPTION]... INPUT...
Validate RDF data

  -h  Display this help and exit
  -l  Print errors on a single line.
  -v  Display version information and exit
Validate RDF data.  This is a simple validator which checks
that all used properties are actually defined.  It does not do
any fancy file retrieval, the files passed on the command line
are the only data that is read.  In other words, you must pass
the definition of all vocabularies used on the command line.

The problem happens because the file lv2/sord/src/sord_validate.c contains a main() function that was called by crt startup code instead of the one in the main sources of Audacity. The solution is to not include this unneeded file.
2020-03-24 22:58:28 -05:00
Carlo Bramini
22b47bf0ae
[CMAKE] LAME: fix compilation error. (#466)
If you try to build local LAME with CMake for i686, you get many error messages like this one:

C:/cygwin64/home/Carlo/audacity/lib-src/libmp3lame/vector/xmm_quantize_sub.c: In function 'init_xrpow_core_sse':
C:/cygwin64/home/Carlo/audacity/lib-src/libmp3lame/vector/xmm_quantize_sub.c:72:18: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

The solution is to add the option provided by SSE_FLAGS.
So, I replicated in this PR the same fix made for local soundtouch library.
2020-03-24 13:54:21 -05:00
Raphael Graf
a787fe9a1f
[CMAKE] Allow linking system version of libexpat (#462) 2020-03-23 08:12:42 -05:00
Leland Lucius
6f5f586b19 Update required libsndfile version in CMake build 2020-03-18 16:36:23 -05:00
Leland Lucius
7256696047 Adjust CMake build for new libsndfile version 2020-03-17 00:14:47 -05:00
Leland Lucius
f14a3dd90f Don't need to show the command any longer
Seems to be working just fine after several pulls
so don't need to see it anymore.
2020-03-11 23:50:32 -05:00
Leland Lucius
66aae0900b Ease CMake and legacy build coexistence
Cliff noticed that the CMake git ident was not being updated when
pulling new changes.  This was because it was getting captured at
configuration time and, even if you pull more changes, the CMake
configuration may not be redone automatically if the build files
weren't also changed.

So, this adds a new target to get the information at build time
instead.
2020-03-11 22:31:19 -05:00
Carlo Bramini
3d38ddf6a2
[CMAKE] Portmidi: add missing Unix files in Cygwin (#442)
When doing the final link of Audacity executable on Cygwin, many errors like this one were printed on the console:

ld: ../lib/audacity/libportmidi.a(portmidi.c.o):portmidi.c:(.text+0x3f): undefined reference to `pm_alloc'

This happened because some files were missing since Cygwin name was not included together with other unix platforms.
2020-03-03 17:06:42 -06:00
Carlo Bramini
d8362e0897
[CMAKE] Portaudio: fix support in Cygwin (#438)
* [CMAKE] Portaudio: add unix paths for Cygwin

When building on Cygwin, I got this error:

/home/carlo/audacity/lib-src/portaudio-v19/src/hostapi/oss/pa_unix_oss.c:90:10: fatal error: pa_unix_util.h: No such file or directory
   90 | #include "pa_unix_util.h"

this happened because some additional search path was not included.

* [CMAKE] Portaudio: add missing Unix files in Cygwin

When doing the final link of Audacity executable on Cygwin, many errors like this one were printed on the console.

/usr/lib/gcc/x86_64-pc-cygwin/9.2.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/Audacity.dir/AudioIO.cpp.o:AudioIO.cpp:(.text+0x17a): undefined reference to `PaUtil_GetTime'

This happened because some files were missing since Cygwin name was not included together with other unix platforms.
2020-03-02 23:31:56 -06:00
Leland Lucius
2a4421bf92 Remove sc4 plugin from CMake build 2020-03-01 12:12:37 -06:00
Leland Lucius
caab2a56c9 Remove gettext download for Mac in CMake build
And added a python version that will be used on all platforms
when a suitable msgfmt isn't installed.  (As long as python
is installed.)

Extracted all the Audacity specific functions from main cmake
list and moved them to their own module.

Rearrange the main cmake module a bit and misc. cleanup.
2020-02-29 01:49:55 -06:00
Raphael Graf
dff2124be2
Fix requirements for libmad and lv2 in cmake-proxies/CMakeLists.txt (#435) 2020-02-27 10:49:49 -06:00
Leland Lucius
96572761c4 Fix linkage to sc4 plug-in 2020-02-27 09:58:24 -06:00
Leland Lucius
50e4d74007 Make Audacity dependent on sc4 plugin 2020-02-27 01:08:46 -06:00
Leland Lucius
5d62cdbd1e Add sc4 plug-in to CMake build for Windows and Mac 2020-02-27 00:52:34 -06:00
Leland Lucius
3545097fe9 Fix CMake/wxWidgets link issue
This corrects linking of the wxWidgets libraries when there's multiple
copies and the desired one is later in the search path.  This can affect
any non-Windows system that doesn't have it's wxWidgets in "standard"
libraries (like our wxWidgets builds on the Mac).

The wrong wxWidgets libraries can be picked up by the linker if other
"-L" arguments appear before the wxWidgets specific on.  This can happen
if you have something like Homebrew installed and CMake finds one of the
libraries (like libogg) installed.  It will put a "-L/usr/local/lib" in
the linker arguments before the "-L/usr/local/x86_64" wxWidgets flag,
and if there happens to be wxWidgets libs in /usr/local/lib, the linker
will pull the wxWidgets libs from /usr/local/lib...not what was wanted.
2020-02-24 13:45:16 -06:00
Leland Lucius
d748c0816a Actually do what the previous change said
Forgot to actually exclude mod-null and mod-nyq-bench from the
build.

Fixed a few typos.

And removed "zip" from the package install on Ubuntu since it's
not needed anymore.
2020-02-23 16:46:30 -06:00