commit:     9b4dbc2b6eab22ae41faf217a6b261898de346ba
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 29 11:52:52 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 29 16:33:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4dbc2b

media-gfx/krita: Fix desktop file QA warning

Reported-by: Marco Scardovi <marco <AT> scardovi.com>
Closes: https://bugs.gentoo.org/829987
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/krita-5.0.0-krita_jp2.desktop.patch      | 24 ++++++++++++++++++++++
 media-gfx/krita/krita-5.0.0-r1.ebuild              |  1 +
 2 files changed, 25 insertions(+)

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 <ast...@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 <ast...@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() {

Reply via email to