Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-settings-daemon/, gnome-base/gnome-settings-daemon/files/
Date: Tue, 18 Jan 2022 22:52:05
Message-Id: 1642546310.033c972e1840474b3e3aa3b734dbacda7e1e71c6.sam@gentoo
1 commit: 033c972e1840474b3e3aa3b734dbacda7e1e71c6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 22:51:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 22:51:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033c972e
7
8 gnome-base/gnome-settings-daemon: fix build with meson 0.61
9
10 Closes: https://bugs.gentoo.org/831431
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 ...ome-settings-daemon-41.0-meson-0.61-build.patch | 32 ++++++++++++++++++++++
14 .../gnome-settings-daemon-41.0.ebuild | 1 +
15 2 files changed, 33 insertions(+)
16
17 diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-41.0-meson-0.61-build.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-41.0-meson-0.61-build.patch
18 new file mode 100644
19 index 000000000000..59aa0f433ae8
20 --- /dev/null
21 +++ b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-41.0-meson-0.61-build.patch
22 @@ -0,0 +1,32 @@
23 +https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/281.patch
24 +https://bugs.gentoo.org/831431
25 +
26 +From d88484002b5a0c8d2adccb2a5886a7da0a247d27 Mon Sep 17 00:00:00 2001
27 +From: Michal Vasilek <michal@×××××××.cz>
28 +Date: Fri, 14 Jan 2022 23:55:06 +0100
29 +Subject: [PATCH] build: remove positional i18n.merge_file arguments
30 +
31 +otherwise building with meson 0.61+ fails:
32 +
33 + ERROR: Function does not take positional arguments.
34 +--- a/plugins/power/meson.build
35 ++++ b/plugins/power/meson.build
36 +@@ -76,7 +76,6 @@ if host_is_linux
37 + )
38 +
39 + i18n.merge_file(
40 +- policy,
41 + input: policy_in,
42 + output: policy,
43 + po_dir: po_dir,
44 +--- a/plugins/wacom/meson.build
45 ++++ b/plugins/wacom/meson.build
46 +@@ -7,7 +7,6 @@ policy_in = configure_file(
47 + )
48 +
49 + i18n.merge_file(
50 +- policy,
51 + input: policy_in,
52 + output: policy,
53 + po_dir: po_dir,
54 +GitLab
55
56 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-41.0.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-41.0.ebuild
57 index b0e196bea8d6..f5bbb821b4c3 100644
58 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-41.0.ebuild
59 +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-41.0.ebuild
60 @@ -93,6 +93,7 @@ PATCHES=(
61 "${FILESDIR}"/${PN}-3.38.1-build-Make-colord-and-wacom-optional-and-controllabl.patch
62 "${FILESDIR}"/${PN}-3.38.1-build-Allow-NM-optional-on-Linux.patch
63 "${FILESDIR}"/${PN}-3.38.1-Allow-udev-optional-on-Linux.patch
64 + "${FILESDIR}"/${P}-meson-0.61-build.patch
65 )
66
67 python_check_deps() {