Bug 3320 - claws-mail.desktop missing
Summary: claws-mail.desktop missing
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-11-01 11:27 UTC by Chris
Modified: 2014-11-01 12:00 UTC (History)
0 users

See Also:


Attachments
Patch for Makefie.in (4.96 KB, patch)
2014-11-01 11:27 UTC, Chris
no flags Details | Diff

Description Chris 2014-11-01 11:27:01 UTC
Created attachment 1446 [details]
Patch for Makefie.in

I use Slackware with KDE.

After successfully compiling from source and installing. Then tried to start Claws Mail from my Quicklaunch icon it failed, missing "claws-mail.desktop". The menu option was also missing. 

Perhaps this was intentional, perhaps not. Noted in change log "Remove appdata." Is claws-mail.desktop part of "appdata"? I'm thinking it's not, of course I could be wrong. The file is present in the root tree of the source. 

At any rate I created a patch for Makefile.am and Makefile.in correct this possible oversight. Seems to work alright. My Quicklaunch icon works as expected and the menu item is back. 

=== Patch for Makefile.am ====
--- Makefile.am	2014-10-28 02:56:56.000000000 +0800
+++ Makefile.am.new	2014-11-01 16:41:05.534958325 +0800
@@ -34,6 +34,11 @@
 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
====

Patch for Makefile.in attached.
Comment 1 Christian Hesse 2014-11-01 11:35:45 UTC
This is already fixes in git.

Note You need to log in before you can comment on or make changes to this bug.