Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>,
	Baxiche Su <baxiche@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Subject: [Buildroot] [PATCH v3 2/4] package/qt6/qt6multimedia: fix spatial audio licenses
Date: Mon, 23 Nov 2026 23:00:15 +0100	[thread overview]
Message-ID: <20261123220017.3955658-2-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261123220017.3955658-1-angelo.compagnucci@gmail.com>

The spatial audio module of qt6multimedia builds the bundled
resonance-audio, with the SADIE HRTF database, pffft and eigen. The
package lists the eigen and pffft license files even when this module
is disabled, and misses the resonance-audio ones.

List these licenses only with the spatial audio module:

- resonance-audio and the SADIE HRTF database: Apache-2.0;
- pffft: BSD-3-Clause;
- eigen: MPL-2.0 and BSD-3-Clause.

Backport to: 2025.02.x, 2026.08.x

Fixes: 553c55e9bd3cfa05cb84fa4cdfc5d25d51c3486b ("package/qt6/qt6multimedia: new package")
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v2 -> v3:
  - new patch, split from "package/qt6/qt6multimedia: fix license
    information": the spatial audio part, also needed on 2025.02.x
    [Thomas Petazzoni]
  - add the "Backport to:" line

Changes v1 -> v2:
  - add Fixes: tags [Thomas Petazzoni]
  - say which commits left the license information incomplete

Supersedes v2 (in part): https://patchwork.buildroot.org/project/buildroot/patch/20261123212022.3748880-2-angelo.compagnucci@gmail.com/

 package/qt6/qt6multimedia/qt6multimedia.hash |  3 +++
 package/qt6/qt6multimedia/qt6multimedia.mk   | 22 +++++++++++++-------
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/package/qt6/qt6multimedia/qt6multimedia.hash b/package/qt6/qt6multimedia/qt6multimedia.hash
index 557530a4ef..4f8ea03008 100644
--- a/package/qt6/qt6multimedia/qt6multimedia.hash
+++ b/package/qt6/qt6multimedia/qt6multimedia.hash
@@ -14,3 +14,6 @@ sha256  66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172  src/3r
 sha256  ebf65756959aabc5e321d98c04ddf528b80b6982ffec355f3c743ea24018d263  src/3rdparty/eigen/COPYRIGHTS
 sha256  b522f821df94da3bad917e98ef04817b3af421c3b8c23e8247ae7e517b289934  src/3rdparty/pffft/COPYRIGHTS
 sha256  a46200592eb193853527250da098e6bb0c75424e7a2c7db8da526c4f301c3d88  src/3rdparty/pffft/LICENSE
+sha256  2513c5ad87ce9e7feed2c9a159d336f0a0d12ff93adcd411f7a15a1ab678f7ac  src/3rdparty/resonance-audio/COPYRIGHTS
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  src/3rdparty/resonance-audio/LICENSE
+sha256  48b2d5072817ba4cf7c2ee7af788434d001f43d36ef05e0ce5b76d7cf7262b50  src/3rdparty/resonance-audio/third_party/SADIE_hrtf_database/LICENSE
diff --git a/package/qt6/qt6multimedia/qt6multimedia.mk b/package/qt6/qt6multimedia/qt6multimedia.mk
index d0d08cacc7..e6485570c9 100644
--- a/package/qt6/qt6multimedia/qt6multimedia.mk
+++ b/package/qt6/qt6multimedia/qt6multimedia.mk
@@ -18,13 +18,7 @@ QT6MULTIMEDIA_LICENSE_FILES = \
 	LICENSES/GPL-2.0-only.txt \
 	LICENSES/GPL-3.0-only.txt \
 	LICENSES/LGPL-3.0-only.txt \
-	LICENSES/MPL-2.0.txt \
-	LICENSES/Qt-GPL-exception-1.0.txt \
-	src/3rdparty/eigen/COPYING.BSD \
-	src/3rdparty/eigen/COPYING.MPL2 \
-	src/3rdparty/eigen/COPYRIGHTS \
-	src/3rdparty/pffft/COPYRIGHTS \
-	src/3rdparty/pffft/LICENSE
+	LICENSES/Qt-GPL-exception-1.0.txt
 
 QT6MULTIMEDIA_CONF_OPTS = \
 	-DBUILD_WITH_PCH=OFF \
@@ -108,6 +102,20 @@ endif
 
 ifeq ($(BR2_PACKAGE_QT6MULTIMEDIA_SPATIALAUDIO),y)
 QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_spatialaudio=ON
+QT6MULTIMEDIA_LICENSE += \
+	, Apache-2.0 (resonance-audio), \
+	BSD-3-Clause (pffft), \
+	MPL-2.0, BSD-3-Clause (eigen)
+QT6MULTIMEDIA_LICENSE_FILES += \
+	LICENSES/MPL-2.0.txt \
+	src/3rdparty/eigen/COPYING.BSD \
+	src/3rdparty/eigen/COPYING.MPL2 \
+	src/3rdparty/eigen/COPYRIGHTS \
+	src/3rdparty/pffft/COPYRIGHTS \
+	src/3rdparty/pffft/LICENSE \
+	src/3rdparty/resonance-audio/COPYRIGHTS \
+	src/3rdparty/resonance-audio/LICENSE \
+	src/3rdparty/resonance-audio/third_party/SADIE_hrtf_database/LICENSE
 ifeq ($(BR2_PACKAGE_QT6QUICK3D),y)
 QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_spatialaudio_quick3d=ON
 QT6MULTIMEDIA_DEPENDENCIES += qt6quick3d
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-11-23 22:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 20:54 [Buildroot] [PATCH 0/2] package/qt6: fix license information Angelo Compagnucci
2026-11-22 20:54 ` [Buildroot] [PATCH 1/2] package/qt6: drop hashes of removed license files Angelo Compagnucci
2026-11-22 20:54 ` [Buildroot] [PATCH 2/2] package/qt6/qt6multimedia: fix license information Angelo Compagnucci
2026-11-23 21:01 ` [Buildroot] [PATCH 0/2] package/qt6: " Thomas Petazzoni via buildroot
2026-11-23 21:20 ` [Buildroot] [PATCH v2 1/2] package/qt6: drop hashes of removed license files Angelo Compagnucci
2026-11-23 21:20   ` [Buildroot] [PATCH v2 2/2] package/qt6/qt6multimedia: fix license information Angelo Compagnucci
2026-11-23 21:50     ` Thomas Petazzoni via buildroot
2026-11-23 21:49   ` [Buildroot] [PATCH v2 1/2] package/qt6: drop hashes of removed license files Thomas Petazzoni via buildroot
2026-11-23 22:00   ` [Buildroot] [PATCH v3 1/4] " Angelo Compagnucci
2026-11-23 22:00     ` Angelo Compagnucci [this message]
2026-11-23 22:00     ` [Buildroot] [PATCH v3 3/4] package/qt6/qt6languageserver: drop stale hash Angelo Compagnucci
2026-11-23 22:00     ` [Buildroot] [PATCH v3 4/4] package/qt6/qt6multimedia: add missing licenses Angelo Compagnucci
2026-11-28 14:17     ` [Buildroot] [PATCH v3 1/4] package/qt6: drop hashes of removed license files Marcus Hoffmann via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123220017.3955658-2-angelo.compagnucci@gmail.com \
    --to=angelo.compagnucci@gmail.com \
    --cc=baxiche@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=roykollensvendsen@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox