Commit Graph

26 Commits

Author SHA1 Message Date
Leland Lucius e6ec236a39 Fix (workaround) GUI hang on Linux
On second display of LV2 effect using an X11UI, Audacity
would hang due to the glib class not being in the expected
state.

Workaround is to not unload the suil wrapper library. The
unload was already being bypassed on Windows so I'm unsure
why the author didn't do it on the other platforms.
2021-02-26 00:53:45 -06:00
Paul Licameli 9ec4d65f7c Travis build uses C++14 2020-05-22 09:20:20 -04:00
Leland Lucius 29599c364d Don't build LV2 with 'gnu++11' in CFLAGS 2019-12-17 15:39:26 -06:00
Leland Lucius ccfd2f1c80 Update LV2 host
This greatly improves the LV2 host to the point where all
(non-midi) plugins distributed with Ubuntu 18.04 and Fedora
30 are supported.
2019-12-17 12:54:30 -06:00
Leland Lucius be336797b3 Update local LV2 libraries to latest versions
lilv-0.24.6
   lv2-1.16.0
   serd-0.30.2
   sord-0.16.4
   sratom-0.6.4
   suil-0.10.6
2019-12-17 11:15:16 -06:00
Henric Jungheim 8bf2071fdd lv2: Update for VS2015+ 2018-06-26 06:53:47 -07:00
henric 659f8cbc6f Get rid of the Windows compatibility headers stdint.h and inttypes.h.
Microsoft provides their own these days.
2018-06-26 06:53:47 -07:00
Benjamin Drung 787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Benjamin Drung 8d4ef6054a Fix linking of libsuil
libsuil uses directly symbols of X11 when compiling with GTK2. The build
will fail if compiled with -Wl,--as-needed:

[6/6] cshlib: build/src/x11_in_gtk2.c.3.o -> build/libsuil_x11_in_gtk2.so
src/x11_in_gtk2.c.3.o: In function `forward_key_event':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:159: undefined reference to `XSendEvent'
src/x11_in_gtk2.c.3.o: In function `x_window_is_valid':
lv2/suil/build/../src/x11_in_gtk2.c:71: undefined reference to `XQueryTree'
src/x11_in_gtk2.c.3.o: In function `forward_size_request':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:172: undefined reference to `XResizeWindow'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `lib-src/lv2/suil/build'
Build failed

Therefore link against X11 when using GTK2.
2016-05-13 22:14:40 +02:00
Leland Lucius 35cbd1c017 Copy waflib into build directory to prevent python compiler
code from poluting source tree.
2015-04-14 11:17:37 -05:00
Leland Lucius b05b3fbcea Fix for building on Fedora 21 2015-04-13 15:08:02 -05:00
Leland Lucius a66184f259 Adding changes that I missed when redoing my branches. 2015-04-08 10:21:17 -05:00
yam 57fb87e96d Update lilv, lv2, serd, sord, sratom, and add suil. 2015-04-07 23:19:22 -05: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 d68a198096 Fix the build on Mac where python2 is not available. 2014-05-14 20:21:50 +00:00
benjamin.drung@gmail.com d60b249653 Use python2 explicitely instead of assuming that the python binary is version 2. 2013-12-16 20:19:00 +00:00
benjamin.drung@gmail.com d8562a197c lv2: Add empty check target to Makefile. 2013-11-19 02:44:02 +00:00
benjamin.drung@gmail.com 7a5f6fbbf3 Unpack the waf scripts.
See http://lintian.debian.org/tags/source-contains-waf-binary.html for details.
2013-11-13 00:39:30 +00:00
benjamin.drung@gmail.com 1bdb187244 Add distdir target to lv2 Makefile. 2013-11-12 02:21:00 +00:00
lllucius 6c4d80f93a Fix running on Windows 95.
Creating the symbolic link will fail on 95, but it only matters
if we state is saved...which Audacity doesn't do (yet).
2013-11-11 01:12:30 +00:00
lllucius b4ba110811 Reverting r12850...hopefully
Never removed one before, but I'm pretty sure it is correct.
2013-11-03 01:54:50 +00:00
lllucius f290b3d644 Converted CRLF to LF. 2013-11-01 23:22:33 +00:00
benjamin.drung@gmail.com 6a2b20360c Add simple Makefile to lv2. 2013-11-01 22:03:03 +00:00
lllucius 3532ecd7b2 Reworked LV2 plug-ing support.
This enables all platforms to use LV2 plugins in non-GUI mode.  There is
still some work to do, like subgroup handling and better scalepoint
handling.
2013-10-27 11:13:20 +00:00
lllucius cc77c8638b Adding msinttypes for LV2 support.
msinttypes-r29
2013-10-27 09:05:30 +00:00
lllucius bc5e7ffce8 Adding new libraries for LV2 support.
lilv-0.16.0
lv2-1.6.0
serd-0.18.2
sord-0.12.0
sratom-0.4.2
2013-10-27 08:56:51 +00:00