-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please provide info on how to build #477
Comments
What distro are you on? |
Yes, in short it is a bit hard to make an exhaustive list of dependencies for every distro, but if you have a fairly standard install with Gtk4, libadwaita and the rust toolchain setup, you should be able to build it. Feel free to give details if you run into issues trying to build it! |
Having similar problems as well. I am trying to get a resolution to #690 and @Diegovsky appears to have it in his fork, but that development branch give me a different error |
sorry to hear you have been having problems. could you give a little more information about your setup? e.g: the command you're using, your operating system, etc |
OS: Debian bookworm Following the instructions on the code page Am new to rust (although am a programmer) so unsure if there is anything else |
hey, thank you for the info! That helps out a lot. Also, please try to build only from the dev branch of my fork. It's the most updated one and currently supported (by me).
No problem, you're doing it right. It's probably a problem with debian, as it usually has something broken with rust. I'll be investigating this closely. |
that gives the error |
It probably means you are on an LTS distro. Maybe try using flatpak? |
I can't use flatpak. I am trying to build this to solve a problem I am having. I solved my problem by compiling the spot master branch and running it with LD_PRELOAD to select my device, but issue #690 was getting in the way, so am trying to build @Diegovsky dev branch to solve that problem and get my system working. I could also look at it to see if I could use the pcm device directly from spot. VLC sees it and a simple C app I wrote can use it. |
Am not tied to any release but would prefer ubuntu or debian. What would be the preferred release to get the build working |
I believe Ubuntu and Debian do not currently ship the required libadwaita version for spot to run. Unless you want to litter your system with a custom install, I recommend using flatpak. Btw, does ubuntu non-lts or debian unstable work for you? In any case, I'm trying to understand why build is failing there. |
I don't know if this will be helpful or not, but this is what I do to route flatpak Spot's output to a non-default pulseaudio sink:
You can easily achieve the same thing in |
wait, do you not use pipewire or pulseaudio? Also, if you can could you explain why choosing a card is not enough in a new issue? |
@ondras12345 Thanks for the hint. The whole linux sound has always been a mystery to me, so there are likely many ways to achieve what I have done. @Diegovsky I will carry on trying to get compiling to work using Debian unstable and post the results. Will log a different issue regarding what I am trying to achieve rather than hijack this thread. Am keen to get this compiling as I am new to rust and having a problem to solve is a great way to start, even if it is a little "deep end" |
I like your enthusiasm. Please, do log! |
Ok upgraded to debian unstable, and am now able to build @Diegovsky development branch. As an added bonus it also appears to fix playing to an ALSA pcm device, so my multi room setup now works without having to use LD_PRELOAD as described above, a double win Thanks @Diegovsky your help is much appreciated |
I'm happy to hear! Enjoy spot :) |
"And other dependencies"?
It would be nice if a step by step guideline for building this app was provided (maybe only in this issue) and how to install dependencies explained.
The text was updated successfully, but these errors were encountered: