diff options
author | Richard Hughes <richard@hughsie.com> | 2016-02-05 09:18:16 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-02-05 09:19:16 +0000 |
commit | 56eb3db70ac6f45f1e895f3dba54a0fe5882f353 (patch) | |
tree | 72eca3a843b4d37cb3e1190015a9cc629cbc58a9 | |
parent | 9ad5bd73c3f55af980bfcbbdddc4b6facae59224 (diff) | |
download | appstream-glib-56eb3db70ac6f45f1e895f3dba54a0fe5882f353.tar.gz |
Accept FSFAP as a valid metadata license
Fixes https://github.com/hughsie/appdata-tools/issues/27
-rw-r--r-- | libappstream-glib/as-app-validate.c | 2 | ||||
-rw-r--r-- | libappstream-glib/as-license-ids.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index 9451fd1..0c1b153 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -1015,6 +1015,8 @@ as_app_validate_is_content_license_id (const gchar *license_id) return TRUE; if (g_strcmp0 (license_id, "@GFDL-1.3") == 0) return TRUE; + if (g_strcmp0 (license_id, "@FSFAP") == 0) + return TRUE; if (g_strcmp0 (license_id, "&") == 0) return TRUE; if (g_strcmp0 (license_id, "|") == 0) diff --git a/libappstream-glib/as-license-ids.txt b/libappstream-glib/as-license-ids.txt index ff49053..ac054cb 100644 --- a/libappstream-glib/as-license-ids.txt +++ b/libappstream-glib/as-license-ids.txt @@ -125,6 +125,7 @@ MIT-feh Frameworx-1.0 FreeImage FTL +FSFAP FSFUL FSFULLR Giftware |