package/qt6: fix license information
cover package/qt6: fix license information
This series fixes the license information of some Qt6 packages.
- Patch 1 drops hashes of license files that upstream removed from qt6languageserver, qt6mqtt, qt6opcua and qt6websockets. These hashes were never checked.
- Patch 2 completes the license information of qt6multimedia, with the third-party code it bundles: tlsf and dr_wav, always built, signalsmith-stretch with the ffmpeg plugin, and resonance-audio, pffft and eigen with the spatial audio module.
Both patches apply on master, with Qt 6.11.3, and on top of the Qt 6.12.0 bump series. The license files they use are the same in both versions.
Angelo Compagnucci (2):
package/qt6: drop hashes of removed license files package/qt6/qt6multimedia: fix license information
.../qt6languageserver/qt6languageserver.hash | 1 - package/qt6/qt6mqtt/qt6mqtt.hash | 1 - package/qt6/qt6multimedia/qt6multimedia.hash | 5 ++++ package/qt6/qt6multimedia/qt6multimedia.mk | 28 ++++++++++++++----- package/qt6/qt6opcua/qt6opcua.hash | 1 - package/qt6/qt6websockets/qt6websockets.hash | 1 - 6 files changed, 26 insertions(+), 11 deletions(-)
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/2 package/qt6: drop hashes of removed license files
qt6languageserver, qt6mqtt, qt6opcua and qt6websockets have a hash for LICENSES/Qt-GPL-exception-1.0.txt. Upstream removed this file from these modules: it is in 6.8.0, but not in 6.10.0 nor in 6.11.3.
None of these packages lists the file in its _LICENSE_FILES, so the hash is never checked. Drop it.
--- package/qt6/qt6languageserver/qt6languageserver.hash | 1 - package/qt6/qt6mqtt/qt6mqtt.hash | 1 - package/qt6/qt6opcua/qt6opcua.hash | 1 - package/qt6/qt6websockets/qt6websockets.hash | 1 - 4 files changed, 4 deletions(-)
package/qt6/qt6languageserver/qt6languageserver.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6mqtt/qt6mqtt.hash +0 -1
@@ -6,4 +6,3 @@ sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENS sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6opcua/qt6opcua.hash +0 -1
@@ -7,4 +7,3 @@ sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENS sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6websockets/qt6websockets.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/qt6/qt6multimedia: fix license information
In reply to Angelo Compagnucciqt6multimedia bundles third-party code in src/3rdparty. The license information listed only GPL-3.0 and LGPL-3.0, with the eigen and pffft license files, also when they are not built. Complete it, following src/multimedia/CMakeLists.txt and the qt_attribution.json files:
- tlsf, always built: BSD-3-Clause;
- dr_wav from dr_libs, always built: Unlicense or MIT-0;
- signalsmith-stretch, built with the ffmpeg plugin: MIT;
- resonance-audio with the SADIE HRTF database, pffft and eigen, built with the spatial audio module: Apache-2.0, BSD-3-Clause, and MPL-2.0 and BSD-3-Clause.
src/3rdparty/ffmpeg only has the license files of the system ffmpeg, which the ffmpeg package already covers.
--- package/qt6/qt6multimedia/qt6multimedia.hash | 5 ++++ package/qt6/qt6multimedia/qt6multimedia.mk | 28 +++++++++++++++----- 2 files changed, 26 insertions(+), 7 deletions(-)
package/qt6/qt6multimedia/qt6multimedia.hash +5 -0
@@ -9,8 +9,13 @@ sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENS sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 LICENSES/MPL-2.0.txt sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt +sha256 dd1c647e6f767f8ff4b2dfae0fed314726600a01e0cf1ef556afddd5fa96ff15 src/3rdparty/dr_libs/LICENSE sha256 51928dce36213c5333ba3172e847d735d4c6e9b7ff2722a326c49067155b82eb src/3rdparty/eigen/COPYING.BSD sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 src/3rdparty/eigen/COPYING.MPL2 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 +sha256 ee2ef82481ffb445ecdd4b3a4c1f82c0cddb2da8fe39d8e8dc384fffb3e7f06f src/3rdparty/signalsmith-stretch/LICENSE.txt
package/qt6/qt6multimedia/qt6multimedia.mk +21 -7
@@ -10,7 +10,10 @@ QT6MULTIMEDIA_SOURCE = qtmultimedia-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6MULTIMEDIA QT6MULTIMEDIA_INSTALL_STAGING = YES QT6MULTIMEDIA_SUPPORTS_IN_SOURCE_BUILD = NO QT6MULTIMEDIA_CMAKE_BACKEND = ninja -QT6MULTIMEDIA_LICENSE = GPL-3.0, LGPL-3.0 +QT6MULTIMEDIA_LICENSE = \ + GPL-3.0, LGPL-3.0, \ + BSD-3-Clause (tlsf), \ + Unlicense or MIT-0 (dr_wav) QT6MULTIMEDIA_LICENSE_FILES = \ LICENSES/BSD-3-Clause.txt \
@@ -18,13 +21,8 @@ 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 + src/3rdparty/dr_libs/LICENSE QT6MULTIMEDIA_CONF_OPTS = \ -DBUILD_WITH_PCH=OFF \
@@ -57,6 +55,8 @@ endif ifeq ($(BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG),y) QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_ffmpeg=ON +QT6MULTIMEDIA_LICENSE += , MIT (signalsmith-stretch) +QT6MULTIMEDIA_LICENSE_FILES += src/3rdparty/signalsmith-stretch/LICENSE.txt QT6MULTIMEDIA_DEPENDENCIES += ffmpeg # libxext/libxrandr are needed for ffmpeg plugin to build with X11 # support:
@@ -108,6 +108,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
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Angelo Compagnucci
This series fixes the license information of some Qt6 packages.
- Patch 1 drops hashes of license files that upstream removed from qt6languageserver, qt6mqtt, qt6opcua and qt6websockets. These hashes were never checked.
- Patch 2 completes the license information of qt6multimedia, with the third-party code it bundles: tlsf anddr_wav, always built, signalsmith-stretch with the ffmpeg plugin, and resonance-audio, pffft and eigen with the spatial audio module.
Quoted 7 lines
Both patches apply on master, with Qt 6.11.3, and on top of the Qt 6.12.0 bump series. The license files they use are the same in both versions.
Angelo Compagnucci (2):
package/qt6: drop hashes of removed license files package/qt6/qt6multimedia: fix license information
Thanks, but those being fixes, we would like to have a Fixes: tag on them pointing to the commit that introduced the issue. That will help our LTS maintainers figure out whether those fixes need to be backported, and how far back.
Could you add these tags, and respin?
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/2 package/qt6: drop hashes of removed license files
In reply to Angelo Compagnucciqt6languageserver, qt6mqtt, qt6opcua and qt6websockets have a hash for LICENSES/Qt-GPL-exception-1.0.txt. Upstream removed this file from these modules:
- qtwebsockets: in 6.8.1;
- qtmqtt and qtopcua: in 6.8.2;
- qtlanguageserver: in 6.10.0.
None of these packages lists the file in its _LICENSE_FILES, so the hash is never checked. Drop it.
---
Changes v1 -> v2:
- add Fixes: tags [Thomas Petazzoni]
- say in which version each module dropped the file
Supersedes v1: https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
package/qt6/qt6languageserver/qt6languageserver.hash | 1 - package/qt6/qt6mqtt/qt6mqtt.hash | 1 - package/qt6/qt6opcua/qt6opcua.hash | 1 - package/qt6/qt6websockets/qt6websockets.hash | 1 - 4 files changed, 4 deletions(-)
package/qt6/qt6languageserver/qt6languageserver.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6mqtt/qt6mqtt.hash +0 -1
@@ -6,4 +6,3 @@ sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENS sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6opcua/qt6opcua.hash +0 -1
@@ -7,4 +7,3 @@ sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENS sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6websockets/qt6websockets.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/2 package/qt6/qt6multimedia: fix license information
qt6multimedia bundles third-party code in src/3rdparty. The license information listed only GPL-3.0 and LGPL-3.0, with the eigen and pffft license files, also when they are not built. Complete it, following src/multimedia/CMakeLists.txt and the qt_attribution.json files:
- tlsf, always built: BSD-3-Clause;
- dr_wav from dr_libs, always built: Unlicense or MIT-0;
- signalsmith-stretch, built with the ffmpeg plugin: MIT;
- resonance-audio with the SADIE HRTF database, pffft and eigen, built with the spatial audio module: Apache-2.0, BSD-3-Clause, and MPL-2.0 and BSD-3-Clause.
src/3rdparty/ffmpeg only has the license files of the system ffmpeg, which the ffmpeg package already covers.
The license information was incomplete since the package was added. The bumps to 6.9.1 and 6.11.1 then added signalsmith-stretch, dr_libs and tlsf without updating it.
---
Changes v1 -> v2:
- add Fixes: tags [Thomas Petazzoni]
- say which commits left the license information incomplete
Supersedes v1: https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
package/qt6/qt6multimedia/qt6multimedia.hash | 5 ++++ package/qt6/qt6multimedia/qt6multimedia.mk | 28 +++++++++++++++----- 2 files changed, 26 insertions(+), 7 deletions(-)
package/qt6/qt6multimedia/qt6multimedia.hash +5 -0
@@ -9,8 +9,13 @@ sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENS sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 LICENSES/MPL-2.0.txt sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt +sha256 dd1c647e6f767f8ff4b2dfae0fed314726600a01e0cf1ef556afddd5fa96ff15 src/3rdparty/dr_libs/LICENSE sha256 51928dce36213c5333ba3172e847d735d4c6e9b7ff2722a326c49067155b82eb src/3rdparty/eigen/COPYING.BSD sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 src/3rdparty/eigen/COPYING.MPL2 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 +sha256 ee2ef82481ffb445ecdd4b3a4c1f82c0cddb2da8fe39d8e8dc384fffb3e7f06f src/3rdparty/signalsmith-stretch/LICENSE.txt
package/qt6/qt6multimedia/qt6multimedia.mk +21 -7
@@ -10,7 +10,10 @@ QT6MULTIMEDIA_SOURCE = qtmultimedia-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6MULTIMEDIA QT6MULTIMEDIA_INSTALL_STAGING = YES QT6MULTIMEDIA_SUPPORTS_IN_SOURCE_BUILD = NO QT6MULTIMEDIA_CMAKE_BACKEND = ninja -QT6MULTIMEDIA_LICENSE = GPL-3.0, LGPL-3.0 +QT6MULTIMEDIA_LICENSE = \ + GPL-3.0, LGPL-3.0, \ + BSD-3-Clause (tlsf), \ + Unlicense or MIT-0 (dr_wav) QT6MULTIMEDIA_LICENSE_FILES = \ LICENSES/BSD-3-Clause.txt \
@@ -18,13 +21,8 @@ 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 + src/3rdparty/dr_libs/LICENSE QT6MULTIMEDIA_CONF_OPTS = \ -DBUILD_WITH_PCH=OFF \
@@ -57,6 +55,8 @@ endif ifeq ($(BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG),y) QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_ffmpeg=ON +QT6MULTIMEDIA_LICENSE += , MIT (signalsmith-stretch) +QT6MULTIMEDIA_LICENSE_FILES += src/3rdparty/signalsmith-stretch/LICENSE.txt QT6MULTIMEDIA_DEPENDENCIES += ffmpeg # libxext/libxrandr are needed for ffmpeg plugin to build with X11 # support:
@@ -108,6 +108,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
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 2/2] package/qt6/qt6multimedia: fix license information
Quoted 15 lines · Angelo Compagnucci
qt6multimedia bundles third-party code in src/3rdparty. The license information listed only GPL-3.0 and LGPL-3.0, with the eigen and pffft license files, also when they are not built. Complete it, following
src/multimedia/CMakeLists.txtand the qt_attribution.json files:- tlsf, always built: BSD-3-Clause;
-dr_wavfromdr_libs, always built: Unlicense or MIT-0;
- signalsmith-stretch, built with the ffmpeg plugin: MIT;
- resonance-audio with the SADIE HRTF database, pffft and eigen, built with the spatial audio module: Apache-2.0, BSD-3-Clause, and MPL-2.0 and BSD-3-Clause.src/3rdparty/ffmpeg only has the license files of the system ffmpeg, which the ffmpeg package already covers.
Quoted 7 lines
The license information was incomplete since the package was added. The bumps to 6.9.1 and 6.11.1 then added signalsmith-stretch,
dr_libsand tlsf without updating it.Fixes 553c55e9bd3cfa05cb84fa4cdfc5d25d51c3486b ("package/qt6/qt6multimedia: new package") [2025.02.x, 2026.08.x]Fixes 5ae304d96cb7c4df040ba1bdfedfb09b3d5a3417 ("package/qt6: bump version to 6.9.1") [2026.08.x]Fixes 05cd38635a1c2a8e6c44170b5eae8488b0c7a104 ("package/qt6: bump version to 6.11.1") [2026.08.x]
Same comment here.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2 1/2] package/qt6: drop hashes of removed license files
In reply to Angelo CompagnucciQuoted 8 lines · Angelo Compagnucci
qt6languageserver, qt6mqtt, qt6opcua and qt6websockets have a hash for
LICENSES/Qt-GPL-exception-1.0.txt. Upstream removed this file from these modules:- qtwebsockets: in 6.8.1;
- qtmqtt and qtopcua: in 6.8.2;
- qtlanguageserver: in 6.10.0.
Quoted 7 lines
None of these packages lists the file in its
_LICENSE_FILES, so the hash is never checked. Drop it.Fixes ecea4d94ac676ae9e66ce3e8799c0ba7dc14cc96 ("package/qt6: bump version to 6.8.1") [2025.02.x, 2026.08.x]Fixes 5ae304d96cb7c4df040ba1bdfedfb09b3d5a3417 ("package/qt6: bump version to 6.9.1") [2026.08.x]Fixes 1ef39b9196e0a5979581187f15fd665ca390c2a0 ("package/qt6: bump version to 6.8.4") [2025.02.x]Fixes 05cd38635a1c2a8e6c44170b5eae8488b0c7a104 ("package/qt6: bump version to 6.11.1") [2026.08.x]
Sorry, but this is not clear to me. Does this mean that some of license files were gone in 2025.02.x, but others in 2026.08.x? Then shouldn't this patch be split into several patches, so that we can backport to 2025.02.x the patches that make sense?
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 1/4 package/qt6: drop hashes of removed license files
In reply to Angelo Compagnucciqt6mqtt, qt6opcua and qt6websockets have a hash for LICENSES/Qt-GPL-exception-1.0.txt. Upstream removed this file from these modules:
- qtwebsockets: in 6.8.1;
- qtmqtt and qtopcua: in 6.8.2.
None of these packages lists the file in its _LICENSE_FILES, so the hash is never checked. Drop it.
On 2025.02.x, the qtmqtt and qtopcua hashes went stale with the bump to 6.8.4, which is only on that branch.
Backport to: 2025.02.x, 2026.08.x
---
Changes v2 -> v3:
- split by backport branch: qt6languageserver moved to its own patch, only 2026.08.x needs it [Thomas Petazzoni]
- add the "Backport to:" line
Changes v1 -> v2:
- add Fixes: tags [Thomas Petazzoni]
- say in which version each module dropped the file
Supersedes v2: https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
package/qt6/qt6mqtt/qt6mqtt.hash | 1 - package/qt6/qt6opcua/qt6opcua.hash | 1 - package/qt6/qt6websockets/qt6websockets.hash | 1 - 3 files changed, 3 deletions(-)
package/qt6/qt6mqtt/qt6mqtt.hash +0 -1
@@ -6,4 +6,3 @@ sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENS sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6opcua/qt6opcua.hash +0 -1
@@ -7,4 +7,3 @@ sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENS sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
package/qt6/qt6websockets/qt6websockets.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 2/4 package/qt6/qt6multimedia: fix spatial audio licenses
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
---
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/[email protected]/
package/qt6/qt6multimedia/qt6multimedia.hash | 3 +++ package/qt6/qt6multimedia/qt6multimedia.mk | 22 +++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-)
package/qt6/qt6multimedia/qt6multimedia.hash +3 -0
@@ -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
package/qt6/qt6multimedia/qt6multimedia.mk +15 -7
@@ -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
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 3/4 package/qt6/qt6languageserver: drop stale hash
In reply to Angelo Compagnucciqt6languageserver has a hash for LICENSES/Qt-GPL-exception-1.0.txt. Upstream removed this file in 6.10.0. The package does not list it in its _LICENSE_FILES, so the hash is never checked. Drop it.
2025.02.x has qtlanguageserver 6.8.5, which still has the file.
Backport to: 2026.08.x
---
Changes v2 -> v3:
- new patch, split from "package/qt6: drop hashes of removed license files": only 2026.08.x needs it [Thomas Petazzoni]
- add the "Backport to:" line
Changes v1 -> v2:
- add Fixes: tags [Thomas Petazzoni]
- say in which version each module dropped the file
Supersedes v2 (in part): https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
package/qt6/qt6languageserver/qt6languageserver.hash | 1 - 1 file changed, 1 deletion(-)
package/qt6/qt6languageserver/qt6languageserver.hash +0 -1
@@ -8,4 +8,3 @@ sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENS sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt -sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v3 4/4 package/qt6/qt6multimedia: add missing licenses
In reply to Angelo CompagnucciQt 6.9.1 and 6.11.1 added third-party code to qt6multimedia, without its license information. Add it, following src/multimedia/CMakeLists.txt and the qt_attribution.json files:
- tlsf, always built, since 6.11.1: BSD-3-Clause;
- dr_wav from dr_libs, always built, since 6.11.1: Unlicense or MIT-0;
- signalsmith-stretch, built with the ffmpeg plugin, since 6.9.1: MIT.
src/3rdparty/ffmpeg only has the license files of the system ffmpeg, which the ffmpeg package already covers.
2025.02.x has qtmultimedia 6.8.5, without this code.
Backport to: 2026.08.x
---
Changes v2 -> v3:
- new patch, split from "package/qt6/qt6multimedia: fix license information": the code added in 6.9.1 and 6.11.1, only on 2026.08.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/[email protected]/
package/qt6/qt6multimedia/qt6multimedia.hash | 2 ++ package/qt6/qt6multimedia/qt6multimedia.mk | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-)
package/qt6/qt6multimedia/qt6multimedia.hash +2 -0
@@ -9,6 +9,7 @@ sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENS sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 LICENSES/MPL-2.0.txt sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt +sha256 dd1c647e6f767f8ff4b2dfae0fed314726600a01e0cf1ef556afddd5fa96ff15 src/3rdparty/dr_libs/LICENSE sha256 51928dce36213c5333ba3172e847d735d4c6e9b7ff2722a326c49067155b82eb src/3rdparty/eigen/COPYING.BSD sha256 66a3107d5ad6a058aab753eaac2047ccb2ed0e39465dd0fe5844da3e300d5172 src/3rdparty/eigen/COPYING.MPL2 sha256 ebf65756959aabc5e321d98c04ddf528b80b6982ffec355f3c743ea24018d263 src/3rdparty/eigen/COPYRIGHTS
@@ -17,3 +18,4 @@ sha256 a46200592eb193853527250da098e6bb0c75424e7a2c7db8da526c4f301c3d88 src/3r 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 +sha256 ee2ef82481ffb445ecdd4b3a4c1f82c0cddb2da8fe39d8e8dc384fffb3e7f06f src/3rdparty/signalsmith-stretch/LICENSE.txt
package/qt6/qt6multimedia/qt6multimedia.mk +8 -2
@@ -10,7 +10,10 @@ QT6MULTIMEDIA_SOURCE = qtmultimedia-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6MULTIMEDIA QT6MULTIMEDIA_INSTALL_STAGING = YES QT6MULTIMEDIA_SUPPORTS_IN_SOURCE_BUILD = NO QT6MULTIMEDIA_CMAKE_BACKEND = ninja -QT6MULTIMEDIA_LICENSE = GPL-3.0, LGPL-3.0 +QT6MULTIMEDIA_LICENSE = \ + GPL-3.0, LGPL-3.0, \ + BSD-3-Clause (tlsf), \ + Unlicense or MIT-0 (dr_wav) QT6MULTIMEDIA_LICENSE_FILES = \ LICENSES/BSD-3-Clause.txt \
@@ -18,7 +21,8 @@ QT6MULTIMEDIA_LICENSE_FILES = \ LICENSES/GPL-2.0-only.txt \ LICENSES/GPL-3.0-only.txt \ LICENSES/LGPL-3.0-only.txt \ - LICENSES/Qt-GPL-exception-1.0.txt + LICENSES/Qt-GPL-exception-1.0.txt \ + src/3rdparty/dr_libs/LICENSE QT6MULTIMEDIA_CONF_OPTS = \ -DBUILD_WITH_PCH=OFF \
@@ -51,6 +55,8 @@ endif ifeq ($(BR2_PACKAGE_QT6MULTIMEDIA_FFMPEG),y) QT6MULTIMEDIA_CONF_OPTS += -DFEATURE_ffmpeg=ON +QT6MULTIMEDIA_LICENSE += , MIT (signalsmith-stretch) +QT6MULTIMEDIA_LICENSE_FILES += src/3rdparty/signalsmith-stretch/LICENSE.txt QT6MULTIMEDIA_DEPENDENCIES += ffmpeg # libxext/libxrandr are needed for ffmpeg plugin to build with X11 # support:
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot