summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gpsd
Commit message (Collapse)AuthorAgeFilesLines
* gpsd: upgrade 3.20 -> 3.23Matija Tudan2021-08-204-235/+9
| | | | | Signed-off-by: Matija Tudan <tudan.matija@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-29/+29
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: backport d-bus message time patch from upstreamHermes Zhang2021-04-012-0/+37
| | | | | | | This patch is backport from 821c149d486c0e67c1bd35d7c044ede9348aeb8d of upstream to fix the broken d-bus message time Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: add new init scriptYi Zhao2020-06-022-1/+160
| | | | | | | | | | | | The current init script can not start/stop gpsd daemon with the following errors: gpsd: line 48: /lib/init/vars.sh: No such file or directory gpsd: line 52: /lib/lsb/init-functions: No such file or directory Add a new init script to fix the issue. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: mark CLEANBROKENSean Nyekjaer2020-05-181-0/+2
| | | | | Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: fix build on aarch64Sean Nyekjaer2020-05-151-0/+3
| | | | | | | Explicitly add ${CC} as linker, for it to understand -Wl option. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Upgrade 3.19 -> 3.20Sean Nyekjaer2020-05-113-40/+111
| | | | | | | | Revert "SConstruct: Add test for sizeof(time_t), result in SIZEOF_TIME_T." Do not cross-compile a small for it to be executed on the host. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Only require and build for Python3Alistair Francis2020-02-021-12/+12
| | | | | Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Add a PACKAGECONFIG for disabling usb supportAdrian Bunk2019-12-081-2/+3
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Stop depending on chrpath-nativeAdrian Bunk2019-10-271-4/+1
| | | | | | | chrpath is no longer used since 3.15. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Backport a memory leak fixAdrian Bunk2019-10-272-0/+38
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: gpscat no longer uses python-curses in 3.19Adrian Bunk2019-09-041-1/+0
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Switch from python-scons-native to python3-scons-nativeAdrian Bunk2019-07-261-5/+1
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Upgrade 3.18.1 -> 3.19Adrian Bunk2019-07-162-4/+4
| | | | | | | Licencing changed from 3-clause BSD to 2-clause BSD. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Disable manpage building by config option instead of patchingAdrian Bunk2019-07-152-52/+1
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Drop bluez4 supportAdrian Bunk2019-07-111-2/+2
| | | | | | | bluez4 was removed from meta-oe 2 years ago. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Fix the systemd service run pathsAlistair Francis2019-07-101-0/+2
| | | | | | | Make sure that we call gpsd from /usr instead of /usr/local. Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Don't build without optimizationAdrian Bunk2019-07-101-2/+2
| | | | | | | | What the upstream debug option does is to add -O0 -g. -O0 is unwanted, and -g also added through CFLAGS. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Remove obsolete musl patchAdrian Bunk2019-07-102-36/+0
| | | | | | | Upstream fixed this differently 4 years ago. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Upgrade from 3.17 to 3.18.1Alistair Francis2019-06-254-24/+23
| | | | | Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Remove the obsolete dependency on dbus-glibAdrian Bunk2019-06-251-1/+1
| | | | | | | Upstream stopped using it in 2011. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Force using python-scons-native for nowAdrian Bunk2019-06-191-0/+4
| | | | | | | SConstruct in gpsd does not yet support Python 3. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: Switch PACKAGECONFIG[qt] from Qt4 to Qt5Adrian Bunk2019-05-241-1/+1
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: split one dpg packageHongxu Jia2018-09-171-3/+3
| | | | | | | | | | | Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gpsd: upgrade to 3.17Nicolas Dechesne2018-05-014-33/+38
| | | | | | | | This is based on out of tree recipe in meta-medusa-dist, from Tristan Ramseyer. Tested on Dragonboard 410c. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gpsd: add gpsdctl@.service for USB autoplugMartin Kelly2017-11-301-1/+2
| | | | | | | | | | This service allows gpsd to automatically recognize USB devices but is currently missing from our packaging. Without this service and the matching udev rules from upstream, gpsd will fail to recognize USB devices when they are plugged in. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gpsd: use upstream config instead of our ownMartin Kelly2017-11-305-206/+4
| | | | | | | | | | We have our own versions of the udev, hotplug, and systemd scripts, but at this point they are several years old and were added to fix bugs at the time. As far as I can tell, the relevant bugs are now fixed upstream, so we can move back to the upstream versions. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gpsd: fix /etc/default/gpsd ALTERNATIVES logicMartin Kelly2017-11-191-3/+2
| | | | | | | | | | | | | | The ALTERNATIVES logic for the /etc/default/gpsd file is broken, specifying ALTERNATIVE_LINK without brackets. In addition, it refers to ALTERNATIVE_PATH, which update-alternatives.bbclass doesn't use. With this patch, /etc/default/gpsd correctly gets a default link pointing to /etc/default/gpsd.default. Currently, no such link gets created, and gpsd starts off disabled by default since it's missing this config file. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gpsd: add missing python-pygps RDEPENDSMartin Kelly2017-11-151-1/+8
| | | | | | | | | | Several runtime dependencies are missing from python-pygps. You can verify this by adding gps-utils to an image and running gpsfake, which will fail with python import errors. With this patch, gpsfake works correctly. Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gpsd: Fix gpsd Yocto pyro build for read only rootfsDan Walkes2017-10-151-9/+8
| | | | | | | | | | | | | | | | | | | | | | Attempting to include gpsd on Yocto pyro with IMAGE_FEATURES including read-only-rootfs results in an error: "The following packages could not be configured offline and rootfs is read-only" This stems from a failure during the do_rootfs steps where the /etc/init.d/gpsd file is missing during the call to update-rc.d. This happens because the /etc/init.d/gpsd file is installed during package install for gpsd-conf instead of gpsd, and the default value for INITSCRIPT_PACKAGES is PN. To resolve, specify INITSCRIPT_PACKAGES as gpsd-conf instead. Also, as suggested on the Yocto mailing list, refactor to inherit update-alternatives and use this to replace the postinst and postrm steps. Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: update to 3.16Max Krummenacher2017-06-1211-281/+9
| | | | | | | | | | | | | | | | | | | 3.16 can be linked with gold, so drop forcing to bfd. Patches: Do not apply and SConstruct dropped these constructs 0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch 0002-SConstruct-remove-rpath.patch Fixed upstream (or plain backports) 0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch 0002-Add-a-test-for-C11-and-check-we-have-C11-before-usin.patch 0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch 0001-Include-stdatomic.h-only-in-C-mode.patch 0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: don't compile with goldMax Krummenacher2017-06-121-0/+2
| | | | | | | | | | | | | | | When linking with gold libgps and libgpsd error out with: | ./libgpsd.so: error: undefined reference to 'atan2' | ./libgpsd.so: error: undefined reference to 'pow' | ./libgpsd.so: error: undefined reference to 'sqrt' | ./libgpsd.so: error: undefined reference to 'sin' | ./libgpsd.so: error: undefined reference to 'cos' | collect2: error: ld returned 1 exit status Using the bfd linker fixes the issue. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: fix multilib buildNicolas Dechesne2016-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While testing arm 64/32 multi, the following issue was observed: WARNING: gpsd-3.14-r0 do_package: QA Issue: gpsd: Files/directories were installed but not shipped in any package: /usr/lib/libgpsd.so.22.0 /usr/lib/libgps.so.22 /usr/lib/libgpsd.so.22.0.0 /usr/lib/libgpsd.so.22 /usr/lib/libgps.so.22.0.0 /usr/lib/libgps.so /usr/lib/libgps.so.22.0 /usr/lib/libgpsd.so /usr/lib/pkgconfig /usr/lib/pkgconfig/libgpsd.pc /usr/lib/pkgconfig/libgps.pc Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. gpsd: 11 installed and not shipped files. [installed-vs-shipped] WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/cgps contained in package gps-utils requires libgps.so.22()(64bit), but no providers found in RDEPENDS_gps-utils? [file-rdeps] WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/sbin/gpsdctl contained in package gpsd requires libgps.so.22()(64bit), but no providers found in RDEPENDS_gpsd? [file-rdeps] WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/gpsctl contained in package gpsd-gpsctl requires libgps.so.22()(64bit), but no providers found in RDEPENDS_gpsd-gpsctl? [file-rdeps] WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgpsd.so.22.0.0 gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgps.so.22.0.0 [libdir] gpsd SConstruct file defaults to using '/lib' suffix, which needs to be overriden in the recipe. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd, mongodb: use PACKAGECONFIG_CONFARGS instead of now empty EXTRA_OECONFMartin Jansa2016-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | * this will fix mongodb build for x86 http://errors.yoctoproject.org/Errors/Details/90392/ which was failing because of missing --wiredtiger=off in qemux86 builds * also we can drop DISABLE_STATIC, because now it's not leaking through EXTRA_OECONF * it will also resolve again autodetected dependencies on bluez, qt and tcmalloc as shown in bitbake -e output: env.gpsd-before:EXTRA_OESCONS=" sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 libQgpsmm='false' debug='true' strip='false' chrpath='yes' systemd='true' " env.gpsd-after:EXTRA_OESCONS=" sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 libQgpsmm='false' debug='true' strip='false' chrpath='yes' systemd='true' bluez='true' qt='no' " env.mongodb-before:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' \ CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden' \ TARGET_ARCH=i586 --ssl --disable-warnings-as-errors --use-system-pcre --use-system-zlib --js-engine=none --nostrip mongod mongos" env.mongodb-after:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' \ CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden' \ TARGET_ARCH=i586 --ssl --disable-warnings-as-errors --use-system-pcre --use-system-zlib --js-engine=none --nostrip --use-system-tcmalloc --wiredtiger=off mongod mongos" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: Fix build with muslKhem Raj2016-09-262-0/+35
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "gpsd, foxtrotgps: blacklist, fails to build with new binutils-2.27"Nicolas Dechesne2016-09-151-3/+0
| | | | | | This reverts commit 8c29023f1fe5881f3e001704eb9e5d398777d4a6. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: make sure the recipe uses LDFLAGSNicolas Dechesne2016-09-151-0/+2
| | | | | | | | | | | | since commit fa436aeb3242cbfdbbe16d448d45bce8eb5b74fd in OE core, we are seeing GNU_HASH QA failure when building gpsd. Since this commit we default to setting the wrong linker hash style to detect such errors in recipes. gpsd is using scons which does not take LDFLAGS into account, and LDFLAGS need to be passed from the environment, using LINKFLAGS variable. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd, foxtrotgps: blacklist, fails to build with new binutils-2.27Martin Jansa2016-09-051-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove trailing spacesMartin Jansa2016-08-221-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin2016-06-081-6/+0
| | | | | | | They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-2/+2
| | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: Fix build when static libs disabledMaxin B. John2016-03-021-0/+1
| | | | | | | | Fix this build error: SCons Error: no such option: --disable-static Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: Add patch to fix broken ACTIVATE hook.Moritz Fischer2016-01-272-0/+36
| | | | | | | | | This patch is already in mainline gpsd. It fixes a bug where the ACTIVATE hook for a device never gets called. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gspd: disable qt4 support by defaultMartin Jansa2016-01-141-1/+1
| | | | | | * now with qt4 moved to separate meta-qt4 we shouldn't enable it by default Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: also support bluez5Christopher Larson2015-12-181-2/+2
| | | | | | | | gpsd uses libbluetooth, not the dbus interface, so it can work with bluez5 as well, as the library is compatible. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: Fix build with gcc-5.2Martin Jansa2015-09-232-0/+44
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: Update to 3.14.Philip Balister2015-05-138-15/+128
| | | | | | | | | | * _NO_ATOMICS patches are from upstream * Update the SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch * Fix some QA warnings * Add PACKAGECONFIG for qt support Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gpsd: fix PN -> BPN for multilibYi Zhao2015-05-131-2/+2
| | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
* gpsd: select distro preference for bluez providerPeter Bigot2015-02-271-3/+3
| | | | | Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>