From 9b4dbc2b6eab22ae41faf217a6b261898de346ba Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 29 Dec 2021 12:52:52 +0100 Subject: [PATCH] media-gfx/krita: Fix desktop file QA warning Reported-by: Marco Scardovi Closes: https://bugs.gentoo.org/829987 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner --- .../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(+) create mode 100644 media-gfx/krita/files/krita-5.0.0-krita_jp2.desktop.patch 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 0000000000000..c678a9f054920 --- /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 +Date: Mon, 27 Dec 2021 15:25:25 +0100 +Subject: [PATCH] Fix duplicate "Type" key + +Introduced by 542dcd306e236ec776a81e389d0a601387739e48 + +Signed-off-by: Andreas Sturmlechner +--- + 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 757396adc4006..d2782068ebcc6 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() {