Bug#848839: wine: Doesn't show in Software app, missing appstream metadata

2017-01-06 Thread Jens Reyer
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

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

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

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

*  misses and needs automation (preferrably by upstream)

* use in debian packaging

* submit upstream


Greets
jre

​
​
​  org.winehq.wine.development
​  LGPL-2.1+
​  LGPL-2.1+
​  Wine
  ​Run Windows applications on Linux, BSD, Solaris and Mac OS X  
​
​  
​
​  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.
​
​  
​ wine.svg


  https://www.winehq.org/
  https://bugs.winehq.org/
  https://wiki.winehq.org/FAQ
  https://wiki.winehq.org/
  https://www.winehq.org/donate
​  WineHQ

​  

​  
​Bug fixes only, we are in code freeze.
​  
​
​  

  
​application/x-ms-dos-executable
​application/x-msi
​application/x-ms-shortcut
 ​ 
​​


Bug#848839: wine: Doesn't show in Software app, missing appstream metadata

2016-12-19 Thread Jeremy Bicha
Package: wine
Version: 1.8.5-1

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.

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). As for gnome-software,
I don't know whether a .desktop is necessary. The preferred metadata
is appstream metadata and I think the .desktop is just used as a
minimal substitute if there is not appstream metadata present. (I
tried looking earlier and it was very difficult for me to try to find
an app that did not have a .desktop that showed in gnome-software.)

For more info about creating the appstream metadata, see
https://www.freedesktop.org/software/appstream/docs/
https://wiki.debian.org/AppStream

Thanks,
Jeremy Bicha