tenacityteam / tenacity-legacy

THIS REPO IS NOT MAINTAINED ANYMORE. Please see https://codeberg.org/tenacityteam/tenacity for Tenacity, which is maintained.
https://tenacityaudio.org
Other
6.75k stars 255 forks source link

Fallback GTK theme on Manjaro KDE #576

Open unfa opened 3 years ago

unfa commented 3 years ago

Guidelines

Version/Commit hash

657a83b9efa53e66d0273de992ad2944fa585dab

Describe the bug.

Tenacity seems to be using the old Redmond theme, instead of what every other GTK application on my system uses. image

I did not have this problem with Audacity.

Expected behavior

I'd expect Tenacity to use a system-wide GTK theme and look decent :D

OS

Manjaro KDE

Additional context

No response

This issue is not a duplicate

n0toose commented 3 years ago

Hi, sorry to ask like that, but why a commit from July 31st? Is there some sort of package that we may not be aware of?

unfa commented 3 years ago

I've used this AUR PKGBUILD to install Tenacity on Manjaro as it seemed to be the easiest way - it built it from source. https://aur.archlinux.org/packages/tenacity-git

BTW - I should update and see what happens.

unfa commented 3 years ago

I've updated and now it doesn't start complaining about a missing library:

$ tenacity 
tenacity: error while loading shared libraries: libwx_baseu-3.1.so.4: cannot open shared object file: No such file or directory
unfa commented 3 years ago

I probably need to install some wxwidgets stuff, but I have no idea what exactly. Could anybody figure out a dependancy list fro Arch Linux / Manjaro Linux?

Here's packages listed under wxwidgets on my Manjaro KDE system:

image

Be-ing commented 3 years ago

It's not your fault at all for using the package, but we've specifically asked packagers not to package Tenacity before we make a release. I took a quick look at the PKGBUILD and the cause of the problem isn't obvious to me (I also don't use Arch or Manjaro). I recommend building from source using the instructions which have been confirmed to work by multiple Arch users.

unfa commented 3 years ago

I've followed the linked instructions for Arch Linux on Manjaro, but was unable to get Tenacity to start up. I'm still missing the listed library file.

I'll go back to Audacity for now. Manjaro's packaged version is pre-MuseGroup, so it has no telemetry. I'll wait for an official Tenacity package for Manjaro.

Be-ing commented 3 years ago

You're not the first user to run into this: #554.

I am not able to reproduce it on Fedora. Can you try running Tenacity from the CMake build directory?

cd wherever-you-cloned-tenacity
build/bin/Debug/tenacity
Eylok commented 3 years ago

There's a pinned comment in the tenacity-git aur package page that explains why it fails to start. https://aur.archlinux.org/packages/tenacity-git It's using 'wxgtk3-dev-opt', which installs to /opt/wxgtk-dev/lib/, and tenacity can't find the library there. There's a few options on how to fix it in the comments, like exporting LD_LIBRARY_PATH with the path that contains the libraries.

Also the PKGBUILD includes portsmf as a dependency, which for me (and others in the comments i think) causes the compilation to fail, so if you are building it maybe it's best to uninstall that package. With a modified PKGBUILD it compiles and runs on arch. I changed 'wxgtk3-dev-opt' for 'wxgtk3-dev-light', removed portsmf, and changed the wx-config and libraries locations in the build section. With those modifications it works on my computer. Here's a gist with the modifications that i made, maybe it'll be useful: https://gist.github.com/Eylok/53a9dc4fd7619a77447fa20c2a1eebf6

Be-ing commented 3 years ago

Thanks. If you could work with whoever made that broken tenacity-git package to put your changes in that package, that would save us quite a bit of trouble upstream.

Eylok commented 3 years ago

Honestly i don't have experience with how the aur package system works, or at least how to do in case i want to suggest changes, etc. I'm already reading the wiki, and trying to familiarize myself with the process. No promises, but i'll see what i can do. Maybe in the meantime it's a good idea to add some info to BUILDING.md, explaining the aur package situation.

RiedleroD commented 3 years ago

I didn't have the theme problem before, but I did get the compilation error - according to the tenacity account on mastodon, the latter should be fixed - will test this out later today.

n0toose commented 3 years ago

I didn't have the theme problem before, but I did get the compilation error - according to the tenacity account on mastodon, the latter should be fixed - will test this out later today.

Yeah, as said on the Mastodon account itself, it does work now. We and our followers confirmed that, it's just that we changed way too many things in the building process and the maintainers of the package took some time to catch-up. What's weird about this issue is that it seems to be Manjaro-specific, we may have to reach out to the Manjaro community to get some help diagnosing the issue.

RiedleroD commented 3 years ago

still doesn't compile on my end - some problem with memcpy not being included properly as it seems. Should I open a separate issue for this?

n0toose commented 3 years ago

Sorry for the late response, I'm really not sure whether this is a Manjaro issue, honestly. Does it still happen with upstream Audacity?

User-green commented 2 years ago

I can perform testing on Manjaro with KDE, is it still needed?