Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing GPSD on remote linux host, client running on Windows #11

Closed
whoknowz opened this issue Feb 12, 2016 · 5 comments
Closed

Accessing GPSD on remote linux host, client running on Windows #11

whoknowz opened this issue Feb 12, 2016 · 5 comments

Comments

@whoknowz
Copy link

Feature request: Make the Windows version communicate with GPSD via the socket interface(JSON) over a network.

@rnorris
Copy link
Collaborator

rnorris commented Feb 12, 2016

Viking uses libgps to communicate with GPSD. AFAIK there is no Windows version of libgps ATM.

Quote from GPDs website "No, we don't support Windows — get a better operating system."
(http://www.catb.org/gpsd/#documentation).

However I think this is more for gpsd (the server) more than the libgps (the client - as used with Viking).

With the new cross compile tool chain working for Viking (and for other programs too), it will be quite possible for me to try building libgps for Windows and see if it is a) possible and then b) usable.

AFAIK There has been some previous investigation into this (http://lists.nongnu.org/archive/html/gpsd-dev/2012-08/msg00008.html) but no confirmed outcome as of yet.

@gzotti
Copy link

gzotti commented Mar 22, 2017

Accessing some Linux system running GPSD from Windows via libgps would be very welcome. Else, on Windows (or cross-platform applications) developers must follow the "bad idea to speak the protocol directly" (gpsd_json(5)). Any news?

@rnorris
Copy link
Collaborator

rnorris commented May 20, 2017

GPSD now has support to build a Windows version of libgps.

Hopefully there will soon be an official release of GPSD 3.17 which will have this in.

I have code ready in Viking to take advantage of this, but then there's the question of when an updated Viking release will be made too.

@gzotti
Copy link

gzotti commented May 20, 2017

Thanks for the update. GPSD site only provides up to 3.16, so we (Stellarium) will update then.

@rnorris
Copy link
Collaborator

rnorris commented Jan 29, 2019

Viking 1.7 now includes a GPSD 3.17 client on the Windows installation.

Derived from https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-libgps

I don't know if GPSD v3.17 client works with a GPSD server v3.18 (possibly not - so you may have to run the same versions at both ends).

ATM I don't have the inclination to create a libgps.dll v3.18, nor offer some kind of option in the Windows installer to be able to choose a specific version (or if this is even sensible since v3.18 changed the client API interface - so I think one needs to build Viking itself for the specific API version...).

@rnorris rnorris closed this as completed Jan 29, 2019
rnorris added a commit that referenced this issue Jun 19, 2021
By altering the emit_update() functions we can generally find all the places where a change has been made,
since any change should be causing the display to update.
Some places causing updates such as moving, zooming the display etc... are then marked as not modifying the project.

Further for layer properties, we now check each individual property to see if has changed.
Otherwise selecting OK when nothing has actually changed would set the modified flag.

Particularly if one often views large .vik files,
 then changing the visibility of items may be considered just part of the viewing process.
The setting 'modifications_ignore_visibility_toggle' can then be set, to avoid being notified about visibility changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants