diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-21 22:38:48 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-24 09:11:01 -0800 |
| commit | e203b58139ff27051fea30359f8ab20c809f3122 (patch) | |
| tree | f0b3b98bea9d2de2736e32727b5a8c8a67a02361 /meta-gnome/recipes-support | |
| parent | 229cc3463dbd0b4a32d913a8dcc4660aa0feaf50 (diff) | |
| download | meta-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')
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 0000000000..98b483d53e --- /dev/null +++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-Fix-build-with-meson-0.60.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From bedec82615ca6858c3e9494650a5bbf33c710ebb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Luca Boccassi <bluca@debian.org> | ||
| 3 | Date: Sun, 31 Oct 2021 12:29:14 +0000 | ||
| 4 | Subject: [PATCH] Fix build with meson 0.60 | ||
| 5 | |||
| 6 | Positional parameters to merge_file() were never allowed and always | ||
| 7 | ignored, so just drop it. | ||
| 8 | See: https://github.com/mesonbuild/meson/issues/9441 | ||
| 9 | |||
| 10 | Fixes #97 | ||
| 11 | |||
| 12 | Upstream-Status: Backport | ||
| 13 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 14 | --- | ||
| 15 | data/meson.build | 1 - | ||
| 16 | 1 file changed, 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/data/meson.build b/data/meson.build | ||
| 19 | index 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 c2310fe46c..429192cd0d 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 @@ | |||
| 1 | From 2a1c7103839c20df5ca9ce2fa863535d802f8f3a Mon Sep 17 00:00:00 2001 | 1 | From ff0718174faf1167fb4765ebe4bd280bbe8d2ac6 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Sun, 8 Dec 2019 23:42:00 +0100 | 3 | Date: Sun, 8 Dec 2019 23:42:00 +0100 |
| 4 | Subject: [PATCH] musl: Hack to fix configure | 4 | Subject: [PATCH] musl: Hack to fix configure |
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-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 | -- | ||
| 35 | 2.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 14161804ea..2b0924b2e4 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 @@ | |||
| 1 | From 820249ea8e38c568e6a36fbd9c852718c7665b56 Mon Sep 17 00:00:00 2001 | 1 | From 7401e682400df87f3258f795bb1d143f64a35a9f Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Mon, 9 Dec 2019 00:12:08 +0100 | 3 | Date: Mon, 9 Dec 2019 00:12:08 +0100 |
| 4 | Subject: [PATCH] musl: add missing fgetspent_r | 4 | Subject: [PATCH] musl: add missing fgetspent_r |
| @@ -6,6 +6,7 @@ Subject: [PATCH] musl: add missing fgetspent_r | |||
| 6 | Stolen from void-linux | 6 | Stolen from void-linux |
| 7 | 7 | ||
| 8 | Upstream-Status: Inappropriate [musl-specific] | 8 | Upstream-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 | -- | ||
| 45 | 2.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 a19102e8f6..26cc04b8e2 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 | ||
| 13 | REQUIRED_DISTRO_FEATURES = "polkit" | 13 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 14 | 14 | ||
| 15 | SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz" | 15 | SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz \ |
| 16 | file://0001-Fix-build-with-meson-0.60.patch \ | ||
| 17 | " | ||
| 16 | SRC_URI:append:libc-musl = " \ | 18 | SRC_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 \ |
