summaryrefslogtreecommitdiff
path: root/recipes/glib-networking.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-01-28 17:20:36 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-02-04 18:49:30 +0000
commit0fd0bea4ebe83c3dbf25bcc6fa1517cb59ee5fa8 (patch)
treef8c6e87cd34be76f4a29bb9fd64ab9ef267c4119 /recipes/glib-networking.recipe
parent74ba4fd85aff872c2b62cd24a604c4729a5725f6 (diff)
Extend licensing scheme, install & package licenses
Licensing was incorrect, incomplete, and at best, ambiguous. Some recipes were picking one license when there were many, others were listing all the licenses and you had to pick one. On the other hand, many projects are licensed under multiple BSD-like licenses, and you must adhere to the terms of all of them, and there was no way to know how from the binary packages. Now we have an extended syntax for declaring the licensing properties of a recipe. The licenses array can now also contain dictionaries with License enums as keys and relative paths to files in the source tree as values. All files specified in this way will be copied into `share/licenses/$recipe_name`. Common license texts which are copied verbatim by projects without adding any specific author/copyright information have been copied into `data/licenses/` and will be copied into `share/licenses/$recipe_name` when a license is specified without a corresponding source tree file. `share/licenses/$recipe_name/README-LICENSE-INFO.txt` contains a disclaimer that this is not legal advice, and uses (AND) and (OR) operators to declare the combinations of licenses you can pick when adhering to the license requirements of a project. `share/licenses/$recipe_name` is, of course, now also copied into the devel binary packages. I have made a best-effort to check and update the licenses in each recipe, but I have probably missed things. Reviews and updates are welcome. I also did not bother updating the toolchain recipe licenses too carefully since we do not ship them with our binary packages; except mingw-runtime.recipe (which does have an updated license).
Diffstat (limited to 'recipes/glib-networking.recipe')
-rw-r--r--recipes/glib-networking.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/glib-networking.recipe b/recipes/glib-networking.recipe
index e6e8bccb..f0f62ddb 100644
--- a/recipes/glib-networking.recipe
+++ b/recipes/glib-networking.recipe
@@ -5,7 +5,7 @@ from cerbero.utils.shell import which
class Recipe(recipe.Recipe):
name = 'glib-networking'
version = '2.56.1'
- licenses = [License.LGPLv2Plus]
+ licenses = [{License.LGPLv2Plus: None, License.Misc: ['LICENSE_EXCEPTION']}]
stype = SourceType.TARBALL
btype = BuildType.MESON
url = 'gnome://'