1 |
commit: bb4c69bb3eec7768ec55dfa21a1ec60be70d63ac |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 10:52:57 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 10:52:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4c69bb |
7 |
|
8 |
sys-apps/gnome-disk-utility: fix build with meson 0.61 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831552 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../gnome-disk-utility-41.0-meson-0.61-build.patch | 28 ++++++++++++++++++++++ |
14 |
.../gnome-disk-utility-41.0.ebuild | 6 ++++- |
15 |
2 files changed, 33 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-apps/gnome-disk-utility/files/gnome-disk-utility-41.0-meson-0.61-build.patch b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-41.0-meson-0.61-build.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..c28b9002575e |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-41.0-meson-0.61-build.patch |
22 |
@@ -0,0 +1,28 @@ |
23 |
+https://gitlab.gnome.org/GNOME/gnome-disk-utility/-/commit/46ed7d26873b9741dff61f9df8e7778a8dc6f5cc |
24 |
+https://bugs.gentoo.org/831552 |
25 |
+ |
26 |
+From: rvalue <i@××××××.moe> |
27 |
+Date: Fri, 17 Dec 2021 12:29:30 +0000 |
28 |
+Subject: [PATCH] build: fix arguments of i18n.merge_file |
29 |
+ |
30 |
+`i18n.merge_file` has been ignoring positional arguments for a time |
31 |
+and explicitly rejects with error since meson 0.60.0 |
32 |
+--- a/data/meson.build |
33 |
++++ b/data/meson.build |
34 |
+@@ -11,7 +11,6 @@ desktops = [ |
35 |
+ |
36 |
+ foreach desktop: desktops |
37 |
+ i18n.merge_file ( |
38 |
+- desktop, |
39 |
+ type: 'desktop', |
40 |
+ input: desktop + '.in', |
41 |
+ output: desktop, |
42 |
+@@ -38,7 +37,6 @@ install_data( |
43 |
+ info = 'org.gnome.DiskUtility.appdata.xml' |
44 |
+ |
45 |
+ i18n.merge_file( |
46 |
+- info, |
47 |
+ input: info + '.in', |
48 |
+ output: info, |
49 |
+ po_dir: po_dir, |
50 |
+GitLab |
51 |
|
52 |
diff --git a/sys-apps/gnome-disk-utility/gnome-disk-utility-41.0.ebuild b/sys-apps/gnome-disk-utility/gnome-disk-utility-41.0.ebuild |
53 |
index 8a105cdcc510..29b765c1c98d 100644 |
54 |
--- a/sys-apps/gnome-disk-utility/gnome-disk-utility-41.0.ebuild |
55 |
+++ b/sys-apps/gnome-disk-utility/gnome-disk-utility-41.0.ebuild |
56 |
@@ -1,4 +1,4 @@ |
57 |
-# Copyright 1999-2021 Gentoo Authors |
58 |
+# Copyright 1999-2022 Gentoo Authors |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
EAPI=7 |
62 |
@@ -43,6 +43,10 @@ BDEPEND=" |
63 |
virtual/pkgconfig |
64 |
" |
65 |
|
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${P}-meson-0.61-build.patch |
68 |
+) |
69 |
+ |
70 |
src_configure() { |
71 |
local emesonargs=( |
72 |
-Dlogind=$(usex systemd libsystemd $(usex elogind libelogind none)) |