All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Volk <f_l_k@t-online.de>
To: openembedded-devel@lists.openembedded.org
Cc: Markus Volk <f_l_k@t-online.de>
Subject: [meta-gnome][PATCHv2 10/14] polkit: add recipe for v122
Date: Sun, 27 Nov 2022 00:03:47 +0100	[thread overview]
Message-ID: <20221126230351.1431843-10-f_l_k@t-online.de> (raw)
In-Reply-To: <20221126230351.1431843-1-f_l_k@t-online.de>

autotools buildsystem has been dropped

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-extended/polkit/polkit_122.bb | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-extended/polkit/polkit_122.bb

diff --git a/meta-oe/recipes-extended/polkit/polkit_122.bb b/meta-oe/recipes-extended/polkit/polkit_122.bb
new file mode 100644
index 000000000..36977fb49
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit_122.bb
@@ -0,0 +1,49 @@
+SUMMARY = "PolicyKit Authorization Framework"
+DESCRIPTION = "The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
+HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit"
+LICENSE = "LGPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb"
+
+SRC_URI = "git://github.com/freedesktop/polkit.git;protocol=https;branch=master"
+
+S = "${WORKDIR}/git"
+SRCREV = "da87c5698019897dd731bb2cbb54ebd9c9481f52"
+
+DEPENDS = "expat glib-2.0"
+
+inherit meson pkgconfig useradd systemd gettext gobject-introspection features_check
+
+REQUIRED_DISTRO_FEATURES = "polkit"
+
+PACKAGECONFIG = " \
+	${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
+	${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit', d)} \
+	dbus \
+	mozjs \
+"
+PACKAGECONFIG[dbus] = ",,dbus"
+PACKAGECONFIG[gtk-doc] = "-Dgtk_doc=true,-Dgtk_doc=false,gtk-doc-native"
+PACKAGECONFIG[pam] = "-Dauthfw=pam,-Dauthfw=shadow,libpam,libpam"
+PACKAGECONFIG[systemd] = "-Dsession_tracking=libsystemd-login,-session_tracking=ConsoleKit,systemd"
+PACKAGECONFIG[consolekit] = ",,,consolekit"
+
+# Default to mozjs javascript library
+PACKAGECONFIG[mozjs] = "-Djs_engine=mozjs,,mozjs-102,,,duktape"
+# duktape javascript engine is much smaller and faster but is not compatible with
+# same javascript standards as mozjs. For example array.includes() function is not
+# supported. Test rule compatibility when switching to duktape.
+PACKAGECONFIG[duktape] = "-Djs_engine=duktape,,duktape,,,mozjs"
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 --shell /bin/nologin polkitd"
+
+SYSTEMD_SERVICE:${PN} = "${BPN}.service"
+SYSTEMD_AUTO_ENABLE = "disable"
+
+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} += "${libdir}/polkit-1 ${datadir}"
-- 
2.34.1



  parent reply	other threads:[~2022-11-26 23:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 23:03 [meta-gnome][PATCHv2 01/14] libgweather: update 4.0.0 -> 4.2.0 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 02/14] geocode-glib: build with libsoup-3.0 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 03/14] evolution-data-server: update 3.44.2 -> 3.46.1 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 04/14] gjs: update 1.72.2 -> 1.75.1 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 05/14] libgdata: use gcr3 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 06/14] mutter: update 42.0 -> 43.1 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 07/14] gnome-shell: " Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 08/14] gnome-settings-daemon: update 42.1 -> 43.0 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 09/14] mozjs: update 98 -> 102 Markus Volk
2022-11-26 23:03 ` Markus Volk [this message]
2022-11-26 23:03 ` [meta-gnome][PATCHv2 11/14] gnome-online-accounts: use gcr3 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 12/14] gnome-keyring: " Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 13/14] libnma: update 1.8.38 -> 1.10.4 Markus Volk
2022-11-26 23:03 ` [meta-gnome][PATCHv2 14/14] geary: build with gcr3 Markus Volk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221126230351.1431843-10-f_l_k@t-online.de \
    --to=f_l_k@t-online.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.