mer-hybris / geoclue-providers-hybris

GNU Lesser General Public License v2.1
2 stars 17 forks source link

migrate to use geoclue2 #46

Open beroset opened 10 months ago

beroset commented 10 months ago

My interest is in updating this for AsteriodOS, but I want to see if there's upstream interest before I invest a lot of time into it. As documented in this AsteroidOS issue:

AsteroidOS currently uses the ancient and obsolete geoclue version 0.12.99 instead of any recent version of geoclue 2 (for example 2.5.7 which is recent). The problem is that there is a mismatch in the interface (via D-Bus) that applications expect to be able to use and the much earlier version of the interface implemented in version 0, making it difficult to write modern software and more difficult to maintain dependencies in yocto.

For example, version 0.12.99 provides interfaces to use Plazes and Yahoo maps, both of which have been offline for over a decade.

If I were to work on this, is there interest here? Any guidelines or restrictions that would prevent this?

pvuorela commented 10 months ago

The problem with geoclue 2 has been that it removed the support for external location providers such as this one. In order to update to a new version we'd need again a mechanism to have location providers that don't live in main geoclue repository.

mlehtima commented 10 months ago

In addition to the lack of support external plugin mentioned in the previous comment, geoclue 2 also seems a bit limited. It does not support for example satellite info which is supported in the old geoclue but instead seems to only handle getting location.