On 20.12.2016 05:55, Jeremy Bicha wrote:
> The next version of Debian will ship gnome-software by default in the
> GNOME version. Currently, wine does not show in the Software app if it
> is not already installed.

Yes, we should fix that, and I hope we get that done for stretch.


> When I look at the 1.8.5-1 package, I don't see a .desktop (except for
> one you have stored in the examples directory).

wine.desktop would be ignored by appstream even if it was installed in
/usr/share/applications/, because it has

  NoDisplay=true

See
https://wiki.debian.org/AppStream/Guidelines#How_to_exclude_.desktop_files_from_the_metadata


I've started working on an appdata.xml file, attached. Help and feedback
welcome.

TODO:

* validate

* <id> must be unique (wine vs. wine-development), but the current
implementation should be ok

* <icon> needs to be implemented correctly (which icon to use?)

* <releases> needs automation (preferrably by upstream), this is a
mandatory field.

* <provides> misses and needs automation (preferrably by upstream)

* use in debian packaging

* submit upstream


Greets
jre
<?xml version="1.0" encoding="UTF-8"?>
​<!-- Copyright 2017 Jens Reyer <jre.wine...@gmail.com> -->
​<component type="generic">
​  <id>org.winehq.wine.development</id>
​  <metadata_license>LGPL-2.1+</metadata_license>
​  <project_license>LGPL-2.1+</project_license>
​  <name>Wine</name>
  ​<summary>Run Windows applications on Linux, BSD, Solaris and Mac OS X</summary>  
​
​  <description>
​    <p>
    ​  Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility
      layer capable of running Windows applications on several POSIX-compliant
      operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating
      internal Windows logic like a virtual machine or emulator, Wine translates
      Windows API calls into POSIX calls on-the-fly, eliminating the performance
      and memory penalties of other methods and allowing you to cleanly integrate
      Windows applications into your desktop.
​    </p>
​  </description>
​ <icon type="stock">wine.svg</icon/>


  <url type="homepage">https://www.winehq.org/</url>
  <url type="bugtracker">https://bugs.winehq.org/</url>
  <url type="faq">https://wiki.winehq.org/FAQ</url>
  <url type="help">https://wiki.winehq.org/</url>
  <url type="donation">https://www.winehq.org/donate</url>
​  <project_group>WineHQ</project_group>

​  <releases>
    <release version="2.0-rc3" date="2016-12-23">
​      <description>
​        <p>Bug fixes only, we are in code freeze.</p>
​      </description>
​    </release>
​  </releases>

  <mimetypes>
​    <mimetype>application/x-ms-dos-executable</mimetype>
​    <mimetype>application/x-msi</mimetype>
​    <mimetype>application/x-ms-shortcut</mimetype>
 ​ </mimetypes>
​​</component>

Reply via email to