Add appsream.patch.
This patch fixes the AppStream validation errors. There were caused by an intricate interplay between the name of the AppStream file, the ID inside the AppStream file, and the name of the desktop file. (Also, the type should be "desktop-application"
, instead of "desktop"
).
The lintian error on this is not very clear, and the upstream documentation is even less clear. I only knew how to fix this because I have run into it before and spent a lot of trial-and-error time trying to figure it out.
This patch should probably be submitted upstream, but if they decline to accept it for some reason we can keep it in the Debian packaging.