From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/birdtray/, x11-misc/birdtray/files/
Date: Fri, 17 Apr 2020 22:19:56 +0000 (UTC)	[thread overview]
Message-ID: <1587161918.ab82fb36dce56d31663833d1e4d77ed31b940b42.marecki@gentoo> (raw)
commit:     ab82fb36dce56d31663833d1e4d77ed31b940b42
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 17 22:07:25 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 22:18:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab82fb36
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 <AT> gentoo.org>
 .../birdtray/{birdtray-1.7.0.ebuild => birdtray-1.7.0-r1.ebuild} | 4 ++++
 .../files/birdtray-1.7.0-desktop_file_deprecated_category.patch  | 9 +++++++++
 2 files changed, 13 insertions(+)
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 27005bff4ed..39890d9c3e5 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 00000000000..104b24bf8de
--- /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
next             reply	other threads:[~2020-04-17 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17 22:19 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-10  7:41 [gentoo-commits] repo/gentoo:master commit in: x11-misc/birdtray/, x11-misc/birdtray/files/ Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1587161918.ab82fb36dce56d31663833d1e4d77ed31b940b42.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox