Bug 3590

Summary: Please add AppData XML for Claws Mail
Product: Claws Mail (GTK 2) Reporter: Mingcong Bai <jeffbai>
Component: UIAssignee: users
Status: RESOLVED PATCHESWELCOME    
Severity: normal CC: jeffbai
Priority: P3    
Version: other   
Hardware: All   
OS: All   

Description Mingcong Bai 2015-12-26 15:10:02 UTC
Shipping an AppData XML for Claws Mail enables the ability to install it from an AppStream frontend like GNOME Software with detailed information (license, screenshot, long descriptions, ratings) for the package.

And here is an AppData XML I've created.

&lt;?xml version="1.0" encoding="utf-8"?&gt;
<component type="desktop">
  <id>claws-mail.desktop</id>
  &lt;metadata_license&gt;CC0-1.0&lt;/metadata_license&gt;
  <project_license>GPL-3.0</project_license>
  <name>Claws Mail</name>
  <summary>A GTK+ based email client</summary>
  <url type="homepage">http://www.claws-mail.org/</url>
  <url type="bugtracker">http://www.thewildbeast.co.uk/claws-mail/bugzilla/index.cgi</url>
  <url type="help">http://www.claws-mail.org/documentation.php?secti>
  <description>
    <p>Claws Mail is an email client (and news reader), based on GTK+, featuring:</p>
    <ul>
      <li>Quick response</li>
      <li>Graceful, and sophisticated interface</li>
      <li>Easy configuration, intuitive operation</li>
      <li>Abundant features</li>
      <li>Extensibility</li>
      <li>Robustness and stability</li>
    </ul>
    <p>The appearance and interface are designed to be familiar to new users coming from other popular email clients, as well as experienced users. Almost all commands are accessible with the keyboard.</p>
    <p>The messages are managed in the standard MH format, which features fast access and data security. You'll be able to import your emails from almost any other email client, and export them just as easily.</p>
    <p>Lots of extra functionality, like an RSS aggregator, calendar, or laptop LED handling, are provided by extra plugins.</p>
  </description>
  <screenshots>
    <screenshot type="default">http://www.claws-mail.org/img/screenshots/main.png</screenshot>
    <screenshot>http://www.claws-mail.org/img/screenshots/compose.png</screenshot>
    <screenshot>http://www.claws-mail.org/img/screenshots/messageview.png</screenshot>
    <screenshot>http://www.claws-mail.org/img/screenshots/prefs.png</screenshot>
    <screenshot>http://www.claws-mail.org/img/screenshots/account_prefs.png</screenshot>
  </screenshots>
  <provides>
    <binary>claws-mail</binary>
    <binary>sylpheed-claws</binary>
  </provides>
</component>

And it should normally be installed to ${dataroot}/appdata/ as claws-mail.appdata.xml.
Comment 1 Michael Schwendt 2015-12-26 16:50:11 UTC
Appdata files have been in the tarball before, but have been excluded again later. They are still within git:

  http://git.claws-mail.org/?p=claws.git;a=tree;f=appdata;h=604e8c0c1a6574d0caf3e62f6e301b3a5b186751;hb=HEAD

I don't know the reason.
Comment 2 Ricardo Mones 2015-12-27 00:39:56 UTC
(In reply to comment #1)
> Appdata files have been in the tarball before, but have been excluded again
> later. They are still within git:
> 
>  
> http://git.claws-mail.org/?p=claws.git;a=tree;f=appdata;
> h=604e8c0c1a6574d0caf3e62f6e301b3a5b186751;hb=HEAD
> 
> I don't know the reason.

Git log is your friend:

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=8d6db31da64c946fe5b046308ee3bfd643323bc7
Comment 3 Paul 2015-12-28 10:16:22 UTC
The reason was that intltool completely ignores the --localedir=DIR option passed to ./configure.
Comment 4 rezso 2015-12-28 10:51:59 UTC
This issue is fixed in rev742, so the intltool 0.51.0 contains it.
Comment 5 Paul 2015-12-28 10:59:47 UTC
(In reply to comment #4)
> This issue is fixed in rev742, so the intltool 0.51.0 contains it.

That was not mentioned in its ChangeLog. But there are also other open intltool bugs which look like they might cause headaches: https://bugs.launchpad.net/intltool
Comment 6 rezso 2015-12-28 11:29:04 UTC
http://bazaar.launchpad.net/~intltool/intltool/trunk/revision/742

But intltool works fine to me.
Comment 7 Paul 2015-12-28 11:31:40 UTC
(In reply to comment #6)
> But intltool works fine to me.

But have you tested all possible build permutations?