From patchwork Sat Dec 10 05:55:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 16601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CB0FC4332F for ; Sat, 10 Dec 2022 05:56:30 +0000 (UTC) Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by mx.groups.io with SMTP id smtpd.web11.9500.1670651784132132314 for ; Fri, 09 Dec 2022 21:56:24 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.82, mailfrom: f_l_k@t-online.de) Received: from fwd75.dcpf.telekom.de (fwd75.aul.t-online.de [10.223.144.101]) by mailout05.t-online.de (Postfix) with SMTP id F0AB421C83 for ; Sat, 10 Dec 2022 06:55:43 +0100 (CET) Received: from flk-MS-7C91.fritz.box ([79.219.225.165]) by fwd75.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1p3spo-1sfPVZ0; Sat, 10 Dec 2022 06:55:40 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Cc: Markus Volk Subject: [meta-gnome][PATCHv2] geoclue: update to latest commit to allow to build with libsoup-3.0 Date: Sat, 10 Dec 2022 06:55:32 +0100 Message-Id: <20221210055532.599338-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1670651740-3D081535-BE9AFFAC/0/0 CLEAN NORMAL X-TOI-MSGID: dfb9a2fc-ce1f-4519-9053-8cfc58e23c12 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 10 Dec 2022 05:56:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/100018 Hereby gnome-session will be buildable without libsoup2 - fix polkit-1 directory permissions Signed-off-by: Markus Volk --- .../{geoclue_2.5.7.bb => geoclue_2.6.0.bb} | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) rename meta-oe/recipes-navigation/geoclue/{geoclue_2.5.7.bb => geoclue_2.6.0.bb} (72%) diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.5.7.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb similarity index 72% rename from meta-oe/recipes-navigation/geoclue/geoclue_2.5.7.bb rename to meta-oe/recipes-navigation/geoclue/geoclue_2.6.0.bb index 3abb62944..eb6a2c4f1 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}/${BPN}-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 \