diff --git a/LICENSES/LicenseRef-KhronosFreeUse.txt b/LICENSES/LicenseRef-KhronosFreeUse.txt deleted file mode 100644 index fe3c97314..000000000 --- a/LICENSES/LicenseRef-KhronosFreeUse.txt +++ /dev/null @@ -1,18 +0,0 @@ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and/or associated documentation files (the "Materials"), to -deal in the Materials without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Materials, and to permit persons to whom the Materials are -furnished to do so, subject to the following conditions: - -The above copyright notice(s) and this permission notice shall be included in -all copies or substantial portions of the Materials. - -THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE -USE OR OTHER DEALINGS IN THE MATERIALS. diff --git a/LICENSES/LicenseRef-dirent.txt b/LICENSES/LicenseRef-dirent.txt deleted file mode 100644 index 58481b6c6..000000000 --- a/LICENSES/LicenseRef-dirent.txt +++ /dev/null @@ -1,6 +0,0 @@ -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose is hereby granted without fee, provided -that this copyright and permissions notice appear in all copies and -derivatives. - -This software is supplied "as is" without express or implied warranty. diff --git a/LICENSES/MIT-Khronos-old.txt b/LICENSES/MIT-Khronos-old.txt new file mode 100644 index 000000000..430863bc9 --- /dev/null +++ b/LICENSES/MIT-Khronos-old.txt @@ -0,0 +1,23 @@ +Copyright (c) 2014-2020 The Khronos Group Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and/or associated documentation files (the "Materials"), +to deal in the Materials without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Materials, and to permit persons to whom the +Materials are furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Materials. + +MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS +STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND +HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS +IN THE MATERIALS. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt deleted file mode 100644 index d817195da..000000000 --- a/LICENSES/MIT.txt +++ /dev/null @@ -1,18 +0,0 @@ -MIT License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO -EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/REUSE.toml b/REUSE.toml index 896447461..e9219519a 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -1,306 +1,35 @@ version = 1 -# --------------------------------------------------------------------------- -# Default: all files not matched by a later rule use Apache-2.0 -# --------------------------------------------------------------------------- [[annotations]] path = "**" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Top-level repo files (no license header) -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - "LICENSE.txt", - "CONTRIBUTING.md", - "README.md", - "BUILD.md", - "GOVERNANCE.md", - "SECURITY.md", - "CODE_OF_CONDUCT.md", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Repository config files -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - ".clang-format", - ".gitattributes", - ".gitignore", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# GitHub config files -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - ".github/dependabot.yml", - ".github/ISSUE_TEMPLATE/bug_report.md", - ".github/ISSUE_TEMPLATE/feature_request.md", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# GitHub workflow files (have explicit headers) -# --------------------------------------------------------------------------- - -[[annotations]] -path = ".github/workflows/build.yml" -SPDX-FileCopyrightText = ["2021-2024 Valve Corporation", "2021-2024 LunarG, Inc."] -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = ".github/workflows/codeql.yml" -SPDX-FileCopyrightText = "2023 Google LLC" -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = ".github/workflows/format.yml" -SPDX-FileCopyrightText = ["2026 Valve Corporation", "2026 LunarG, Inc."] -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = ".github/workflows/reuse-compliance.yml" -SPDX-FileCopyrightText = "2026 The Khronos Group Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# LICENSES directory -# --------------------------------------------------------------------------- - -[[annotations]] -path = "LICENSES/**" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Loader source files (Apache-2.0, multi-author) -# --------------------------------------------------------------------------- - -[[annotations]] -path = "loader/**" -SPDX-FileCopyrightText = [ - "2014-2026 The Khronos Group Inc.", - "2014-2026 Valve Corporation", - "2014-2026 LunarG, Inc.", -] -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = "loader/vulkan.pc.in" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# cJSON: MIT license (Dave Gamble and cJSON contributors) -[[annotations]] -path = ["loader/cJSON.c", "loader/cJSON.h"] -SPDX-FileCopyrightText = "2009-2017 Dave Gamble and cJSON contributors" -SPDX-License-Identifier = "MIT" - -# dirent: custom Kevlin Henney permissive license -[[annotations]] -path = ["loader/dirent_on_windows.c", "loader/dirent_on_windows.h"] -SPDX-FileCopyrightText = [ - "1997, 2003, 2012 Kevlin Henney", - "2015-2021 The Khronos Group Inc.", - "2015-2021 Valve Corporation", - "2015-2021 LunarG, Inc.", -] -SPDX-License-Identifier = "LicenseRef-dirent" - -# --------------------------------------------------------------------------- -# Build files -# --------------------------------------------------------------------------- - -[[annotations]] -path = "CMakeLists.txt" +precedence = "closest" SPDX-FileCopyrightText = [ - "2014-2023 Valve Corporation", - "2014-2023 LunarG, Inc.", - "2021-2022 NVIDIA CORPORATION & AFFILIATES", - "2023-2023 RasterGrid Kft.", + "The Khronos Group Inc.", ] SPDX-License-Identifier = "Apache-2.0" -[[annotations]] -path = "BUILD.gn" -SPDX-FileCopyrightText = [ - "2018-2019 The ANGLE Project Authors", - "2019-2023 LunarG, Inc.", -] -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Scripts -# --------------------------------------------------------------------------- [[annotations]] -path = "scripts/**" +path = "loader/**" +precedence = "closest" SPDX-FileCopyrightText = [ - "2019-2025 The Khronos Group Inc.", - "2019-2025 Valve Corporation", - "2019-2025 LunarG, Inc.", -] -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = "scripts/CodeCoverage.cmake" -SPDX-FileCopyrightText = "2018-2020 George Cave" -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = ["scripts/gn/DEPS", "scripts/known_good.json"] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = "scripts/qnx/**" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Documentation Markdown files -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - "docs/LoaderApplicationInterface.md", - "docs/LoaderDebugging.md", - "docs/LoaderDriverInterface.md", - "docs/LoaderInterfaceArchitecture.md", - "docs/LoaderLayerInterface.md", - "docs/LoaderSettingsFile.md", - "loader/LoaderAndLayerInterface.md", - "loader/README.md", - "tests/README.md", - "tests/framework/README.md", - "scripts/qnx/README.md", - "tests/live_verification/dynamic_loader_behavior/dynamic_loading_behavior.md", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Documentation images (Valve Corporation and LunarG, Inc. per README.txt) -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - "docs/images/*.png", - "docs/images/svgs/*.svg", - "docs/images/svgs/README.txt", -] -SPDX-FileCopyrightText = ["Valve Corporation", "LunarG, Inc."] -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Tests: CMakeLists.txt files (Apache-2.0) -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - "tests/CMakeLists.txt", - "tests/framework/CMakeLists.txt", - "tests/framework/icd/CMakeLists.txt", - "tests/framework/layer/CMakeLists.txt", - "tests/framework/shim/CMakeLists.txt", - "tests/framework/util/CMakeLists.txt", - "tests/integration/CMakeLists.txt", - "tests/live_verification/CMakeLists.txt", - "tests/live_verification/dynamic_loader_behavior/CMakeLists.txt", + "The Khronos Group Inc.", + "Valve Corporation", + "LunarG, Inc.", ] -SPDX-FileCopyrightText = ["Valve Corporation", "LunarG, Inc."] SPDX-License-Identifier = "Apache-2.0" -# tests/framework/data/CMakeLists.txt has no copyright header -[[annotations]] -path = "tests/framework/data/CMakeLists.txt" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Tests: source files using LicenseRef-KhronosFreeUse -# --------------------------------------------------------------------------- [[annotations]] path = [ - "tests/*.cpp", - "tests/framework/*.cpp", - "tests/framework/*.h", - "tests/framework/icd/test_icd.cpp", - "tests/framework/icd/test_icd.h", - "tests/framework/layer/test_layer.cpp", - "tests/framework/layer/test_layer.h", - "tests/framework/layer/wrap_objects.cpp", - "tests/framework/layer/layer_util.h", - "tests/framework/shim/shim_common.cpp", - "tests/framework/shim/shim.h", - "tests/framework/shim/unix_shim.cpp", - "tests/framework/shim/windows_shim.cpp", - "tests/framework/util/*.cpp", - "tests/framework/util/*.h", - "tests/framework/generated/vk_result_to_string_helper.h", - "tests/framework/layer/generated/vk_dispatch_table_helper.h", - "tests/framework/framework_config.h.in", - "tests/live_verification/*.cpp", - "tests/live_verification/dynamic_loader_behavior/*.cpp", - "tests/live_verification/dynamic_loader_behavior/*.h", + "tests/**", ] +precedence = "closest" SPDX-FileCopyrightText = [ - "2021-2025 The Khronos Group Inc.", - "2021-2025 Valve Corporation", - "2021-2025 LunarG, Inc.", + "The Khronos Group Inc.", + "Valve Corporation", + "LunarG, Inc.", ] -SPDX-License-Identifier = "LicenseRef-KhronosFreeUse" - -# --------------------------------------------------------------------------- -# Tests: data files (no license header, default fallback) -# --------------------------------------------------------------------------- +SPDX-License-Identifier = "MIT-Khronos-old" -[[annotations]] -path = [ - "tests/framework/data/.gitignore", - "tests/framework/data/stub.cpp", - "tests/framework/data/fuzzer_output.json", - "tests/framework/data/VkLayer_complex_file.json", - "tests/corpus/config.json", - "tests/corpus/VkLayer_complex_file.json", - "tests/corpus/config_with_other_arch.json", - "tests/corpus/config_with_unordered_layer_location.json", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = "tests/framework/data/fuzz_test_minimized_test_cases/**" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -[[annotations]] -path = "tests/framework/data/binaries/**" -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0" - -# --------------------------------------------------------------------------- -# Tests: Windows .def export definition files -# --------------------------------------------------------------------------- - -[[annotations]] -path = [ - "tests/framework/icd/export_definitions/**", - "tests/framework/layer/export_definitions/**", -] -SPDX-FileCopyrightText = "2014-2026 The Khronos Group, Inc." -SPDX-License-Identifier = "Apache-2.0"