diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 9a7cac09eb..0000000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,223 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: KTX-Software -Source: https://github.com/KhronosGroup/KTX-Software - -## Binary image licenses - -# REUSE seems to use the *last* matching entry in this file, so the most -# general wildcards go first. - -# The majority of images & icons fall under the Khronos license -Files: */*.basis */*.bmp */*.ico */*.icns */*.jpg */*.ktx */*.ktx2 */*.pam */*.pgm */*.ppm */*.png */*.pspimage */*.svg -Copyright: 2015-2022 The Khronos Group Inc. -License: Apache-2.0 - -## Exceptions to the above ... - -# http://www.schaik.com/pngsuite/PngSuite.LICENSE -Files: tests/srcimages/ccwn2c08.png tests/srcimages/g03n2c08.png tests/srcimages/tbrn2c08.png tests/srcimages/tbyn3p08.png tests/srcimages/tm3n3p02.png -Copyright: 1996, 2011 Willem van Schaik -License: LicenseRef-PNGSuite - -# http://r0k.us/graphics/kodak/ -Files: tests/srcimages/kodim17.png -Copyright: Eastman Kodak Company -License: LicenseRef-Kodak - -# Unknown source, "someone in the 3dformats group" - Mark Callow is checking -# For now, treat it as Apache-2.0. -Files: tests/srcimages/color_grid.png -Copyright: Unknown -License: Apache-2.0 - -# Copyrights on CC0 items here are bogus just to keep reuse lint happy. -# CC0 expressly says there is no copyright. - -# https://github.com/KhronosGroup/glTF-Sample-Models - public domain -Files: tests/srcimages/camera_camera_BaseColor_16bit.png -Copyright: UX3D -License: CC0-1.0 - -Files: tests/srcimages/FlightHelmet_baseColor.png -Copyright: Microsoft -License: CC0-1.0 - -Files: tests/srcimages/CesiumLogoFlat_palette.png -Copyright: Analytical Graphics -License: CC-BY-4.0 WITH LicenseRef-Cesium-Trademark-Terms - -Files: tests/testimages/hi_mark.ktx tests/testimages/hi_mark_sq.ktx -Copyright: HI Corporation -License: LicenseRef-HI-Trademark - -Files: tests/srcimages/Iron_Bars/* -Copyright: Katsuagi https://3dtextures.me -License: CC0-1.0 - -Files: tests/srcimages/GoldenGateBridge3/* tests/srcimages/Yokohama3/* -Copyright: Emil Persson http://www.humus.name -License: CC-BY-3.0 - -Files: tests/testimages/skybox.ktx2 tests/testimages/skybox_zstd.ktx2 -Copyright: HDRIHaven -License: CC0-1.0 - -## Licenses of binary files and files from other projects we don't want to -## modify - -Files: external/astc-encoder/* -Copyright: 2020-2023 Arm Limited -License: Apache-2.0 - -Files: external/etcdec/etcdec.cxx -Copyright: 2013 Ericsson AB -License: LicenseRef-ETCSLA - -Files: external/fmt/* -Copyright: 2012-present Victor Zverovich and {fmt} contributors -License: LicenseRef-fmt - -# The JSON format does not support comments for embedded copyrights -Files: */*.json -Copyright: 2017-2020 Mark Callow -License: Apache-2.0 - -Files: external/basisu/Docs/* external/basisu/Test/* external/basisu/jenkins/* external/basisu/.gitattributes external/basisu/.gitignore external/basisu/.gitmodules external/basisu/.pylintrc external/basisu/README.md external/basisu/Utils/Example/README.md -Copyright: 2020-2021 Arm Limited -License: Apache-2.0 - -Files: external/basisu/.gitrepo -Copyright: 2021 Mark Callow -License: Apache-2.0 - -Files: external/basisu/Source/stb_image*.h -Copyright: 2017 Sean Barrett -License: MIT - -Files: external/basisu/Source/tinyexr.h -Copyright: 2014-2019 Syoyo Fujita and many contributors -License: BSD-3-Clause - -Files: external/basisu/Source/wuffs-v0.3.c -Copyright: 2022 The Wuffs Authors. -License: Apache-2.0 - -# We have asked Binomial about REUSE compliance for their repo, see https://github.com/BinomialLLC/basis_universal/issues/165 -Files: external/basisu/* -Copyright: 2019-2020 Binomial LLC -License: Apache-2.0 - -Files: external/basisu/apg_bmp.* external/basisu/CMakeLists.txt external/basisu/webgl/transcoder/CMakeLists.txt -Copyright: 2019 Anton Gerdelan -License: Apache-2.0 - -Files: external/basisu/basisu_astc_decomp.* -Copyright: 2016 The Android Open Source Project -License: Apache-2.0 - -Files: tools/imageio/png.imageio/lodepng.* -Copyright: 2005-2019 Lode Vandevenne -License: Zlib - -Files: external/dfdutils/vulkan/* -Copyright: 2015-2020 The Khronos Group Inc. -License: Apache-2.0 - -Files: external/dfdutils/.gitrepo -Copyright: 2019-2020 The Khronos Group Inc -License: Apache-2.0 - -Files: cmake/modules/NSIS.InstallOptions.ini.in cmake/*.rtf -Copyright: 2017-2020 Andreas Atteneder -License: Apache-2.0 - -Files: other_lib/*/*SDL* other_include/SDL2/* -Copyright: 1997-2020 Sam Lantinga -License: Zlib - -Files: other_lib/*/*/*zstd* other_include/zstd* -Copyright: 2016-present Facebook, Inc. -License: BSD-3-Clause - -Files: other_lib/mac/Release/libminizip.a -Copyright: 1995-2017 Jean-loup Gailly and Mark Adler -License: Zlib - -Files: other_include/assimp/* other_lib/*/*/*assimp* other_lib/mac/Release/libIrrXML.a -Copyright: 2006-2019, assimp team -License: BSD-3-Clause - -Files: other_include/GL/glew.h other_include/GL/glxew.h other_include/GL/wglew.h other_lib/win/Release-x65/glew32.* -Copyright: 2008-2015, Nigel Stewart - 2002-2008, Milan Ikits - 2002-2008, Marcelo E. Magallon - 2002, Lev Povalahev -License: BSD-3-Clause - -Files: other_include/EGL/*.h other_include/GL*/*.h other_include/KHR/khrplatform.h -Copyright: 2007-2020 The Khronos Group Inc. -License: MIT - -Files: other_lib/win/* -Copyright: 2020 Andreas Atteneder -License: Apache-2.0 - -Files: pkgdoc/* -Copyright: 2018-2023 The Khronos Group Inc. -License: Apache-2.0 - -Files: tests/webgl/libktx-gltf/* -Copyright: 2020 Don McCurdy, Austin Eng, Shrek Shao, and Mark Callow -License: Apache-2.0 - -Files: tests/webgl/libktx-webgl/* tests/webgl/libktx-read-webgl/* -Copyright: 2020 Mark Callow -License: Apache-2.0 - -Files: tests/webgl/llt-three/* -Copyright: 2020 Mark Callow -License: Apache-2.0 - -Files: tests/gtest/* -Copyright: 2008, Google Inc. -License: BSD-3-Clause - -Files: tools/package/mac/summary.rtfd/TXT.rtf -Copyright: 2019 Mark Callow -License: Apache-2.0 - -Files: other_include/glm/* -Copyright: 2005 G-Truc Creation -License: MIT - -Files: lib/etcdec.cxx -Copyright: 2013 Ericsson AB 2013. All Rights Reserved. -License: LicenseRef-ETCSLA - -# This has an SPDX identifier, but REUSE doesn't recognize it -Files: tests/loadtests/vkloadtests/resources/ios/LaunchScreen.storyboard -Copyright: 2017-2020 The Khronos Group Inc. -License: Apache-2.0 - -Files: tests/*/*loadtests.rc -Copyright: 2020 The Khronos Group Inc. -License: Apache-2.0 - -# From the nothings/stb project on Github -Files: other_include/stb/* -Copyright: 2017 Sean Barrett -License: MIT - -# This file exists purely to pass our cert to CI and is not otherwise needed. -Files: the_khronos_group_inc.p12.enc -Copyright: 2022 The Khronos Group Inc. -License: Apache-2.0 - -Files: external/cxxopts/* -Copyright: 2014-2022 Jarryd Beck -License: MIT - -Files: NOTICE.md -Copyright: 2024 The Khronos Group Inc. -License: Apache-2.0 - diff --git a/.travis.yml b/.travis.yml index e4b8aaf84d..1454fdfde0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -213,14 +213,8 @@ install: if [ "$CHECK_REUSE" = "YES" -o "$CHECK_REUSE" = "ONLY" ]; then set -e # because the if below swallows a bad exit status. # reuse available via `apt install reuse` is very old: 0.14.0. - # Therefore install via pip. Version today, 2024.7.7, is 4.0.2. + # Therefore install via pip. Version today, 2024.7.9, is 4.0.3. pip3 install reuse - # 4.0.2's version specifier, attrs>=21.1, is too relaxed. reuse fails - # with ModuleNotFound for attrs. 21.2 is installed in the runner. - # It needs a more recent attrs. As of 2.24.7.7 this upgrades to 23.2 - # and reuse works. Watch https://github.com/fsfe/reuse-tool/issues/1039. - # When fixed remove this upgrade line. - pip3 install --upgrade attrs set +e fi if [ "$CHECK_REUSE" != "ONLY" -a "$CHECK_MKVK" != "ONLY" -a "$WASM_BUILD" != "YES" ]; then @@ -282,7 +276,7 @@ script: linux) if [ "$CHECK_REUSE" = "YES" -o "$CHECK_REUSE" = "ONLY" ]; then echo "Calling reuse lint." - reuse --suppress-deprecation lint + reuse lint fi if [ "$CHECK_REUSE" != "ONLY" -a "$CHECK_MKVK" != "ONLY" ]; then if [ "$WASM_BUILD" = "YES" ]; then diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000000..9a1e303176 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,294 @@ +# SPDX-FileCopyrightText: 2024 The Khronos Group Inc. +# SPDX-License-Identifier: Apache-2.0 + +version = 1 +SPDX-PackageName = "KTX-Software" +SPDX-PackageDownloadLocation = "https://github.com/KhronosGroup/KTX-Software" + +[[annotations]] +path = ["**/**.basis", "**/**.bmp", "**/**.ico", "**/**.icns", "**/**.jpg", "**/**.ktx", "**/**.ktx2", "**/**.pam", "**/**.pgm", "**/**.ppm", "**/**.png", "**/**.pspimage", "**/**.svg"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2015-2022 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["tests/srcimages/ccwn2c08.png", "tests/srcimages/g03n2c08.png", "tests/srcimages/tbrn2c08.png", "tests/srcimages/tbyn3p08.png", "tests/srcimages/tm3n3p02.png"] +precedence = "aggregate" +SPDX-FileCopyrightText = "1996, 2011 Willem van Schaik" +SPDX-License-Identifier = "LicenseRef-PNGSuite" + +[[annotations]] +path = "tests/srcimages/kodim17.png" +precedence = "aggregate" +SPDX-FileCopyrightText = "Eastman Kodak Company" +SPDX-License-Identifier = "LicenseRef-Kodak" + +[[annotations]] +path = "tests/srcimages/color_grid.png" +precedence = "aggregate" +SPDX-FileCopyrightText = "Unknown" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tests/srcimages/camera_camera_BaseColor_16bit.png" +precedence = "aggregate" +SPDX-FileCopyrightText = "UX3D" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = "tests/srcimages/FlightHelmet_baseColor.png" +precedence = "aggregate" +SPDX-FileCopyrightText = "Microsoft" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = "tests/srcimages/CesiumLogoFlat_palette.png" +precedence = "aggregate" +SPDX-FileCopyrightText = "Analytical Graphics" +SPDX-License-Identifier = "CC-BY-4.0 WITH LicenseRef-Cesium-Trademark-Terms" + +[[annotations]] +path = ["tests/testimages/hi_mark.ktx", "tests/testimages/hi_mark_sq.ktx"] +precedence = "aggregate" +SPDX-FileCopyrightText = "HI Corporation" +SPDX-License-Identifier = "LicenseRef-HI-Trademark" + +[[annotations]] +path = "tests/srcimages/Iron_Bars/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "Katsuagi https://3dtextures.me" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = ["tests/srcimages/GoldenGateBridge3/**", "tests/srcimages/Yokohama3/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Emil Persson http://www.humus.name" +SPDX-License-Identifier = "CC-BY-3.0" + +[[annotations]] +path = ["tests/testimages/skybox.ktx2", "tests/testimages/skybox_zstd.ktx2"] +precedence = "aggregate" +SPDX-FileCopyrightText = "HDRIHaven" +SPDX-License-Identifier = "CC0-1.0" + +[[annotations]] +path = "external/astc-encoder/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020-2023 Arm Limited" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/etcdec/etcdec.cxx" +precedence = "aggregate" +SPDX-FileCopyrightText = "2013 Ericsson AB" +SPDX-License-Identifier = "LicenseRef-ETCSLA" + +[[annotations]] +path = "external/fmt/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2012-present Victor Zverovich and {fmt} contributors" +SPDX-License-Identifier = "LicenseRef-fmt" + +[[annotations]] +path = "**/**.json" +precedence = "aggregate" +SPDX-FileCopyrightText = "2017-2020 Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["external/basisu/Docs/**", "external/basisu/Test/**", "external/basisu/jenkins/**", "external/basisu/.gitattributes", "external/basisu/.gitignore", "external/basisu/.gitmodules", "external/basisu/.pylintrc", "external/basisu/README.md", "external/basisu/Utils/Example/README.md"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2020-2021 Arm Limited" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/basisu/.gitrepo" +precedence = "aggregate" +SPDX-FileCopyrightText = "2021 Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/basisu/Source/stb_image**.h" +precedence = "aggregate" +SPDX-FileCopyrightText = "2017 Sean Barrett" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "external/basisu/Source/tinyexr.h" +precedence = "aggregate" +SPDX-FileCopyrightText = "2014-2019 Syoyo Fujita and many contributors" +SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = "external/basisu/Source/wuffs-v0.3.c" +precedence = "aggregate" +SPDX-FileCopyrightText = "2022 The Wuffs Authors." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/basisu/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2019-2020 Binomial LLC" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["external/basisu/apg_bmp.**", "external/basisu/CMakeLists.txt", "external/basisu/webgl/transcoder/CMakeLists.txt"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2019 Anton Gerdelan" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/basisu/basisu_astc_decomp.**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2016 The Android Open Source Project" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tools/imageio/png.imageio/lodepng.**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2005-2019 Lode Vandevenne" +SPDX-License-Identifier = "Zlib" + +[[annotations]] +path = "external/dfdutils/vulkan/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2015-2020 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/dfdutils/.gitrepo" +precedence = "aggregate" +SPDX-FileCopyrightText = "2019-2020 The Khronos Group Inc" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["cmake/modules/NSIS.InstallOptions.ini.in", "cmake/**.rtf"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2017-2020 Andreas Atteneder" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["other_lib/**/**SDL**", "other_include/SDL2/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "1997-2020 Sam Lantinga " +SPDX-License-Identifier = "Zlib" + +[[annotations]] +path = ["other_lib/**/**/**zstd**", "other_include/zstd**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2016-present Facebook, Inc." +SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = "other_lib/mac/Release/libminizip.a" +precedence = "aggregate" +SPDX-FileCopyrightText = "1995-2017 Jean-loup Gailly and Mark Adler" +SPDX-License-Identifier = "Zlib" + +[[annotations]] +path = ["other_include/assimp/**", "other_lib/**/**/**assimp**", "other_lib/mac/Release/libIrrXML.a"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2006-2019, assimp team" +SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = ["other_include/GL/glew.h", "other_include/GL/glxew.h", "other_include/GL/wglew.h", "other_lib/win/Release-x65/glew32.**"] +precedence = "aggregate" +SPDX-FileCopyrightText = ["2008-2015, Nigel Stewart ", "2002-2008, Milan Ikits ", "2002-2008, Marcelo E. Magallon ", "2002, Lev Povalahev"] +SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = ["other_include/EGL/**.h", "other_include/GL**/**.h", "other_include/KHR/khrplatform.h"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2007-2020 The Khronos Group Inc." +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "other_lib/win/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 Andreas Atteneder" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "pkgdoc/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2018-2023 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tests/webgl/libktx-gltf/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 Don McCurdy, Austin Eng, Shrek Shao, and Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = ["tests/webgl/libktx-webgl/**", "tests/webgl/libktx-read-webgl/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tests/webgl/llt-three/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tests/gtest/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2008, Google Inc." +SPDX-License-Identifier = "BSD-3-Clause" + +[[annotations]] +path = "tools/package/mac/summary.rtfd/TXT.rtf" +precedence = "aggregate" +SPDX-FileCopyrightText = "2019 Mark Callow" +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "other_include/glm/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2005 G-Truc Creation" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "lib/etcdec.cxx" +precedence = "aggregate" +SPDX-FileCopyrightText = "2013 Ericsson AB 2013. All Rights Reserved." +SPDX-License-Identifier = "LicenseRef-ETCSLA" + +[[annotations]] +path = "tests/loadtests/vkloadtests/resources/ios/LaunchScreen.storyboard" +precedence = "aggregate" +SPDX-FileCopyrightText = "2017-2020 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "tests/**/**loadtests.rc" +precedence = "aggregate" +SPDX-FileCopyrightText = "2020 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "other_include/stb/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2017 Sean Barrett" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "the_khronos_group_inc.p12.enc" +precedence = "aggregate" +SPDX-FileCopyrightText = "2022 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0" + +[[annotations]] +path = "external/cxxopts/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "2014-2022 Jarryd Beck" +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "NOTICE.md" +precedence = "aggregate" +SPDX-FileCopyrightText = "2024 The Khronos Group Inc." +SPDX-License-Identifier = "Apache-2.0"