Package: audacity / 3.2.4+dfsg-1

Metadata

Package Version Patches format
audacity 3.2.4+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fix rpath for private libraries on Linux.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
cmake-proxies/cmake-modules/AudacityFunctions.cmake | 19 19 + 0 - 0 !
modules/CMakeLists.txt | 7 0 + 7 - 0 !
modules/mod-script-pipe/CMakeLists.txt | 1 1 + 0 - 0 !
src/CMakeLists.txt | 10 0 + 10 - 0 !
5 files changed, 21 insertions(+), 17 deletions(-)

 fix rpath for private libraries on linux

Installing audacity on Linux will produce private libraries that have
`RUNPATH` set to the build directory instead of the installation
directory.

The root cause is that the library directory is copied to the
installation directory without touching the libraries. The cmake wiki
says in RPATH handling caveats [1]: "Since install-side RPATH tweaking
is an operation that is done by target-specific installation handling,
any target that should have its install RPATH changed (e.g. to
`CMAKE_INSTALL_RPATH`) needs to end up in the installation via an
`install(TARGETS ...)` signature and not via directory-based copying."

So replace `install(DIRECTORY ...)` by individual `install(TARGETS ...)`
for the libraries and modules. Then cmake will replace the `RUNPATH` to
`$ORIGIN/../lib/audacity`, which is still incorrect. Therefore set
`INSTALL_RPATH` explicitly.

Fixes: https://github.com/audacity/audacity/issues/3289
Do not strip debug info for CMAKE_BUILD_TYPE RelWithDebIn.patch | (download)

cmake-proxies/cmake-modules/AudacityFunctions.cmake | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 do not strip debug info for cmake_build_type=relwithdebinfo

If `CMAKE_BUILD_TYPE` is set to `RelWithDebInfo` the debug information
should not be stripped. Currently `strip -x` is called when
`RelWithDebInfo` is set. A useless `echo` is called when `Debug` is set.

Skip `strip -x` when `CMAKE_BUILD_TYPE` is set to `Debug` or
`RelWithDebInfo`.

Add mime type for aup3 file extension.patch | (download)

src/CMakeLists.txt | 1 1 + 0 - 0 !
src/audacity.xml | 5 5 + 0 - 0 !
2 files changed, 6 insertions(+)

 add mime type for 'aup3' file extension

The new file extension `.aup3` is not recognized on Linux.

Add a new mime type `application/x-audacity-project+sqlite3` for the
file extension `.aup3` and add this mime type to the supported mime
types of audacity.

Ideally the Audacity team should register two mime types at IATA. These
mime type should probably be named `audio/vnd.audacity.project+sqlite3`
and `audio/vnd.audacity.project+xml`.

Fix setting audacity_use_midi off.patch | (download)

src/Experimental.cmake | 38 21 + 17 - 0 !
1 file changed, 21 insertions(+), 17 deletions(-)

 fix setting audacity_use_midi=off

When disabling MIDI support, cmake will fail:

```
$ cmake -B build -Daudacity_use_midi=off
[...]
CMake Error at cmake-proxies/CMakeLists.txt:314 (message):
  EXPERIMENTAL_MIDI_OUT requires USE_MIDI
```

Disable `EXPERIMENTAL_MIDI_OUT` in case MIDI support was explicitly
disabled.

Drop UBUNTU_MENUPROXY 0 workaround.patch | (download)

linux/AppImage/AppRun.sh | 1 0 + 1 - 0 !
linux/create_appimage.sh | 1 0 + 1 - 0 !
src/audacity.desktop.in | 2 1 + 1 - 0 !
3 files changed, 1 insertion(+), 3 deletions(-)

 drop ubuntu_menuproxy=0 workaround

wxWidgets 2.6 did not show menus correct on the global menu applet in
Unity in 2010 ([Ubuntu bug #662007](https://launchpad.net/bugs/662077)).
The environment variable `UBUNTU_MENUPROXY` was set as workaround.

Audacity 3.2.0 with wxWidgets 3.2 on Ubuntu 22.10 (kinetic) works fine
under the Unity desktop. Therefore drop the old workaround.

0007 Playback_cursor_workaround.patch | (download)

src/audacity.desktop.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 the playback cursor doesn't move with wayland.

As a workaround we use X11 to start audacity.

Closes: #950150
0009 fix_build_with_portsmf_sys_library.patch | (download)

lib-src/header-substitutes/allegro.h | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix build with portsmf system library