Package: audacity / 2.2.2-1


Package Version Patches format
audacity 2.2.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix minsrc autoreconf.patch | (download)

lib-src/ | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix autoreconf for the minimal audacity source tarball.
 The minimal audacity source tarball does not ship every library in lib-src.
0002 workaround wxwidgets fit recovery.patch | (download)

src/AutoRecovery.cpp | 23 23 + 0 - 0 !
1 file changed, 23 insertions(+)

 workaround for wx bug causing layout problems in recovery dialog
 Workaround for a bug in wxWidgets 3.0 that causes the Fit()
 function to fail in certain desktop environments (gnome, xfce)
 before the first window of the same style class is shown on
 screen ( As a workaround,
 call Fit() and other methods that depend on its results again
 *after* we know that the window has been shown. While the bug
 may affect other calls to Fit() on a low level, the workaround
 is necessary only for the recovery dialog, which is particularly
 vulnerable because:
 1. It is shown very, very early in the program execution and
 therefore very likely to be the first dialog of its style class
 shown on screen.
 2. It doesn't have scrollbars or flexible-size controls that
 could compensate the wrong dialog size.
0004 desktop.patch | (download)

src/ | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 add keywords to desktop file
Fix exec command
0005 Fix building against the system portaudio library.patch | (download)

src/AudioIO.cpp | 17 16 + 1 - 0 !
1 file changed, 16 insertions(+), 1 deletion(-)

 [patch] fix building against the system portaudio library

Building against the system portaudio results in this error:

./src/AudioIO.cpp:983: undefined reference to `PaUtil_GetTime'
audacity-AudioIO.o: In function `audacityAudioCallback(void const*, void*,
unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)':
./src/AudioIO.cpp:4630: undefined reference to `PaUtil_GetTime'
collect2: error: ld returned 1 exit status
Makefile:2349: recipe for target 'audacity' failed
make[3]: *** [audacity] Error 1

This is because PaUtil_GetTime is declared as a C symbol in pa_util.h
but is resolved as a C++ symbol at link time.

Audacity fixes this in the local tree with this change:

However this is not general enough for the portaudio debian package.

Since PaUtil_GetTime() is the only function causing problems, just copy
over the code where it's used.