diff options
author | Philip Withnall <withnall@endlessm.com> | 2020-05-21 15:14:47 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-06-05 15:47:27 +0100 |
commit | 867114a596ce1304e40e57673c3a3672aa80d966 (patch) | |
tree | aa88507f8f4644e451ff8bd00ad97ec86bd29813 /libappstream-glib/as-inf.h | |
parent | e00e4b87b71d67bca58e202b7fd5c83a77286d4e (diff) | |
download | appstream-glib-867114a596ce1304e40e57673c3a3672aa80d966.tar.gz |
as-content-rating: Add content rating system APIs from gnome-software
These are moving to libappstream-glib as they are used by gnome-software
and libmalcontent-ui, and are potentially useful in other projects. In
particular, there are a number of translatable strings which need to be
centralised so that translation work isn’t repeated.
This code was originally written by:
• Richard Hughes <richard@hughsie.com>
• Piotr Drąg <piotrdrag@gmail.com>
• Philip Withnall <withnall@endlessm.com>
• Jordi Mas <jmas@softcatala.org>
It was previously in `src/gs-content-rating.[ch]` in gnome-software,
under the GPL-2.0+; and in `libmalcontent-ui/gs-content-rating.[ch]` in
malcontent, also under the GPL-2.0+. It has been relicensed from
GPL-2.0+ to LGPL-2.1+ for the move to appstream-glib, and all the
previous contributors have agreed. See
https://github.com/hughsie/appstream-glib/pull/364#issuecomment-632773905
and below for their agreements.
In moving it from one project to the other, I have added documentation
comments and tweaked some of the APIs to make them more usable.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'libappstream-glib/as-inf.h')
0 files changed, 0 insertions, 0 deletions