Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
Fix-rpath-for-private-libraries-on-Linux.patch | 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. [1] https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling#caveats |
Benjamin Drung <benjamin.drung@canonical.com> | yes | 2022-09-22 | ||
Do-not-strip-debug-info-for-CMAKE_BUILD_TYPE-RelWithDebIn.patch | 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`. |
Benjamin Drung <benjamin.drung@canonical.com> | yes | 2022-09-23 | ||
Add-mime-type-for-aup3-file-extension.patch | 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`. |
Benjamin Drung <benjamin.drung@canonical.com> | yes | 2022-09-28 | ||
Fix-setting-audacity_use_midi-off.patch | 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. |
Benjamin Drung <benjamin.drung@canonical.com> | yes | 2022-09-29 | ||
Drop-UBUNTU_MENUPROXY-0-workaround.patch | 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. |
Benjamin Drung <benjamin.drung@canonical.com> | yes | 2022-09-27 | ||
0007-Playback_cursor_workaround.patch | The playback cursor doesn't move with wayland. As a workaround we use X11 to start audacity. |
Dennis Braun <d_braun@kabelmail.de> | not-needed | 2021-04-18 | ||
0009-fix_build_with_portsmf_sys_library.patch | Fix build with portsmf system library | Dennis Braun <d_braun@kabelmail.de> | invalid | 2022-09-10 |