28 Commits

Author SHA1 Message Date
Wang Mingyu
276c009bee
geoclue: upgrade 2.7.2 -> 2.8.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:28:22 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Yi Zhao
abf6f077a3
geoclue: upgrade 2.7.1 -> 2.7.2
ChangeLog:
https://gitlab.freedesktop.org/geoclue/geoclue/-/releases/2.7.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Markus Volk
84d6e138cb
cleanup after polkit fix
This commit removes the need to fix polkit permissions:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1

That allows to do some cleanup

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-01 15:54:30 -07:00
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
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
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
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
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
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
zangrc
7a9fc0b161 geoclue: upgrade 2.5.6 -> 2.5.7
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-05 09:16:27 -08:00
Khem Raj
517998abcd geoclue: Use git fetcher
gitlab archives are not consistent and can be regenerated as well like
github, its therefore better to use git fetcher directly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03 11:42:27 -08:00
Andreas Müller
829fd31ade geoclue: upgrade 2.5.3 -> 2.5.6
While at it:
* remove unnecessary exports
* minor recipe cleanup

Release notes [1]

2.5.6:
* Fix crashes in WiFi handling code.
* Plug a leak.

2.5.5:
* Plug another leak.
* Fix another buffer overflow.
* Fix WiFi-geolocation that got broken in 2.5.4.
* Put freequently used small strings on the stack to avoid excessive memory usage.

2.5.4:
* Plug a leak that becomes pretty huge after a while of running Geoclue.
* Fix a buffer-overflow.

[1] https://gitlab.freedesktop.org/geoclue/geoclue/-/releases

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-09 13:00:23 -07:00
Chenxi Mao
9239584e71 geoclue: select avahi-daemon if nmea enabled
geoclue serivce rely on avahi-daemon, so enable it by default.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-11 21:58:29 -07:00
Herman van Hazendonk
c6afebe0ec Geoclue: Update to 2.5.3
* Switch to Meson build system.
* Fix a crash.
* Support for GGA messages from more NMEA sources.
* New API to allow automatic server side deletion of client.
* Automatically delete client on server when using GClueSimple.
* Avoid linking to system-installed library.
* Fix library-only build.
* Add manpage for geoclue.conf file.
* Document usage and building of the project.
* Other fixes and improvements.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-24 10:11:28 -07:00
Martin Jansa
fd5455aa98 geoclue: inherit gobject-introspection
* remove gobject-introspection-native dependency which is added by the
  bbclass
* fixes:
  TOPDIR/tmpfs/work/armv5te-oe-linux-gnueabi/geoclue/2.4.4-r0/recipe-sysroot/usr/bin/g-ir-scanner-lddwrapper: 2: TOPDIR/tmpfs/work/armv5te-oe-linux-gnueabi/geoclue/2.4.4-r0/recipe-sysroot/usr/bin/g-ir-scanner-lddwrapper: prelink-rtld: not found
  TOPDIR/tmpfs/work/armv5te-oe-linux-gnueabi/geoclue/2.4.4-r0/recipe-sysroot/usr/bin/g-ir-scanner-qemuwrapper: 6: TOPDIR/tmpfs/work/armv5te-oe-linux-gnueabi/geoclue/2.4.4-r0/recipe-sysroot/usr/bin/g-ir-scanner-qemuwrapper: qemu-arm: not found
  If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
  (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
  reported by world builds since:
  http://logs.nslu2-linux.org/buildlogs/oe/world/sumo/log.report.20180311_083331.log
  http://errors.yoctoproject.org/Errors/Details/170607/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Martin Jansa
035dd6b711 geoclue: unblacklist, modemmanager was fixed
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 21:38:39 +01:00
Martin Jansa
00ba7da845 recipes: blacklist recipes depending on blacklisted recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:44:35 +01:00
Martin Jansa
a975cd8e98 geoclue: add missing dependency on gobject-introspection-native
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:26 +01:00
Zeeshan Ali
e05f59e096 geoclue: Update to 2.4.4
Also drop redundant and now unusable patch.

Signed-off-by: Zeeshan Ali <zeeshan.ali@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:49 +02:00
Martin Jansa
8d84f588eb geoclue: add missing intltool-native dependency
* fixes:
  | checking pkg-config is at least version 0.22... yes
  | ../geoclue-2.0.0/configure: line 16260: syntax error near unexpected token `0.40.0'
  | ../geoclue-2.0.0/configure: line 16260: `IT_PROG_INTLTOOL(0.40.0)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:21:38 +02:00
Martin Jansa
3f60517f5f geoclue: add PACKAGECONFIG for geoip
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:17:08 +02:00
Martin Jansa
4d62e7f575 recipes: Remove PR = r0 from all recipes
* Remove all PR = "r0" from all .bb files in meta-oe repo. This was done
  with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i

* We've switching to the PR server, PR bumps are no longer needed and
  this saves people either accidentally bumping them or forgetting to
  remove the lines (r0 is the default anyway).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-01 15:33:16 +01:00
Felipe F. Tonello
595bcead12 geoclue: Add recipe for GeoClue 2.0.0
Geoclue is a D-Bus service that provides location information. The primary
goal of the Geoclue project is to make creating location-aware applications as
simple as possible, while the secondary goal is to ensure that no application
can access location information without explicit permission from user.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:24 +02:00