audacity.git
19 months agoDrop UBUNTU_MENUPROXY=0 workaround
Benjamin Drung [Tue, 27 Sep 2022 11:53:55 +0000 (13:53 +0200)]
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.

Forwarded: https://github.com/audacity/audacity/pull/3701
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Drop-UBUNTU_MENUPROXY-0-workaround.patch

19 months agoFix setting audacity_use_midi=off
Benjamin Drung [Thu, 29 Sep 2022 09:05:41 +0000 (11:05 +0200)]
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.

Forwarded: https://github.com/audacity/audacity/pull/3717
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Fix-setting-audacity_use_midi-off.patch

19 months agoFix rpath for private libraries on Linux
Benjamin Drung [Thu, 22 Sep 2022 17:52:43 +0000 (19:52 +0200)]
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
Forwarded: https://github.com/audacity/audacity/pull/3671
[1] https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling#caveats
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Fix-rpath-for-private-libraries-on-Linux.patch

19 months agoaudacity (3.5.1+dfsg-1) unstable; urgency=medium
Dennis Braun [Sun, 28 Apr 2024 18:57:45 +0000 (20:57 +0200)]
audacity (3.5.1+dfsg-1) unstable; urgency=medium

  * New upstream version 3.5.1+dfsg
  * Refresh patchset
  * d/copyright:
    + Drop obsolete entries
    + Update years
  * d/rules: Set sse flags for i386 build

[dgit import unpatched audacity 3.5.1+dfsg-1]

19 months agoImport audacity_3.5.1+dfsg.orig.tar.xz
Dennis Braun [Sun, 28 Apr 2024 18:57:45 +0000 (20:57 +0200)]
Import audacity_3.5.1+dfsg.orig.tar.xz

[dgit import orig audacity_3.5.1+dfsg.orig.tar.xz]

19 months agoImport audacity_3.5.1+dfsg-1.debian.tar.xz
Dennis Braun [Sun, 28 Apr 2024 18:57:45 +0000 (20:57 +0200)]
Import audacity_3.5.1+dfsg-1.debian.tar.xz

[dgit import tarball audacity 3.5.1+dfsg-1 audacity_3.5.1+dfsg-1.debian.tar.xz]