Disregarding unupdated code tree locally, commits show when they were authored, not when they were merged into the tree.
Oh, haha, I also just noticed it was a Github PR, and Tenacity has been on Codeberg for quite a while now.
Git Clone URL: | https://aur.archlinux.org/tenacity-git.git (read-only, click to copy) |
---|---|
Package Base: | tenacity-git |
Description: | An easy-to-use multi-track audio editor and recorder, forked from Audacity |
Upstream URL: | https://tenacityaudio.org |
Keywords: | audacity audio audio-applications audio-processing floss libre privacy-friendly privacy-preserving recorder recording-app |
Licenses: | GPL2, CCPL |
Groups: | pro-audio |
Conflicts: | tenacity |
Provides: | tenacity |
Submitter: | Darkpelz |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 87 |
Popularity: | 0.033325 |
First Submitted: | 2021-07-07 11:51 (UTC) |
Last Updated: | 2023-12-23 15:01 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 17 Next › Last »
Disregarding unupdated code tree locally, commits show when they were authored, not when they were merged into the tree.
Oh, haha, I also just noticed it was a Github PR, and Tenacity has been on Codeberg for quite a while now.
I'm working on the build right now
@daprutser
Date: Tue Nov 23 22:15:00 2021 +0200
How do you get code from 2021 with a pkgbuild that pull the latest commit? :)
Hi @daprutser! It looks like you are using a very old build of this package as the errors look like they come from code that isn't in Tenacity anymore. We recommend that you delete the source folder, update this package, and try the build again.
Note: currently, this package is broken because this package has not been updated. This is not an official Tenacity package either, nor is it a stable package either. If you'd like to install the latest stable version, you can install our Flatpak via Flathub.
Build failed for me:
[ 50%] Building CXX object src/CMakeFiles/Tenacity.dir/CommonCommandFlags.cpp.o
In file included from /home/cedric/Downloads/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:544:7: error: functions that differ only in their return type cannot be overloaded
avcodec_find_encoder,
^
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:451:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
inline r n a \
~ ^
/usr/include/libavcodec/codec.h:270:16: note: previous declaration is here
const AVCodec *avcodec_find_encoder(enum AVCodecID id);
~~~~~~~~~^
In file included from /home/cedric/Downloads/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:550:7: error: functions that differ only in their return type cannot be overloaded
avcodec_find_encoder_by_name,
^
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:451:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
inline r n a \
~ ^
/usr/include/libavcodec/codec.h:278:16: note: previous declaration is here
const AVCodec *avcodec_find_encoder_by_name(const char *name);
~~~~~~~~~^
In file included from /home/cedric/Downloads/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:556:7: error: functions that differ only in their return type cannot be overloaded
avcodec_find_decoder,
^
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:451:16: note: expanded from macro 'FFMPEG_FUNCTION_WITH_RETURN'
inline r n a \
~ ^
/usr/include/libavcodec/codec.h:254:16: note: previous declaration is here
const AVCodec *avcodec_find_decoder(enum AVCodecID id);
~~~~~~~~~^
In file included from /home/cedric/Downloads/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/cedric/Downloads/tenacity-git/src/tenacity/src/FFmpeg.h:634:7: error: conflicting types for 'avformat_open_input'
avformat_open_input,
^
/usr/include/libavformat/avformat.h:2012:5: note: previous declaration is here
int avformat_open_input(AVFormatContext **ps, const char *url,
^
$git log:
commit 0665614b85f1495c75fc1324d7bcead123009e91 (HEAD -> master, origin/master, origin/HEAD)
Author: Mart Raudsepp <leio@gentoo.org>
Date: Tue Nov 23 22:15:00 2021 +0200
Meter: Fix GetLuminance wxWidgets version dependency
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/678
$ uname -a
Linux cedric 6.4.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 11 Jul 2023 05:13:39 +0000 x86_64 GNU/Linux
Fails to install at the moment:
mv: cannot stat '/home/chris/.cache/paru/clone/tenacity-git/pkg/tenacity-git/usr/share/mime/packages/audacity.xml': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'tenacity-git-1:r14302.gbe828e6cf-1'
There does, however, appear to be a tenacity.xml
there.
However, the pixmap file that is still being renamed by the PKGBUILD still appears to have the audacity
naming. Maybe all three of those renames should have test -f guards on them just in case?
Potential patch that fixes this for now:
diff --git a/PKGBUILD b/PKGBUILD
index 5dcbfec..88577e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -56,12 +56,14 @@ build() {
package() {
cd tenacity/build
make DESTDIR="${pkgdir}" install
- test -f ${pkgdir}/usr/audacity && rm ${pkgdir}/usr/audacity # remove unused launch script
+ test -f "${pkgdir}/usr/audacity" && rm "${pkgdir}/usr/audacity" # remove unused launch script
- mv "${pkgdir}/usr/share/mime/packages/audacity.xml" \
+ test -f "${pkgdir}/usr/share/mime/packages/audacity.xml" && \
+ mv "${pkgdir}/usr/share/mime/packages/audacity.xml" \
"${pkgdir}/usr/share/mime/packages/tenacity.xml"
- mv "${pkgdir}/usr/share/pixmaps/gnome-mime-application-x-audacity-project.xpm" \
+ test -f "${pkgdir}/usr/share/pixmaps/gnome-mime-application-x-audacity-project.xpm" && \
+ mv "${pkgdir}/usr/share/pixmaps/gnome-mime-application-x-audacity-project.xpm" \
"${pkgdir}/usr/share/pixmaps/gnome-mime-application-x-tenacity-project.xpm"
chrpath --delete "${pkgdir}/usr/lib/tenacity/lib-basic-ui.so"
I just put out a “stable” package tenacity branched off from this PKGBUILD. If FabioLolix and/or fossdd want to co‐maintain that, I would welcome it. :)
(I wanted to use 1.2 since that was the last “stable” release, but seems like the naming/branding was different for that, so went with most recent beta instead. Plan is to keep it at 1.3 once that’s released and not bump again until 1.3.1/1.4 etc.)
I successfully built this on aarch64.
Hi, running namcap flags a lot of RUNPATH errors like
tenacity-git E: Insecure RUNPATH '/home/......./tenacity-git/src/tenacity/build/bin/None/lib/tenacity' in file ('usr/lib/tenacity/lib-audio-devices.so')
It looks like you're already using chrpath to fix other similar issues, but I'm not sure that's the best way to take care of this - either adjusting our PKGBUILD or maybe some upstream fixes may be required. Note, audacity-git doesn't have this issue; I assume the codebase hasn't yet diverged too much ?
More background info on why insecure RUNPATH is bad : https://bugs.archlinux.org/task/13890
Audacium has officially merged with Tenacity! Please use the latter instead of Audacium from now on.
@maid it seems this project is no longer being updated and has been archived, it would be best to use one of the tenacity package from now on as that was recommended by the maintainer of the audacium project.
Pinned Comments