1 |
commit: 9b4dbc2b6eab22ae41faf217a6b261898de346ba |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 11:52:52 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 16:33:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4dbc2b |
7 |
|
8 |
media-gfx/krita: Fix desktop file QA warning |
9 |
|
10 |
Reported-by: Marco Scardovi <marco <AT> scardovi.com> |
11 |
Closes: https://bugs.gentoo.org/829987 |
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
.../files/krita-5.0.0-krita_jp2.desktop.patch | 24 ++++++++++++++++++++++ |
16 |
media-gfx/krita/krita-5.0.0-r1.ebuild | 1 + |
17 |
2 files changed, 25 insertions(+) |
18 |
|
19 |
diff --git a/media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch b/media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch |
20 |
new file mode 100644 |
21 |
index 000000000000..c678a9f05492 |
22 |
--- /dev/null |
23 |
+++ b/media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch |
24 |
@@ -0,0 +1,24 @@ |
25 |
+From e1b2760966b738f1d467013272035433f1666406 Mon Sep 17 00:00:00 2001 |
26 |
+From: Andreas Sturmlechner <asturm@g.o> |
27 |
+Date: Mon, 27 Dec 2021 15:25:25 +0100 |
28 |
+Subject: [PATCH] Fix duplicate "Type" key |
29 |
+ |
30 |
+Introduced by 542dcd306e236ec776a81e389d0a601387739e48 |
31 |
+ |
32 |
+Signed-off-by: Andreas Sturmlechner <asturm@g.o> |
33 |
+--- |
34 |
+ plugins/impex/jp2/krita_jp2.desktop | 1 - |
35 |
+ 1 file changed, 1 deletion(-) |
36 |
+ |
37 |
+diff --git a/plugins/impex/jp2/krita_jp2.desktop b/plugins/impex/jp2/krita_jp2.desktop |
38 |
+index 26c448f48b..7de190b247 100644 |
39 |
+--- a/plugins/impex/jp2/krita_jp2.desktop |
40 |
++++ b/plugins/impex/jp2/krita_jp2.desktop |
41 |
+@@ -120,4 +120,3 @@ Icon=krita |
42 |
+ StartupNotify=true |
43 |
+ NoDisplay=true |
44 |
+ Terminal=false |
45 |
+-Type=Application |
46 |
+-- |
47 |
+GitLab |
48 |
+ |
49 |
|
50 |
diff --git a/media-gfx/krita/krita-5.0.0-r1.ebuild b/media-gfx/krita/krita-5.0.0-r1.ebuild |
51 |
index 757396adc400..d2782068ebcc 100644 |
52 |
--- a/media-gfx/krita/krita-5.0.0-r1.ebuild |
53 |
+++ b/media-gfx/krita/krita-5.0.0-r1.ebuild |
54 |
@@ -89,6 +89,7 @@ BDEPEND=" |
55 |
PATCHES=( |
56 |
"${FILESDIR}"/${PN}-4.3.1-tests-optional.patch |
57 |
"${FILESDIR}"/${P}-clang.patch # bug 830225 |
58 |
+ "${FILESDIR}"/${P}-krita_jp2.desktop.patch # bug 829987 |
59 |
) |
60 |
|
61 |
pkg_setup() { |