You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
3.8 KiB

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>
5 years ago
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=gpsd
  9. PKG_VERSION:=3.21
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@SAVANNAH/$(PKG_NAME)
  13. PKG_HASH:=5512a7d3c2e86be83c5555652e5b4cc9049e8878a4320be7f039eb1a7203e5f0
  14. PKG_MAINTAINER:=Pushpal Sidhu <psidhu.devel@gmail.com>
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_CPE_ID:=cpe:/a:berlios:gps_daemon
  18. PKG_BUILD_DEPENDS:=scons/host
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../../devel/scons/scons.mk
  21. define Package/gpsd/Default
  22. DEPENDS+= +libusb-1.0
  23. URL:=https://gpsd.gitlab.io/gpsd/
  24. endef
  25. define Package/gpsd/Default/description
  26. gpsd is a userland daemon acting as a translator between GPS and AIS receivers
  27. and their clients. gpsd listens on port 2947 for clients requesting
  28. position/time/velocity information. The receivers are expected to generate
  29. position information in a well-known format -- as NMEA-0183 sentences, SiRF
  30. binary, Rockwell binary, Garmin binary format, or other vendor binary
  31. protocols. gpsd takes this information from the GPS and translates it into
  32. something uniform and easier to understand for clients.
  33. endef
  34. define Package/gpsd
  35. $(call Package/gpsd/Default)
  36. SECTION:=utils
  37. CATEGORY:=Utilities
  38. TITLE:=An interface daemon for GPS receivers
  39. endef
  40. define Package/gpsd/conffiles
  41. /etc/config/gpsd
  42. endef
  43. define Package/gpsd/description
  44. $(call Package/gpsd/Default/description)
  45. This package contains the GPS daemon.
  46. endef
  47. define Package/gpsd-clients
  48. $(call Package/gpsd/Default)
  49. SECTION:=utils
  50. CATEGORY:=Utilities
  51. DEPENDS+= +libncurses
  52. TITLE:=GPS tools and clients
  53. endef
  54. define Package/gpsd-clients/description
  55. $(call Package/gpsd/Default/description)
  56. This package contains auxiliary tools and example clients for monitoring and
  57. testing the GPS daemon.
  58. endef
  59. define Package/libgps
  60. $(call Package/gpsd/Default)
  61. SECTION:=libs
  62. CATEGORY:=Libraries
  63. TITLE:=C service library for communicating with the GPS daemon
  64. endef
  65. define Package/libgps/description
  66. $(call Package/gpsd/Default/description)
  67. This package contains the libgps library.
  68. endef
  69. SCONS_VARS += \
  70. LINKFLAGS="$(TARGET_LDFLAGS)"
  71. SCONS_OPTIONS += \
  72. dbus_export=no \
  73. tsip=no \
  74. fv18=no \
  75. tripmate=no \
  76. earthmate=no \
  77. itrax=no \
  78. navcom=no \
  79. ubx=no \
  80. evermore=no \
  81. ntrip=no \
  82. libgpsmm=no \
  83. libQgpsmm=no \
  84. bluez=no \
  85. nostrip=yes \
  86. python=no \
  87. implicit_link=no \
  88. chrpath=no \
  89. manbuild=no \
  90. target="$(TARGET_CROSS:-=)"
  91. define Build/InstallDev
  92. $(INSTALL_DIR) $(1)/usr/include
  93. $(CP) $(PKG_INSTALL_DIR)/usr/include/gps.h $(1)/usr/include/
  94. $(INSTALL_DIR) $(1)/usr/lib
  95. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps*.so* $(1)/usr/lib/
  96. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  97. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgps.pc $(1)/usr/lib/pkgconfig
  98. $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libgps.pc
  99. $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libgps.pc
  100. endef
  101. define Package/gpsd/install
  102. $(INSTALL_DIR) $(1)/etc/config
  103. $(INSTALL_CONF) ./files/gpsd.config $(1)/etc/config/gpsd
  104. $(INSTALL_DIR) $(1)/etc/init.d
  105. $(INSTALL_BIN) ./files/gpsd.init $(1)/etc/init.d/gpsd
  106. $(INSTALL_DIR) $(1)/usr/sbin
  107. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
  108. endef
  109. define Package/gpsd-clients/install
  110. $(INSTALL_DIR) $(1)/usr/bin
  111. $(INSTALL_BIN) \
  112. $(PKG_INSTALL_DIR)/usr/bin/cgps \
  113. $(PKG_INSTALL_DIR)/usr/bin/gps{ctl,decode,mon,pipe} \
  114. $(PKG_INSTALL_DIR)/usr/bin/gpxlogger \
  115. $(PKG_INSTALL_DIR)/usr/bin/lcdgps \
  116. $(1)/usr/bin/
  117. endef
  118. define Package/libgps/install
  119. $(INSTALL_DIR) $(1)/usr/lib
  120. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
  121. endef
  122. $(eval $(call BuildPackage,gpsd))
  123. $(eval $(call BuildPackage,gpsd-clients))
  124. $(eval $(call BuildPackage,libgps))