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.

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