123 Commits

Author SHA1 Message Date
Jose Quaresma c72a62caaf gpsd: condition the runtime dependence of pyserial on the pygps
The python3-pyserial dependency was introduced in [1].
It is provided by the meta-python layer and so make it conditionally.

Fixes:

| NOTE: Resolving any missing task queue dependencies
| ERROR: Nothing RPROVIDES 'python3-pyserial' (but ../meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb RDEPENDS on or otherwise requires it)
| NOTE: Runtime target 'python3-pyserial' is unbuildable, removing...
| Missing or unbuildable dependency chain was: ['python3-pyserial']
| NOTE: Runtime target 'gpsd' is unbuildable, removing...
| Missing or unbuildable dependency chain was: ['gpsd', 'python3-pyserial']

[1] https://git.openembedded.org/meta-openembedded/commit/?id=1266c912afa0abf118eaa5d152a0641c87665fbd

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-11-19 13:13:24 -08:00
Jose Quaresma d96334544c Revert "gpsd: make the meta-python dependency conditionally"
This reverts commit eb731aa866.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-11-19 13:13:24 -08:00
Jose Quaresma 544f04499d gpsd: make the meta-python dependency conditionally
The python3-pyserial dependency was introduced in [1].
It is provided by the meta-python layer and so make it conditionally.

Fixes:

| NOTE: Resolving any missing task queue dependencies
| ERROR: Nothing RPROVIDES 'python3-pyserial' (but ../meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb RDEPENDS on or otherwise requires it)
| NOTE: Runtime target 'python3-pyserial' is unbuildable, removing...
| Missing or unbuildable dependency chain was: ['python3-pyserial']
| NOTE: Runtime target 'gpsd' is unbuildable, removing...
| Missing or unbuildable dependency chain was: ['gpsd', 'python3-pyserial']

[1] https://git.openembedded.org/meta-openembedded/commit/?id=1266c912afa0abf118eaa5d152a0641c87665fbd

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-11-19 13:13:21 -08:00
Dmitry Baryshkov a31ee04e75 gpsd: apply patch to fix gpsd building on Musl
Import the patch from pending MR to fix the way flags are being handled
by SConsript. Otherwise CXXFLAGS being added to CCFLAGS, masking test
results because of the -fvisibility-inlines-hidden warning turning into
error.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-13 11:30:12 -07:00
Jörg Sommer a6a691f644 gpsd: upgrade 3.24 -> 3.25; new gpsd-snmp
This new version installs /usr/share/snmp/mibs/gpsd/GPSD-MIB which is
packaged in a new package gpsd-snmp.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:46 -07:00
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Gianfranco Costamagna 1266c912af gpsd: make sure gps-utils-python runtime-depends on python3-pyserial
Pyserial is used at runtime (e.g. by ubxtool)
Reported-By: Federico Perenno <federico.perenno@abinsula.com>

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-02 08:29:33 -07:00
Fabien Parent 2117bbee20 gpsd-machine-conf: allow creation of an empty package
gpsd-machine-conf is an empty recipe that does not ship any files on the
rootfs. This recipe is targeted to be extended by a bbappend that
will provide the gpsd machine configuration.

In the case where gpsd-machine-conf is included into an image, and if no
layers is providing the machine configuration, the build fails with
the following error:

	No match for argument: gpsd-machine-conf
	Error: Unable to find a match: gpsd-machine-conf

This error is because no package was created for gpsd-machine-conf
since the recipe does not install any files.

This commit allows the creation of an empty package in order to avoid
the do_rootfs failure when this package is included into an image.

Signed-off-by: Fabien Parent <fabien.parent@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:29 -04:00
zhengrq.fnst 94f4f39e74 gpsd: upgrade 3.23.1 -> 3.24
3.24: 2022-04-22
  NTRIP 2.0 now works.  But still only plain HTML, not RTP, etc.
  Remove ntrip option and NTRIP_ENABLE.  Always build.
  Remove passthrough option and PASSTHROUGH_ENABLE.  Always build.
  Remove nmea0183 option and NMEA0183_ENABLE.  Always build.
  Remove netfeed option and NETFEED_ENABLE.  Always build.
  gpsd will retry ntrip:// and tcp:// connections
  cgps can expand to show more sats. Added --rtk option.
  maidenhead() checks for input errors.
  Better SHM logs.
  PPS and TOFF JSON now include shm used, and real precision.
  Add initial, untested, TSIPv1 support
  split debug messages into different syslog() levels.
  New ppscheck options, and can use /dev/ppsX devices.
  First try at TSIPv1 protocol decodes.
  Decode Quectel $PQVERNO for firmware version
  Decode Skytrak PX1172RH_DS messages.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 07:52:29 -07:00
Peter Kjellerstedt 64156a6f8f gpsd: Correct the creation of the gps-utils-python package
The gps-utils-python package was introduced in commit 66721940 (gpsd:
split python utils from gps-utils), except it was never added to
PACKAGES, which resulted in the following error if anything depends on
gpsd:

  ERROR: Nothing RPROVIDES 'gps-utils-python' (but .../gpsd_3.23.1.bb
  RDEPENDS on or otherwise requires it)

Also remove a no longer relevant comment.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-22 11:08:25 -07:00
Dmitry Baryshkov 667219409f gpsd: split python utils from gps-utils
Neither gpsd nor significant part of gps-utils depend on python. However
installing gps-utils package would require installing python, which adds
about 17 MB to the image size. Split away gps-utils-python to allow
using gpsd/gps-utils in the systems with limited resources (or in the
initramfs).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-21 07:14:38 -07:00
Peter Kjellerstedt cf260fb4ed gpsd: Only copy the Python files if they are created
If one adds some configuration that disables the creation of the Python
files, e.g., minimal=yes, then the installation fails when it tries to
copy the non-existent files. Avoid this by checking for their existence
before copying them.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-20 10:58:01 -07:00
Matthias Klein 52474de7b7 gpsd-machine-conf: set precise BSD-3-Clause license
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-07 09:20:27 -08:00
Andrey Zhizhikin ca5055ed28 gpsd: fix clang buid via export CC explicitly
gpsd scons build system defaults CC to 'gcc', which prevents clang
toolchain to be used.

Export CC explicitly via environment to override default assignment in
scons.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-02 07:52:17 -08:00
Christian Eggers ab1057d1b5 gpsd: list files for gps-utils individually
Avoid packaging 'gpsd' and 'gpsdctl' by gps-utils in configurations
where ${bindir}==${sbindir} (e.g. nativesdk). Additionally provide
${sbindir} to scons for this case.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:26:26 -08:00
Christian Eggers b4ec904e8c gpsd: remove obsolete files from FILES:gps-utils
- ${libdir}/gps/*.py is already packaged by python3-pygps
- no files matches ${libdir}/gps/*.so

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:26:26 -08:00
Christian Eggers c90299bee3 gpsd: remove obsolete libgpsd package
The gpsd project stopped shipping the libgpsd shared library in commmit
901bfe301956 (6 years ago).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:26:26 -08:00
Christian Eggers bdd64ca5d1 gpsd: remove obsolete files from FILES:${PN}-dev
Files for pkg-config are installed under ${libdir}/pkg-config which is
already set in bitbake.conf

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-16 08:26:26 -08:00
Matthias Klein aa40b5c785 gpsd: Install also the generated parts of the Python library
The Python library cannot be copied from the source code directory,
otherwise generated files like gps.py and packet.py are missing.

This is noticed when starting ubxtool which otherwise crashes:

Traceback (most recent call last):
  File "/usr/bin/ubxtool", line 48, in <module>
    import gps.ubx
  File "/usr/lib/python3.10/site-packages/gps/ubx.py", line 244, in <module>
    class ubx(object):
  File "/usr/lib/python3.10/site-packages/gps/ubx.py", line 255, in ubx
    verbosity = gps.VERB_NONE
AttributeError: module 'gps' has no attribute 'VERB_NONE'

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-27 07:11:22 -07:00
Martin Jansa 037f38cc68 gpsd: inherit pkgconfig
Newer oe-core doesn't pull many default dependencies anymore:
https://lists.openembedded.org/g/openembedded-core/message/156185
add explicit dependency on pkgconfig through pkgconfig.bbclass as
we're using it here.

Fixes:
| Checking pkg-config for dbus-1... no
| Turning off dbus-export support, library not found.
| Checking pkg-config for bluez... no
| Turning off Bluetooth support, library not found.
...
| ERROR: /usr/bin/ncurses5-config should not be used, use an alternative such as pkg-config
| OSError: 'ncurses5-config --libs --cflags' exited 1:
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/gpsd-3.23/SConstruct", line 63:
|     SConscript('SConscript',
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 660:
|     return method(*args, **kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
|     return _SConscript(self.fs, *files, **subst_kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
|     exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/gpsd-3.23/gpsd-3.23/SConscript", line 1881:
|     cgps = env.Program('clients/cgps', ['clients/cgps.c'],
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 238:
|     return super().__call__(target, source, *args, **kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Util.py", line 748:
|     return self.method(*nargs, **kwargs)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Builder.py", line 653:
|     env = env.Override(env_kw)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 622:
|     env.MergeFlags(merges)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 832:
|     args = self.ParseFlags(args)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 815:
|     do_parse(arg)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 662:
|     for t in arg: do_parse(t)
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 667:
|     arg = self.backtick(arg[1:])
|   File "/jenkins/mjansa/build/ose/honister/BUILD/work/qemux86-webos-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 579:
|     raise OSError("'%s' exited %d" % (command, status))
| ERROR: scons build execution failed.

Or on different host it shows better error message:

| Checking pkg-config for dbus-1... (cached) yes
| /bin/sh: 1: pkg-config: not found
| OSError: 'PKG_CONFIG_SYSROOT_DIR="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot" pkg-config --cflags --libs dbus-1' exited 127:
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/gpsd-3.23/SConstruct", line 63:
|     SConscript('SConscript',
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 660:
|     return method(*args, **kw)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
|     return _SConscript(self.fs, *files, **subst_kw)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
|     exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/gpsd-3.23/gpsd-3.23/SConscript", line 1107:
|     config.env.MergeFlags(dbusflags)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 832:
|     args = self.ParseFlags(args)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 815:
|     do_parse(arg)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 662:
|     for t in arg: do_parse(t)
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 667:
|     arg = self.backtick(arg[1:])
|   File "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/gpsd/3.23-r0/recipe-sysroot-native/usr/lib/python3.9/site-packages/SCons/Environment.py", line 579:
|     raise OSError("'%s' exited %d" % (command, status))
| ERROR: scons build execution failed.

Not sure why this one doesn't show up on CI, I guess some SCons magic.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 11:04:32 -07:00
zhengruoqin ddf3442b62 gpsd: upgrade 3.23 -> 3.23.1
3.23.1: 2021-09-21
  Improve ubx cycle detection.
  Add quirks for Jackson Labs nonstandard NMEA
  Change STATUS_NO_FIX to STATUS_UNK to avoid confusion with fix mode.
  Change STATUS_FIX to STATUS_GPS to avoid confusion with fix mode.
  Change STATUS_DGPS_FIX to STATUS_DGPS to avoid confusion with fix mode.
  Split SOURCE_ACM from SOURCE_USB.  ACM has no speeds.
  Add speeds 1 mbps, 1.152 mbps, 1.5 mbps, and higher.  When libc supports them.
  Improve autobaud.
  Add new u-blox M10 messages.
  Fix u-blox M6, M7 initialization issues.
  Various ubxtool and gpxlogger updates.
  Add mtk3301_speed_switcher()
  No API, ABI changes.
  Fallback to "python3" if "python" not found.

0001-SConscript-Correct-the-installation-of-gpsd.hotplug.patch
removed since it is included in 3.23.1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-30 08:50:42 -07:00
Armin Kuster 80b0ad65df gpsd-machine-conf: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
Peter Kjellerstedt 91c6380946 gpsd: Do not install gpsd.hotplug unconditionally
gpsd.hotplug is only needed if systemd is not used, in which case it
will be installed by scons.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-29 09:10:55 -07:00
Peter Kjellerstedt 584852c8de gpsd: Correct the installation of gpsd.hotplug if systemd is not enabled
Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-29 09:10:55 -07:00
Peter Kjellerstedt 8135e5aefe gpsd: Move /usr/share/gpsd/doc to the gpsd-doc package
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:17:04 -07:00
Peter Kjellerstedt ef2965f50b gpsd: Let scons install the udev and systemd files
With the update to 3.23 (commit 87f3070f), the recipe was changed to
incorrectly install the gpsd.rules.in file instead of gpsd.rules. It
also missed that a new template string (@RUNDIR@) was introduced in the
systemd files, making them unusable.

Instead of trying to keep up with upstream changes, let scons do the job
and install the udev and systemd files by using the "udev-install"
production instead of "install".

In addition to the correct files being installed,
"/etc/udev/rules.d/gpsd.rules" is now "/lib/udev/rules.d/25-gpsd.rules".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:17:04 -07:00
Matija Tudan 87f3070fa1 gpsd: upgrade 3.20 -> 3.23
Signed-off-by: Matija Tudan <tudan.matija@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-20 09:26:18 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
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>
2021-08-03 10:21:25 -07:00
Hermes Zhang 285e4c9bfb gpsd: backport d-bus message time patch from upstream
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>
2021-04-01 08:32:47 -07:00
Yi Zhao 98e61961c8 gpsd: add new init script
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>
2020-06-02 10:47:02 -07:00
Sean Nyekjaer 04afc692a3 gpsd: mark CLEANBROKEN
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-18 11:11:45 -07:00
Sean Nyekjaer 33a15c7906 gpsd: fix build on aarch64
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>
2020-05-15 08:31:09 -07:00
Sean Nyekjaer cecab9c4ca gpsd: Upgrade 3.19 -> 3.20
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>
2020-05-11 11:36:06 -07:00
Alistair Francis 2e6a5f32f6 gpsd: Only require and build for Python3
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-02 08:08:10 -08:00
Khem Raj 5057746583 meta-oe: Remove using python2
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>
2020-01-22 09:56:34 -08:00
Adrian Bunk 851321744e gpsd: Add a PACKAGECONFIG for disabling usb support
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-08 23:00:58 -08:00
Adrian Bunk 704c0bafd9 gpsd: Stop depending on chrpath-native
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>
2019-10-27 23:10:00 -07:00
Adrian Bunk dc26e0395c gpsd: Backport a memory leak fix
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-27 23:10:00 -07:00
Adrian Bunk 4a031cf2af gpsd: gpscat no longer uses python-curses in 3.19
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-04 07:27:06 -07:00
Adrian Bunk 6d5bf9f8e6 gpsd: Switch from python-scons-native to python3-scons-native
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-26 14:29:17 -07:00
Adrian Bunk 47480003c3 gpsd: Upgrade 3.18.1 -> 3.19
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>
2019-07-16 17:58:32 -07:00
Adrian Bunk 4efcd85f28 gpsd: Disable manpage building by config option instead of patching
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-15 18:50:07 -07:00
Adrian Bunk d3261cb6d2 gpsd: Drop bluez4 support
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>
2019-07-11 14:01:28 -07:00
Alistair Francis 0971023314 gpsd: Fix the systemd service run paths
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>
2019-07-10 09:34:20 -07:00
Adrian Bunk ca7faa9b3d gpsd: Don't build without optimization
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>
2019-07-10 09:28:20 -07:00
Adrian Bunk 517f7ba99c gpsd: Remove obsolete musl patch
Upstream fixed this differently 4 years ago.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:28:20 -07:00
Alistair Francis bcee75b765 gpsd: Upgrade from 3.17 to 3.18.1
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Adrian Bunk d13671b832 gpsd: Remove the obsolete dependency on dbus-glib
Upstream stopped using it in 2011.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-25 14:21:48 -07:00
Adrian Bunk 22bfe06d15 gpsd: Force using python-scons-native for now
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>
2019-06-19 10:38:07 -07:00
Adrian Bunk 07832b9a2b gpsd: Switch PACKAGECONFIG[qt] from Qt4 to Qt5
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-24 10:12:12 -07:00