Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnome-screenshot/files/, media-gfx/gnome-screenshot/
Date: Fri, 21 Jan 2022 16:47:35
Message-Id: 1642783563.1c77b4a64254da0b7dc1da5ec008049011788ab6.sam@gentoo
1 commit: 1c77b4a64254da0b7dc1da5ec008049011788ab6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 21 16:46:03 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 16:46:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c77b4a6
7
8 media-gfx/gnome-screenshot: fix build with meson 0.61
9
10 Closes: https://bugs.gentoo.org/831745
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 ...nome-screenshot-41.0-fix-meson-0.61-build.patch | 30 ++++++++++++++++++++++
14 .../gnome-screenshot/gnome-screenshot-41.0.ebuild | 4 ++-
15 2 files changed, 33 insertions(+), 1 deletion(-)
16
17 diff --git a/media-gfx/gnome-screenshot/files/gnome-screenshot-41.0-fix-meson-0.61-build.patch b/media-gfx/gnome-screenshot/files/gnome-screenshot-41.0-fix-meson-0.61-build.patch
18 new file mode 100644
19 index 000000000000..3d06a0e70388
20 --- /dev/null
21 +++ b/media-gfx/gnome-screenshot/files/gnome-screenshot-41.0-fix-meson-0.61-build.patch
22 @@ -0,0 +1,30 @@
23 +https://gitlab.gnome.org/GNOME/gnome-screenshot/-/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f.patch
24 +https://bugs.gentoo.org/831745
25 +
26 +From: Jack Hill <jackhill@××××××××.us>
27 +Date: Thu, 18 Nov 2021 00:46:58 -0500
28 +Subject: [PATCH] meson: remove extraneous positional argument
29 +
30 +* data/meson.build (desktop_file)
31 + (metainfo_file): Remove extraneous positional argument.
32 +
33 +Closes #186
34 +--- a/data/meson.build
35 ++++ b/data/meson.build
36 +@@ -1,7 +1,6 @@
37 + gnome = import('gnome')
38 +
39 + desktop_file = i18n.merge_file(
40 +- 'desktop',
41 + type: 'desktop',
42 + input: 'org.gnome.Screenshot.desktop.in',
43 + output: 'org.gnome.Screenshot.desktop',
44 +@@ -23,7 +22,6 @@ if desktop_file_validate.found()
45 + endif
46 +
47 + metainfo_file = i18n.merge_file(
48 +- 'appdata',
49 + input: 'org.gnome.Screenshot.metainfo.xml.in',
50 + output: 'org.gnome.Screenshot.metainfo.xml',
51 + po_dir: join_paths(meson.current_source_dir(), '../po'),
52 +GitLab
53
54 diff --git a/media-gfx/gnome-screenshot/gnome-screenshot-41.0.ebuild b/media-gfx/gnome-screenshot/gnome-screenshot-41.0.ebuild
55 index 2ae3882d508d..9c0e2fba9bbf 100644
56 --- a/media-gfx/gnome-screenshot/gnome-screenshot-41.0.ebuild
57 +++ b/media-gfx/gnome-screenshot/gnome-screenshot-41.0.ebuild
58 @@ -1,4 +1,4 @@
59 -# Copyright 1999-2021 Gentoo Authors
60 +# Copyright 1999-2022 Gentoo Authors
61 # Distributed under the terms of the GNU General Public License v2
62
63 EAPI=7
64 @@ -36,6 +36,8 @@ PATCHES=(
65 # Fix HiDPI handling in X11 fallback
66 # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/128
67 "${FILESDIR}"/${PN}-40.0-fix-hidpi.patch
68 +
69 + "${FILESDIR}"/${P}-fix-meson-0.61-build.patch
70 )
71
72 DOC_CONTENTS="${P} saves screenshots in ~/Pictures/ and defaults to