diff options
author | Fernando Farfan <ffarfan@gmail.com> | 2015-08-06 14:20:34 -0600 |
---|---|---|
committer | Fernando Farfan <ffarfan@gmail.com> | 2015-08-10 15:42:25 -0600 |
commit | 5c830745ac9cb58d7d184660ed70dae9d5221f96 (patch) | |
tree | b18f9ae3d6c0d52b45a937c0171b83b9f794640b | |
parent | 606729f9835c7725a5e046c6c0c13cad068c9e75 (diff) |
License-serving API serves GNU licenses
Some of Wikipedia's images are attributed under GNU's Free Documentation
Licenses. Hence, our license-serving API should provide the description and
filename for these licenses when requested.
[endlessm/eos-sdk#3471]
-rw-r--r-- | endless/eoslicense.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/endless/eoslicense.c b/endless/eoslicense.c index 7aff876..d080942 100644 --- a/endless/eoslicense.c +++ b/endless/eoslicense.c @@ -37,6 +37,9 @@ gchar * const recognized_licenses[] = { "CC BY-SA 2.5", "CC BY-SA 3.0", "CC BY-SA 4.0", + "GFDL 1.1", + "GFDL 1.2", + "GFDL 1.3", NULL }; @@ -62,6 +65,9 @@ gchar * const recognized_licenses_display_names[] = { N_("Creative Commons Attribution-ShareAlike 2.5 Generic"), N_("Creative Commons Attribution-ShareAlike 3.0"), N_("Creative Commons Attribution-ShareAlike 4.0 International"), + N_("GNU Free Documentation License, version 1.1"), + N_("GNU Free Documentation License, version 1.2"), + N_("GNU Free Documentation License, version 1.3"), NULL }; @@ -84,6 +90,9 @@ static gchar * const recognized_licenses_filenames[] = { "creativecommons/CC-BY-SA-2.5.html", "creativecommons/CC-BY-SA-3.0.html", "creativecommons/CC-BY-SA-4.0.html", + "gnu/FDL-1.1.html", + "gnu/FDL-1.2.html", + "gnu/FDL-1.3.html", NULL }; |