Skip to content

Lohit: Add appstream metadata #82

@jbicha

Description

@jbicha

It would be great if we could add appstream metadata for all the Lohit fonts.

I see that you added apsptream metadata directly in the Fedora packaging but appstream is used by many other distros and it seems a lot of work for every distro to have to do that individually.

I believe CC0 is now by far the most commonly used license for appstream metadata.

I tried to use the reverse-DNS naming convention from the appstream specification, but I don't think that's mandatory. So you can probably drop the io.pagure prefix if you don't like it.

As long as you don't need to support pre-2016 appstream, the preferred install location has changed to /usr/share/metainfo/

Example file

<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
  <id>io.pagure.lohit.assamese.font</id>
  <metadata_license>CC0-1.0</metadata_license>
  <name>Lohit Assamese</name>
  <summary>Font for the Assamese language</summary>
  <description>
    <p>
 The Lohit Assamese font is a font with glyphs for the Assamese
 language. Assamese is one of India’s 23 official languages.
    </p>
    <p>
 This font is part of the Lohit font family, a set of fonts for
 Indic languages originally created by Modular Infotech and
 now maintained by Red Hat. Lohit means “red” in Sanskrit.
    </p>
  </description>
  <url type="homepage">https://pagure.io/lohit</url>
  <url type="bugtracker">https://github.com/pravins/lohit/issues</url>
  <updatecontact>psatpute_at_redhat_dot_com</updatecontact>
</component>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions