PKGBUILDs/extra/claws-mail/git_fixes.diff
2015-01-01 11:01:45 -05:00

55 lines
1.7 KiB
Diff

From cfde37a35a8b9d54bd680245a7d37a63d6779706 Mon Sep 17 00:00:00 2001
From: Ricardo Mones <ricardo@mones.org>
Date: Tue, 28 Oct 2014 16:59:16 +0100
Subject: [PATCH] Fix categories and recover keywords in desktop file
---
claws-mail.desktop | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/claws-mail.desktop b/claws-mail.desktop
index 116c9cb..df0bb00 100644
--- a/claws-mail.desktop
+++ b/claws-mail.desktop
@@ -18,7 +18,8 @@ GenericName[sk]=Poštový klient
GenericName[sv]=E-postklient
Exec=claws-mail %u
Icon=claws-mail
-Categories=Network;Office;Email;
+Categories=Network;Email;
+Keywords=lightweight;fast;gui;extensible;plugin;pop;pop3;imap;imap4;nntp;news;
Comment=Lightweight and Fast GTK+ based Mail Client
Comment[ca]=Client de correu electrònic rà pid i lleuger basat en GTK+
Comment[cs]=Lehký a rychlý mailový klient založený na GTK+
--
1.7.10.4
From 44131ac697f1a55f65cf3916b0ca09ff8d3c1af8 Mon Sep 17 00:00:00 2001
From: Ricardo Mones <ricardo@mones.org>
Date: Tue, 28 Oct 2014 17:20:23 +0100
Subject: [PATCH] Recover desktop file installation
---
Makefile.am | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index 6b221fc..3fdb4aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,11 @@ pixmap64_DATA=claws-mail-64x64.png
pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
pixmap128_DATA=claws-mail-128x128.png
+# when changing the name or location of the .desktop file,
+# also update src/common/Makefile.am
+gnomapdir = $(datadir)/applications
+gnomap_DATA=claws-mail.desktop
+
rename-icons:
@cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
mv claws-mail-64x64.png claws-mail.png
--
1.7.10.4