1 |
commit: 77ec3f42dbb2a2cc03d33429947a2561704597a2 |
2 |
Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be> |
3 |
AuthorDate: Sun Feb 20 14:49:50 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 21:16:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ec3f42 |
7 |
|
8 |
gnome-extra/gnome-characters: fix build with meson 0.61 |
9 |
|
10 |
Fix in upstream master but together with other things that I |
11 |
did not want to pull in, so just fixing the build problem in |
12 |
anticipation of a new upstream release. |
13 |
|
14 |
Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be> |
15 |
Closes: https://bugs.gentoo.org/831471 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/24282 |
17 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
18 |
|
19 |
.../files/fix-build-with-meson-0.61.patch | 20 ++++++++++++++++++++ |
20 |
.../gnome-characters/gnome-characters-41.0.ebuild | 6 +++++- |
21 |
2 files changed, 25 insertions(+), 1 deletion(-) |
22 |
|
23 |
diff --git a/gnome-extra/gnome-characters/files/fix-build-with-meson-0.61.patch b/gnome-extra/gnome-characters/files/fix-build-with-meson-0.61.patch |
24 |
new file mode 100644 |
25 |
index 000000000000..4033314ea517 |
26 |
--- /dev/null |
27 |
+++ b/gnome-extra/gnome-characters/files/fix-build-with-meson-0.61.patch |
28 |
@@ -0,0 +1,20 @@ |
29 |
+Part of https://gitlab.gnome.org/GNOME/gnome-characters/-/commit/3b84cc750b70482a1cc30864dc51cde60df0332d |
30 |
+https://bugs.gentoo.org/831471 |
31 |
+--- a/data/meson.build |
32 |
++++ b/data/meson.build |
33 |
+@@ -47,7 +47,6 @@ |
34 |
+ desktop_conf.set('bindir', characters_bindir) |
35 |
+ |
36 |
+ i18n.merge_file( |
37 |
+- 'desktop-file', |
38 |
+ type: 'desktop', |
39 |
+ input: configure_file ( |
40 |
+ input: characters_name + '.desktop.in', |
41 |
+@@ -61,7 +60,6 @@ |
42 |
+ ) |
43 |
+ |
44 |
+ appdata_file = i18n.merge_file( |
45 |
+- 'appdata-file', |
46 |
+ input: characters_name + '.appdata.xml.in', |
47 |
+ output: characters_application_id + '.appdata.xml', |
48 |
+ po_dir: po_dir, |
49 |
|
50 |
diff --git a/gnome-extra/gnome-characters/gnome-characters-41.0.ebuild b/gnome-extra/gnome-characters/gnome-characters-41.0.ebuild |
51 |
index 3154b414c2fc..94bf27f7f3b7 100644 |
52 |
--- a/gnome-extra/gnome-characters/gnome-characters-41.0.ebuild |
53 |
+++ b/gnome-extra/gnome-characters/gnome-characters-41.0.ebuild |
54 |
@@ -1,4 +1,4 @@ |
55 |
-# Copyright 1999-2021 Gentoo Authors |
56 |
+# Copyright 1999-2022 Gentoo Authors |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
|
59 |
EAPI=7 |
60 |
@@ -31,6 +31,10 @@ BDEPEND=" |
61 |
virtual/pkgconfig |
62 |
" |
63 |
|
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/fix-build-with-meson-0.61.patch |
66 |
+) |
67 |
+ |
68 |
pkg_postinst() { |
69 |
xdg_pkg_postinst |
70 |
gnome2_schemas_update |