Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REUSE compliance #94

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ repos:
exclude: (.py.cmake|Doxyfile.cmake)
- id: cmake-format
exclude: (.py.cmake|Doxyfile.cmake)
- repo: https://github.com/fsfe/reuse-tool
rev: v3.1.0a1
hooks:
- id: reuse
args: [--suppress-deprecation]
7 changes: 4 additions & 3 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Upstream-Name: KDBindings
Upstream-Contact: <[email protected]>
Source: https://www.github.com/KDAB/KDBindings

Files: *.json *.html *.md docs/api/Doxyfile.cmake docs/api/mkdocs/mkdocs.yml docs/api/mkdocs/docs/stylesheets/kdab.css
#documentation
Files: README.md ChangeLog docs/api/*
Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
License: MIT

Expand All @@ -14,11 +15,11 @@ License: MIT

#3rdparty cmake
Files: cmake/ECM/modules/*
Copyright:
Copyright: The KDE Project
License: BSD-3-Clause

#misc config files
Files: .pre-commit-config.yaml .codespellrc .krazy .cmake-format.py .clang-format .clazy .gitignore .mdlrc .mdlrc.rb .pep8 .pylintrc docs/api/Doxyfile.cmake distro/*
Files: .pre-commit-config.yaml .codespellrc .krazy .cmake-format.py .clang-format .clazy .gitignore .mdlrc .mdlrc.rb .pep8 .pylintrc CMakePresets.json CMakeSettings.json docs/api/Doxyfile.cmake distro/*
Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
License: BSD-3-Clause

Expand Down
6 changes: 6 additions & 0 deletions cmake/InstallLocation.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# SPDX-FileCopyrightText: 2012 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
#
# SPDX-License-Identifier: BSD-3-Clause
#

# Some default installation locations. These should be global, with any project
# specific locations added to the end. These paths are all relative to the
# install prefix.
Expand Down
4 changes: 2 additions & 2 deletions docs/api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is part of KDBindings.
#
# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group
# company <[email protected]> Author: Allen Winter <[email protected]>
# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
# Author: Allen Winter <[email protected]>
#
# SPDX-License-Identifier: MIT
#
Expand Down
10 changes: 10 additions & 0 deletions src/kdbindings/KDBindingsConfig.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
This file is part of KDBindings.

SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>

SPDX-License-Identifier: MIT

Contact KDAB at <[email protected]> for commercial licensing options.
*/

#pragma once

#ifdef KDBINDINGS_ENABLE_WARN_UNUSED
Expand Down