audacity.git
12 months agoMerge version 3.6.3+dfsg-1+rpi1 and 3.7.0+dfsg-1 to produce 3.7.0+dfsg-1+rpi1 archive/raspbian/3.7.0+dfsg-1+rpi1 raspbian/3.7.0+dfsg-1+rpi1
Raspbian automatic forward porter [Mon, 18 Nov 2024 08:53:38 +0000 (08:53 +0000)]
Merge version 3.6.3+dfsg-1+rpi1 and 3.7.0+dfsg-1 to produce 3.7.0+dfsg-1+rpi1

13 months agoMerge audacity (3.7.0+dfsg-1) import into refs/heads/workingbranch
Dennis Braun [Sun, 10 Nov 2024 17:43:04 +0000 (18:43 +0100)]
Merge audacity (3.7.0+dfsg-1) import into refs/heads/workingbranch

13 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

13 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

13 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

13 months agoaudacity (3.7.0+dfsg-1) unstable; urgency=medium
Dennis Braun [Sun, 10 Nov 2024 17:43:04 +0000 (18:43 +0100)]
audacity (3.7.0+dfsg-1) unstable; urgency=medium

  * New upstream version 3.7.0+dfsg
  * Refresh patchset

[dgit import unpatched audacity 3.7.0+dfsg-1]

13 months agoImport audacity_3.7.0+dfsg.orig.tar.xz
Dennis Braun [Sun, 10 Nov 2024 17:43:04 +0000 (18:43 +0100)]
Import audacity_3.7.0+dfsg.orig.tar.xz

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

13 months agoImport audacity_3.7.0+dfsg-1.debian.tar.xz
Dennis Braun [Sun, 10 Nov 2024 17:43:04 +0000 (18:43 +0100)]
Import audacity_3.7.0+dfsg-1.debian.tar.xz

[dgit import tarball audacity 3.7.0+dfsg-1 audacity_3.7.0+dfsg-1.debian.tar.xz]

14 months agoMerge version 3.5.1+dfsg-1+rpi1 and 3.6.3+dfsg-1 to produce 3.6.3+dfsg-1+rpi1 archive/raspbian/3.6.3+dfsg-1+rpi1 raspbian/3.6.3+dfsg-1+rpi1
Raspbian automatic forward porter [Wed, 2 Oct 2024 20:02:08 +0000 (21:02 +0100)]
Merge version 3.5.1+dfsg-1+rpi1 and 3.6.3+dfsg-1 to produce 3.6.3+dfsg-1+rpi1

14 months agoMerge audacity (3.6.4+dfsg-1) import into refs/heads/workingbranch
Dennis Braun [Sun, 22 Sep 2024 15:28:24 +0000 (17:28 +0200)]
Merge audacity (3.6.4+dfsg-1) import into refs/heads/workingbranch

14 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

14 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

14 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

14 months agoaudacity (3.6.4+dfsg-1) unstable; urgency=medium
Dennis Braun [Sun, 22 Sep 2024 15:28:24 +0000 (17:28 +0200)]
audacity (3.6.4+dfsg-1) unstable; urgency=medium

  * New upstream version 3.6.4+dfsg

[dgit import unpatched audacity 3.6.4+dfsg-1]

14 months agoImport audacity_3.6.4+dfsg.orig.tar.xz
Dennis Braun [Sun, 22 Sep 2024 15:28:24 +0000 (17:28 +0200)]
Import audacity_3.6.4+dfsg.orig.tar.xz

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

14 months agoImport audacity_3.6.4+dfsg-1.debian.tar.xz
Dennis Braun [Sun, 22 Sep 2024 15:28:24 +0000 (17:28 +0200)]
Import audacity_3.6.4+dfsg-1.debian.tar.xz

[dgit import tarball audacity 3.6.4+dfsg-1 audacity_3.6.4+dfsg-1.debian.tar.xz]

15 months agoMerge audacity (3.6.3+dfsg-1) import into refs/heads/workingbranch
Dennis Braun [Fri, 13 Sep 2024 18:51:31 +0000 (20:51 +0200)]
Merge audacity (3.6.3+dfsg-1) import into refs/heads/workingbranch

15 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

15 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

15 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

15 months agoaudacity (3.6.3+dfsg-1) unstable; urgency=medium
Dennis Braun [Fri, 13 Sep 2024 18:51:31 +0000 (20:51 +0200)]
audacity (3.6.3+dfsg-1) unstable; urgency=medium

  * New upstream version 3.6.3+dfsg
  * Refresh patchset
  * Refresh lintian-overrides
  * Bump Standards-Version to 4.7.0

[dgit import unpatched audacity 3.6.3+dfsg-1]

15 months agoImport audacity_3.6.3+dfsg.orig.tar.xz
Dennis Braun [Fri, 13 Sep 2024 18:51:31 +0000 (20:51 +0200)]
Import audacity_3.6.3+dfsg.orig.tar.xz

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

15 months agoImport audacity_3.6.3+dfsg-1.debian.tar.xz
Dennis Braun [Fri, 13 Sep 2024 18:51:31 +0000 (20:51 +0200)]
Import audacity_3.6.3+dfsg-1.debian.tar.xz

[dgit import tarball audacity 3.6.3+dfsg-1 audacity_3.6.3+dfsg-1.debian.tar.xz]

17 months agoMerge audacity (3.5.1+dfsg-1+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Tue, 25 Jun 2024 16:28:26 +0000 (16:28 +0000)]
Merge audacity (3.5.1+dfsg-1+rpi1) import into refs/heads/workingbranch

17 months agounconditionally-use-libatomic
Debian Multimedia Maintainers [Tue, 25 Jun 2024 16:28:26 +0000 (16:28 +0000)]
unconditionally-use-libatomic

===================================================================

Gbp-Pq: Name unconditionally-use-libatomic.patch

17 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

17 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

17 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

17 months agoaudacity (3.5.1+dfsg-1+rpi1) trixie-staging; urgency=medium
Peter Michael Green [Tue, 25 Jun 2024 16:28:26 +0000 (16:28 +0000)]
audacity (3.5.1+dfsg-1+rpi1) trixie-staging; urgency=medium

  * Link with libatomic

[dgit import unpatched audacity 3.5.1+dfsg-1+rpi1]

17 months agoImport audacity_3.5.1+dfsg-1+rpi1.debian.tar.xz
Peter Michael Green [Tue, 25 Jun 2024 16:28:26 +0000 (16:28 +0000)]
Import audacity_3.5.1+dfsg-1+rpi1.debian.tar.xz

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

19 months agoMerge audacity (3.5.1+dfsg-1) import into refs/heads/workingbranch
Dennis Braun [Sun, 28 Apr 2024 18:57:45 +0000 (20:57 +0200)]
Merge audacity (3.5.1+dfsg-1) import into refs/heads/workingbranch

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 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-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]

2 years agoMerge audacity (3.2.4+dfsg-1) import into refs/heads/workingbranch
Dennis Braun [Wed, 1 Feb 2023 20:56:51 +0000 (21:56 +0100)]
Merge audacity (3.2.4+dfsg-1) import into refs/heads/workingbranch

2 years agoFix build with portsmf system library
Dennis Braun [Sat, 10 Sep 2022 20:14:36 +0000 (22:14 +0200)]
Fix build with portsmf system library

Forwarded: not-yet

Gbp-Pq: Name 0009-fix_build_with_portsmf_sys_library.patch

2 years agoThe playback cursor doesn't move with wayland.
Dennis Braun [Sun, 18 Apr 2021 13:47:34 +0000 (15:47 +0200)]
The playback cursor doesn't move with wayland.

As a workaround we use X11 to start audacity.

Closes: #950150
Forwarded: not-needed

Gbp-Pq: Name 0007-Playback_cursor_workaround.patch

2 years 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

2 years 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

2 years agoAdd mime type for 'aup3' file extension
Benjamin Drung [Wed, 28 Sep 2022 13:20:05 +0000 (15:20 +0200)]
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`.

Forwarded: https://github.com/audacity/audacity/pull/3713
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Add-mime-type-for-aup3-file-extension.patch

2 years agoDo not strip debug info for CMAKE_BUILD_TYPE=RelWithDebInfo
Benjamin Drung [Thu, 22 Sep 2022 23:20:54 +0000 (01:20 +0200)]
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`.

Forwarded: https://github.com/audacity/audacity/pull/3672
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Do-not-strip-debug-info-for-CMAKE_BUILD_TYPE-RelWithDebIn.patch

2 years 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

2 years agoaudacity (3.2.4+dfsg-1) unstable; urgency=medium
Dennis Braun [Wed, 1 Feb 2023 20:56:51 +0000 (21:56 +0100)]
audacity (3.2.4+dfsg-1) unstable; urgency=medium

  * New upstream version 3.2.4+dfsg
  * Bump d/copyright years

[dgit import unpatched audacity 3.2.4+dfsg-1]

2 years agoImport audacity_3.2.4+dfsg.orig.tar.xz
Dennis Braun [Wed, 1 Feb 2023 20:56:51 +0000 (21:56 +0100)]
Import audacity_3.2.4+dfsg.orig.tar.xz

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

2 years agoImport audacity_3.2.4+dfsg-1.debian.tar.xz
Dennis Braun [Wed, 1 Feb 2023 20:56:51 +0000 (21:56 +0100)]
Import audacity_3.2.4+dfsg-1.debian.tar.xz

[dgit import tarball audacity 3.2.4+dfsg-1 audacity_3.2.4+dfsg-1.debian.tar.xz]

4 years agoMerge audacity (2.4.2~dfsg0-5) import into refs/heads/workingbranch
Dennis Braun [Wed, 26 May 2021 20:26:01 +0000 (22:26 +0200)]
Merge audacity (2.4.2~dfsg0-5) import into refs/heads/workingbranch

4 years agoThe playback cursor doesn't move with wayland.
Dennis Braun [Wed, 26 May 2021 20:26:01 +0000 (22:26 +0200)]
The playback cursor doesn't move with wayland.

Forwarded: not-needed

As a workaround we use X11 to start audacity.

Gbp-Pq: Name 0007-Playback_cursor_workaround.patch

4 years agoSets permission rights to 700 on /var/tmp user dirs
Dennis Braun [Wed, 26 May 2021 20:26:01 +0000 (22:26 +0200)]
Sets permission rights to 700 on /var/tmp user dirs

Forwarded: yes

Fixes CVE-2020-11867

Gbp-Pq: Name 0006-Fix_CVE-2020-11867.patch

4 years agoInstall plugins in /usr/lib
Sebastian Ramacher [Tue, 21 Jul 2020 19:56:20 +0000 (21:56 +0200)]
Install plugins in /usr/lib

Gbp-Pq: Name 0005-Install-plugins-in-usr-lib.patch

4 years agocmake: use system portaudio
Sebastian Ramacher [Tue, 26 May 2020 22:42:35 +0000 (00:42 +0200)]
cmake: use system portaudio

Gbp-Pq: Name 0004-cmake-use-system-portaudio.patch

4 years agocmake: relax versions for mad and libid3tag
Sebastian Ramacher [Tue, 26 May 2020 22:13:07 +0000 (00:13 +0200)]
cmake: relax versions for mad and libid3tag

New enough versions are available in Debian, but there versions are not
set correctly.

Gbp-Pq: Name 0003-cmake-relax-versions-for-mad-and-libid3tag.patch

4 years ago[PATCH] Fix building against the system portaudio library
Antonio Ospite [Tue, 7 Nov 2017 12:06:33 +0000 (13:06 +0100)]
[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:
https://github.com/audacity/audacity/commit/38fd97b8e26060332ab3e9e000a8882326a70ba7

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.

[Sebastian Ramacher]: Call clock_gettime directly.

Gbp-Pq: Name 0002-PATCH-Fix-building-against-the-system-portaudio-libr.patch

4 years agoAdd keywords to desktop file
Jaromír Mikeš [Tue, 21 Jul 2020 15:41:45 +0000 (17:41 +0200)]
Add keywords to desktop file

Gbp-Pq: Name 0001-Add-keywords-to-desktop-file.patch

4 years agoaudacity (2.4.2~dfsg0-5) unstable; urgency=medium
Dennis Braun [Wed, 26 May 2021 20:26:01 +0000 (22:26 +0200)]
audacity (2.4.2~dfsg0-5) unstable; urgency=medium

  * Workaround patch for playback cursor under wayland
    Audacity has no full wayland support yet, so we use X11 to start
    (Closes: #950150, #962389, #988632, LP: #1877833)
    The patch can probably be removed when wxwidgets 3.1.3 is in debian archive
  * Add lintian-overrides to override false positive lintian errors

[dgit import unpatched audacity 2.4.2~dfsg0-5]

4 years agoImport audacity_2.4.2~dfsg0-5.debian.tar.xz
Dennis Braun [Wed, 26 May 2021 20:26:01 +0000 (22:26 +0200)]
Import audacity_2.4.2~dfsg0-5.debian.tar.xz

[dgit import tarball audacity 2.4.2~dfsg0-5 audacity_2.4.2~dfsg0-5.debian.tar.xz]

5 years agoImport audacity_2.4.2~dfsg0.orig.tar.xz
Sebastian Ramacher [Thu, 23 Jul 2020 18:48:30 +0000 (20:48 +0200)]
Import audacity_2.4.2~dfsg0.orig.tar.xz

[dgit import orig audacity_2.4.2~dfsg0.orig.tar.xz]

7 years ago[PATCH] Fix building against the system portaudio library
Antonio Ospite [Tue, 7 Nov 2017 12:06:33 +0000 (13:06 +0100)]
[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:
https://github.com/audacity/audacity/commit/38fd97b8e26060332ab3e9e000a8882326a70ba7

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.

Gbp-Pq: Name 0005-Fix-building-against-the-system-portaudio-library.patch

7 years agoAdd keywords to desktop file
Debian Multimedia Maintainers [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
Add keywords to desktop file

Fix exec command
Author: Jaromír Mikeš <mira.mikes@seznam.cz>
Forwarded: no

Gbp-Pq: Name 0004-desktop.patch

7 years agoWorkaround for wx bug causing layout problems in recovery dialog
Martin Steghöfer [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
Workaround for wx bug causing layout problems in recovery dialog

Forwarded: lllucius@gmail.com, 2014-10-20
Bug-Debian: http://bugs.debian.org/765341

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 (http://trac.wxwidgets.org/ticket/16440). 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.

Gbp-Pq: Name 0002-workaround-wxwidgets-fit-recovery.patch

7 years agoFix autoreconf for the minimal audacity source tarball.
Benjamin Drung [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
Fix autoreconf for the minimal audacity source tarball.

The minimal audacity source tarball does not ship every library in lib-src.

Gbp-Pq: Name 0001-fix-minsrc-autoreconf.patch

7 years agoaudacity (2.2.2-1) unstable; urgency=medium
James Cowgill [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
audacity (2.2.2-1) unstable; urgency=medium

  * Team upload.

  [ James Cowgill ]
  * New upstream release.
    - Fixes FTBFS with FFmpeg 4.0. (Closes: #888332)

  * d/changelog: Remove trailing whitespace.
  * d/control:
    - Use a secure Homepage URL.
    - Mark audacity-data Multi-Arch foreign.
    - Bump standards version to 4.1.4.
  * d/compat: Use debhelper compat 11.
  * d/copyright: Update copyright years.
  * d/gbp.conf: Remove filter-pristine-tar option.
  * d/patches:
    - Refresh patches.
    - Drop 0003-spelling.patch - applied upstream.
  * d/source/lintian-overrides:
    - Move from d/source.lintian-overrides.
    - Remove source-contains-* overrides.

  [ Ondřej Nový ]
  * d/copyright: Use https protocol in Format field
  * d/control: Set Vcs-* to salsa.debian.org

  [ Felipe Sateler ]
  * Change maintainer address to debian-multimedia@lists.debian.org

[dgit import unpatched audacity 2.2.2-1]

7 years agoImport audacity_2.2.2.orig.tar.gz
James Cowgill [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
Import audacity_2.2.2.orig.tar.gz

[dgit import orig audacity_2.2.2.orig.tar.gz]

7 years agoImport audacity_2.2.2-1.debian.tar.xz
James Cowgill [Wed, 6 Jun 2018 10:55:07 +0000 (11:55 +0100)]
Import audacity_2.2.2-1.debian.tar.xz

[dgit import tarball audacity 2.2.2-1 audacity_2.2.2-1.debian.tar.xz]