Search Criteria
Package Details: spotify-player 0.20.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/spotify-player.git (read-only, click to copy) |
---|---|
Package Base: | spotify-player |
Description: | A command driven spotify player. |
Upstream URL: | https://github.com/aome510/spotify-player |
Keywords: | rust spotify tui |
Licenses: | MIT |
Submitter: | aome510 |
Maintainer: | aome510 (alosarjos) |
Last Packager: | alosarjos |
Votes: | 5 |
Popularity: | 0.027061 |
First Submitted: | 2021-08-15 11:14 (UTC) |
Last Updated: | 2024-11-08 06:47 (UTC) |
Dependencies (4)
- alsa-lib
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rust, rustup) (make)
Latest Comments
1 2 Next › Last »
30p87 commented on 2024-11-08 09:25 (UTC)
I was just about to comment on this issue again, but it was fixed a few hours ago, which I noticed as yay updated it right now, so thank you to whoever did that! You helped a lot of people that just want to have a basic package template to get a custom spotify-player with the least trouble possible :3
xiota commented on 2024-11-08 08:21 (UTC) (edited on 2024-11-08 08:26 (UTC) by xiota)
@alosarjos You (and the other maintainer) ignored the problem for six months, even though more than one person complained about it. It wasn't a threat, but the next step if you insisted on leaving the package in an unbuildable state. It is a well known problem with Rust. If you haven't encountered it, you haven't kept
makepkg.conf
up to date.alosarjos commented on 2024-11-08 06:53 (UTC)
@xiota, AFAIK LTO issues do not affect this package, since this comes with the default feature set and not the lyrics finder that is what causes the issue. I have disabled LTO but it's not necessary for this package and honestly having people "threatening" with orphan request for something that is not required/affecting here when the package was updated 3 days ago is the last thing I was expecting.
xiota commented on 2024-11-07 21:46 (UTC)
@alosarjos Recommendations by HurricanePootis are non-controversial.
LTO needs to be disabled with Rust packages because the default on Arch is to attempt to build with LTO enabled. Using
options=('!lto')
is effectively the same as adding-ffat-lto-objects
toCFLAGS
. The difference isfat-lto-objects
allows the linker to disable LTO after wasting time trying to link with it enabled.This issue was described in comment on 2024-05-29. Six months is more than long enough to fix it. I will follow with an orphan request if this is not fixed "soon".
alosarjos commented on 2024-10-17 18:33 (UTC)
Hi @HurricanePootis
First of all thanks for the feedback, I will try to look better into it and try to update the package this weekend.
With this Rust projects though, I'm not sure if the "normal package" should include a different set of features than the default ones. That's the biggest question I have right now with the provided patch.
But still thanks a lot
HurricanePootis commented on 2024-10-15 22:21 (UTC) (edited on 2024-10-15 22:22 (UTC) by HurricanePootis)
@alosarjos, your package could do with the following changes:
preprare()
to fetch cargo deps like stated in the Rust Packaging Guidlinesbuild()
to follow the guidlines.--locked
needs to be used instead of--frozen
due to a weird dep issue with aensi.export CFLAGS="$CFLAGS -ffat-lto-objects"
to fix LTO compilingsdl2
,gstreamer
,libpulse
, etc.I have also created a librespot-auth package to help with authentication.
I am listing a patch here:
1093i3511 commented on 2024-10-14 19:46 (UTC) (edited on 2024-10-14 19:55 (UTC) by 1093i3511)
spotifys newly introduced OAuth2 client authentication method hasn't been implemented up so far, thus its lacks a basic functionality, for at least 2 months already.
A workaround is to retrieve a valid OAuth2 token via ncspot temporarily.
cp ~/.config/ncspot/librespot/credentials.json ~/.config/spotify_player/credentials.json
librespot-auth should work as well to retrieve valid credentials https://github.com/dspearson/librespot-auth
30p87 commented on 2024-05-29 13:17 (UTC)
Linking with lyric_finder enabled fails due to the ring crate + openssl. It boils down to
-flto=auto
being set, which is standard since 2023. The issue was discussed in the forum and the gitlab, and heftig's verdict is: Package maintainers should disable lto per-package manually, withoptions=(!lto)
. spotify-player-full does this for example.Crazy how nobody thinks of adding this to the rust, makepkg, creating a package or the rust package guidelines wiki article, considering it can waste a day of time easily (especially with rusts long compile times).
Technically this package does not need this change, as its default PKGBUILD does not build lyric-finder, but as it's used by most people as base to build the customized binary with, I think it would make sense to at least warn of it or include this note.
simbalarue commented on 2024-05-27 12:33 (UTC) (edited on 2024-05-27 18:57 (UTC) by simbalarue)
package fails to compile after latest update EDIT: works now
alosarjos commented on 2024-01-06 10:18 (UTC)
It includes the features that the developer has as defaults. If you want to enable more you can change the PKGBUILD
1 2 Next › Last »