gpsd build fails on macos due to using sys.platform in build logic.
This patch allows to redefine target platform to fix the issue.
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
3.23.1: 2021-09-21
Improve ubx cycle detection.
Add quirks for Jackson Labs nonstandard NMEA
Change STATUS_NO_FIX to STATUS_UNK to avoid confusion with fix mode.
Change STATUS_FIX to STATUS_GPS to avoid confusion with fix mode.
Change STATUS_DGPS_FIX to STATUS_DGPS to avoid confusion with fix mode.
Split SOURCE_ACM from SOURCE_USB. ACM has no speeds.
Add speeds 1 mbps, 1.152 mbps, 1.5 mbps, and higher. When libc supports them.
Improve autobaud.
Add new u-blox M10 messages.
Fix u-blox M6, M7 initialization issues.
Various ubxtool and gpxlogger updates.
Add mtk3301_speed_switcher()
No API changes, except for STATUS_* as above.
No ABI changes.
Fallback to "python3" if "python" not found.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Contains fix for time jumping back 1024 weeks after 23-October-2021.
Changes:
- Between current version and 3.23 the ABI version changed from 27 to
29. Add ABI_VERSION variable to package as the jumps occur often.
- 0001-no-distutils-import.patch: removed because current patch doesn't
work with new release and host python3-distutils is a build
requirement anyway.
- 0002-ncurses6_detection.patch: fixed the patch. Currently the first
"elif" checks for "ncurses6-config". But this is only provided by
ncurses/host package, so the CFLAGS then contain includes that point
into $(STAGING_DIR_HOSTPKG). The ncurses target package only installs
"ncursesw6-config" into the staging area. So this is the only tool of
interest. Also, the hunk moved from SConstruct to SConscript.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The sysroot has to point to the toolchain directory. The directory
includes libraries like libm. However, the STAGING_DIR needs to be
added to the CFLAGS.
Fixes#15773
[As suggested by jow]
Signed-off-by: Nick Hainke <vincent@systemli.org>
gpsd-utils include management tools for GPS daemon - and this commmit
particularly introduces gpsdctl to add/remove device from the GPS
daemon's device list over control socket.
Signed-off-by: ekathva advaita <ekathva@hotmail.com>
New patches (both for SConstruct):
* Do not import from distutils. Since Python support/modules are not
built, there is no need to import from distutils. (Importing from
distutils may prevent the package from being built on systems without
a full distutils module, e.g. Debian with python3-minimal.)
I have added back the import in places where it may be helpful to
have, if scons is run manually.
Fixes#10993.
* Do not check the size of time_t. The way this is done is to compile
and run a test program; this fails when cross-compiling[1].
This doesn't appear to affect any functionality (other than missing a
compile-time warning that things will fail in 2038 if time_t is too
small).
[1]: https://gitlab.com/gpsd/gpsd/issues/48
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This ensures it can be found properly by any package that uses pkgconfig
to find libgps.
Nothing in the tree currently does.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
commit 0c090fde68b2 ("scons: move host build tool to a proper place")
has moved scons into the packages feeds, so switch to that package
include and adjust build dependency to a new scons home.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
From gpsd NEWS:
3.19: 2019-07-01
Rearrange rawdata_t. Bump the API because gps_data_t changed.
Report sequence-ID fields in type 7 and 13 AIS messages.
Preliminary support for SiRFstar V
Improve error modeling.
Update pseudo NMEA to v3.0, with fractional time.
Improve cycle detection, mostly for NMEA.
Move epe from gps_data_t to be near its friends in gps_fix_t.
Preliminary u-blox 9 support.
Add qErr in gps_data_t to store PPS quantization error.
Add Android (AOSP) support
Improved multi gnss and multi signal support.
NMEA 4.10 multi gnss multi signal support.
The arguments to "ubxtool -p P" have been expanded and changed.
New options, -g, -x, -z, added to ubxtool for u-blox 9 support.
3.18.1: 2018-10-19 (Gary E. Miller <gem@rellim.com>)
Fix some installation issues.
A few minor updates to ubxtool and driver_ubx.
Add contrib/skyview2svg
3.18: 2018-10-02 (Gary E. Miller <gem@rellim.com>)
Add ECEF support to ievermore, italk,Skytraq, SiRF, U-blox drivers.
Add ECEF support to JSON, cgps and xgps.
Add GREIS (Javad) driver from Virgin Orbit.
Add CLI tools zerk and ubxtool to manage JAVAD and u-blox GPS.
Add gnssid:svid to satellite_t, cgps and xgps. PRN will die.
Add gnssid:svid to JSON, cgps and xgps.
Add stricter version checking (more to todo).
More and better regression tests.
Better Python dependency checking, at build time and runtime.
Fix several buffer issues.
New polar plots, and improved statistice, in gpsprof.
gpsd master/slave mode works, first time ever.
All isnan() changed to !isfinite(), fixing many bugs.
Client-side Python libraries may automatically reconnect
Too many other bug fixes and improvements to mention.
Over 1,000 commits from 46 different commiters.
Signed-off-by: Russell Senior <russell@personaltelco.net>
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.
This also adds a service_triggers() function and removes some
unnecessary curly brackets.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Build depends refer to source package names, not binary package names.
In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.
Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This removes unnecessary dependancy on xmlto which can be problematic on macOS build environment.
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
In SConstruct the set of executables in the devenv variable should be adjusted to use the cross compile toolchain (as opposed to host's executables).
Achieved by setting target option to the toolchain prefix which corrects compilation on macOS.
Note, TARGET_CROSS has to have the hyphen stripped as SConstruct uses the target variable with an implied hyphen (env['target'] + '-' + toolname)
Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
Because this selects ttyUSB0 (bad choice) by default, turn off enabling gps
by default until the user set's the tty manually and will stop gpsd from
stomping on another device's tty.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
This package is currently in oldpackages. Add here to keep support for gpsd.
From oldpackages, this was bumped from 3.10 -> 3.15 and includes an upstream
patch to allow building with musl.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>