API hint

Leenata Bankhele leenatab at gmail.com
Wed Dec 17 22:54:00 PST 2008


On Wed, Dec 17, 2008 at 1:30 AM, <geoclue-request at lists.freedesktop.org>wrote:

> Send GeoClue mailing list submissions to
>        geoclue at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freedesktop.org/mailman/listinfo/geoclue
> or, via email, send a message with subject or body 'help' to
>        geoclue-request at lists.freedesktop.org
>
> You can reach the person managing the list at
>        geoclue-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoClue digest..."
>
>
> Today's Topics:
>
>   1. Re: No network lib? (Jussi Kukkonen)
>   2. Re: API hint (Jussi Kukkonen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Dec 2008 19:58:11 +0200
> From: Jussi Kukkonen <jku at linux.intel.com>
> Subject: Re: No network lib?
> To: GeoClue <geoclue at lists.freedesktop.org>
> Message-ID: <4947EC33.70604 at linux.intel.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Pierre-Luc Beaudoin wrote:
> > Hi!
> >
> > I'd like to share my experience debugging an issue I had with geoclue.
> >
> > No matter what I tried, no providers were working, only manual.  So I
> > dug into the code to find out that the providers (such as Hostip) were
> > unavailable.
> >
> > I dug a little further to find out that the net_status was not set
> > because I didn't have libnm*-dev! Therefore all network based providers
> > were discarded.
>
> geoclue_master_client_set_requirements() has a parameter
> "require_updates". Setting that to FALSE should make the master client
> use network based providers even without networkmanager or conic (there
> won't be "changed" signals of course), but now that I test it doesn't
> seem to work. I'll look into it and let you know.
>

I have the same problem. No webservices are working.Tried setting it to
FALSE, but that didn't work. If I don't use the master then can I still
access Geonames Hostip Plazes or Yahoo directly without Networkmanager or
Conic?

>
> > Now it works fine :D
> >
> > I just have lost a good 3 hours looking for why lol
> >
> > I think that by default net_status should be set so that the providers
> > are not discarded if no network library is used.
> >
> > Pierre-Luc
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > GeoClue mailing list
> > GeoClue at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 Dec 2008 20:23:34 +0200
> From: Jussi Kukkonen <jku at linux.intel.com>
> Subject: Re: API hint
> To: GeoClue <geoclue at lists.freedesktop.org>
> Message-ID: <4947F226.7010403 at linux.intel.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Pierre-Luc Beaudoin wrote:
> > Hi!
> >
> > In GeocluePosition,
> >
> > I think that geoclue_position_get_position_async ()'s callback and the
> > "position-changed" signal's callback should have the same signature,
> > this way we can use the same function.
> >
> > Same for GeoclueAddress.
> >
>
> Hmm, I guess that would make client code a tiny bit simpler. We'd have
> to add a "empty" parameter to the signal handler signature to make room
> for the GError* in the function callback, right? Somehow that sounds
> dirty...
>
>  - Jussi
>
>
>
>
> ------------------------------
>
> _______________________________________________
> GeoClue mailing list
> GeoClue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
> End of GeoClue Digest, Vol 19, Issue 2
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/geoclue/attachments/20081218/cc0d410c/attachment.htm 


More information about the GeoClue mailing list