1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 06:38:49 +02:00

84 Commits

Author SHA1 Message Date
Steve Daulton
26e19bfd5a Add aud-do-support.lsp for Linux build
Provides Nyquist (LISP) wrapper functions for macro "Commands".
2018-11-09 19:57:56 +00:00
Steve Daulton
5d34d022a5 Add rms.ny to Audacity bundle
Tidy translation code in init.lsp
Include rms.ny in Makefile.am
Add rms.ny to Linux package
Update Makefiles with: autoreconf --force --no-recursive
Add rms.ny to mac build
Add rms.ny to Windows build
2018-10-08 18:55:46 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
6220c27613 Do an autoreconf -ivf
This was done on a Ubuntu 14.04 system with wxWidgets 3.1.1 installed.
The resulting buildfiles successfully build Audacity on Ubuntu 14.04 (with 3.1.1) and on Travis (with 3.0.0).
2018-04-02 17:32:17 +01:00
Paul Licameli
6ea647cc1d Set up for extracting i18n strings from .ny files with xgettext 2018-03-02 19:46:57 -05:00
James Crook
1c988b4e3a Automation: AudacityCommand
This is a squash of 50 commits.

This merges the capabilities of BatchCommands and Effects using a new
AudacityCommand class.  AudacityCommand provides one function to specify the
parameters, and then we leverage that one function in automation, whether by chains,
mod-script-pipe or (future) Nyquist.

- Now have AudacityCommand which is using the same mechanism as Effect
- Has configurable parameters
- Has data-entry GUI (built using shuttle GUI)
- Registers with PluginManager.
- Menu commands now provided in chains, and to python batch.
   - Tested with Zoom Toggle.

- ShuttleParams now can set, get, set defaults, validate and specify
the parameters.
- Bugfix: Don't overwrite values with defaults first time out.
- Add DefineParams function for all built-in effects.
- Extend CommandContext to carry output channels for results.

We abuse EffectsManager.  It handles both Effects and
AudacityCommands now.  In time an Effect should become a special case of
AudacityCommand and we'll split and rename the EffectManager class.

- Don't use 'default' as a parameter name.
- Massive renaming for CommandDefinitionInterface
- EffectIdentInterface becomes EffectDefinitionInterface
- EffectAutomationParameters becomes CommandAutomationParameters
- PluginType is now a bit field.

This way we can search for related types at the same time.

- Most old batch commands made into AudacityCommands.
The ones that weren't are for a reason.  They are used by mod-script-pipe
to carry commands and responses across from a non-GUI thread to the GUI
thread.

- Major tidy up of ScreenshotCommand
- Reworking of SelectCommand
- GetPreferenceCommand and SetPreferenceCommand
- GetTrackInfo and SetTrackInfo
- GetInfoCommand
- Help, Open, Save, Import and Export commands.
- Removed obsolete commands ExecMenu, GetProjectInfo and SetProjectInfo
  which are now better handled by other commands.

- JSONify "GetInfo: Commands" output, i.e. commas in the right places.

- General work on better Doxygen.
    - Lyrics -> LyricsPanel
    - Meter -> MeterPanel
- Updated Linux makefile.
- Scripting commands added into Extra menu.
- Distinct names for previously duplicated find-clipping parameters.
- Fixed longstanding error with erroneous status field number which
  previously caused an ASSERT in debug.
- Sensible formatting of numbers in Chains, 0.1 not 0.1000000000137
2018-02-24 14:20:22 -05:00
Paul Licameli
f5737be02c Ran autoreconf --force --no-recursive 2018-01-24 22:34:35 -05:00
Paul Licameli
7c9273f0f6 Revert "2.2.0 > 2.2.2 in configure"
This reverts commit 92b6124bbcb51e4fc751e2396a873e5658f929f5.
2018-01-24 22:29:02 -05:00
Paul Licameli
92b6124bbc 2.2.0 > 2.2.2 in configure 2018-01-24 22:19:05 -05:00
Pokechu22
f50b301694 Regenerate configure scripts and Makefile.in's 2017-07-04 07:50:16 -04:00
Darrell Walisser
a0ff99b472 update autoconf script 2017-03-31 12:51:15 -04:00
Darrell Walisser
6434ab7066 update autoconf script 2017-03-31 12:51:15 -04:00
James Crook
439edae203 Update source files.
Used autoreconf --no-recursive --install to do this.
2017-03-18 20:13:39 +00:00
Darrell Walisser
ad24fee7dd configure: add check for gcc 4.9.0 up-front
also sets -std=gnu++11 per wxWidgets requirement
closes bug #1506
2017-02-24 14:52:21 -05:00
James Crook
77ceb6a707 Linux Build Settings.
Configure.ac:
  Upped version number to 2.1.3
  Made FFmpeg and LibFlac Local

Readme.txt:
  Added instruction for CFLAGS.
  Use XCodebuild instructions on Mac, not autotools.
  one reason is, on Mac must use patched wxWidgets 3.0.2
2017-02-12 12:31:34 +00:00
Steve Daulton
6b9a63d4c8 Update generated autotool files by running autoreconf 2016-01-26 18:32:29 +00:00
Leland Lucius
a9b6d2382c Use wxDEBUG_LEVEL instead of WXDEBUG_LEVEL...DOH!!! 2015-07-31 02:27:12 -05:00
Leland Lucius
e869099643 Add WXDEBUG_LEVEL=0 to non-debug builds 2015-07-29 14:44:51 -05:00
Leland Lucius
cf27c619da Make sure search string is unique 2015-07-28 18:06:35 -05:00
Leland Lucius
ed419f1917 Round 10 of wx3 changes
configure script now auto detects whether wxWidgets was built using
gtk2 or gtk3, so there's no longer a need to specify which one when
running configure.

VST support updated for wx3 under GTK.
2015-07-18 01:22:05 -05:00
Leland Lucius
9b9c8cc073 Round 5 of wx3 changes
FileDialog now complete on Linux.  Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
a03d65ef4d Cleanup lib-src
Removing:

id3lib
libresample
libsamplerate
taglib
2015-04-16 14:41:41 -05:00
yam
57fb87e96d Update lilv, lv2, serd, sord, sratom, and add suil. 2015-04-07 23:19:22 -05:00
lllucius@gmail.com
ea074f889b Regenerate build files on Debian Wheezy
This will fix building the minsrc tarball on Debian Wheezy
2015-02-17 16:19:57 +00:00
lllucius@gmail.com
22d3719db5 Enabling --with-wx-version parameter to facilitate wx3 testing 2015-01-04 20:02:52 +00:00
lllucius@gmail.com
a1b40ef5e2 Workaround VPATH issue when generating message files
This was in locale/Makefile.in.in, but it would be easy
to accidentally lose those changes by running autopoint.
2015-01-03 03:49:50 +00:00
lllucius
71d8b0d8ec Possible fix for bug #435
I say possible because I can't fully test it as my motherboard
audio device doesn't show up in Windows (don't know why yet).

So, because of that and because this "fix" needs a little discussion
amongst the troops, I've ifdef'd it with EXPERIMENTAL_HAVE_DEVICE_CHANGE
and have disabled it by default.

What is does is it sets up a device change listener and performs an
automatic rescan when a change is detected.  (That's the part that
needs discussion.)
2014-12-06 04:11:31 +00:00
lllucius@gmail.com
bdb3aa328b Provide an easy way to build mod-nyq-bench
mkdir build
cd build
../configure
make
make modules
./audacity
2014-11-01 09:28:05 +00:00
lllucius@gmail.com
7f8270a5c8 3rd attempt to Add the ability to build without trashing the source tree
Hopefully this take care of all situations.
2014-10-28 06:27:57 +00:00
lllucius@gmail.com
49ce8fd212 2nd attempt to Add the ability to build without trashing the source tree
In r13510 I had neglected to build with all local libraries and some of
them needed attention.

So, I also took the opportunity to work out the locale directory and
how to keep it unmolested as well.  As a result, all locales are rebuilt
as expected, but into the "build" directory.

As a bonus you may now test Audacity from the "build" directory and have
Nyquist plugins and message catalogs available (so you can test other 
languages again without havint to install).

So, again:

mkdir buildme
cd buildme
../configure
make
./audacity
2014-10-27 23:13:03 +00:00
lllucius@gmail.com
c6ffa89d23 Add (restore?) the ability to build without trashing the source tree
You may now do:

mkdir build
cd build
../configure
./audacity

And all but one directory will remain unmolested...no more object files
in "src".

And if you look carefully, you'll see that the newly built "audacity" is
copied to the top of the build tree...no more having to use "src/audacity"
to run.

You can of course still do the configure from the top and get all of the
objects strewn about the tree.

I still haven't figured out how to keep the locale directory from getting
soiled.  I'm not really sure there's a way around it really.
2014-10-27 07:34:17 +00:00
lllucius
1eeb4d979a The fabled realtime effects...
I've made it where you can enable and disable via experimentals:

EXPERIMENTAL_REALTIME_EFFECTS
EXPERIMENTAL_EFFECTS_RACK

You will notice that, as of now, the only effects currently set up for
realtime are VSTs.  Now that this is in, I will start converting the
rest.

As I start to convert the effects, the astute of you may notice that
they no longer directly access tracks or any "internal" Audacity
objects.  This isolates the effects from changes in Audacity and makes
it much easier to add new ones.

Anyway, all 3 platforms can now display VST effects in graphical mode.
Yes, that means Linux too.  There are quite a few VSTs for Linux if
you search for them.

The so-called "rack" definitely needs some discussion, work, and attention
from someone much better at graphics than me.  I'm not really sure it should
stay in as-is.  I'd originally planned for it to be simply a utility window
where you can store your (preconfigured) favorite effects.  It should probably
revert back to that idea.

You may notice that this DOES include the API work I did.  The realtime effects
were too tied to it and I didn't want to redo the whole thing.  As I mentioned
elsewhere, the API stuff may or may not be very future proof.

So, let the critter complaints commence.  I absolute KNOW there will be some.
(I know I'll be hearing from the Linux peeps pretty darn quickly.  ;-))
2014-10-26 03:24:10 +00:00
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
richardash1981
c0b3859249 stop GStreamer being enabled on Linux systems where it is installed for this release, re-generate configure 2014-08-16 21:48:30 +00:00
richardash1981
5a01406d49 Fix build error due to under-linking of libvorbis and libogg, which causes a build error if they have been built usining -Wl,--as-needed to avoid re-exporting library symbols 2014-08-12 21:31:25 +00:00
richardash1981
305ca18336 Disable VST on Linux for 2.0.6 release, and regenerate files as required from recent commits 2014-08-09 21:41:57 +00:00
RichardAsh1981@gmail.com
84df24527c re-generate configure script with changes to audacity local macros 2014-07-21 21:18:58 +00:00
lllucius@gmail.com
5b18fe3347 Enable VST support on Linux 2014-05-28 06:45:03 +00:00
benjamin.drung@gmail.com
da47fe0373 Update generated autotool files
...by running autoreconf --no-recursive --install
2014-05-27 21:02:04 +00:00
lllucius@gmail.com
a6782da38d Addition of gstreamer importer support. Will only use system
libraries...no locals for this fella.

gstreamer-1.0 is required.
2014-05-16 17:36:27 +00:00
benjamin.drung@gmail.com
c7c15e09d8 Fall back to check for -lexpat when there is not pkg-config file. 2013-11-21 15:47:01 +00:00
benjamin.drung@gmail.com
9d0e5e360d Regenerate autotools files by running autoreconf --no-recursive -i -f. 2013-11-20 03:03:34 +00:00
benjamin.drung@gmail.com
20f5c717b8 Set PORTAUDIO_CFLAGS and PORTAUDIO_LIBS for portmixer when using the local portaudio. 2013-11-19 01:48:14 +00:00
benjamin.drung@gmail.com
0e38b3c395 Fix check for expat (stupid me). 2013-11-15 23:38:43 +00:00
benjamin.drung@gmail.com
6d2cef480f Make sure that we have expat enabled one way or another. 2013-11-14 11:08:43 +00:00
lllucius
d7abc466db Add expat 2.1.0 for Windows, Mac, and for local Linux builds (use system expat otherwise) 2013-11-14 06:56:26 +00:00
benjamin.drung@gmail.com
cec6a0bf58 Correctly quote AC_MSG_ERROR message.
configure will crash instead of showing the error message if the text contains
a comma and is not quoted.
2013-11-12 23:03:14 +00:00
benjamin.drung@gmail.com
f0b2b26e0b Move LAME header file from src/include to lib-src/lame/lame.
The LAME header file is part of the upstream LAME project and does
not belong in the src/ tree of Audacity.
2013-11-11 13:48:56 +00:00
lllucius@gmail.com
488c387b18 Adds system expat library to link
Adds system zlib library to link when using local libid3tag
Fixes portmixer build when using local portaudio
2013-11-09 21:10:32 +00:00