diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 9e52ca93..3910c343 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,5 +1,5 @@ -# OCRmyPDF -# +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 FROM ubuntu:22.04 as base diff --git a/.dockerignore b/.dockerignore index 2879b33a..173b642f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + # dotfiles .* !.coveragerc diff --git a/.gitattributes b/.gitattributes index 928cb783..9e64aba4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + # Always use Unix convention for new lines * text eol=lf diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index f9e58e51..b55abd5a 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] diff --git a/.github/ISSUE_TEMPLATE/1-general-issues.md b/.github/ISSUE_TEMPLATE/1-general-issues.md index 3aa3c2d6..2f876c60 100644 --- a/.github/ISSUE_TEMPLATE/1-general-issues.md +++ b/.github/ISSUE_TEMPLATE/1-general-issues.md @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: CC-BY-SA-4.0 --- name: General issues about: Installation, packages, dependencies, "nothing works", test suite failures... diff --git a/.github/ISSUE_TEMPLATE/2-problem-with-a-specific-input-file.md b/.github/ISSUE_TEMPLATE/2-problem-with-a-specific-input-file.md index d98bf847..32452cc2 100644 --- a/.github/ISSUE_TEMPLATE/2-problem-with-a-specific-input-file.md +++ b/.github/ISSUE_TEMPLATE/2-problem-with-a-specific-input-file.md @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: CC-BY-SA-4.0 --- name: Problem with a specific input file about: Something went wrong while trying to OCR a specific file diff --git a/.github/ISSUE_TEMPLATE/3-feature_request.md b/.github/ISSUE_TEMPLATE/3-feature_request.md index 4f27440d..cb45fe83 100644 --- a/.github/ISSUE_TEMPLATE/3-feature_request.md +++ b/.github/ISSUE_TEMPLATE/3-feature_request.md @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: CC-BY-SA-4.0 --- name: Feature request about: Suggest an idea for this project diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 90e05c40..8dc58889 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + # To get started with Dependabot version updates, you'll need to specify which # package ecosystems to update and where the package manifests are located. # Please see the documentation for all configuration options: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a895b0fc..dbb96baf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 name: Test and deploy on: diff --git a/.gitignore b/.gitignore index 1481bb33..8d4afa31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: CC-BY-SA-4.0 + # dotfiles .* !.coveragerc diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8fb0a293..1b99b96c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 38fa8dce..68859db8 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details diff --git a/README.md b/README.md index 6d7a0a35..14cb6707 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ + + + OCRmyPDF [![Build Status](https://github.com/ocrmypdf/OCRmyPDF/actions/workflows/build.yml/badge.svg)](https://github.com/ocrmypdf/OCRmyPDF/actions/workflows/build.yml) [![PyPI version][pypi]](https://pypi.org/project/ocrmypdf/) ![Homebrew version][homebrew] ![ReadTheDocs][docs] ![Python versions][pyversions] diff --git a/misc/docker-compose.example.yml b/misc/docker-compose.example.yml index 9668b2b9..c8c77b36 100644 --- a/misc/docker-compose.example.yml +++ b/misc/docker-compose.example.yml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MIT --- version: "3.3" services: diff --git a/pyproject.toml b/pyproject.toml index 4d0aba2a..68acb173 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 [build-system] requires = [ "setuptools >= 52", diff --git a/snapcraft.yaml b/snapcraft.yaml index 09b1971a..c0ff4fb2 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2022 Alexander Langanke +# SPDX-FileCopyrightText: 2022 James R. Barlow +# SPDX-License-Identifier: MPL-2.0 + name: ocrmypdf title: OCRmyPDF base: core20 diff --git a/src/ocrmypdf/RELEASE.md b/src/ocrmypdf/RELEASE.md index 2cb89b78..f9eab6db 100644 --- a/src/ocrmypdf/RELEASE.md +++ b/src/ocrmypdf/RELEASE.md @@ -1,3 +1,6 @@ + + + # Release checklist ## Patch release diff --git a/tests/resources/README.rst b/tests/resources/README.rst index 5fb4e9db..efbf8f39 100644 --- a/tests/resources/README.rst +++ b/tests/resources/README.rst @@ -1,3 +1,7 @@ +.. SPDX-FileCopyrightText: 2022 James R. Barlow +.. SPDX-License-Identifier: CC-BY-SA-4.0 + + These test files are used in OCRmyPDF's test suite. They do not necessarily produce OCR results at all and are not meant as examples of OCR output. Some are even invalid PDFs that might crash certain PDF viewers.