From 32a70bfe07c8af27ad6f105b27582661f6536a84 Mon Sep 17 00:00:00 2001 From: zhaoyingzhen Date: Tue, 8 Jul 2025 11:36:45 +0800 Subject: [PATCH] fix: update licenses as title Log: as title --- .reuse/dep5 | 9 +++++++-- LICENSES/GPL-3.0-or-later.txt | 8 ++++---- .../login-udcp/qss/udcp_mfa_login_widget.qss | 6 ++++++ src/pam-inhibit-autologin/pam_inhibit_autologin.c | 4 ++++ src/session-widgets/fullmanagedauthwidget.h | 4 ++++ src/widgets/abstractfullbackgroundinterface.h | 4 ++++ src/widgets/popupwindow.cpp | 4 ++-- src/widgets/popupwindow.h | 4 ++-- 8 files changed, 33 insertions(+), 10 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index fae2097e..e0353ad1 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -8,13 +8,18 @@ Files: README.md README.zh_CN.md Copyright: None License: CC-BY-4.0 +# cmake +Files: cmake/*.in cmake/*.cmake +Copyright: None +License: CC0-1.0 + # xml2cpp Files: src/global_util/dbus/* Copyright: The Qt Company Ltd. License: CC0-1.0 # Project file -Files: *.pro *.qrc *CMakeLists.txt *.cmake qt-theme.ini files/* scripts/* src/lightdm-deepin-greeter/deepin-greeter +Files: *.pro *.qrc *CMakeLists.txt *.cmake qt-theme.ini files/* scripts/* src/lightdm-deepin-greeter/deepin-greeter .project Copyright: None License: CC0-1.0 @@ -24,7 +29,7 @@ Copyright: UnionTech Software Technology Co., Ltd. License: GPL-3.0-or-later # png svg -Files: src/widgets/img/* misc/images/* src/session-widgets/img/* +Files: src/widgets/img/* misc/images/* src/session-widgets/img/* plugins/examples/login-plugins/login-udcp/images/* Copyright: UnionTech Software Technology Co., Ltd. License: GPL-3.0-or-later diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt index d41c0bd9..f6cdd22a 100644 --- a/LICENSES/GPL-3.0-or-later.txt +++ b/LICENSES/GPL-3.0-or-later.txt @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 -Copyright © 2007 Free Software Foundation, Inc. +Copyright © 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -215,7 +215,7 @@ To do so, attach the following notices to the program. It is safest to attach th This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License along with this program. If not, see . + You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -227,6 +227,6 @@ If the program does terminal interaction, make it output a short notice like thi The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. -You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . +You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . -The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . diff --git a/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss b/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss index 8f53dfb2..ef6f3af3 100644 --- a/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss +++ b/plugins/examples/login-plugins/login-udcp/qss/udcp_mfa_login_widget.qss @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + QPushButton#sendButton { background-color: rgba(255, 255, 255, 76); color: white; diff --git a/src/pam-inhibit-autologin/pam_inhibit_autologin.c b/src/pam-inhibit-autologin/pam_inhibit_autologin.c index 419678e2..e2e7f31d 100644 --- a/src/pam-inhibit-autologin/pam_inhibit_autologin.c +++ b/src/pam-inhibit-autologin/pam_inhibit_autologin.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011 - 2025 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #include #include #include diff --git a/src/session-widgets/fullmanagedauthwidget.h b/src/session-widgets/fullmanagedauthwidget.h index 4dd938c1..269a24ec 100644 --- a/src/session-widgets/fullmanagedauthwidget.h +++ b/src/session-widgets/fullmanagedauthwidget.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef FULLMANAGEDAUTHWIDGET_H #define FULLMANAGEDAUTHWIDGET_H diff --git a/src/widgets/abstractfullbackgroundinterface.h b/src/widgets/abstractfullbackgroundinterface.h index 8205dc65..a0357f14 100644 --- a/src/widgets/abstractfullbackgroundinterface.h +++ b/src/widgets/abstractfullbackgroundinterface.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + #ifndef ABSTRACTFULLBACKGROUND_H #define ABSTRACTFULLBACKGROUND_H diff --git a/src/widgets/popupwindow.cpp b/src/widgets/popupwindow.cpp index ffe40368..8a5d2a07 100644 --- a/src/widgets/popupwindow.cpp +++ b/src/widgets/popupwindow.cpp @@ -1,6 +1,6 @@ -// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. // -// SPDX-License-Identifier: LGPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-or-later #include "popupwindow.h" diff --git a/src/widgets/popupwindow.h b/src/widgets/popupwindow.h index 7720d8d4..3a01c033 100644 --- a/src/widgets/popupwindow.h +++ b/src/widgets/popupwindow.h @@ -1,6 +1,6 @@ -// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2021 - 2022 UnionTech Software Technology Co., Ltd. // -// SPDX-License-Identifier: LGPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-or-later #ifndef POPUPWINDOW_H #define POPUPWINDOW_H