[PATCH] Use reverse-DNS style AppStream ID
The recommended format for Linux AppStream IDs is reverse-DNS style, e.g. "org.videolan.VLC". But VLC's appdata.xml file defines the AppStream ID as "vlc.desktop", which is not ideal. Not only does it violates AppStream recommendations, but certain downstream packagers such as Flathub are more strict and require the use of the reverse-DNS style.
Using the same AppStream ID everywhere ensures that when VLC is available through multiple sources (e.g. Flathub and distro packages), software center apps like GNOME Software and KDE Discover are able to de-duplicate them correctly and show a nice "which source do you want to install this from" UI rather than confusingly and erroneously showing multiple versions of the app, like this: https://i.imgur.com/dquE0pu.png
I'm attaching a patch that accomplishes this.
Relevant part of the AppStream spec: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent