x11-misc/birdtray: remove deprecated category from the .desktop file
authorMarek Szuba <marecki@gentoo.org>
Fri, 17 Apr 2020 22:07:25 +0000 (23:07 +0100)
committerMarek Szuba <marecki@gentoo.org>
Fri, 17 Apr 2020 22:18:38 +0000 (23:18 +0100)
"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>
x11-misc/birdtray/birdtray-1.7.0-r1.ebuild [moved from x11-misc/birdtray/birdtray-1.7.0.ebuild with 90% similarity]
x11-misc/birdtray/files/birdtray-1.7.0-desktop_file_deprecated_category.patch [new file with mode: 0644]

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 27005bff4ede4c17d618978c1eedd8dc9a497359..39890d9c3e53ee00f64f2978d39b226ad09b89a2 100644 (file)
@@ -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 (file)
index 0000000..104b24b
--- /dev/null
@@ -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