From ab82fb36dce56d31663833d1e4d77ed31b940b42 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 17 Apr 2020 23:07:25 +0100 Subject: [PATCH] x11-misc/birdtray: remove deprecated category from the .desktop file "Application" is not listed in the current Desktop Menu Specification. Will be addressed by upstream if/when PR #315 has been merged so leave the live ebuild be. Revbump to propagate this and the previous commit to users, the latter being more important of the two. See-also: https://github.com/gyunaev/birdtray/pull/315 Signed-off-by: Marek Szuba --- .../{birdtray-1.7.0.ebuild => birdtray-1.7.0-r1.ebuild} | 4 ++++ ...birdtray-1.7.0-desktop_file_deprecated_category.patch | 9 +++++++++ 2 files changed, 13 insertions(+) rename x11-misc/birdtray/{birdtray-1.7.0.ebuild => birdtray-1.7.0-r1.ebuild} (90%) create mode 100644 x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch diff --git a/x11-misc/birdtray/birdtray-1.7.0.ebuild b/x11-misc/birdtray/birdtray-1.7.0-r1.ebuild similarity index 90% rename from x11-misc/birdtray/birdtray-1.7.0.ebuild rename to x11-misc/birdtray/birdtray-1.7.0-r1.ebuild index 27005bff4ede..39890d9c3e53 100644 --- a/x11-misc/birdtray/birdtray-1.7.0.ebuild +++ b/x11-misc/birdtray/birdtray-1.7.0-r1.ebuild @@ -30,6 +30,10 @@ RDEPEND="dev-db/sqlite:= DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-1.7.0-desktop_file_deprecated_category.patch +) + pkg_postinst() { xdg_icon_cache_update } diff --git a/x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch b/x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch new file mode 100644 index 000000000000..104b24bf8de9 --- /dev/null +++ b/x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch @@ -0,0 +1,9 @@ +--- a/src/res/com.ulduzsoft.Birdtray.desktop ++++ b/src/res/com.ulduzsoft.Birdtray.desktop +@@ -28,5 +28,5 @@ + X-MultipleArgs=false + Type=Application + Icon=com.ulduzsoft.Birdtray +-Categories=Application;Network;Email; ++Categories=Network;Email; + StartupNotify=true -- 2.26.2