Commit Graph

257 Commits

Author SHA1 Message Date
Samuli Piippo
816f4cbbda geoclue: enable demo agent
Add PACKAGECONFIG for enabling the default authorization agent.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18 15:42:49 -07:00
Clément Péron
e3489d1150 proj: upgrade 9.3.0 -> 9.3.1
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:12 -08:00
Clément Péron
ff20e6c783 proj: extend class to native and nativesdk
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:12 -08:00
Wang Mingyu
d2d364eab8 geos: upgrade 3.12.0 -> 3.12.1
Changelog:
===========
- Remove undefined behaviour in use of null PrecisionModel
- Explicitly set endianness for some tests so that output matches expected
- Fix IncrementalDelaunayTriangulator to ensure triangulation boundary is convex
- Improve scale handling for PrecisionModel
- Fix PreparedLineStringDistance for lines within envelope and polygons
- Fix error in CoordinateSequence::add when disallowing repeated points
- Fix InteriorPointPoint to handle empty elements
- Skip over testing empty distances for mixed collections.
- Fix TopologyPreservingSimplifier endpoint handling to avoid self-intersections
- Build warnings with Visual Studio
- Fix CMake on Windows with Visual Studio

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:07 -08:00
Zoltán Böszörményi
405ee46107 geos: Fix packaging
Due to the library file name change, the subpackage "geoslib"
does not get generated, and the main geos package has unsatisfied
dependencies.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-10 09:13:39 -08:00
Khem Raj
150c53d526 Revert "geos: upgrade 3.12.0 -> 3.12.0beta2"
This reverts commit 95e1ec7275.
2023-11-08 22:51:28 -08:00
Khem Raj
95e1ec7275 geos: upgrade 3.12.0 -> 3.12.0beta2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:15 -08:00
Clément Péron
8c04e90d09 proj: Upgrade to 9.3.0 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-27 08:28:49 -07:00
Wang Mingyu
dd1bbddb41 geoclue: upgrade 2.7.0 -> 2.7.1
Changelog:
===========
- Add 'age' field to MLS locate queries
- Location updates now always have an accuracy value
- Improvements to NMEA parsing:
  - Parse NMEA timestamps with sub-second accuracy
  - Add default accuracy to NMEA RMC locations
  - Ignore locations from GGA and RMC sentences if the GNSS fix is not valid
- Prioritize GNSS sources with a recent fix over other sources, preventing location jumps
- Install D-Bus policy in /usr/share, not /etc
- Upgrade GLib / Gio dependency to version 2.68.0
- Correct gi annotations in GClueSimple
- Various small fixes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:03 -07:00
Sourav Kumar Pramanik
3da59b8a8a meta-oe-components: Avoid usage of nobranch=1
The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1 for these components.

Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -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
Khem Raj
47b0452e7c geos: Use cmake directly
configure is a wrapper script around cmake invocations which are
already taken care of by cmake bbclass. e.g. specifying
CMAKE_INSTALL_PREFIX or CMAKE_BUILD_TYPE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-05 10:56:03 -07:00
Khem Raj
41123b82dd geos: Upgrade to 3.12.0
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-04 13:56:19 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
399a48770b orrery: Pass OE provided cflags
Drop Makefiles from packaging /usr/share as a result of mass copy

Fixes
WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-26 18:36:56 -07:00
Ross Burton
caf45f1bc2 geoclue: the library doesn't need gobject-introspection
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-26 08:28:37 -07:00
Martin Jansa
36b1cd08bb geoclue: fix build without gobject-introspection-data
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-03 21:24:55 -07:00
Wang Mingyu
daae12f560 geoclue: upgrade 2.6.0 -> 2.7.0
Changelog:
==========
- Multiple config files named *.conf are now read from the config directory at @sysconfdir@/geoclue/conf.d,
- HTTP requests are now made via libsoup3.0 instead of libsoup2.4,
- A static location can now be set in @sysconfdir@/geolocation for immobile systems,
- Web source requests are now submitted with combined WiFi and 3GPP tower data,
- Web source now checks connectivity in a way that allows location and submission servers running on localhost,
- Web source submissions are now made using /v2/geosubmit API,
- Web source cell tower submissions now have the correct radio type,
- Web source requests now submit the BSS age property,
- Web source submissions now contain the location speed,
- Web source cache now respects WiFi signal tolerance strictly,
- NMEA source now supports both '\n' and '\r' NMEA delimiters,
- NMEA source can now be made the Web source submit source,
- ModemManager now use signaled calls to get cached location information to avoid performing explicit modem query,
- Location description now contains information about its source,
- GSettings backend no longer complains about being run from a read-only filesystem,
- Many small improvements and fixes, some memory safety related.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-16 19:33:29 -08:00
Khem Raj
0755cdd515 geos: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 21:52:26 -08:00
Khem Raj
7eff93b157 geos: Upgrade to 3.9.4
Merge .inc into .bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 21:52:26 -08:00
Khem Raj
631ebd4a93 proj: Upgrade to 9.1.1 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 21:52:26 -08:00
Martin Jansa
addf0065b3 geoclue: fix polkit files only with modem-gps PACKAGECONFIG
* this directory is created only when modem-gps-source option is enabled
  in meson
* fix indentation to use 4 spaces instead of tabs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:22 -08:00
Markus Volk
1deb06f77f geoclue: update to latest commit to allow to build with libsoup-3.0
Hereby gnome-session will be buildable without libsoup2

- fix polkit-1 directory permissions

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-10 23:06:36 -08:00
Clément Péron
8000be0ee9 proj: avoid leaking host path in libproj
When compiling libproj for a SDK, the proj-targets.cmake generated
contains the host path in the INTERFACE_LINK_LIBRARIES.

This path comes from the sqlite3 libraries that gives the full path
to the sqlite3 library at build time.

Force the libproj to link with "sqlite3" instead of a full path.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-08 17:10:47 -08:00
Clément Péron
cae5b12981 proj: add a packageconfig to build as a static library
Add a packageconfig to build Proj as a static library.

Keep the library shared by default.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-08 17:10:47 -08:00
Khem Raj
0523bd8847 proj: Enable apps when building native variant
proj binary is used during build by some recipes e.g. python3-pyproj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-30 09:46:47 -08:00
Clément Péron
5426055131 navigation: bump proj to 9.1.0 library
Proj has moved to CMake build system.

Update the recipe and make more PACKAGECONFIG available following
the ./contrib/oe-stylize.py output.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-23 08:25:30 -08:00
Zoltán Böszörményi
091e402b1f libspatialite: Upgrade to 5.0.1
Removed a patch that didn't apply to the new version.

Added three patches without changes from Fedora that allowed
the new version to compile.
See https://koji.fedoraproject.org/koji/buildinfo?buildID=1924183

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 16:34:48 -07:00
Khem Raj
aef70c3fff geos: Disable inlining
This fixes build errors ( especially for arm arch )

| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-musleabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.data.rel.ro+0x24): multiple definition
 of `typeinfo for geos::noding::BasicSegmentString'; .libs/inlines.o:(.data.rel.ro+0xac): first defined here
| /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-musleabi/geos/3.9.3-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: noding/.libs/libnoding.a(BasicSegmentString.o):(.rodata+0x0): multiple definition of `t
ypeinfo name for geos::noding::BasicSegmentString'; .libs/inlines.o:(.rodata+0x4c): first defined here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Zoltán Böszörményi <zboszor@gmail.com>
2022-07-02 16:34:48 -07:00
Zoltán Böszörményi
78d7e94dab geos: Upgrade to 3.9.3
Remove an upstreamed patch.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 16:34:48 -07:00
Zoltán Böszörményi
31b7025af5 proj: Upgrade to 8.2.1
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-01 09:38:38 -04: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
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08: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