summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-12-29 12:52:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-12-29 17:33:46 +0100
commit9b4dbc2b6eab22ae41faf217a6b261898de346ba (patch)
tree25465f7c46c041f5decc0199e3e7d32fde0fbc90 /media-gfx/krita
parentmedia-gfx/krita: Fix build with clang (diff)
downloadgentoo-9b4dbc2b6eab22ae41faf217a6b261898de346ba.tar.gz
gentoo-9b4dbc2b6eab22ae41faf217a6b261898de346ba.tar.bz2
gentoo-9b4dbc2b6eab22ae41faf217a6b261898de346ba.zip
media-gfx/krita: Fix desktop file QA warning
Reported-by: Marco Scardovi <marco@scardovi.com> Closes: https://bugs.gentoo.org/829987 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/krita')
-rw-r--r--media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch24
-rw-r--r--media-gfx/krita/krita-5.0.0-r1.ebuild1
2 files changed, 25 insertions, 0 deletions
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
new file mode 100644
index 000000000000..c678a9f05492
--- /dev/null
+++ b/media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch
@@ -0,0 +1,24 @@
+From e1b2760966b738f1d467013272035433f1666406 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 27 Dec 2021 15:25:25 +0100
+Subject: [PATCH] Fix duplicate "Type" key
+
+Introduced by 542dcd306e236ec776a81e389d0a601387739e48
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ plugins/impex/jp2/krita_jp2.desktop | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/plugins/impex/jp2/krita_jp2.desktop b/plugins/impex/jp2/krita_jp2.desktop
+index 26c448f48b..7de190b247 100644
+--- a/plugins/impex/jp2/krita_jp2.desktop
++++ b/plugins/impex/jp2/krita_jp2.desktop
+@@ -120,4 +120,3 @@ Icon=krita
+ StartupNotify=true
+ NoDisplay=true
+ Terminal=false
+-Type=Application
+--
+GitLab
+
diff --git a/media-gfx/krita/krita-5.0.0-r1.ebuild b/media-gfx/krita/krita-5.0.0-r1.ebuild
index 757396adc400..d2782068ebcc 100644
--- a/media-gfx/krita/krita-5.0.0-r1.ebuild
+++ b/media-gfx/krita/krita-5.0.0-r1.ebuild
@@ -89,6 +89,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-4.3.1-tests-optional.patch
"${FILESDIR}"/${P}-clang.patch # bug 830225
+ "${FILESDIR}"/${P}-krita_jp2.desktop.patch # bug 829987
)
pkg_setup() {