geoclue is dead, please port to geoclue-2.0

Bug #1656714 reported by Chow Loong Jin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qreator
Incomplete
High
David Planella

Bug Description

Hi,

geoclue has been removed in Debian[1], and the removal will likely hit Ubuntu either in Zesty or the release after that.

Please use geoclue-2.0 instead.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788279

Revision history for this message
Chow Loong Jin (hyperair) wrote :
Revision history for this message
David Planella (dpm) wrote :

Thanks a lot for the patch, I'll look into it shortly.

Changed in qreator:
status: New → Triaged
importance: Undecided → High
assignee: nobody → David Planella (dpm)
Revision history for this message
David Planella (dpm) wrote :

I'm getting this error in Ubuntu 16.04 after applying the patch:

https://pastebin.ubuntu.com/p/MwtMP6PHnd

This is with geoclue-2.0 and gir1.2-geoclue-2.0 installed.

TL;DR
ImportError: Typelib file /usr/lib/x86_64-linux-gnu/girepository-1.0/Geoclue-2.0.typelib for namespace 'Geoclue' contains version '1.0' which doesn't match the expected version '2.0'

Changed in qreator:
status: Triaged → Incomplete
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1656714] Re: geoclue is dead, please port to geoclue-2.0

On Sun, Jul 29, 2018 at 11:47:17PM -0000, David Planella wrote:
> I'm getting this error in Ubuntu 16.04 after applying the patch:
>
> https://pastebin.ubuntu.com/p/MwtMP6PHnd
>
> This is with geoclue-2.0 and gir1.2-geoclue-2.0 installed.
>
> TL;DR
> ImportError: Typelib file
> /usr/lib/x86_64-linux-gnu/girepository-1.0/Geoclue-2.0.typelib for
> namespace 'Geoclue' contains version '1.0' which doesn't match the
> expected version '2.0'

Huh, that's really weird. It works in Bionic though. Is it a bug in
geoclue? I mean the filename seems to say 2.0, and the version of the
gir1.2-geoclue-2.0 package[1] is is 2.4.1-1.

[1] https://packages.ubuntu.com/xenial/gir1.2-geoclue-2.0

--
Kind regards,
Loong Jin

Revision history for this message
David Planella (dpm) wrote :

I tested this last night on my desktop running 16.04. I've done the quick test on my laptop today, with the same result, after installing Geoclue 2:

    sudo apt install geoclue-2.0 gir1.2-geoclue-2.0

It's been quite long since I touched any GIR files. I would _guess_ it's a bug in Geoclue 2, but I'm not sure how to best confirm it.

Revision history for this message
David Planella (dpm) wrote :

(with the laptop also running 16.04)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.