1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
Rosen Penev
0162cc3469
gpsd: fix compilation under some setups
Some commit in base broke compilation. Adding sysroot fixes it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-30 17:48:22 -08:00
Rosen Penev
d916233928
gpsd: update to 3.21
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-23 18:18:36 -07:00
Jeffery To
a29905c42b gpsd: Update to 3.20, add/refresh patches
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>
2020-01-17 04:42:46 +08:00
Rosen Penev
92258da65a
gpsd: Fix pkgconfig file for libgps
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>
2019-09-17 15:42:53 -07:00
Jan Pavlinec
299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Petr Štetiar
c3bacb6631 iotivity,smartsnmpd,gpsd: use scons from feed
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>
2019-09-13 07:14:08 +02:00
Russell Senior
90d81afaed gpsd: update to v3.19
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>
2019-07-30 00:01:54 -07:00
Rosen Penev
c21b34e2cb gpsd: Add missing define
musl needs _BSD_SOURCE defined for strlcat/cpy

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-06 16:42:44 -07:00
Jeffery To
bd5a6155b1 gpsd: Update init script
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>
2019-02-11 22:17:06 +08:00
Paul Wassi
2eb973c573 utils/gpsd: Update to 3.17
Update to upstream release 3.17 and refresh patch.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2018-04-02 10:28:24 +02:00
Matthias Schiffer
00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
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>
2018-01-09 16:36:02 +01:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
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>
2017-08-29 21:41:14 -07:00
David Thornley
21ee053468 utils/gpsd: Set manbuild=no for build (disable building help/html documentation)
This removes unnecessary dependancy on xmlto which can be problematic on macOS build environment.

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2017-05-02 10:38:31 +10:00
p-wassi
4a752d7f6f utils/gpsd: fix init script
Add missing character in init script to match config file

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-03-04 12:06:22 +01:00
Pushpal Sidhu
56870f42ec utils/gpsd: refresh 0002-ncurses6_detection to 3.16
Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
2017-01-22 23:07:33 -08:00
Hannu Nyman
9efeb29155 Merge pull request #3888 from RussellSenior/fix-gpsd-ncurses-detection
gpsd: add ncurses6 support
2017-01-23 08:45:39 +02:00
p-wassi
89036708b5 utils/gpsd: move package to 'Utilities'
Move package 'gpsd' and 'gpsd-clients' to menuconfig's 'Utilities'

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-01-21 10:07:22 +01:00
p-wassi
be6f00b269 utils/gpsd: fix dependencies
Remove unneccessary dependencies in gpsd/gpsd-clients/libgps.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-01-21 10:07:22 +01:00
p-wassi
933d93c68a utils/gpsd: switch to procd
Rewrite init script for procd support

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2017-01-21 10:07:16 +01:00
Russell Senior
418d5390b9 gpsd: add ncurses6 support
Signed-off-by: Russell Senior <russell@personaltelco.net>
2017-01-20 10:16:32 -08:00
p-wassi
6aaca067d2 utils/gpsd: remove hotplug script
Remove a hotplug script, which starts/stops gpsd with
attaching/detaching a PL2302 USB-UART device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-12-07 22:00:50 +01:00
p-wassi
5099e731b3 utils/gpsd: (cosmetic) update config
Make the default config look like usual,
i.e.: indentation using tabs, single quotes, booleans 0/1

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-12-07 21:58:05 +01:00
p-wassi
b06eac5382 utils/gpsd: Update to 3.16
Update gpsd to upstream release 3.16
The local patch is already included upstream, therefore
removed here.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-12-07 21:52:58 +01:00
Pushpal Sidhu
092f108b46 gpsd: Update Maintainer Email
Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
2016-09-26 08:28:16 -07:00
David Thornley
4ed704b4b4 gpsd: fix cross platform compilation
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>
2016-09-26 09:48:46 +10:00
Pushpal Sidhu
0c8cc4aee0 gpsd: don't enable by default
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>
2016-04-21 12:03:50 -07:00
Alexander Ryzhov
ea3cdae6d2 gpsd: respect LDFLAGS
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-12-29 01:50:27 -05:00
Hauke Mehrtens
127e1c4856 gpsd: do not strip gpsd
The not strip command is not strip=no, but it is nostrip=yes.
This fixes building this gpsd.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-19 22:16:25 +01:00
Pushpal Sidhu
8da4be4843 gpsd: initial add to packages
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>
2015-10-19 17:23:46 -07:00