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

Re: Associating packages with file types using appstream succeeded



Hi Petter,

On Wed, Feb 10, 2016 at 07:15:02PM +0100, Petter Reinholdtsen wrote:
> 
> I am happy to report that the experiment we conducted during the Debian
> Med meeting in Denmark was successful, after fixing a bug in the
> appstream import system.

Very cool.  Thanks a lot for this very important information.  I'm
really happy to have you seen again as a goof friend on one hand and on
the other hand as a very helpful contributor.
 
> The goal was to use appstream to announce file format support in a
> non-GUI package (aka one without a .desktop file), and we used the khmer
> package as an example.  It is now listed as a package supporting the
> application/vnd.oxli.countgraph MIME type:
> 
> % appstreamcli what-provides mimetype application/vnd.oxli.countgraph
> Identifier: oxli [generic]
> Name: khmer
> Summary: in-memory DNA sequence kmer counting, filtering & graph traversal
> Package: khmer
> ----
> %
> 
> To do this, we added debian/khmer.metainfo.xml with the following
> content and installed it in /usr/share/appdata/:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <component>
>   <id>oxli</id>
>   <metadata_license>MIT</metadata_license>
>   <name>khmer</name>
>   <summary>in-memory DNA sequence kmer counting, filtering &amp; graph traversal</summary>
>   <description>
>     <p>
>       khmer is a library and suite of command line tools for working
>       with DNA sequence. It is primarily aimed at short-read
>       sequencing data such as that produced by the Illumina
>       platform. khmer takes a k-mer-centric approach to sequence
>       analysis, hence the name.
>     </p>
>   </description>
>   <mimetypes>
>     <mimetype>application/vnd.oxli.countgraph</mimetype>
>   </mimetypes>
> </component>

So, now you can go on providing more such files for other packages.
Lets move on into this direction.

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: