summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-21 22:38:48 +0100
committerKhem Raj <raj.khem@gmail.com>2022-01-24 09:11:01 -0800
commite203b58139ff27051fea30359f8ab20c809f3122 (patch)
treef0b3b98bea9d2de2736e32727b5a8c8a67a02361 /meta-gnome/recipes-support
parent229cc3463dbd0b4a32d913a8dcc4660aa0feaf50 (diff)
downloadmeta-openembedded-e203b58139ff27051fea30359f8ab20c809f3122.tar.gz
accountsservice: backport a meson 0.61 patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-support')
-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.patch8
-rw-r--r--meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch6
-rw-r--r--meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb4
4 files changed, 35 insertions, 12 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
new file mode 100644
index 000000000..98b483d53
--- /dev/null
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch
@@ -0,0 +1,29 @@
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 c2310fe46..429192cd0 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
@@ -1,10 +1,7 @@
1From 2a1c7103839c20df5ca9ce2fa863535d802f8f3a Mon Sep 17 00:00:00 2001 1From ff0718174faf1167fb4765ebe4bd280bbe8d2ac6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 8 Dec 2019 23:42:00 +0100 3Date: Sun, 8 Dec 2019 23:42:00 +0100
4Subject: [PATCH] musl: Hack to fix configure 4Subject: [PATCH] musl: Hack to fix configure
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8 5
9--- 6---
10 meson.build | 10 ++++++++-- 7 meson.build | 10 ++++++++--
@@ -31,6 +28,3 @@ index 4465a26..726c9fe 100644
31 endif 28 endif
32 29
33 # compiler flags 30 # compiler flags
34--
352.21.0
36
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch b/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
index 14161804e..2b0924b2e 100644
--- a/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
@@ -1,4 +1,4 @@
1From 820249ea8e38c568e6a36fbd9c852718c7665b56 Mon Sep 17 00:00:00 2001 1From 7401e682400df87f3258f795bb1d143f64a35a9f Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Mon, 9 Dec 2019 00:12:08 +0100 3Date: Mon, 9 Dec 2019 00:12:08 +0100
4Subject: [PATCH] musl: add missing fgetspent_r 4Subject: [PATCH] musl: add missing fgetspent_r
@@ -6,6 +6,7 @@ Subject: [PATCH] musl: add missing fgetspent_r
6Stolen from void-linux 6Stolen from void-linux
7 7
8Upstream-Status: Inappropriate [musl-specific] 8Upstream-Status: Inappropriate [musl-specific]
9
9--- 10---
10 src/daemon.c | 20 ++++++++++++++++++++ 11 src/daemon.c | 20 ++++++++++++++++++++
11 1 file changed, 20 insertions(+) 12 1 file changed, 20 insertions(+)
@@ -41,6 +42,3 @@ index c52bda3..a7676fe 100644
41 static struct passwd * 42 static struct passwd *
42 entry_generator_fgetpwent (Daemon *daemon, 43 entry_generator_fgetpwent (Daemon *daemon,
43 GHashTable *users, 44 GHashTable *users,
44--
452.21.0
46
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
index a19102e8f..26cc04b8e 100644
--- a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
@@ -12,7 +12,9 @@ inherit meson gobject-introspection gtk-doc features_check systemd
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 "
16SRC_URI:append:libc-musl = " \ 18SRC_URI:append:libc-musl = " \
17 file://0001-musl-Hack-to-fix-build.patch \ 19 file://0001-musl-Hack-to-fix-build.patch \
18 file://0002-musl-add-missing-fgetspent_r.patch \ 20 file://0002-musl-add-missing-fgetspent_r.patch \