[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-575
From: |
Fred Wright |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-575-g92e30ab |
Date: |
Fri, 17 Feb 2017 19:07:33 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via 92e30abaa3f7fb298d05ebe207c16f7096d0c15a (commit)
via b8890ecae932892fd8e6fc45a3f003c937d3f82f (commit)
from b139396726bb4d951d98ce733538459f4cf21b7c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 92e30abaa3f7fb298d05ebe207c16f7096d0c15a
Author: Robert Norris <address@hidden>
Date: Tue Feb 14 21:30:25 2017 +0000
Windows libgps support
Add Windows versions for network functions and disable unused features.
Add detection of various headers and functions that aren't available in
Windows. Note that netlib_localsocket() has no functional implementation
on Windows, but it isn't to be used on that platform and it's not part of
libgps anyway.
Using send() rather than write() seems to work on Windows.
For Windows need to ensure networking is initialised on opening of sockets
(and then correspondingly shutdown upon closing).
Note that within gpsd.h the termios structures and serial related functions
are removed from the Windows build. These are only accessed in serial.c by
gpsd, so since the Windows build is only generating libgps there is
currently no need to modify serial.c.
And for os_compat.h, daemon() is simply disabled under Windows as it's not
used within libgps.
TESTED:
Confirmed compiles under a cross compiler.
Manual build and run of test_libgps on Windows which successfully connects
to a host running GPSD
Manual build DLL version and link with a Windows version of a program
(Viking) that then successfully connects and monitors positions from GPSD
Otherwise no effect on current supported systems.
'scons build-all check' - passes.
Signed-off-by: Fred Wright <address@hidden>
commit b8890ecae932892fd8e6fc45a3f003c937d3f82f
Author: Robert Norris <address@hidden>
Date: Tue Feb 14 21:30:17 2017 +0000
ntpshmread.c is not used by libgps
This is to make Windows build of libgps easier as Windows doesn't support
sys/ipc.h and sys/shm.h.
Shift to be included in libgpsd instead.
Thus ntpshmmon now requires the libgpsd.
TESTED:
'scons build-all check' passes
Signed-off-by: Fred Wright <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
SConstruct | 12 +++++++++---
gpsd.h | 13 ++++++++++++-
libgps_sock.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
netlib.c | 40 +++++++++++++++++++++++++++++++++-----
os_compat.c | 5 +++--
test_libgps.c | 3 ++-
6 files changed, 121 insertions(+), 14 deletions(-)
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-575-g92e30ab,
Fred Wright <=