Comment 56 for bug 868904

Revision history for this message
Mark Russell (marrusl) wrote : Re: Redshift fails to start with session due to geoclue failure

Here's another debdiff with a patch to add the dependency _and_ change the default provider in source from

#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.UbuntuGeoIP"
#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/UbuntuGeoIP"

to:

#define DEFAULT_PROVIDER "org.freedesktop.Geoclue.Providers.Hostip"
#define DEFAULT_PROVIDER_PATH "/org/freedesktop/Geoclue/Providers/Hostip"

I'm not sure this proves anything but I also noticed that UbuntuGeoIP is not on Freedesktop.org's list of providers:
http://www.freedesktop.org/wiki/Software/GeoClue/Providers/

Really, redshift should have some sort of dependency on a working provider regardless. geoclue-ubuntu-geoip was only there on Unity-based desktops because it happens to already be pulled in by indicator-datetime and unity-webapps-service. The dependency was always missing, it just happened to work as long as geoclue-ubuntu-geoip was there and still working.