summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
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
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
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]
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]
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]