Skip to content

Commit

Permalink
REUSE compliance
Browse files Browse the repository at this point in the history
Also add a pre-commit hook for checking REUSE compliance
  • Loading branch information
winterz committed Aug 9, 2024
1 parent 3817540 commit b002959
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
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]
8 changes: 5 additions & 3 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Upstream-Name: KDBindings
Upstream-Contact: <info@kdab.com>
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: *.json *.html *.md docs/api/Doxyfile.cmake docs/api/mkdocs/mkdocs.yml docs/api/mkdocs/docs/stylesheets/kdab.css
Files: README.md ChangeLog docs/api/*
Copyright: Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
License: MIT

Expand All @@ -14,11 +16,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 <info@kdab.com>
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 <info@kdab.com>
#
# 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 <info@kdab.com> Author: Allen Winter <allen.winter@kdab.com>
# SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
# Author: Allen Winter <allen.winter@kdab.com>
#
# SPDX-License-Identifier: MIT
#
Expand Down
9 changes: 9 additions & 0 deletions src/kdbindings/KDBindingsConfig.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# This file is part of KDBindings.
#
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
#
# SPDX-License-Identifier: MIT
#
# Contact KDAB at <info@kdab.com> for commercial licensing options.
#

#pragma once

#ifdef KDBINDINGS_ENABLE_WARN_UNUSED
Expand Down

0 comments on commit b002959

Please sign in to comment.