altdesktop / playerctl

🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
GNU Lesser General Public License v3.0
2.43k stars 79 forks source link

ubuntu package version bump #205

Closed SpanishPear closed 3 years ago

SpanishPear commented 3 years ago

https://launchpad.net/ubuntu/+source/playerctl currently lists the most recent version as 2.0.2 - wheras the latest release is 2.2.1

Possible to get a version bump on the ubuntu package?

Building 2.2.1 from source doesn't work for me (using player spotify or spotifyd) , results in the following:

$ playerctl --player=spotify status                                                                                                 
playerctl: symbol lookup error: playerctl: undefined symbol: pctl_player_has_cached_property

$ playerctl -status                                                                                                             
playerctl: symbol lookup error: playerctl: undefined symbol: pctl_player_has_cached_property

$ playerctl status                        
playerctl: symbol lookup error: playerctl: undefined symbol: pctl_player_has_cached_property

Similarly, installing the binary directly results in:

$ playerctl status
playerctl: symbol lookup error: playerctl: undefined symbol: pctl_player_get_instance
$ playerctl pause
playerctl: symbol lookup error: playerctl: undefined symbol: pctl_player_get_instance
$ playerctl -l
spotifyd
spotify

both give 2.2.1 when running playerctl -v

SpanishPear commented 3 years ago

Worth noting that as per #191 - I also tried installing on snap, but run into

$ playerctl --all-players status
Could not connect to players: Could not connect: Permission denied

which, when run with sudo - resulted in:

$ sudo playerctl --all-players status
Could not connect to players: Failed to execute child process ?dbus-launch? (No such file or directory)

Similar to #191, playerctl seems to work when running out of /mesonbuild/playerctl - so for now I've just setup a symlink so that I'm able to use it - but worth raising an issue

acrisci commented 3 years ago

Installing from source will work correctly if you do it right, but it's hard for me to support. It's probably finding the system libraries instead of the ones you built somehow.

As for the version Debian takes, that's up to my packagers. I'm going to make another release in probably a month so it's probably best to wait until then to notify them.

As for the snap, I just released it a few days ago. Those look like permission issues that are pretty easy to resolve. I should get around to that soon.

SpanishPear commented 3 years ago

No rush on my end (symlink did the job) , just posting so you're aware, and that anyone else who comes across issues can get it working in the meantime :)

knowledgejunkie commented 3 years ago

I uploaded playerctl 2.3.1 to Debian on Feb 7. Having just checked, I see that 2.3.1 is in the proposed updates queue for Ubuntu 21.04 "Hirsute Hippo", due for release late Apr.

Hope this helps!