From f9cd6c98680f32007b3221c2d54b1044cb080798 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Mon, 24 May 2021 11:28:38 +0200 Subject: [PATCH] Manually convert license files for fax generator --- generators/fax/fax_debug.cpp | 20 +++----------------- generators/fax/fax_debug.h | 20 +++----------------- generators/fax/faxdocument.cpp | 12 ++++-------- generators/fax/faxdocument.h | 12 ++++-------- generators/fax/faxexpand.cpp | 24 ++++++------------------ generators/fax/faxexpand.h | 24 +++++++----------------- generators/fax/faxinit.cpp | 21 ++++++--------------- generators/fax/generator_fax.cpp | 12 ++++-------- generators/fax/generator_fax.h | 12 ++++-------- 9 files changed, 41 insertions(+), 116 deletions(-) diff --git a/generators/fax/fax_debug.cpp b/generators/fax/fax_debug.cpp index 4f8810e3d..91b4c6730 100644 --- a/generators/fax/fax_debug.cpp +++ b/generators/fax/fax_debug.cpp @@ -1,20 +1,6 @@ -/* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel - - 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: 2014 Laurent Montel + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "fax_debug.h" diff --git a/generators/fax/fax_debug.h b/generators/fax/fax_debug.h index d96c5c4a5..d157e3981 100644 --- a/generators/fax/fax_debug.h +++ b/generators/fax/fax_debug.h @@ -1,20 +1,6 @@ -/* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel - - 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: 2014 Laurent Montel + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef FAX_DEBUG_H diff --git a/generators/fax/faxdocument.cpp b/generators/fax/faxdocument.cpp index 7bdbad5d0..17c2bf23c 100644 --- a/generators/fax/faxdocument.cpp +++ b/generators/fax/faxdocument.cpp @@ -1,11 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2008 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Tobias Koenig + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "faxdocument.h" diff --git a/generators/fax/faxdocument.h b/generators/fax/faxdocument.h index 65d070f43..5888c253d 100644 --- a/generators/fax/faxdocument.h +++ b/generators/fax/faxdocument.h @@ -1,11 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2008 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Tobias Koenig + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FAXDOCUMENT_H #define FAXDOCUMENT_H diff --git a/generators/fax/faxexpand.cpp b/generators/fax/faxexpand.cpp index 65943e532..bbc21822a 100644 --- a/generators/fax/faxexpand.cpp +++ b/generators/fax/faxexpand.cpp @@ -1,21 +1,9 @@ -/* Expand one page of fax data - Copyright (C) 1990, 1995 Frank D. Cringle. - -This file is part of viewfax - g3/g4 fax processing software. - -viewfax is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 2 of the License, 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 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. */ +/* + Expand one page of fax data + This file is part of viewfax - g3/g4 fax processing software. + SPDX-FileCopyrightText: 1990, 1995 Frank D. Cringle. + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "faxexpand.h" diff --git a/generators/fax/faxexpand.h b/generators/fax/faxexpand.h index 1c58bf477..ff764d15d 100644 --- a/generators/fax/faxexpand.h +++ b/generators/fax/faxexpand.h @@ -1,22 +1,12 @@ -/* Include file for fax routines - Copyright (C) 1990, 1995 Frank D. Cringle. - Copyright (C) 2005 Helge Deller +/* + Include file for fax routines + This file is part of viewfax - g3/g4 fax processing software. -This file is part of viewfax - g3/g4 fax processing software. + SPDX-FileCopyrightText: 1990, 1995 Frank D. Cringle. + SPDX-FileCopyrightText: 2005 Helge Deller -viewfax is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 2 of the License, 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 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-License-Identifier: GPL-2.0-or-later +*/ #ifndef _faxexpand_h_ #define _faxexpand_h_ diff --git a/generators/fax/faxinit.cpp b/generators/fax/faxinit.cpp index 008b9c517..e3cbabfca 100644 --- a/generators/fax/faxinit.cpp +++ b/generators/fax/faxinit.cpp @@ -1,21 +1,12 @@ -/* Initialise fax decoder tables - Copyright (C) 1990, 1995 Frank D. Cringle. +/* + Initialise fax decoder tables + This file is part of viewfax - g3/g4 fax processing software. -This file is part of viewfax - g3/g4 fax processing software. + SPDX-FileCopyrightText: 1990, 1995 Frank D. Cringle. -viewfax is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 2 of the License, or (at your -option) any later version. + SPDX-License-Identifier: GPL-2.0-or-later +*/ -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, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "faxexpand.h" #include diff --git a/generators/fax/generator_fax.cpp b/generators/fax/generator_fax.cpp index 69848d1cf..e4f46bbc3 100644 --- a/generators/fax/generator_fax.cpp +++ b/generators/fax/generator_fax.cpp @@ -1,11 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2008 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Tobias Koenig + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_fax.h" diff --git a/generators/fax/generator_fax.h b/generators/fax/generator_fax.h index d1f3eeec9..dc5b1518b 100644 --- a/generators/fax/generator_fax.h +++ b/generators/fax/generator_fax.h @@ -1,11 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2008 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Tobias Koenig + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_GENERATOR_FAX_H #define OKULAR_GENERATOR_FAX_H