From daae12f560007c59af37ae446cd4be477dae0089 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 16 Feb 2023 16:33:21 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../recipes-navigation/geoclue/geoclue_2.6.0.bb | 59 ---------------------- .../recipes-navigation/geoclue/geoclue_2.7.0.bb | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb create mode 100644 meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb (limited to 'meta-oe/recipes-navigation') diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb deleted file mode 100644 index 798a9c16b6..0000000000 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb +++ /dev/null @@ -1,59 +0,0 @@ -SUMMARY = "The Geolocation Service" -DESCRIPTION = "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." -LICENSE = "GPL-2.0-or-later" -SECTION = "console/network" - -LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6" - -DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" - -inherit meson pkgconfig gtk-doc gobject-introspection vala useradd - -SRCREV = "becfa5837cfafa064219a5ab2c2a4eaf35b24c0b" -SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1" - -S = "${WORKDIR}/git" - -# Without this line, package is declared a library and named libgeoclue* -AUTO_LIBNAME_PKGS = "" - -PACKAGECONFIG ??= "3g modem-gps cdma nmea lib" -PACKAGECONFIG[3g] = "-D3g-source=true,-D3g-source=false,modemmanager" -PACKAGECONFIG[modem-gps] = "-Dmodem-gps-source=true,-Dmodem-gps-source=false,modemmanager" -PACKAGECONFIG[cdma] = "-Dcdma-source=true,-Dcdma-source=false,modemmanager" -PACKAGECONFIG[nmea] = "-Dnmea-source=true,-Dnmea-source=false,avahi,avahi-daemon" -PACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false,gobject-introspection" - -GTKDOC_MESON_OPTION = "gtk-doc" - -EXTRA_OEMESON += " \ - -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ - -Ddemo-agent=false \ -" - -USERADD_PACKAGES = "${PN}" -USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" - -do_install:append() { - if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then - # Fix up permissions on polkit rules.d to work with rpm4 constraints - chmod 700 ${D}/${datadir}/polkit-1/rules.d - chown polkitd:root ${D}/${datadir}/polkit-1/rules.d - fi -} - -FILES:${PN} += " \ - ${datadir}/dbus-1/system-services \ - ${datadir}/polkit-1/rules.d \ - ${libdir} \ - ${systemd_unitdir} \ - ${prefix}/libexec \ -" - -FILES:${PN}-dev += " \ - ${datadir}/dbus-1/interfaces \ - ${datadir}/gir-1.0 \ -" diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb new file mode 100644 index 0000000000..f7039b5916 --- /dev/null +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb @@ -0,0 +1,59 @@ +SUMMARY = "The Geolocation Service" +DESCRIPTION = "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." +LICENSE = "GPL-2.0-or-later" +SECTION = "console/network" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6" + +DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" + +inherit meson pkgconfig gtk-doc gobject-introspection vala useradd + +SRCREV = "bbfb6289dedb88cb8155d9f6868787d5432e1f90" +SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1" + +S = "${WORKDIR}/git" + +# Without this line, package is declared a library and named libgeoclue* +AUTO_LIBNAME_PKGS = "" + +PACKAGECONFIG ??= "3g modem-gps cdma nmea lib" +PACKAGECONFIG[3g] = "-D3g-source=true,-D3g-source=false,modemmanager" +PACKAGECONFIG[modem-gps] = "-Dmodem-gps-source=true,-Dmodem-gps-source=false,modemmanager" +PACKAGECONFIG[cdma] = "-Dcdma-source=true,-Dcdma-source=false,modemmanager" +PACKAGECONFIG[nmea] = "-Dnmea-source=true,-Dnmea-source=false,avahi,avahi-daemon" +PACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false,gobject-introspection" + +GTKDOC_MESON_OPTION = "gtk-doc" + +EXTRA_OEMESON += " \ + -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ + -Ddemo-agent=false \ +" + +USERADD_PACKAGES = "${PN}" +USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" + +do_install:append() { + if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then + # Fix up permissions on polkit rules.d to work with rpm4 constraints + chmod 700 ${D}/${datadir}/polkit-1/rules.d + chown polkitd:root ${D}/${datadir}/polkit-1/rules.d + fi +} + +FILES:${PN} += " \ + ${datadir}/dbus-1/system-services \ + ${datadir}/polkit-1/rules.d \ + ${libdir} \ + ${systemd_unitdir} \ + ${prefix}/libexec \ +" + +FILES:${PN}-dev += " \ + ${datadir}/dbus-1/interfaces \ + ${datadir}/gir-1.0 \ +" -- cgit v1.2.3-54-g00ecf