[AppStream] Introduction of "launchable" tag for metainfo files
Matthias Klumpp
matthias at tenstral.net
Fri Apr 21 09:50:14 UTC 2017
2017-04-21 11:42 GMT+02:00 Richard Hughes <hughsient at gmail.com>:
> On 29 March 2017 at 14:49, Matthias Klumpp <matthias at tenstral.net> wrote:
>> I will change the spec so that desktop-application components with a
>> <launch> tag don't have to have a .desktop suffix and must follow the
>> reverse-DNS spec. If a desktop-app doesn't have a launch tag, it's ID
>> must match the .desktop file.
>
> If I have a file like: <id>com.hughski.colorhug-client</id> (without a
> .desktop suffix, and without a <launchable> then surely the launchable
> is the ${id} + ".desktop"?
I initially wanted to implement exactly that as fallback, but
technically if the component defines no launchable like that, it means
that the component is not supposed to be launched. This is the case
for example with Wine.
So, in cases like this I don't artificially add a launchable.
The asgen AppStream generator however, does use the <id/> tag to check
whether there is an id + .desktop desktop-entry-file somewhere, and if
it finds one, it will auto-generate a launchable tag from it, in order
to not make all apps in the archive suddenly unlaunchable until
upstream projects migrate their files.
Cheers,
Matthias
--
Debian Developer | Freedesktop-Developer
I welcome VSRE emails. See http://vsre.info/
More information about the AppStream
mailing list