Licensing fixes
cover Licensing fixes
Cleans up the licenses on several recipes to use a known SPDX license identifier if one exists
Joshua Watt (8):
mobile-broadband-provider-info: Fix license to be CC-PDDC
gettext-minimal-native: Use SPDX License Identifier glib-2.0: Change from Public Domain to Gnome GCR Documentation License
python3-pyelftools: Update license to Unlicense
ttf-bitstream-vera: Use SPDX license identifier
sqlite3: Use SPDX identifier
pixman: Change PD license to HPND-sell-variant
util-macros: Remove redundant MIT license
.../mobile-broadband-provider-info_20251101.bb | 2 +- meta/recipes-core/gettext/gettext-minimal-native_1.0.bb | 2 +- meta/recipes-core/glib-2.0/glib.inc | 2 +- meta/recipes-devtools/python/python3-pyelftools_0.32.bb | 2 +- meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | 2 +- meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb | 2 +- meta/recipes-graphics/xorg-util/util-macros_1.20.2.bb | 2 +- meta/recipes-support/sqlite/sqlite3_3.53.0.bb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.54.0
PATCH 1/8 mobile-broadband-provider-info: Fix license to be CC-PDDC
Careful reading of the license text reveals that it is actually the exact wording of the Creative Commons Public Domain Dedication and Certification license, which has the SPDX identifier CC-PDDC
--- .../mobile-broadband-provider-info_20251101.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20251101.bb +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "Mobile Broadband Service Provider Database" HOMEPAGE = "http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders" DESCRIPTION = "Mobile Broadband Service Provider Database stores service provider specific information. When this Database is available the information can be fetched there" SECTION = "network" -LICENSE = "PD" +LICENSE = "CC-PDDC" LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04" PE = "1"
Signature · 1 line
2.54.0
PATCH 2/8 gettext-minimal-native: Use SPDX License Identifier
In reply to Joshua WattChanges the license from FSF-Unlimited to FSFULLR, which is the SPDX identifier for the same license.
--- meta/recipes-core/gettext/gettext-minimal-native_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/gettext/gettext-minimal-native_1.0.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI += " \ INHIBIT_DEFAULT_DEPS = "1" INHIBIT_AUTOTOOLS_DEPS = "1" -LICENSE = "FSF-Unlimited" +LICENSE = "FSFULLR" LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=4bd090a20bfcd1a18f1f79837b5e3e91" inherit native
Signature · 1 line
2.54.0
PATCH 3/8 glib-2.0: Change from Public Domain to Gnome GCR Documentation License
In reply to Joshua WattThe file docs/reference/COPYING is an exact match for the text of the Gnome GCR Documentation License (SPDX ID GCR-docs), so use that license instead of Public Domain. This licenses actually requires that the copyright notice be preserved, unlike Public Domain, so its likely that using Public Domain is actually an error due to a misreading of the license text.
--- meta/recipes-core/glib-2.0/glib.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +1 -1
@@ -4,7 +4,7 @@ HOMEPAGE = "https://developer.gnome.org/glib/" # pcre is under BSD; # docs/reference/COPYING is with a 'public domain'-like license! -LICENSE = "LGPL-2.1-or-later & BSD-3-Clause & PD" +LICENSE = "LGPL-2.1-or-later & BSD-3-Clause & GCR-docs" LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5 \ file://glib/glib.h;beginline=4;endline=17;md5=72f7cc2847407f65d8981ef112e4e630 \ file://LICENSES/LGPL-2.1-or-later.txt;md5=41890f71f740302b785c27661123bff5 \
Signature · 1 line
2.54.0
Re: [OE-core][PATCH 3/8] glib-2.0: Change from Public Domain to Gnome GCR Documentation License
Quoted 17 lines · Joshua Watt via lists.openembedded.org
The file docs/reference/COPYING is an exact match for the text of the Gnome GCR Documentation License (SPDX ID GCR-docs), so use that license instead of Public Domain. This licenses actually requires that the copyright notice be preserved, unlike Public Domain, so its likely that using Public Domain is actually an error due to a misreading of the license text.
Signed-off-by Joshua Watt <[email protected]>--- meta/recipes-core/glib-2.0/glib.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-core/glib-2.0/glib.inc +0
-0
meta/recipes-core/glib-2.0/glib.inc HOMEPAGE = "https://developer.gnome.org/glib/" · line 6
Quoted 3 lines
meta/recipes-core/glib-2.0/glib.inc +0
-0@@ -4,7 +4,7 @@ HOMEPAGE = "https://developer.gnome.org/glib/" # pcre is under BSD; # docs/reference/COPYING is with a 'public domain'-like license!
Hi Joshua,
We should update the comment here as well.
meta/recipes-core/glib-2.0/glib.inc HOMEPAGE = "https://developer.gnome.org/glib/" · line 10
Quoted 5 lines
meta/recipes-core/glib-2.0/glib.inc +1
-1-LICENSE = "LGPL-2.1-or-later & BSD-3-Clause & PD" +LICENSE = "LGPL-2.1-or-later & BSD-3-Clause & GCR-docs" LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5 \ file://glib/glib.h;beginline=4;endline=17;md5=72f7cc2847407f65d8981ef112e4e630 \ file://LICENSES/LGPL-2.1-or-later.txt;md5=41890f71f740302b785c27661123bff5 \
Best regards,
Signature · 1 line
Paul Barker
PATCH 4/8 python3-pyelftools: Update license to Unlicense
In reply to Joshua WattThe license used is actually the Unlicense (which is a variant of public domain), so update license field to reflect this.
--- meta/recipes-devtools/python/python3-pyelftools_0.32.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-pyelftools_0.32.bb +1 -1
@@ -1,7 +1,7 @@ SUMMARY = "pyelftools is a pure-Python library for parsing and analyzing ELF files and DWARF debugging information" HOMEPAGE = "https://github.com/eliben/pyelftools" SECTION = "devel/python" -LICENSE = "PD" +LICENSE = "Unlicense" LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" SRC_URI[sha256sum] = "6de90ee7b8263e740c8715a925382d4099b354f29ac48ea40d840cf7aa14ace5"
Signature · 1 line
2.54.0
PATCH 5/8 ttf-bitstream-vera: Use SPDX license identifier
In reply to Joshua WattChange the license identifier to use the SPDX license identifier "Bitstream-Vera" which refers to the same license.
--- meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb +1 -1
@@ -6,7 +6,7 @@ and bold). In addition Fontconfig/Xft2 can artificially oblique the \ serif faces for you: this loses hinting and distorts the faces slightly, \ but is visibly different than normal and bold, and reasonably pleasing." SECTION = "x11/fonts" -LICENSE = "BitstreamVera" +LICENSE = "Bitstream-Vera" LIC_FILES_CHKSUM = "file://COPYRIGHT.TXT;md5=27d7484b1e18d0ee4ce538644a3f04be" inherit allarch fontcache
Signature · 1 line
2.54.0
PATCH 6/8 sqlite3: Use SPDX identifier
In reply to Joshua WattSPDX has a license identifier for the sqlite license ("blessing"), so use it instead of marking it as Public Domain
--- meta/recipes-support/sqlite/sqlite3_3.53.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/sqlite/sqlite3_3.53.0.bb +1 -1
@@ -1,6 +1,6 @@ require sqlite3.inc -LICENSE = "PD" +LICENSE = "blessing" LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66" SRC_URI = "http://www.sqlite.org/2026/sqlite-autoconf-${SQLITE_PV}.tar.gz"
Signature · 1 line
2.54.0
PATCH 7/8 pixman: Change PD license to HPND-sell-variant
In reply to Joshua WattThe license listed matches the SPDX license HPND-sell-variant, so use that identifier instead
--- meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb +1 -1
@@ -15,7 +15,7 @@ UPSTREAM_CHECK_REGEX = "pixman-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" PE = "1" -LICENSE = "MIT & PD" +LICENSE = "MIT & HPND-sell-variant" LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \ file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \ file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b \
Signature · 1 line
2.54.0
PATCH 8/8 util-macros: Remove redundant MIT license
In reply to Joshua WattRemoves a redundant MIT license declaration
--- meta/recipes-graphics/xorg-util/util-macros_1.20.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-util/util-macros_1.20.2.bb +1 -1
@@ -4,7 +4,7 @@ DESCRIPTION = "M4 autotools macros used by various X.org programs." require xorg-util-common.inc -LICENSE = "MIT & MIT" +LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=42ba50748cb7ccf8739424e5e2072b02" PE = "1"
Signature · 1 line
2.54.0
Quoted 13 lines · Joshua Watt via lists.openembedded.org
Cleans up the licenses on several recipes to use a known SPDX license identifier if one exists
Joshua Watt (8):
mobile-broadband-provider-info: Fix license to be CC-PDDC
gettext-minimal-native: Use SPDX License Identifier glib-2.0: Change from Public Domain to Gnome GCR Documentation License
python3-pyelftools: Update license to Unlicense
ttf-bitstream-vera: Use SPDX license identifier
sqlite3: Use SPDX identifier
pixman: Change PD license to HPND-sell-variant
util-macros: Remove redundant MIT license
Quoted 9 lines
.../mobile-broadband-provider-info_20251101.bb | 2 +- meta/recipes-core/gettext/gettext-minimal-native_1.0.bb | 2 +- meta/recipes-core/glib-2.0/glib.inc | 2 +- meta/recipes-devtools/python/python3-pyelftools_0.32.bb | 2 +- meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb | 2 +- meta/recipes-graphics/xorg-lib/pixman_0.46.4.bb | 2 +- meta/recipes-graphics/xorg-util/util-macros_1.20.2.bb | 2 +- meta/recipes-support/sqlite/sqlite3_3.53.0.bb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
Hi Joshua,
I've reviewed all of these patches, looked at the relevant licenses and SPDX license pages. All of the changes look correct to me.
Best regards,
Signature · 1 line
Paul Barker