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.

166 lines
4.4 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:=$(AUTORELEASE)
  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. CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) -L$(STAGING_DIR)/usr/lib" \
  81. LINKFLAGS="$(TARGET_LDFLAGS)"
  82. SCONS_OPTIONS += \
  83. dbus_export=no \
  84. tsip=no \
  85. fv18=no \
  86. tripmate=no \
  87. earthmate=no \
  88. itrax=no \
  89. navcom=no \
  90. ubx=no \
  91. evermore=no \
  92. ntrip=no \
  93. libgpsmm=no \
  94. libQgpsmm=no \
  95. bluez=no \
  96. nostrip=yes \
  97. python=no \
  98. implicit_link=no \
  99. chrpath=no \
  100. manbuild=no \
  101. sysroot="$(TOOLCHAIN_DIR)" \
  102. target="$(TARGET_CROSS:-=)"
  103. define Build/InstallDev
  104. $(INSTALL_DIR) $(1)/usr/include
  105. $(CP) $(PKG_INSTALL_DIR)/usr/include/gps.h $(1)/usr/include/
  106. $(INSTALL_DIR) $(1)/usr/lib
  107. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps*.so* $(1)/usr/lib/
  108. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  109. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgps.pc $(1)/usr/lib/pkgconfig
  110. $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libgps.pc
  111. $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libgps.pc
  112. endef
  113. define Package/gpsd/install
  114. $(INSTALL_DIR) $(1)/etc/config
  115. $(INSTALL_CONF) ./files/gpsd.config $(1)/etc/config/gpsd
  116. $(INSTALL_DIR) $(1)/etc/init.d
  117. $(INSTALL_BIN) ./files/gpsd.init $(1)/etc/init.d/gpsd
  118. $(INSTALL_DIR) $(1)/usr/sbin
  119. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsd $(1)/usr/sbin/
  120. endef
  121. define Package/gpsd-clients/install
  122. $(INSTALL_DIR) $(1)/usr/bin
  123. $(INSTALL_BIN) \
  124. $(PKG_INSTALL_DIR)/usr/bin/cgps \
  125. $(PKG_INSTALL_DIR)/usr/bin/gps{ctl,decode,mon,pipe} \
  126. $(PKG_INSTALL_DIR)/usr/bin/gpxlogger \
  127. $(PKG_INSTALL_DIR)/usr/bin/lcdgps \
  128. $(1)/usr/bin/
  129. endef
  130. define Package/gpsd-utils/install
  131. $(INSTALL_DIR) $(1)/usr/sbin
  132. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gpsdctl $(1)/usr/sbin/
  133. endef
  134. define Package/libgps/install
  135. $(INSTALL_DIR) $(1)/usr/lib
  136. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgps.so.* $(1)/usr/lib/
  137. endef
  138. $(eval $(call BuildPackage,gpsd))
  139. $(eval $(call BuildPackage,gpsd-clients))
  140. $(eval $(call BuildPackage,gpsd-utils))
  141. $(eval $(call BuildPackage,libgps))