diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-09-12 20:27:32 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-13 09:49:22 +0200 |
commit | 1d8124918ec0cf8cec6dbac8aa84cbd84855b2ea (patch) | |
tree | ec74790e8914042d74b245bbd9a460e8a5b4823c /media-sound/clementine | |
parent | dev-python/rpy: remove unused patch (diff) | |
download | gentoo-1d8124918ec0cf8cec6dbac8aa84cbd84855b2ea.tar.gz gentoo-1d8124918ec0cf8cec6dbac8aa84cbd84855b2ea.tar.bz2 gentoo-1d8124918ec0cf8cec6dbac8aa84cbd84855b2ea.zip |
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@gentoo.org>
Diffstat (limited to 'media-sound/clementine')
-rw-r--r-- | media-sound/clementine/clementine-1.3.1-r3.ebuild (renamed from media-sound/clementine/clementine-1.3.1-r2.ebuild) | 1 | ||||
-rw-r--r-- | media-sound/clementine/files/clementine-1.3.1-fix-desktop-file.patch | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/clementine/clementine-1.3.1-r2.ebuild b/media-sound/clementine/clementine-1.3.1-r3.ebuild index 18f42ef7067e..d0baf97ed2ef 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 000000000000..bb561318c59d --- /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 <fatzer2@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]=Следваща |