Update license statements of libraries

This commit is contained in:
Andreas Cord-Landwehr 2021-06-20 11:29:37 +02:00
parent 0ba1bcb0e6
commit f1a2631d9f
24 changed files with 103 additions and 21 deletions

View file

@ -64,6 +64,8 @@ do_populate_lic_prepend() {
"6a2eced623a7c9d0c8996ce24917d006",
"e4b79a181b6483b37d39a27f4d75e60a",
],
'MIT-CMU': [ 'b6936b5be2ab721140d9bf57c37b0b92' ],
'Unicode-DFS-2016': [ '3daac258519ec32945c80ae0f7ba88f4' ]
}
# generate flat list of used license identifiers
@ -75,6 +77,10 @@ do_populate_lic_prepend() {
recipe_licenses = package_license_statement.split()
recipe_licenses = list(map(str.strip, recipe_licenses))
package_license_qa_whitelist = d.getVar('REUSE_LICENSECHECK_WHITELIST') or ''
recipe_licenses_qa_whitelist = package_license_qa_whitelist.split()
recipe_licenses_qa_whitelist = list(map(str.strip, recipe_licenses_qa_whitelist))
if d.getVar('LIC_FILES_CHKSUM') and not d.getVar('LIC_FILES_CHKSUM') == '':
print("Aborting LIC_FILES_CHKSUM computation, value already set to:", d.getVar('LIC_FILES_CHKSUM'))
else:
@ -111,5 +117,7 @@ do_populate_lic_prepend() {
if license_name in spdx_id_to_yocto_map:
if list(set(recipe_licenses) & set(spdx_id_to_yocto_map[license_name])):
continue
if license_name in recipe_licenses_qa_whitelist:
continue
bb.warn("QA Issue: %s [%s]" % (license_name + " found in SRC but not in package license statement", "reuse_license"))
}

17
conf/licenses/MIT-CMU Normal file
View file

@ -0,0 +1,17 @@
<copyright notice> By obtaining, using, and/or copying this software and/or
its associated documentation, you agree that you have read, understood, and
will comply with the following terms and conditions:
Permission to use, copy, modify, and distribute this software and its associated
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appears in all copies, and that both that
copyright notice and this permission notice appear in supporting documentation,
and that the name of the copyright holder not be used in advertising or publicity
pertaining to distribution of the software without specific, written permission.
THE COPYRIGHT HOLDER DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM THE LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -0,0 +1,49 @@
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
http://www.unicode.org/reports/, http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
http://www.unicode.org/ivd/data/, and http://www.unicode.org/utility/trac/browser/.
Unicode Data Files do not include PDF online code charts under the directory
http://www.unicode.org/Public/.
Software includes any source code published in the Unicode Standard or under
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
and http://www.unicode.org/utility/trac/browser/.
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2016 Unicode, Inc. All rights
reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the Unicode data files and any associated documentation (the "Data Files")
or Unicode software and any associated documentation (the "Software") to deal
in the Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
of the Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either
(a) this copyright and permission notice appear with all copies of the Data
Files or Software, or
(b) this copyright and permission notice appear in associated Documentation.
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in these Data Files or Software without prior written authorization of the
copyright holder.

View file

@ -3,10 +3,12 @@
#
# SPDX-License-Identifier: MIT
# note: autotests contain LGPL-3.0-or-later
LICENSE = "BSD-3-Clause & LGPL-2.0+"
PR = "r0"
# licenses only contained in autotests
REUSE_LICENSECHECK_WHITELIST = "LGPL-3.0-or-later"
DEPENDS = " \
qtbase \
libical \

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "MIT & BSD-3-Clause & LGPL-2.0+ & LGPL-2.0"
PR = "r0"
DEPENDS = "qtbase gperf-native"

View file

@ -6,7 +6,7 @@
# requires session management support in QtGui
# eg. via PACKAGECONFIG_append_pn-qtbase = "sm" in local.conf
LICENSE = "LGPL-2.1"
LICENSE = "MIT & BSD-2-Clause & BSD-3-Clause & LGPL-2.0+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase kconfig-native"

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.0+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase"

View file

@ -5,9 +5,12 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.0+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
# licenses only contained in autotests
REUSE_LICENSECHECK_WHITELIST = "GPL-2.0-only GPL-3.0-only LicenseRef-KDE-Accepted-GPL"
DEPENDS = " \
qtbase \
qtwayland \

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-2-Clause & LGPL-2.0+ & LGPL-2.1+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase"

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.0+ & LGPL-2.1+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase"

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "MIT & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = " \

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "MIT & MIT-CMU & BSD-3-Clause & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = " \

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & LGPL-2.0+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase"

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "MIT & BSD-3-Clause & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = " \

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase modemmanager"

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase networkmanager"

View file

@ -6,7 +6,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & LGPL-2.1+ & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase bison-native"

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & LGPL-2.0+ & LGPL-2.1+"
PR = "r0"
DEPENDS = "qtbase sonnet-native"

View file

@ -3,9 +3,12 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "MIT"
LICENSE = "MIT & LGPL-2.0+"
PR = "r0"
# licenses only contained in autotests
REUSE_LICENSECHECK_WHITELIST = "LGPL-2.1-or-later GPL-2.0-only"
DEPENDS = " \
qtbase \
${BPN}-native \

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & LGPL-2.0+ & LGPL-2.1+"
PR = "r0"
DEPENDS = " \

View file

@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.0"
LICENSE = "MIT & BSD-3-Clause & LGPL-2.0+ & Unicode-DFS-2016"
PR = "r0"
DEPENDS = " \

View file

@ -5,7 +5,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "BSD-3-Clause & (LGPL-2.1 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = " \

View file

@ -4,7 +4,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.0"
LICENSE = "MIT & BSD-2-Clause & LGPL-2.0"
PR = "r0"
DEPENDS = " \

View file

@ -4,7 +4,7 @@
#
# SPDX-License-Identifier: MIT
LICENSE = "LGPL-2.1"
LICENSE = "LGPL-2.1+ & (LGPL-2.0 | LGPL-3.0 | LicenseRef-KDE-Accepted-LGPL)"
PR = "r0"
DEPENDS = "qtbase \