lohit icon indicating copy to clipboard operation
lohit copied to clipboard

Lohit: Add appstream metadata

Open jbicha opened this issue 8 years ago • 2 comments

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>

jbicha avatar Mar 15 '17 19:03 jbicha

On 16 March 2017 at 01:24, Jeremy Bicha [email protected] wrote:

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.

Make sense to me. Will add this to upstream. Thanks for bringing this up.

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/

We always try to keep upstream and downstream separate. I think as a upstream lets add aapstream metadata file in release tarball and then lets distr decide where they want to add.

I will work on this most probably next week.

Thanks Pravin

Example file

io.pagure.lohit.assamese.font CC0-1.0 Lohit Assamese Font for the Assamese language

The Lohit Assamese font is a font with glyphs for the Assamese language. Assamese is one of India’s 23 official languages.

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.

https://pagure.io/lohit https://github.com/pravins/lohit/issues psatpute_at_redhat_dot_com

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pravins/lohit/issues/82, or mute the thread https://github.com/notifications/unsubscribe-auth/AADbciaoSCQJadIb4xh5R-W_rmETJs1yks5rmEHsgaJpZM4Meckg .

pravins avatar Mar 16 '17 05:03 pravins

Fixes with https://github.com/pravins/lohit/commit/f77c18d1a661a8c8f7a0cfbc7da31b9d57e05522 Let me know if anything missing

pravins avatar Apr 21 '17 11:04 pravins