summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-04-17 23:07:25 +0100
committerMarek Szuba <marecki@gentoo.org>2020-04-17 23:18:38 +0100
commitab82fb36dce56d31663833d1e4d77ed31b940b42 (patch)
tree05a4a880c2a6bf55ac71c4bb2e8ab7a397436c9f /x11-misc/birdtray
parentx11-misc/birdtray: update XDG icon cache (diff)
downloadgentoo-ab82fb36dce56d31663833d1e4d77ed31b940b42.tar.gz
gentoo-ab82fb36dce56d31663833d1e4d77ed31b940b42.tar.bz2
gentoo-ab82fb36dce56d31663833d1e4d77ed31b940b42.zip
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 <marecki@gentoo.org>
Diffstat (limited to 'x11-misc/birdtray')
-rw-r--r--x11-misc/birdtray/birdtray-1.7.0-r1.ebuild (renamed from x11-misc/birdtray/birdtray-1.7.0.ebuild)4
-rw-r--r--x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch9
2 files changed, 13 insertions, 0 deletions
diff --git a/x11-misc/birdtray/birdtray-1.7.0.ebuild b/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