[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Before I send a bug report to change DebTags please do some sanity check



2016-02-08 15:14 GMT+01:00 Ben Hutchings <ben@decadent.org.uk>:
> On Mon, 2016-02-08 at 15:10 +0100, Petter Reinholdtsen wrote:
>> [Ben Hutchings]
>> > I don't think it's there yet, but AppStream will get some support from
>> > upstream developers (including through existing .desktop files)
>> > whereas debtags presumably doesn't.
>>
>> It is already possible to search for packages announcing support for
>> MIME types, and the data set is populated with data from the desktop
>> files.  See
>> ;
>> for a recipe.
> [...]
>
> I know that, but full integration would mean prompting the user to
> install a suitable package automatically, e.g. when trying to open an
> email attachment and there is no previously chosen program (or no
> installed program at all) that can handle that MIME type.

GNOME Software can do that, AFAIK - but it will not do that for
non-GUI applications, which is a design decision by GNOME.
So, to get support for this beyond appstreamcli, someone would need to
write a small tool for it. Fortunately, that's really easy and also
very simple to integrate (as long as linking against the AppStream
library or using the GIR is not an issue).
Cheers,
    Matthias


Reply to: