aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2022-12-10 07:29:16 +0100
committerKhem Raj <raj.khem@gmail.com>2022-12-10 23:06:36 -0800
commit1deb06f77f71d5bab74afa02fa86b141fe37f2f9 (patch)
treeeb9323e5395f789736877847b0ec41cf2c31cd6c /meta-oe/recipes-navigation
parent1956873d68075e1bfcf8f309ecfb5b502a8b798a (diff)
downloadmeta-openembedded-contrib-1deb06f77f71d5bab74afa02fa86b141fe37f2f9.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb (renamed from meta-oe/recipes-navigation/geoclue/geoclue_2.5.7.bb)16
1 files changed, 13 insertions, 3 deletions
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.5.7.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb
index 3abb629446..61b37cd9e8 100644
--- a/meta-oe/recipes-navigation/geoclue/geoclue_2.5.7.bb
+++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb
@@ -8,11 +8,11 @@ SECTION = "console/network"
LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6"
-DEPENDS = "glib-2.0 dbus json-glib libsoup-2.4 intltool-native"
+DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native"
-inherit meson pkgconfig gtk-doc gobject-introspection vala
+inherit meson pkgconfig gtk-doc gobject-introspection vala useradd
-SRCREV = "3bb60dd600a8b247fd6049e7e5b1c73c2c5fc0e8"
+SRCREV = "becfa5837cfafa064219a5ab2c2a4eaf35b24c0b"
SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
@@ -34,8 +34,18 @@ EXTRA_OEMESON += " \
-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() {
+ #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
+}
+
FILES:${PN} += " \
${datadir}/dbus-1/system-services \
+ ${datadir}/polkit-1/rules.d \
${libdir} \
${systemd_unitdir} \
${prefix}/libexec \