Bug 19962 - Add support for jabber standard XEP-0080
Summary: Add support for jabber standard XEP-0080
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 04:17 UTC by Peter
Modified: 2009-06-19 06:05 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter 2009-02-05 04:17:49 UTC
it might be useful to be able to support the jabber location XEP-0080 standard in Geoclue which would mean Geoclue could provide things link Empathy with location information

http://xmpp.org/extensions/xep-0080.html
Comment 1 Jussi Kukkonen [inactive] 2009-02-13 00:06:39 UTC
Peter, did you have some specific requests? 

When we were deciding the API we did start with XEP-0080, and IMO did not drift very far: 
* the amount of fields for address data is a bit smaller in geoclue
  (this should be trivial)
* accuracy is represented a bit differently
  (also trivial)
* XEP-0080 assumes that coordinates and address come from the same source
  and have the same accuracy and timestamp. This is not the case in geoclue

I think these are minor details that should not prevent interoperation. I'm happy to be corrected though.
Comment 2 Peter 2009-02-27 06:00:10 UTC
I was thinking more about allowing the telepathy stack to use geoclue as they support the XEP-0080 stack.... not sure how that would work, maybe I've misunderstood and it already does. I would presume that geoclue would have to provide a XEP-0080 interface somehow.
Comment 3 Pierre-Luc Beaudoin 2009-02-27 06:30:52 UTC
Telepathy-gabble supports XEP-0080 since 0.7.20.  http://telepathy.freedesktop.org/spec.html#org.freedesktop.Telepathy.Connection.Interface.Location.DRAFT is the location API you use to send/get the location information using the standard define in the XEP.

Geoclue doesn't need to further explicit support.  In fact Geoclue's address fields ressemblance to the XEP ones made it even easier to implement in Telepathy.

Emapthy uses Geoclue to get the location information and feeds it to Telepathy using this API.  Therefore, no changes required in Geoclue.
Comment 4 Bastien Nocera 2009-06-19 05:36:45 UTC
I guess this should be closed?
Comment 5 Peter 2009-06-19 06:05:21 UTC
Yes. Completely forgotten about it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.