From patchwork Tue Jul 14 18:31:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Watt X-Patchwork-Id: 92444 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FCC8C4450C for ; Tue, 14 Jul 2026 19:04:31 +0000 (UTC) Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1663.1784055861717853951 for ; Tue, 14 Jul 2026 12:04:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=VnCHmkXp; spf=pass (domain: gmail.com, ip: 209.85.161.41, mailfrom: jpewhacker@gmail.com) Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-6a3897109bfso1473648eaf.3 for ; Tue, 14 Jul 2026 12:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784055861; x=1784660661; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sE7ZlMTiQyhWCtgSo9A3oA5ww9ZBkylrgwBq8iRw9ag=; b=VnCHmkXpxkt+rEhLwmDWu9UQ/mnLyQmaG5Cnx89Eat2MknNxkXk8sIhhJwaxsZBXwV 4GklIQAesTSKal+Yvlnym9ZQb0qLbC/Zkrj9D3KrRnzABp7a+pXqGivfLjkY+siMwUhK UB6Tz5N+xxP57LeBdqypF/Q1LFFBAda7UE93oVyJrPZSNjCF32iDPz4+KKuzciMk1Bx2 D23f/Px3wUakI96nGxKjjlxUD7iURMvdC2P42Rxb38ufffq96Kd99DjxojYpbtKk8MLZ L3kR7KEzJKCs0mrm0GN5XO/9w+1mnjZH+h/7be40WrOQIPkJulC6X/EH2+9APBHyjzb4 ea5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784055861; x=1784660661; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=sE7ZlMTiQyhWCtgSo9A3oA5ww9ZBkylrgwBq8iRw9ag=; b=fShQmUdzkolcRhCTPMmP5aX5ESZfrajojIfLv54tkwSajPdRufD2NSSr4/OCH3RFpu Hy7OgTJdoBY7Te2fRWmpSUtaQoSL//fr/KcURAuohpq5qtxO8W/9Sd8GDbmfGYV7gGQF Uy5KEc57crhCme16QTkLwc9UoSeN9Dg42Nkusw0UuN+dYioiUq/dN2U43eNWZBME6Gd5 xjq/iE5TDunMcDJx+stlh2PZ1FC38GnQena/mP4f/05AiElik0YfvFvOcJe3q5lVBZgq uFf62m/QnDNCIPqaR9mjPhuY8zgSKQ1pKTQcWyjbaoY4hI7DjcZzDeiUp1l4aop3DQA9 0Pjg== X-Gm-Message-State: AOJu0YzDCjySbOlLFtaiPjmvVq73jlFAHG3UG0oUxa2ACmNTmAMOhOdh iBDi7c+d30lDoXdGfK3nFgIjwxEPOTE1ulTQ9ZuyJjhc1VOe+4OxShSLH37X4A== X-Gm-Gg: AfdE7ckyq4nYccw7qYYbAbQA490fqo3xktsquXOgAe3vsAyAOzvBUo8IT+/cMwGeZN8 BoZN0cjvqreyvmmTNuG7NTBS7DHr+PAqeU4sEsxkdnQ7tmUlMG1XllPqCit0jdrEN9Oe9S4QU+t /mkqJlkkiqoLQVLHfEBGKibkL6isJHHHuZBu/22uIJvLaKP5150mppon2c7DwjFPJ2kL+4VPhRL QEqz2mucAFn6+L8F3BY0c/a4wkNx6DJpkPq1cjABn1VtweTI38SGOnFvW87HV/ykReYZy3oq8iZ 5wGid06h8BoHrjyh4EuP1Ai4QS8E5vBEUD7qdQSbIgc93H5vusw/D5pZIZbLs27eCNo0kNHTwF3 O0TNJwtDMOvorRoffYso5DkYNdRD+Sg7cpJIRBtVNxbcBPRpX30HcIiirMs1CpPgjvNftC9TYVE LXIYXNpeJHsdm1LVQ8XPU2 X-Received: by 2002:a05:6820:625:b0:6a1:83e4:b4d with SMTP id 006d021491bc7-6a3d9f24554mr27861eaf.17.1784055860818; Tue, 14 Jul 2026 12:04:20 -0700 (PDT) Received: from localhost.localdomain ([2601:283:4b02:22d0::7b52]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-451916f31d4sm17695629fac.16.2026.07.14.12.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 12:04:20 -0700 (PDT) From: Joshua Watt X-Google-Original-From: Joshua Watt To: openembedded-core@lists.openembedded.org Cc: Joshua Watt Subject: [OE-core][PATCH 16/22] Fix up licenses Date: Tue, 14 Jul 2026 12:31:26 -0600 Message-ID: <20260714190405.3328796-17-JPEWhacker@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260714190405.3328796-1-JPEWhacker@gmail.com> References: <20260714190405.3328796-1-JPEWhacker@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 14 Jul 2026 19:04:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/240924 Fixes up several locations where the convert-spdx-license script could not automatically fix up the license Signed-off-by: Joshua Watt --- meta/recipes-core/gettext/gettext_1.0.bb | 2 +- meta/recipes-core/util-linux/util-linux_2.42.2.bb | 4 ++-- meta/recipes-devtools/cmake/cmake-native_4.4.0.bb | 2 +- meta/recipes-devtools/cmake/cmake_4.4.0.bb | 2 +- meta/recipes-devtools/fmt/fmt_12.2.0.bb | 2 +- meta/recipes-graphics/cairo/cairo_1.18.4.bb | 4 ++-- meta/recipes-graphics/libsdl2/libsdl2_2.32.10.bb | 2 +- meta/recipes-support/libcap/libcap_2.78.bb | 6 +++--- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/meta/recipes-core/gettext/gettext_1.0.bb b/meta/recipes-core/gettext/gettext_1.0.bb index 08b4819f27..8a11a55570 100644 --- a/meta/recipes-core/gettext/gettext_1.0.bb +++ b/meta/recipes-core/gettext/gettext_1.0.bb @@ -8,7 +8,7 @@ LICENSE = "GPL-3.0-or-later & LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" # without libxml in PACKAGECONFIG vendor copy of the lib will be used -LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', '& MIT', d)}" +LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', 'AND MIT', d)}" LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', 'file://libtextstyle/lib/libxml/COPYING;md5=2044417e2e5006b65a8b9067b683fcf1', d)}" # without glib in PACKAGECONFIG vendor copy of the lib will be used LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=e3159f5ac38dfe77af5cc0ee104dab2d;beginline=10;endline=27', d)}" diff --git a/meta/recipes-core/util-linux/util-linux_2.42.2.bb b/meta/recipes-core/util-linux/util-linux_2.42.2.bb index 4943d5c7ab..b3d466dc80 100644 --- a/meta/recipes-core/util-linux/util-linux_2.42.2.bb +++ b/meta/recipes-core/util-linux/util-linux_2.42.2.bb @@ -2,10 +2,10 @@ require util-linux.inc # Most of the applications and the libraries are linked with libcommon.la, # which uses these licenses -LIBCOMMON_LICENSES = "LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & MIT" +LIBCOMMON_LICENSES = "LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND MIT" # The default license is GPL-2.0-or-later -DEFAULT_LICENSES = "GPL-2.0-or-later & ${LIBCOMMON_LICENSES}" +DEFAULT_LICENSES = "GPL-2.0-or-later AND ${LIBCOMMON_LICENSES}" LICENSE = "GPL-1.0-or-later & GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & BSD-4-Clause-UC & MIT & EUPL-1.2" LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" diff --git a/meta/recipes-devtools/cmake/cmake-native_4.4.0.bb b/meta/recipes-devtools/cmake/cmake-native_4.4.0.bb index 840a2fddb9..fe1136bd6c 100644 --- a/meta/recipes-devtools/cmake/cmake-native_4.4.0.bb +++ b/meta/recipes-devtools/cmake/cmake-native_4.4.0.bb @@ -7,7 +7,7 @@ SRC_URI += "file://OEToolchainConfig.cmake \ file://environment.d-cmake.sh \ " -LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl & Apache-2.0" +LICENSE:append = " AND BSD-1-Clause AND MIT AND BSD-2-Clause AND curl AND Apache-2.0" LIC_FILES_CHKSUM:append = " \ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \ file://Utilities/cmlibarchive/COPYING;md5=7ce08437ff7f5e24d72e666313ae4084 \ diff --git a/meta/recipes-devtools/cmake/cmake_4.4.0.bb b/meta/recipes-devtools/cmake/cmake_4.4.0.bb index e6abc06c85..6265316fd9 100644 --- a/meta/recipes-devtools/cmake/cmake_4.4.0.bb +++ b/meta/recipes-devtools/cmake/cmake_4.4.0.bb @@ -11,7 +11,7 @@ SRC_URI:append:class-nativesdk = " \ file://environment.d-cmake.sh \ " -LICENSE:append = " & BSD-1-Clause & MIT" +LICENSE:append = " AND BSD-1-Clause AND MIT" LIC_FILES_CHKSUM:append = " \ file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \ file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \ diff --git a/meta/recipes-devtools/fmt/fmt_12.2.0.bb b/meta/recipes-devtools/fmt/fmt_12.2.0.bb index ca8fcb66ec..d68684e4f6 100644 --- a/meta/recipes-devtools/fmt/fmt_12.2.0.bb +++ b/meta/recipes-devtools/fmt/fmt_12.2.0.bb @@ -1,7 +1,7 @@ SUMMARY = "open-source formatting library for C++" DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams." HOMEPAGE = "https://fmt.dev" -LICENSE = "MIT-with-fmt-exception" +LICENSE = "MIT WITH fmt-exception" LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec080902ed8f82f5a97ed13e8042634 \ file://doc/LICENSE-exception;md5=b9257785fc4f3803a4b71b76c1412729" diff --git a/meta/recipes-graphics/cairo/cairo_1.18.4.bb b/meta/recipes-graphics/cairo/cairo_1.18.4.bb index 3f6d02f8d4..0ed81166b5 100644 --- a/meta/recipes-graphics/cairo/cairo_1.18.4.bb +++ b/meta/recipes-graphics/cairo/cairo_1.18.4.bb @@ -19,8 +19,8 @@ LICENSE:${PN}-script-interpreter = "MPL-1.1 | LGPL-2.1-only" LICENSE:${PN}-perf-utils = "GPL-3.0-or-later" # Adapt the licenses for cairo-dbg and cairo-src depending on whether # cairo-trace is being built. -LICENSE:${PN}-dbg = "(MPL-1.1 | LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' & GPL-3.0-or-later', '', d)}" -LICENSE:${PN}-src = "(MPL-1.1 | LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' & GPL-3.0-or-later', '', d)}" +LICENSE:${PN}-dbg = "(MPL-1.1 OR LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' AND GPL-3.0-or-later', '', d)}" +LICENSE:${PN}-src = "(MPL-1.1 OR LGPL-2.1-only)${@bb.utils.contains('PACKAGECONFIG', 'trace', ' AND GPL-3.0-or-later', '', d)}" LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77 \ ${@bb.utils.contains('PACKAGECONFIG', 'trace', 'file://util/cairo-trace/COPYING-GPL-3;md5=d32239bcb673463ab874e80d47fae504', '', d)}" diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.32.10.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.32.10.bb index 880bf56167..091ce8ed8b 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.32.10.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.32.10.bb @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "\ " # arm-neon adds MIT license -LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}" +LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', 'AND MIT', '', d)}" LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', 'file://src/video/arm/pixman-arm-neon-asm.h;md5=9a9cc1e51abbf1da58f4d9528ec9d49b;beginline=1;endline=24', '', d)}" PROVIDES = "virtual/libsdl2" diff --git a/meta/recipes-support/libcap/libcap_2.78.bb b/meta/recipes-support/libcap/libcap_2.78.bb index 85cd8004f1..d804e94244 100644 --- a/meta/recipes-support/libcap/libcap_2.78.bb +++ b/meta/recipes-support/libcap/libcap_2.78.bb @@ -5,7 +5,7 @@ users, without giving them full root permissions." HOMEPAGE = "http://sites.google.com/site/fullycapable/" # The library is BSD | GPLv2, the PAM module is BSD | LGPLv2+ -LICENSE = "(BSD-3-Clause | GPL-2.0-only) & (BSD-3-Clause | LGPL-2.0-or-later)" +LICENSE = "(BSD-3-Clause OR GPL-2.0-only) AND (BSD-3-Clause OR LGPL-2.0-or-later)" LIC_FILES_CHKSUM = "file://License;md5=2965a646645b72ecee859b43c592dcaa \ file://pam_cap/License;md5=905326f41d3d1f8df21943f9a4ed6b50 \ " @@ -108,8 +108,8 @@ do_install_ptest() { FILES:${PN} += "${base_libdir}/security/*.so" # The license of the main package depends on whether PAM is enabled or not -LICENSE:${PN} = "(BSD-3-Clause | GPL-2.0-only)${@bb.utils.contains('PACKAGECONFIG', 'pam', ' & (BSD-3-Clause | LGPL-2.0-or-later)', '', d)}" -LICENSE:${PN}-dev = "(BSD-3-Clause | GPL-2.0-only)" +LICENSE:${PN} = "(BSD-3-Clause OR GPL-2.0-only)${@bb.utils.contains('PACKAGECONFIG', 'pam', ' AND (BSD-3-Clause OR LGPL-2.0-or-later)', '', d)}" +LICENSE:${PN}-dev = "BSD-3-Clause OR GPL-2.0-only" BBCLASSEXTEND = "native nativesdk"