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>