From acc7cfa10d13f32d90fad3673945aa431617aa42 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 6 Dec 2021 19:52:44 +0100 Subject: [PATCH] GIT_SILENT: fix some reuse lint warnings --- .reuse/dep5 | 8 ++++++++ CMakeLists.txt | 2 ++ autotests/CMakeLists.txt | 2 ++ src/CMakeLists.txt | 3 ++- src/collectionpage/autotests/CMakeLists.txt | 2 ++ src/designer/CMakeLists.txt | 2 ++ src/filter/autotests/CMakeLists.txt | 2 ++ src/filter/autotests/filteractionsendreceipttest.h | 5 +++++ src/filter/autotests/filteractionsettransporttest.cpp | 5 +++++ src/filter/autotests/filteractionsettransporttest.h | 5 +++++ src/filter/filterimporter/autotests/CMakeLists.txt | 2 ++ src/filter/tests/CMakeLists.txt | 3 ++- src/mdn/autotests/CMakeLists.txt | 2 ++ src/search/autotests/CMakeLists.txt | 2 ++ src/search/widgethandler/numericrulewidgethandler.h | 5 +++++ src/snippets/autotests/CMakeLists.txt | 2 ++ 16 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 .reuse/dep5 diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..5e09eb4 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mailcommon +Upstream-Contact: Montel Laurent +Source: https://invent.kde.org/pim/mailcommon + +Files: src/filter/autotests/unittestenv/* src/filter/autotests/gpghome/* autotests/unittestenv/* src/filter/autotests/gpgdata/* src/filter/filterimporter/autotests/unittestenv/* src/filter/TODO src/filter/TODO +Copyright: none +License: CC0-1.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index 49c1cf5..580402d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none cmake_minimum_required(VERSION 3.16 FATAL_ERROR) set(PIM_VERSION "5.19.42") diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 62b6d85..1702f1c 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) add_akonadi_isolated_test(foldertreewidgettest.cpp) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 65ceac8..33cc5ad 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,5 @@ - +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none add_definitions(-DTRANSLATION_DOMAIN=\"libmailcommon\") #add_definitions( -DQT_NO_CAST_FROM_ASCII ) diff --git a/src/collectionpage/autotests/CMakeLists.txt b/src/collectionpage/autotests/CMakeLists.txt index 753799c..c3dd0d5 100644 --- a/src/collectionpage/autotests/CMakeLists.txt +++ b/src/collectionpage/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none macro(add_mailcommon_collectionpage_test _name) ecm_add_test(${ARGN} TEST_NAME ${_name} diff --git a/src/designer/CMakeLists.txt b/src/designer/CMakeLists.txt index d0a30ec..ab608e2 100644 --- a/src/designer/CMakeLists.txt +++ b/src/designer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none include(ECMAddQtDesignerPlugin) ecm_qtdesignerplugin_widget(MailCommon::SearchPatternEdit INCLUDE_FILE "MailCommon/SearchPatternEdit" diff --git a/src/filter/autotests/CMakeLists.txt b/src/filter/autotests/CMakeLists.txt index 993b4dd..114fbe5 100644 --- a/src/filter/autotests/CMakeLists.txt +++ b/src/filter/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none set(mailcommon_filter_test_LIBS Qt::Test Qt::Gui KF5::AkonadiCore KF5::AkonadiMime KF5::MailCommon KF5::PimCommon Phonon::phonon4qt5 KF5::KIOWidgets KF5::IconThemes KF5::TemplateParser diff --git a/src/filter/autotests/filteractionsendreceipttest.h b/src/filter/autotests/filteractionsendreceipttest.h index b4567c3..6b33ae2 100644 --- a/src/filter/autotests/filteractionsendreceipttest.h +++ b/src/filter/autotests/filteractionsendreceipttest.h @@ -1,3 +1,8 @@ +/* + SPDX-FileCopyrightText: 2015-2021 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-only +*/ #pragma once #include diff --git a/src/filter/autotests/filteractionsettransporttest.cpp b/src/filter/autotests/filteractionsettransporttest.cpp index 63dce0c..3896989 100644 --- a/src/filter/autotests/filteractionsettransporttest.cpp +++ b/src/filter/autotests/filteractionsettransporttest.cpp @@ -1,3 +1,8 @@ +/* + SPDX-FileCopyrightText: 2015-2021 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-only +*/ #include "filteractionsettransporttest.h" #include "../filteractions/filteractionsettransport.h" #include diff --git a/src/filter/autotests/filteractionsettransporttest.h b/src/filter/autotests/filteractionsettransporttest.h index 5508922..a5bf5cd 100644 --- a/src/filter/autotests/filteractionsettransporttest.h +++ b/src/filter/autotests/filteractionsettransporttest.h @@ -1,3 +1,8 @@ +/* + SPDX-FileCopyrightText: 2015-2021 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-only +*/ #pragma once #include diff --git a/src/filter/filterimporter/autotests/CMakeLists.txt b/src/filter/filterimporter/autotests/CMakeLists.txt index 4f381fd..be5a021 100644 --- a/src/filter/filterimporter/autotests/CMakeLists.txt +++ b/src/filter/filterimporter/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) add_akonadi_isolated_test_advanced(filterimportclawmailtest.cpp filtertestkernel.cpp "KF5::MailCommon;KF5::MessageComposer;KF5::I18n") add_akonadi_isolated_test_advanced(filterimportthunderbirdtest.cpp filtertestkernel.cpp "KF5::MailCommon;KF5::MessageComposer;KF5::I18n") diff --git a/src/filter/tests/CMakeLists.txt b/src/filter/tests/CMakeLists.txt index b1f4708..200fb69 100644 --- a/src/filter/tests/CMakeLists.txt +++ b/src/filter/tests/CMakeLists.txt @@ -1,4 +1,5 @@ - +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none add_executable(filterimporterexportergui filterimporterexportergui.cpp) ecm_mark_as_test(filterimporterexportergui) target_link_libraries(filterimporterexportergui diff --git a/src/mdn/autotests/CMakeLists.txt b/src/mdn/autotests/CMakeLists.txt index 2dcee4a..f23252d 100644 --- a/src/mdn/autotests/CMakeLists.txt +++ b/src/mdn/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none ecm_add_test(mdnstateattributetest.cpp TEST_NAME mdnattributetest NAME_PREFIX "mailcommon-mdn-" diff --git a/src/search/autotests/CMakeLists.txt b/src/search/autotests/CMakeLists.txt index ca6aeea..6851c38 100644 --- a/src/search/autotests/CMakeLists.txt +++ b/src/search/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none macro(add_search_autotest _name) ecm_add_test(${ARGN} TEST_NAME ${_name} diff --git a/src/search/widgethandler/numericrulewidgethandler.h b/src/search/widgethandler/numericrulewidgethandler.h index 97d2a3d..4ba4c27 100644 --- a/src/search/widgethandler/numericrulewidgethandler.h +++ b/src/search/widgethandler/numericrulewidgethandler.h @@ -1,3 +1,8 @@ +/* + SPDX-FileCopyrightText: 2013-2021 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #pragma once #include "interfaces/rulewidgethandler.h" diff --git a/src/snippets/autotests/CMakeLists.txt b/src/snippets/autotests/CMakeLists.txt index b6a9843..1831d79 100644 --- a/src/snippets/autotests/CMakeLists.txt +++ b/src/snippets/autotests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: CC0-1.0 +# SPDX-FileCopyrightText: none ecm_add_test(snippetsmanagertest.cpp NAME_PREFIX "mailcommon-snippets-" LINK_LIBRARIES Qt::Test Qt::Gui KF5::MailCommon KF5::XmlGui