[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] versioning. Was: Shared memory interface with gpsd rest

From: Charles Curley
Subject: Re: [gpsd-users] versioning. Was: Shared memory interface with gpsd restart results in no data for client
Date: Wed, 20 Jun 2018 21:33:25 -0600

On Wed, 20 Jun 2018 17:05:13 -0700
"Gary E. Miller" <address@hidden> wrote:

> If you just use the client library, you do not need to check the
> version number.  The library does, and should be in sync with the rest
> of the install.
> Except for major chsnges, the library just handles things.  If you
> can compile agsinst the current library you are good to go.  Or, for
> python, if the gps module loads and runs.

It's those major changes.... Certainly, any change my code sees, like
STATUS_DGPS_FIX going away somewhere between API version 5.01 and 6.1.
(I seem to have missed 6.0 entirely.) Pull and look at gnome-gps.c line
978 et seq..

Maybe I should just get rid of the 5.01 support and the compile time
version checks. Now that I have it under git, anyone silly enough to
want to support 5.01 can check out an appropriate tag.

> > * Library loading: How do I tell the library loader which version of
> >   libgps I want? Or does the loader handle that for me?  
> Easy, you want the same version as installed.  No multilib for gpsd.

OK. It also appears to work across a network where I have a 7.0 server
feeding a 6.1 client.

Meanwhile gpsd continues to support my ancient BU 353 like a charm. You
guys do good work! Thanks!

"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

reply via email to

[Prev in Thread] Current Thread [Next in Thread]