commit: 1d8124918ec0cf8cec6dbac8aa84cbd84855b2ea Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com> AuthorDate: Mon Sep 12 17:27:32 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Sep 13 07:49:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d812491
media-sound/clementine: fix desktop file QA notice This fixes QA notice complaning that OnlyShowIn key for action groups is deprecated. See gentoo bug 460412#3 Closes: https://github.com/gentoo/gentoo/pull/2311 Signed-off-by: David Seifert <soap <AT> gentoo.org> ...-1.3.1-r2.ebuild => clementine-1.3.1-r3.ebuild} | 1 + .../files/clementine-1.3.1-fix-desktop-file.patch | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/media-sound/clementine/clementine-1.3.1-r2.ebuild b/media-sound/clementine/clementine-1.3.1-r3.ebuild similarity index 99% rename from media-sound/clementine/clementine-1.3.1-r2.ebuild rename to media-sound/clementine/clementine-1.3.1-r3.ebuild index 18f42ef..d0baf97 100644 --- a/media-sound/clementine/clementine-1.3.1-r2.ebuild +++ b/media-sound/clementine/clementine-1.3.1-r3.ebuild @@ -94,6 +94,7 @@ S="${WORKDIR}/${MY_P^}" PATCHES=( "${FILESDIR}"/${PN}-1.3-fix-tokenizer.patch + "${FILESDIR}"/${P}-fix-desktop-file.patch ) src_prepare() { diff --git a/media-sound/clementine/files/clementine-1.3.1-fix-desktop-file.patch b/media-sound/clementine/files/clementine-1.3.1-fix-desktop-file.patch new file mode 100644 index 00000000..bb56131 --- /dev/null +++ b/media-sound/clementine/files/clementine-1.3.1-fix-desktop-file.patch @@ -0,0 +1,52 @@ +This patch fixes gentoo QA notices against the desktop file (see gentoo bug 460412#3) +Based upon patch extracted from upstream git; original patch info: +commit 04f73d125365d97fa6f72677ec5d220292690e56 +Author: Golubev Alexander <fatz...@gmail.com> +Date: Mon Jul 18 13:45:03 2016 +0400 + + Remove OnlyShowIn=Unity from clementine.desktop's action sections (#5444) + +diff --git a/dist/clementine.desktop b/dist/clementine.desktop +index 2fb9559..9ee881e 100644 +--- a/dist/clementine.desktop ++++ b/dist/clementine.desktop +@@ -38,7 +38,6 @@ Actions=Play;Pause;Stop;Previous;Next; + [Desktop Action Play] + Name=Play + Exec=clementine --play +-OnlyShowIn=Unity; + Name[af]=Speel + Name[be]=Прайграць + Name[bg]=Възпроизвеждане +@@ -89,7 +88,6 @@ Name[zh_TW]=播放 + [Desktop Action Pause] + Name=Pause + Exec=clementine --pause +-OnlyShowIn=Unity; + Name[be]=Прыпыніць + Name[bg]=Пауза + Name[br]=Ehan +@@ -135,7 +133,6 @@ Name[zh_TW]=暫停 + [Desktop Action Stop] + Name=Stop + Exec=clementine --stop +-OnlyShowIn=Unity; + Name[be]=Спыніць + Name[bg]=Спиране + Name[br]=Paouez +@@ -184,7 +181,6 @@ Name[zh_TW]=停止 + [Desktop Action Previous] + Name=Previous + Exec=clementine --previous +-OnlyShowIn=Unity; + Name[af]=Vorige + Name[be]=Папярэдні + Name[bg]=Предишна +@@ -232,7 +228,6 @@ Name[zh_TW]=往前 + [Desktop Action Next] + Name=Next + Exec=clementine --next +-OnlyShowIn=Unity; + Name[af]=Volgende + Name[be]=Далей + Name[bg]=Следваща