Hi Matthias

tl;dr: it seems it's not working with appstream-generator (?) yet.
Can/Should we (Wine) do something?

On 01/14/2017 03:06 AM, Jens Reyer wrote:
> Thanks again, also for the quick update of the documentation!
> 
> On 01/13/2017 06:26 PM, Matthias Klumpp wrote:
>>>> P.S: Let me know when an updated Wine is uploaded, this will be the
>>>> only app I know which does not use the metainfo file to augment a
>>>> .desktop file, and I am curious to see if the file is handled
>>>> correctly.
> 
> Just done, wine 1.8.6-2.
> 
> appstreamcli fails with a warning:
> ~~~~~
> $ appstreamcli validate debian/org.winehq.wine.appdata.xml
> W - org.winehq.wine.appdata.xml:org.winehq.wine:3
>     Component id belongs to a desktop-application, but does not resemble
> the
>     .desktop file name: "org.winehq.wine"
> 
> Validation failed.
> ~~~~~

I can now see wine in the GNOME Software Center, but only if wine is
installed.  So I assume the metainfo from the new appstream.xml is
evaluated locally, but doesn't make it in the distro-wide AppStream dataset.

Assuming this is the case, I assume it is because of the missing desktop
file. The appstream-generator shows the following error on
https://appstream.debian.org/sid/main/issues/wine.html:

~~~~~
Hints for wine in main
org.winehq.wine
Errors
missing-desktop-file:
Found an AppStream metainfo XML file, but the associated .desktop file
is missing. This often happens when the .desktop file is renamed, but
the <id/> tag of the AppStream metainfo file is not adapted as well, or
if the metainfo file is located in a different package than the .desktop
file.
Please fix the packaging or work with upstream to resolve this issue.
~~~~~

Did I understand you correctly previously that in your opinion this
should work, and thus needs fixing in AppStream (appstream-generator?),
but not in Wine?


Besides that GNOME Software Center indeed now has a "Launch" button for
wine, which obviously doesn't work. But you already said that you're
discussing this with Richard Hughes, so I assume there's nothing we
(Wine) can do about this.

Greets!
jre

_______________________________________________
pkg-wine-party mailing list
pkg-wine-party@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wine-party

Reply via email to