mariusor / mpris-scrobbler

A minimalistic user daemon to submit the songs you're playing to audioscrobbler services like listenbrainz.org, libre.fm and last.fm.
MIT License
148 stars 6 forks source link

Dependencies in Ubuntu seem to be unavailable #82

Closed VBtheFirbolg closed 2 years ago

VBtheFirbolg commented 3 years ago

I tried installing the dependencies in Ubuntu 20.04, but there were few packages that were missing:

sudo apt install libevent-2.1-6 libevent-dev libdbus-1-dev dbus dbus-user-session libcurl4 libcurl4-openssl-dev libjson-c-dev libjson-c3 meson
[sudo] password for ********: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libevent-2.1-6
E: Couldn't find any package by glob 'libevent-2.1-6'
E: Unable to locate package libjson-c3

I don't know how to install the daemon now. Is there any workaround?

inhji commented 2 years ago

A few packages changed their name in newer versions of Ubuntu, this is the updated list for 20.04:

sudo apt install libevent-2.1-7 libevent-dev libdbus-1-dev dbus dbus-user-session libcurl4 libcurl4-openssl-dev libjson-c-dev libjson-c-dev meson m4 scdoc

In the future, you can look here (https://packages.ubuntu.com/) for packages in your version of Ubuntu.

mariusor commented 2 years ago

Thank you both for the ticket and the solution. :) I updated the README with the instructions for Ubuntu 20.04.