diff --git a/.codespellrc b/.codespellrc index 6b1398b25a..383e9ce243 100644 --- a/.codespellrc +++ b/.codespellrc @@ -10,8 +10,8 @@ skip = .git, .typos.toml, build, + CONTRIBUTORS.rst, CTestCustom.cmake.in, - LICENSE.rst, Modules/Internal/CPack/NSIS.template.in, Source/CursesDialog/form/*, Source/kwsys/*, diff --git a/.typos.toml b/.typos.toml index d1ccb1224b..70608b8377 100644 --- a/.typos.toml +++ b/.typos.toml @@ -57,7 +57,7 @@ SEH = "SEH" ignore-hidden = false ignore-dot = false extend-exclude = [ - "LICENSE.rst" + "CONTRIBUTORS.rst" # Exclude third-party sources. , "Source/CursesDialog/form/" , "Source/kwsys/" diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index 75cc5d91cd..97668d390b 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -15,7 +15,9 @@ if(CMake_INSTALL_DEPENDENCIES) endif() set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LICENSE.txt") -configure_file("${CMake_LICENSE_FILE}" "${CPACK_RESOURCE_FILE_LICENSE}" COPYONLY) +file(READ "${CMake_LICENSE_FILE}" license_text) +string(REPLACE "`Contributors `_" "Contributors" license_text "${license_text}") +file(WRITE "${CPACK_RESOURCE_FILE_LICENSE}" "${license_text}") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "CMake is a build tool") set(CPACK_PACKAGE_VENDOR "Kitware") diff --git a/CMakeLists.txt b/CMakeLists.txt index deb8bca579..907c344370 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -536,6 +536,7 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) # Install license file as it requires. install(FILES "${CMake_LICENSE_FILE}" + "${CMake_SOURCE_DIR}/CONTRIBUTORS.rst" DESTINATION ${CMAKE_DOC_DIR}) # Install script directories. diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst new file mode 100644 index 0000000000..fc417df80e --- /dev/null +++ b/CONTRIBUTORS.rst @@ -0,0 +1,100 @@ +Contributors +************ + +The following individuals and institutions are among the contributors: + +* Aaron C. Meadows +* Adriaan de Groot +* Aleksey Avdeev +* Alexander Neundorf +* Alexander Smorkalov +* Alexey Sokolov +* Alex Merry +* Alex Turbov +* Andreas Pakulat +* Andreas Schneider +* André Rigland Brodtkorb +* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf +* Benjamin Eikel +* Bjoern Ricks +* Brad Hards +* Christopher Harvey +* Christoph Grüninger +* Clement Creusot +* Daniel Blezek +* Daniel Pfeifer +* Dawid Wróbel +* Enrico Scholz +* Eran Ifrah +* Esben Mose Hansen, Ange Optimization ApS +* Geoffrey Viola +* Google Inc +* Gregor Jasny +* Helio Chissini de Castro +* Ilya Lavrenov +* Insight Software Consortium +* Intel Corporation +* Jan Woetzel +* Jordan Williams +* Julien Schueller +* Kelly Thompson +* Konstantin Podsvirov +* Laurent Montel +* Mario Bensi +* Martin Gräßlin +* Mathieu Malaterre +* Matthaeus G. Chajdas +* Matthias Kretz +* Matthias Maennich +* Michael Hirsch, Ph.D. +* Michael Stürmer +* Miguel A. Figueroa-Villanueva +* Mike Durso +* Mike Jackson +* Mike McQuaid +* Nicolas Bock +* Nicolas Despres +* Nikita Krupen'ko +* NVIDIA Corporation +* OpenGamma Ltd. +* Patrick Stotko +* Per Øyvind Karlsen +* Peter Collingbourne +* Petr Gotthard +* Philip Lowman +* Philippe Proulx +* Raffi Enficiaud, Max Planck Society +* Raumfeld +* Roger Leigh +* Rolf Eike Beer +* Roman Donchenko +* Roman Kharitonov +* Ruslan Baratov +* Sebastian Holtermann +* Stephen Kelly +* Sylvain Joubert +* The Qt Company Ltd. +* Thomas Sondergaard +* Tobias Hunger +* Todd Gamblin +* Tristan Carel +* University of Dundee +* Vadim Zhukov +* Will Dicharry + +See version control history for details of individual contributions. + +Copyright +========= + +The accompanying `LICENSE.rst`_ notice applies to distributions of CMake +in source and binary form. We do not require any formal copyright +assignment or contributor license agreement. Any contributions +intentionally sent upstream are presumed to be offered under terms +of the OSI-approved BSD 3-clause License. + +Third-party software packages supplied with CMake under compatible +licenses provide their own copyright notices documented in corresponding +subdirectories or source files. + +.. _`LICENSE.rst`: LICENSE.rst diff --git a/LICENSE.rst b/LICENSE.rst index a40aa8660f..782e3659c3 100644 --- a/LICENSE.rst +++ b/LICENSE.rst @@ -1,4 +1,4 @@ -Copyright 2000-2025 Kitware, Inc. and Contributors +Copyright 2000-2025 Kitware, Inc. and `Contributors `_ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -26,119 +26,3 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Contributors -************ - -The following individuals and institutions are among the contributors: - -* Aaron C. Meadows -* Adriaan de Groot -* Aleksey Avdeev -* Alexander Neundorf -* Alexander Smorkalov -* Alexey Sokolov -* Alex Merry -* Alex Turbov -* Andreas Pakulat -* Andreas Schneider -* André Rigland Brodtkorb -* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf -* Benjamin Eikel -* Bjoern Ricks -* Brad Hards -* Christopher Harvey -* Christoph Grüninger -* Clement Creusot -* Daniel Blezek -* Daniel Pfeifer -* Dawid Wróbel -* Enrico Scholz -* Eran Ifrah -* Esben Mose Hansen, Ange Optimization ApS -* Geoffrey Viola -* Google Inc -* Gregor Jasny -* Helio Chissini de Castro -* Ilya Lavrenov -* Insight Software Consortium -* Intel Corporation -* Jan Woetzel -* Jordan Williams -* Julien Schueller -* Kelly Thompson -* Konstantin Podsvirov -* Laurent Montel -* Mario Bensi -* Martin Gräßlin -* Mathieu Malaterre -* Matthaeus G. Chajdas -* Matthias Kretz -* Matthias Maennich -* Michael Hirsch, Ph.D. -* Michael Stürmer -* Miguel A. Figueroa-Villanueva -* Mike Durso -* Mike Jackson -* Mike McQuaid -* Nicolas Bock -* Nicolas Despres -* Nikita Krupen'ko -* NVIDIA Corporation -* OpenGamma Ltd. -* Patrick Stotko -* Per Øyvind Karlsen -* Peter Collingbourne -* Petr Gotthard -* Philip Lowman -* Philippe Proulx -* Raffi Enficiaud, Max Planck Society -* Raumfeld -* Roger Leigh -* Rolf Eike Beer -* Roman Donchenko -* Roman Kharitonov -* Ruslan Baratov -* Sebastian Holtermann -* Stephen Kelly -* Sylvain Joubert -* The Qt Company Ltd. -* Thomas Sondergaard -* Tobias Hunger -* Todd Gamblin -* Tristan Carel -* University of Dundee -* Vadim Zhukov -* Will Dicharry - -See version control history for details of individual contributions. - -Copyright -========= - -The above copyright notice applies to distributions of CMake -in source and binary form. We do not require any formal copyright -assignment or contributor license agreement. Any contributions -intentionally sent upstream are presumed to be offered under terms -of the OSI-approved BSD 3-clause License. - -Third-party software packages supplied with CMake under compatible -licenses provide their own copyright notices documented in corresponding -subdirectories or source files. - -Sponsorship -=========== - -CMake was initially developed by Kitware with the following sponsorship: - -* National Library of Medicine at the National Institutes of Health - as part of the Insight Segmentation and Registration Toolkit (ITK). - -* US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel - Visualization Initiative. - -* National Alliance for Medical Image Computing (NAMIC) is funded by the - National Institutes of Health through the NIH Roadmap for Medical Research, - Grant U54 EB005149. - -* Kitware, Inc. diff --git a/Source/CMakeCopyright.cmake b/Source/CMakeCopyright.cmake index ce0d2ed363..a9af2d1c04 100644 --- a/Source/CMakeCopyright.cmake +++ b/Source/CMakeCopyright.cmake @@ -1,7 +1,9 @@ # CMake license file and copyright line. set(CMake_LICENSE_FILE "${CMake_SOURCE_DIR}/LICENSE.rst") file(STRINGS "${CMake_LICENSE_FILE}" CMake_COPYRIGHT_LINE LIMIT_COUNT 1 REGEX "^Copyright ") -if(NOT CMake_COPYRIGHT_LINE MATCHES [[^Copyright 2000-2[0-9][0-9][0-9] Kitware, Inc\. and Contributors$]]) +if(CMake_COPYRIGHT_LINE MATCHES [[^(Copyright 2000-2[0-9][0-9][0-9] Kitware, Inc\. and )`(Contributors) `_$]]) + set(CMake_COPYRIGHT_LINE "${CMAKE_MATCH_1}${CMAKE_MATCH_2}") +else() message(FATAL_ERROR "The CMake license file:\n" " ${CMake_LICENSE_FILE}\n"