From 43d4f1276b3afe259907add9b458f15252514fa4 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Sun, 22 Mar 2020 12:38:38 +0100 Subject: KConfig: Convert to SPDX license statements Summary: Convert license headers to SPDX statements and add license files as required by REUSE specification. Reviewers: cgiboudeaux Reviewed By: cgiboudeaux Subscribers: ognarb, cgiboudeaux, kde-frameworks-devel Tags: #frameworks Maniphest Tasks: T11550 Differential Revision: https://phabricator.kde.org/D27601 --- src/gui/kconfiggroupgui.cpp | 21 ++++----------------- src/gui/kconfiggui.cpp | 20 +++----------------- src/gui/kconfiggui.h | 20 +++----------------- src/gui/kconfigloader.cpp | 21 ++++----------------- src/gui/kconfigloader.h | 21 ++++----------------- src/gui/kconfigloader_p.h | 21 ++++----------------- src/gui/kconfigloaderhandler_p.h | 23 +++++------------------ src/gui/kconfigskeleton.cpp | 21 ++++----------------- src/gui/kconfigskeleton.h | 26 ++++++-------------------- src/gui/kstandardshortcut.cpp | 25 +++++++------------------ src/gui/kstandardshortcut.h | 25 +++++++------------------ src/gui/kwindowconfig.cpp | 20 +++----------------- src/gui/kwindowconfig.h | 20 +++----------------- 13 files changed, 57 insertions(+), 227 deletions(-) (limited to 'src/gui') diff --git a/src/gui/kconfiggroupgui.cpp b/src/gui/kconfiggroupgui.cpp index ab9d4e20..358e84e4 100644 --- a/src/gui/kconfiggroupgui.cpp +++ b/src/gui/kconfiggroupgui.cpp @@ -1,21 +1,8 @@ /* - This file is part of the KDE libraries - Copyright (c) 2007 Thiago Macieira - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + This file is part of the KDE libraries + SPDX-FileCopyrightText: 2007 Thiago Macieira + + SPDX-License-Identifier: LGPL-2.0-or-later */ #include diff --git a/src/gui/kconfiggui.cpp b/src/gui/kconfiggui.cpp index 7eb4711e..1daeec45 100644 --- a/src/gui/kconfiggui.cpp +++ b/src/gui/kconfiggui.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE libraries - Copyright (c) 1999 Matthias Ettrich + This file is part of the KDE libraries + SPDX-FileCopyrightText: 1999 Matthias Ettrich - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "kconfiggui.h" diff --git a/src/gui/kconfiggui.h b/src/gui/kconfiggui.h index bc4248f3..c32e108f 100644 --- a/src/gui/kconfiggui.h +++ b/src/gui/kconfiggui.h @@ -1,22 +1,8 @@ /* - This file is part of the KDE libraries - Copyright (c) 1999 Matthias Ettrich + This file is part of the KDE libraries + SPDX-FileCopyrightText: 1999 Matthias Ettrich - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef KCONFIGGUI_H diff --git a/src/gui/kconfigloader.cpp b/src/gui/kconfigloader.cpp index 1e33f4ea..198ef63f 100644 --- a/src/gui/kconfigloader.cpp +++ b/src/gui/kconfigloader.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "kconfigloader.h" #include "kconfigloader_p.h" diff --git a/src/gui/kconfigloader.h b/src/gui/kconfigloader.h index e46e4c6e..2e97ccd8 100644 --- a/src/gui/kconfigloader.h +++ b/src/gui/kconfigloader.h @@ -1,21 +1,8 @@ /* - * Copyright 2007 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2007 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef KCONFIGLOADER_H #define KCONFIGLOADER_H diff --git a/src/gui/kconfigloader_p.h b/src/gui/kconfigloader_p.h index b030fc30..b5b4e49b 100644 --- a/src/gui/kconfigloader_p.h +++ b/src/gui/kconfigloader_p.h @@ -1,21 +1,8 @@ /* - * Copyright 2007-2008 Aaron Seigo - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2007-2008 Aaron Seigo + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef KCONFIGLOADER_P_H #define KCONFIGLOADER_P_H diff --git a/src/gui/kconfigloaderhandler_p.h b/src/gui/kconfigloaderhandler_p.h index 18e9622a..cf9b7081 100644 --- a/src/gui/kconfigloaderhandler_p.h +++ b/src/gui/kconfigloaderhandler_p.h @@ -1,22 +1,9 @@ /* - * Copyright 2007-2008 Aaron Seigo - * Copyright 2013 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * 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 Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2007-2008 Aaron Seigo + SPDX-FileCopyrightText: 2013 Marco Martin + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef KCONFIGLOADERHANDLER_P_H #define KCONFIGLOADERHANDLER_P_H diff --git a/src/gui/kconfigskeleton.cpp b/src/gui/kconfigskeleton.cpp index 25ab8751..031c7fbb 100644 --- a/src/gui/kconfigskeleton.cpp +++ b/src/gui/kconfigskeleton.cpp @@ -1,22 +1,9 @@ /* This file is part of KOrganizer. - Copyright (c) 2000,2001 Cornelius Schumacher - Copyright (c) 2003 Waldo Bastian - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-FileCopyrightText: 2000, 2001 Cornelius Schumacher + SPDX-FileCopyrightText: 2003 Waldo Bastian + + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "kconfigskeleton.h" diff --git a/src/gui/kconfigskeleton.h b/src/gui/kconfigskeleton.h index c7cb5a10..8e88e8d8 100644 --- a/src/gui/kconfigskeleton.h +++ b/src/gui/kconfigskeleton.h @@ -1,24 +1,10 @@ /* - * This file is part of KDE. - * - * Copyright (c) 2001,2002,2003 Cornelius Schumacher - * Copyright (c) 2003 Waldo Bastian - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ + This file is part of KDE. + SPDX-FileCopyrightText: 2001, 2002, 2003 Cornelius Schumacher + SPDX-FileCopyrightText: 2003 Waldo Bastian + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef KCONFIGSKELETON_H #define KCONFIGSKELETON_H diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp index b845f612..2bf978cc 100644 --- a/src/gui/kstandardshortcut.cpp +++ b/src/gui/kstandardshortcut.cpp @@ -1,21 +1,10 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997 Stefan Taferner (taferner@alpin.or.at) - Copyright (C) 2000 Nicolas Hadacek (haadcek@kde.org) - Copyright (C) 2001,2002 Ellis Whitehead (ellis@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE libraries + SPDX-FileCopyrightText: 1997 Stefan Taferner + SPDX-FileCopyrightText: 2000 Nicolas Hadacek + SPDX-FileCopyrightText: 2001, 2002 Ellis Whitehead + + SPDX-License-Identifier: LGPL-2.0-only */ #include "kstandardshortcut.h" diff --git a/src/gui/kstandardshortcut.h b/src/gui/kstandardshortcut.h index 6f673272..e8fce220 100644 --- a/src/gui/kstandardshortcut.h +++ b/src/gui/kstandardshortcut.h @@ -1,21 +1,10 @@ -/* This file is part of the KDE libraries - Copyright (C) 1997 Stefan Taferner (taferner@kde.org) - Copyright (C) 2000 Nicolas Hadacek (hadacek@kde.org) - Copyright (C) 2001,2002 Ellis Whitehead (ellis@kde.org) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE libraries + SPDX-FileCopyrightText: 1997 Stefan Taferner + SPDX-FileCopyrightText: 2000 Nicolas Hadacek + SPDX-FileCopyrightText: 2001, 2002 Ellis Whitehead + + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef KSTANDARDSHORTCUT_H #define KSTANDARDSHORTCUT_H diff --git a/src/gui/kwindowconfig.cpp b/src/gui/kwindowconfig.cpp index d2f355c8..2f787a2f 100644 --- a/src/gui/kwindowconfig.cpp +++ b/src/gui/kwindowconfig.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE libraries - Copyright (c) 2012 Benjamin Port + This file is part of the KDE libraries + SPDX-FileCopyrightText: 2012 Benjamin Port - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "kwindowconfig.h" diff --git a/src/gui/kwindowconfig.h b/src/gui/kwindowconfig.h index a97e9d38..ad03f3ef 100644 --- a/src/gui/kwindowconfig.h +++ b/src/gui/kwindowconfig.h @@ -1,22 +1,8 @@ /* - This file is part of the KDE libraries - Copyright (c) 2012 Benjamin Port + This file is part of the KDE libraries + SPDX-FileCopyrightText: 2012 Benjamin Port - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef KWINDOWCONFIG_H -- cgit v1.2.1