1
0
mirror of https://github.com/glennrp/libpng.git synced 2026-10-22 20:29:09 +03:00

maint: Migrate the CI software licensing to the REUSE Specification

Also change the copyright notice format in source files:

 - Old format: "Copyright (c) <Author> <Year>-<Year>"
 - New format: "Copyright (C) <Author> <Year>"

The new format is meant to reduce the diff output and to alleviate the
maintenance burden; the use of lowercase "(c)" vs. uppercase "(C)" is
meant to distinguish between the old format and the new format.

This is a cherry-pick of commit 28cb31ffa4
from branch 'libpng18'.

Signed-off-by: Cosmin Truta <ctruta@gmail.com>
This commit is contained in:
Cosmin Truta
2026-05-11 10:47:08 +03:00
parent 8c62c3b86a
commit d3f14cdc8c
51 changed files with 59 additions and 240 deletions

5
REUSE.toml Normal file
View File

@@ -0,0 +1,5 @@
version = 1
[[annotations]]
SPDX-License-Identifier = "MIT"
path = "ci/**"

View File

@@ -1,3 +1,6 @@
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
# Disable the "expressions don't expand in single quotes, use double quotes"
# advice. We need the regular expressions to remain uninterpolated.
disable=SC2016

View File

@@ -4,22 +4,21 @@ Scripts for the Continuous Integration of the PNG Reference Library
Copyright Notice
----------------
Copyright (c) 2019-2026 Cosmin Truta.
Copyright (C) 2019 Cosmin Truta.
Use, modification and distribution are subject to the MIT License.
Please see the accompanying file `LICENSE_MIT.txt` or visit
Please see the accompanying file `LICENSES/MIT.txt` or visit
<https://opensource.org/license/mit>
File List
---------
LICENSE_MIT.txt ==> The License file
README.md ==> This file
ci_lint.sh ==> Lint the source code
ci_shellify.sh ==> Convert select definitions to shell syntax
ci_verify_cmake.sh ==> Verify the build driven by CMakeLists.txt
ci_verify_configure.sh ==> Verify the build driven by configure
ci_verify_makefiles.sh ==> Verify the build driven by scripts/makefile.*
ci_verify_version.sh ==> Verify the consistency of version definitions
lib/ci.lib.sh ==> Shell utilities for the main ci_*.sh scripts
lib/ci.lib.sh ==> Shell library for the main ci_*.sh scripts
libexec/ci_*.sh ==> Shell utilities for the main ci_*.sh scripts
targets/*/ci_env.*.sh ==> Shell environments for cross-platform testing

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
test -f "$BASH_SOURCE" || {

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o pipefail -o posix
# Copyright (c) 2019-2025 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2019 Cosmin Truta
# SPDX-License-Identifier: MIT
# shellcheck source=ci/lib/ci.lib.sh

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=aarch64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=arm

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=arm64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=aarch64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=riscv64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=aarch64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=arm

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=arm

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mips

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mips64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mips64el

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mipsel

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mipsisa32r6

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mipsisa32r6el

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mipsisa64r6

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=mipsisa64r6el

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=powerpc

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=powerpc64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=powerpc64le

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=riscv64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i386

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i586

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i86

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=aarch64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=i686

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64

View File

@@ -1,8 +1,4 @@
# Copyright (c) 2023-2024 Cosmin Truta.
#
# Use, modification and distribution are subject to the MIT License.
# Please see the accompanying file LICENSE_MIT.txt
#
# Copyright (C) 2023 Cosmin Truta
# SPDX-License-Identifier: MIT
export CI_TARGET_ARCH=x86_64