Revision as of 10:15, 17 April 2014 by Matthias (talk | contribs) (Created page with "{{Construction}} == Introduction == These pages contain information on how KDE can make use of the MetaInfo data provided by the Freedesktop.org [http://www.freedesktop.org/wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MetaInfo

Under construction.png
 
Under Construction
This is a new page, currently under construction!

Introduction

These pages contain information on how KDE can make use of the MetaInfo data provided by the Freedesktop.org AppStream project.

Outline

MetaInfo files are used to describe a software component in a distribution. The metadata these XML files provide contains information about the public interfaces this component provides, the descriptions of the component, as well as additional things such as icon information and categorization. There are several special components, for example for applications, web-applications, fonts, codecs and input-methods. The information defined in these files is used by AppStream-compatible software centers (such as Apper or GNOME-Software) to display them to the user. In the following, we describe for different kinds of KDE software components how to write proper AppStream MetaInfo files. A project may ship multiple metadata definitions, for example if it ships an application and a library, or multiple applications.

Metadata Types

Application

Applications are (usually graphical) programs which show up in the applications menu, meaning they have a .desktop-file. You can read more about how to write metadata for them on the page about desktop-apps.

Component

A generic component is a software project which doesn't fit into a specific category. This is usually a shared library or framework which wants to publish information about the public interfaces it provides in a distribution, to make it easier for developers to find the component in the distribution's repositories. You can find information on how to write metadata for a generifc component on the page about generic components.

Web Application

Further Information

For further reading, we suggest taking a look at the AppStream documentation and it's XDG wiki page.


Content is available under Creative Commons License SA 4.0 unless otherwise noted.