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.

165 lines
4.3 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:=3
  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/gpsd-utils
  60. $(call Package/gpsd/Default)
  61. SECTION:=utils
  62. CATEGORY:=Utilities
  63. TITLE:=GPS daemon utils
  64. endef
  65. define Package/gpsd-utils/description
  66. $(call Package/gpsd/Default/description)
  67. This package contains utilities for interacting with GPS daemon.
  68. endef
  69. define Package/libgps
  70. $(call Package/gpsd/Default)
  71. SECTION:=libs
  72. CATEGORY:=Libraries
  73. TITLE:=C service library for communicating with the GPS daemon
  74. endef
  75. define Package/libgps/description
  76. $(call Package/gpsd/Default/description)
  77. This package contains the libgps library.
  78. endef
  79. SCONS_VARS += \
  80. LINKFLAGS="$(TARGET_LDFLAGS)"
  81. SCONS_OPTIONS += \
  82. dbus_export=no \
  83. tsip=no \
  84. fv18=no \
  85. tripmate=no \
  86. earthmate=no \
  87. itrax=no \
  88. navcom=no \
  89. ubx=no \
  90. evermore=no \
  91. ntrip=no \
  92. libgpsmm=no \
  93. libQgpsmm=no \
  94. bluez=no \
  95. nostrip=yes \
  96. python=no \
  97. implicit_link=no \
  98. chrpath=no \
  99. manbuild=no \
  100. sysroot="$(STAGING_DIR)" \
  101. target="$(TARGET_CROSS:-=)"
  102. define Build/InstallDev
  103. $(INSTALL_DIR) $(1)/usr/include
  104. $(CP) $(PKG_INSTALL_DIR)/usr/include/gps.h $(1)/usr/include/
  105. $(INSTALL_DIR) $(1)/usr/lib
  106. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps*.so* $(1)/usr/lib/
  107. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  108. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgps.pc $(1)/usr/lib/pkgconfig
  109. $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libgps.pc
  110. $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libgps.pc
  111. endef
  112. define Package/gpsd/install
  113. $(INSTALL_DIR) $(1)/etc/config
  114. $(INSTALL_CONF) ./files/gpsd.config $(1)/etc/config/gpsd
  115. $(INSTALL_DIR) $(1)/etc/init.d
  116. $(INSTALL_BIN) ./files/gpsd.init $(1)/etc/init.d/gpsd
  117. $(INSTALL_DIR) $(1)/usr/sbin
  118. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
  119. endef
  120. define Package/gpsd-clients/install
  121. $(INSTALL_DIR) $(1)/usr/bin
  122. $(INSTALL_BIN) \
  123. $(PKG_INSTALL_DIR)/usr/bin/cgps \
  124. $(PKG_INSTALL_DIR)/usr/bin/gps{ctl,decode,mon,pipe} \
  125. $(PKG_INSTALL_DIR)/usr/bin/gpxlogger \
  126. $(PKG_INSTALL_DIR)/usr/bin/lcdgps \
  127. $(1)/usr/bin/
  128. endef
  129. define Package/gpsd-utils/install
  130. $(INSTALL_DIR) $(1)/usr/sbin
  131. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsdctl $(1)/usr/sbin/
  132. endef
  133. define Package/libgps/install
  134. $(INSTALL_DIR) $(1)/usr/lib
  135. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
  136. endef
  137. $(eval $(call BuildPackage,gpsd))
  138. $(eval $(call BuildPackage,gpsd-clients))
  139. $(eval $(call BuildPackage,gpsd-utils))
  140. $(eval $(call BuildPackage,libgps))