summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-04-03 19:35:53 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-06 20:25:33 -0400
commit8eb7e5c1d0501ee8699a11ab265644b1ed9a8b8d (patch)
treed977aa15ad6159b77285a20d51a3b1a09c48b503
parent3497386ae49a05f26153de838bf83ea97bae07df (diff)
downloadmeta-openembedded-8eb7e5c1d0501ee8699a11ab265644b1ed9a8b8d.tar.gz
accountsservice: upgrade 0.6.55 -> 22.08.8
* backported patch can go * adjust systemd options Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch29
-rw-r--r--meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch18
-rw-r--r--meta-gnome/recipes-support/accountsservice/accountsservice_22.08.8.bb (renamed from meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb)11
3 files changed, 15 insertions, 43 deletions
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch
deleted file mode 100644
index 98b483d53e..0000000000
--- a/meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From bedec82615ca6858c3e9494650a5bbf33c710ebb Mon Sep 17 00:00:00 2001
2From: Luca Boccassi <bluca@debian.org>
3Date: Sun, 31 Oct 2021 12:29:14 +0000
4Subject: [PATCH] Fix build with meson 0.60
5
6Positional parameters to merge_file() were never allowed and always
7ignored, so just drop it.
8See: https://github.com/mesonbuild/meson/issues/9441
9
10Fixes #97
11
12Upstream-Status: Backport
13Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14---
15 data/meson.build | 1 -
16 1 file changed, 1 deletion(-)
17
18diff --git a/data/meson.build b/data/meson.build
19index 4987937..ed0e2c4 100644
20--- a/data/meson.build
21+++ b/data/meson.build
22@@ -29,7 +29,6 @@ configure_file(
23 policy = act_namespace.to_lower() + '.policy'
24
25 i18n.merge_file(
26- policy,
27 input: policy + '.in',
28 output: policy,
29 po_dir: po_dir,
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
index 429192cd0d..99bd09a6c3 100644
--- a/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
@@ -4,19 +4,20 @@ Date: Sun, 8 Dec 2019 23:42:00 +0100
4Subject: [PATCH] musl: Hack to fix configure 4Subject: [PATCH] musl: Hack to fix configure
5 5
6--- 6---
7 meson.build | 10 ++++++++-- 7 meson.build | 11 ++++++++---
8 1 file changed, 8 insertions(+), 2 deletions(-) 8 1 file changed, 8 insertions(+), 3 deletions(-)
9 9
10diff --git a/meson.build b/meson.build 10diff --git a/meson.build b/meson.build
11index 4465a26..726c9fe 100644 11index 075776f..dfd7421 100644
12--- a/meson.build 12--- a/meson.build
13+++ b/meson.build 13+++ b/meson.build
14@@ -82,8 +82,14 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC 14@@ -101,9 +101,14 @@ elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
15 elif cc.has_header_symbol('paths.h', '_PATH_WTMPX') 15
16 config_h.set('PATH_WTMP', '_PATH_WTMPX') 16 config_h.set('PATH_WTMP', '_PATH_WTMPX')
17 else 17 else
18- assert(run_command('test', '-e', '/var/log/utx.log').returncode() == 0, 'Do not know which filename to watch for wtmp changes') 18- path_wtmp = '/var/log/utx.log'
19- config_h.set_quoted('PATH_WTMP', '/var/log/utx.log') 19- assert(run_command('test', '-e', path_wtmp).returncode() == 0, 'Do not know which filename to watch for wtmp changes')
20- config_h.set_quoted('PATH_WTMP', path_wtmp)
20+ # musl: This is just a build fix hack. 21+ # musl: This is just a build fix hack.
21+ # As usual they know better, consider all other projects crap and offer zero 22+ # As usual they know better, consider all other projects crap and offer zero
22+ # alternatives: So wtmp is a dead stub only [1] (= /dev/null/wtmp - taken 23+ # alternatives: So wtmp is a dead stub only [1] (= /dev/null/wtmp - taken
@@ -28,3 +29,6 @@ index 4465a26..726c9fe 100644
28 endif 29 endif
29 30
30 # compiler flags 31 # compiler flags
32--
332.34.1
34
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb b/meta-gnome/recipes-support/accountsservice/accountsservice_22.08.8.bb
index 551ff5dc9d..439958c7d2 100644
--- a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice_22.08.8.bb
@@ -8,24 +8,21 @@ DEPENDS = " \
8 polkit \ 8 polkit \
9" 9"
10 10
11inherit meson gobject-introspection gtk-doc features_check systemd 11inherit meson gobject-introspection gtk-doc features_check systemd vala
12 12
13REQUIRED_DISTRO_FEATURES = "polkit" 13REQUIRED_DISTRO_FEATURES = "polkit"
14 14
15SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \ 15SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
16 file://0001-Fix-build-with-meson-0.60.patch \
17 "
18SRC_URI:append:libc-musl = " \ 16SRC_URI:append:libc-musl = " \
19 file://0001-musl-Hack-to-fix-build.patch \ 17 file://0001-musl-Hack-to-fix-build.patch \
20 file://0002-musl-add-missing-fgetspent_r.patch \ 18 file://0002-musl-add-missing-fgetspent_r.patch \
21" 19"
22SRC_URI[md5sum] = "6e4c6fbd490260cfe17de2e76f5d803a" 20SRC_URI[sha256sum] = "909997a76919fe7dc138a9a01cea70bd622d5a932dbc9fb13010113023a7a391"
23SRC_URI[sha256sum] = "ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b"
24 21
25GTKDOC_MESON_OPTION = "gtk_doc" 22GTKDOC_MESON_OPTION = "gtk_doc"
26 23
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
28PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false -Dsystemdsystemunitdir='no', systemd" 25PACKAGECONFIG[systemd] = ", -Dsystemdsystemunitdir='no', systemd"
29 26
30SYSTEMD_SERVICE:${PN} = "accounts-daemon.service" 27SYSTEMD_SERVICE:${PN} = "accounts-daemon.service"
31 28