From f3e2afd6c4152016a3ccf86eeade87ad52c12a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 5 May 2022 01:02:45 +0200 Subject: [PATCH] polkit-gnome: Add 0.105+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was me who removed it from meta-oe - now cinnamon adjustments floating around make me want it again. Signed-off-by: Andreas Müller --- recipes-gnome/polkit-gnome/polkit-gnome.bb | 26 +++++++++++++++++++ .../polkit-gnome/gtk-doc-check.patch | 12 +++++++++ 2 files changed, 38 insertions(+) create mode 100644 recipes-gnome/polkit-gnome/polkit-gnome.bb create mode 100644 recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch diff --git a/recipes-gnome/polkit-gnome/polkit-gnome.bb b/recipes-gnome/polkit-gnome/polkit-gnome.bb new file mode 100644 index 0000000..4a762cf --- /dev/null +++ b/recipes-gnome/polkit-gnome/polkit-gnome.bb @@ -0,0 +1,26 @@ +SUMMARY = "GNOME Authentication Agent for PolicyKit" +LICENSE = "LGPL-2.0-or-later" +LIC_FILES_CHKSUM = " \ + file://COPYING;md5=74579fab173e4c5e12aac0cd83ee98ec \ + file://src/main.c;beginline=1;endline=20;md5=aba145d1802f2329ba561e3e48ecb795 \ +" + +DEPENDS = " \ + intltool-native \ + glib-2.0-native \ + polkit \ + gtk+3 \ + gnome-common \ +" + +inherit autotools pkgconfig gtk-doc features_check + +REQUIRED_DISTRO_FEATURES = "x11 polkit" + +SRC_URI = " \ + git://gitlab.gnome.org/Archive/policykit-gnome.git;branch=master;protocol=https \ + file://gtk-doc-check.patch \ +" +SRCREV = "a0763a246a81188f60b0f9810143e49224dc752f" +S = "${WORKDIR}/git" +PV = "0.105+git${SRCPV}" diff --git a/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch b/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch new file mode 100644 index 0000000..4b6ad75 --- /dev/null +++ b/recipes-gnome/polkit-gnome/polkit-gnome/gtk-doc-check.patch @@ -0,0 +1,12 @@ +--- polkit-gnome-0.105/configure.ac.org 2015-05-04 22:33:03.925977953 -0700 ++++ polkit-gnome-0.105/configure.ac 2015-05-04 22:33:16.862288030 -0700 +@@ -120,6 +120,9 @@ + # Check for required packages + # *************************** + ++# check for gtk-doc ++GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) ++ + POLKIT_AGENT_REQUIRED=0.97 + POLKIT_GOBJECT_REQUIRED=0.97 + GTK_REQUIRED=3.0.0