diff --git a/src/backend/corebackend.cpp b/src/backend/corebackend.cpp index e6ab9ee..295a631 100644 --- a/src/backend/corebackend.cpp +++ b/src/backend/corebackend.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "backend/corebackend.h" diff --git a/src/backend/corebackend.h b/src/backend/corebackend.h index f9bc32f..ddb4341 100644 --- a/src/backend/corebackend.h +++ b/src/backend/corebackend.h @@ -1,23 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_COREBACKEND_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COREBACKEND_H #define KPMCORE_COREBACKEND_H #include "util/libpartitionmanagerexport.h" diff --git a/src/backend/corebackenddevice.cpp b/src/backend/corebackenddevice.cpp index 0674c0d..04babe5 100644 --- a/src/backend/corebackenddevice.cpp +++ b/src/backend/corebackenddevice.cpp @@ -1,19 +1,9 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2017 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "backend/corebackenddevice.h" diff --git a/src/backend/corebackenddevice.h b/src/backend/corebackenddevice.h index 79c0f85..5d795bf 100644 --- a/src/backend/corebackenddevice.h +++ b/src/backend/corebackenddevice.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2017 Adriaan de Groot + SPDX-FileCopyrightText: 2019 Yuri Chornoivan diff --git a/src/backend/corebackendmanager.cpp b/src/backend/corebackendmanager.cpp index bb1fdd2..649362d 100644 --- a/src/backend/corebackendmanager.cpp +++ b/src/backend/corebackendmanager.cpp @@ -1,21 +1,11 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2015 by Teo Mrnjavac * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "backend/corebackendmanager.h" #include "backend/corebackend.h" diff --git a/src/backend/corebackendmanager.h b/src/backend/corebackendmanager.h index 45ceaae..28d2753 100644 --- a/src/backend/corebackendmanager.h +++ b/src/backend/corebackendmanager.h @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_COREBACKENDMANAGER_H #define KPMCORE_COREBACKENDMANAGER_H diff --git a/src/backend/corebackendpartitiontable.cpp b/src/backend/corebackendpartitiontable.cpp index 6dcb428..7e03f1d 100644 --- a/src/backend/corebackendpartitiontable.cpp +++ b/src/backend/corebackendpartitiontable.cpp @@ -1,18 +1,7 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "backend/corebackendpartitiontable.h" diff --git a/src/backend/corebackendpartitiontable.h b/src/backend/corebackendpartitiontable.h index 292523e..f4433eb 100644 --- a/src/backend/corebackendpartitiontable.h +++ b/src/backend/corebackendpartitiontable.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2010,2011 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010-2011 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_COREBACKENDPARTITIONTABLE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COREBACKENDPARTITIONTABLE_H #define KPMCORE_COREBACKENDPARTITIONTABLE_H #include "core/partitiontable.h" diff --git a/src/core/copysource.cpp b/src/core/copysource.cpp index 2eadf78..6d7daf1 100644 --- a/src/core/copysource.cpp +++ b/src/core/copysource.cpp @@ -1,18 +1,7 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copysource.h" diff --git a/src/core/copysource.h b/src/core/copysource.h index 4e4f447..172a4ca 100644 --- a/src/core/copysource.h +++ b/src/core/copysource.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui -#if !defined(KPMCORE_COPYSOURCE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYSOURCE_H #define KPMCORE_COPYSOURCE_H #include diff --git a/src/core/copysourcedevice.cpp b/src/core/copysourcedevice.cpp index 18fcb85..3c5b6fd 100644 --- a/src/core/copysourcedevice.cpp +++ b/src/core/copysourcedevice.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2017-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copysourcedevice.h" diff --git a/src/core/copysourcedevice.h b/src/core/copysourcedevice.h index 07aee9d..1a97963 100644 --- a/src/core/copysourcedevice.h +++ b/src/core/copysourcedevice.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui -#if !defined(KPMCORE_COPYSOURCEDEVICE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYSOURCEDEVICE_H #define KPMCORE_COPYSOURCEDEVICE_H #include "backend/corebackenddevice.h" diff --git a/src/core/copysourcefile.cpp b/src/core/copysourcefile.cpp index 40c3a15..a475617 100644 --- a/src/core/copysourcefile.cpp +++ b/src/core/copysourcefile.cpp @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copysourcefile.h" diff --git a/src/core/copysourcefile.h b/src/core/copysourcefile.h index 458b161..dcb5e6d 100644 --- a/src/core/copysourcefile.h +++ b/src/core/copysourcefile.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan -#if !defined(KPMCORE_COPYSOURCEFILE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYSOURCEFILE_H #define KPMCORE_COPYSOURCEFILE_H #include "core/copysource.h" diff --git a/src/core/copysourceshred.cpp b/src/core/copysourceshred.cpp index 91ab354..b66bc27 100644 --- a/src/core/copysourceshred.cpp +++ b/src/core/copysourceshred.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copysourceshred.h" diff --git a/src/core/copysourceshred.h b/src/core/copysourceshred.h index a181100..f62f607 100644 --- a/src/core/copysourceshred.h +++ b/src/core/copysourceshred.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui -#if !defined(KPMCORE_COPYSOURCESHRED_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYSOURCESHRED_H #define KPMCORE_COPYSOURCESHRED_H #include "core/copysource.h" diff --git a/src/core/copytarget.cpp b/src/core/copytarget.cpp index d7c0e43..169e7b4 100644 --- a/src/core/copytarget.cpp +++ b/src/core/copytarget.cpp @@ -1,18 +1,7 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copytarget.h" diff --git a/src/core/copytarget.h b/src/core/copytarget.h index 92324f6..ab3774a 100644 --- a/src/core/copytarget.h +++ b/src/core/copytarget.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui -#if !defined(KPMCORE_COPYTARGET_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYTARGET_H #define KPMCORE_COPYTARGET_H #include diff --git a/src/core/copytargetbytearray.cpp b/src/core/copytargetbytearray.cpp index 8728049..f200dc7 100644 --- a/src/core/copytargetbytearray.cpp +++ b/src/core/copytargetbytearray.cpp @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copytargetbytearray.h" diff --git a/src/core/copytargetbytearray.h b/src/core/copytargetbytearray.h index 4c4a38a..06c83c6 100644 --- a/src/core/copytargetbytearray.h +++ b/src/core/copytargetbytearray.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_COPYTARGETBYTEARRAY_H #define KPMCORE_COPYTARGETBYTEARRAY_H diff --git a/src/core/copytargetdevice.cpp b/src/core/copytargetdevice.cpp index b5dd671..8fca2e6 100644 --- a/src/core/copytargetdevice.cpp +++ b/src/core/copytargetdevice.cpp @@ -1,19 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2017-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copytargetdevice.h" diff --git a/src/core/copytargetdevice.h b/src/core/copytargetdevice.h index 3306b47..94d79d2 100644 --- a/src/core/copytargetdevice.h +++ b/src/core/copytargetdevice.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Huzaifa Faruqui -#if !defined(KPMCORE_COPYTARGETDEVICE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYTARGETDEVICE_H #define KPMCORE_COPYTARGETDEVICE_H #include "backend/corebackenddevice.h" diff --git a/src/core/copytargetfile.cpp b/src/core/copytargetfile.cpp index bd87637..c78f87b 100644 --- a/src/core/copytargetfile.cpp +++ b/src/core/copytargetfile.cpp @@ -1,19 +1,9 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/copytargetfile.h" diff --git a/src/core/copytargetfile.h b/src/core/copytargetfile.h index 53c32d7..4ed9864 100644 --- a/src/core/copytargetfile.h +++ b/src/core/copytargetfile.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan -#if !defined(KPMCORE_COPYTARGETFILE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_COPYTARGETFILE_H #define KPMCORE_COPYTARGETFILE_H #include "core/copytarget.h" diff --git a/src/core/device.cpp b/src/core/device.cpp index 8368633..ef2ee0f 100644 --- a/src/core/device.cpp +++ b/src/core/device.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/device.h" #include "core/device_p.h" diff --git a/src/core/device.h b/src/core/device.h index 68c40e3..01d9d6f 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -1,19 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_DEVICE_H #define KPMCORE_DEVICE_H @@ -34,7 +28,7 @@ class DevicePrivate; /** A device description. Represents a device like /dev/sda. Contains information about - the device (name, status, size ..) but does not operate on + the device (name, status, size...) but does not operate on the device itself. @see CoreBackendDevice Devices are the outermost entity; they contain a PartitionTable that itself contains Partitions. diff --git a/src/core/device_p.h b/src/core/device_p.h index 97d152c..62b9018 100644 --- a/src/core/device_p.h +++ b/src/core/device_p.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_DEVICE_P_H #define KPMCORE_DEVICE_P_H diff --git a/src/core/devicescanner.cpp b/src/core/devicescanner.cpp index d3944de..e1abd56 100644 --- a/src/core/devicescanner.cpp +++ b/src/core/devicescanner.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/devicescanner.h" diff --git a/src/core/devicescanner.h b/src/core/devicescanner.h index b7d5ece..01a8c5e 100644 --- a/src/core/devicescanner.h +++ b/src/core/devicescanner.h @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_DEVICESCANNER_H #define KPMCORE_DEVICESCANNER_H diff --git a/src/core/diskdevice.cpp b/src/core/diskdevice.cpp index 38c8175..4cf32b0 100644 --- a/src/core/diskdevice.cpp +++ b/src/core/diskdevice.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/diskdevice.h" #include "core/device_p.h" diff --git a/src/core/diskdevice.h b/src/core/diskdevice.h index 1205b88..90f7902 100644 --- a/src/core/diskdevice.h +++ b/src/core/diskdevice.h @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_DISKDEVICE_H #define KPMCORE_DISKDEVICE_H diff --git a/src/core/fstab.cpp b/src/core/fstab.cpp index e2bcbbd..2f18200 100644 --- a/src/core/fstab.cpp +++ b/src/core/fstab.cpp @@ -1,21 +1,9 @@ -/************************************************************************* - * Copyright (C) 2009, 2010 by Volker Lanz * - * Copyright (C) 2016 by Teo Mrnjavac * - * Copyright (C) 2017 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Adriaan de Groot + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/fstab.h" #include "util/externalcommand.h" diff --git a/src/core/fstab.h b/src/core/fstab.h index cdc7e47..7f42d4b 100644 --- a/src/core/fstab.h +++ b/src/core/fstab.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2017-2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017-2020 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FSTAB_H #define KPMCORE_FSTAB_H diff --git a/src/core/lvmdevice.cpp b/src/core/lvmdevice.cpp index 1df14e5..8cb9c8a 100644 --- a/src/core/lvmdevice.cpp +++ b/src/core/lvmdevice.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/lvmdevice.h" #include "core/partition.h" diff --git a/src/core/lvmdevice.h b/src/core/lvmdevice.h index 16d1cc0..b6d12e6 100644 --- a/src/core/lvmdevice.h +++ b/src/core/lvmdevice.h @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018-2019 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_LVMDEVICE_H #define KPMCORE_LVMDEVICE_H diff --git a/src/core/operationrunner.cpp b/src/core/operationrunner.cpp index 55a9d14..6bea6e4 100644 --- a/src/core/operationrunner.cpp +++ b/src/core/operationrunner.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/operationrunner.h" #include "core/operationstack.h" diff --git a/src/core/operationrunner.h b/src/core/operationrunner.h index d22dfe2..fe7efb3 100644 --- a/src/core/operationrunner.h +++ b/src/core/operationrunner.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Albert Astals Cid -#if !defined(KPMCORE_OPERATIONRUNNER_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_OPERATIONRUNNER_H #define KPMCORE_OPERATIONRUNNER_H #include "util/libpartitionmanagerexport.h" diff --git a/src/core/operationstack.cpp b/src/core/operationstack.cpp index 2ccdc08..e7dc24c 100644 --- a/src/core/operationstack.cpp +++ b/src/core/operationstack.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008, 2011 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2014-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/operationstack.h" #include "core/device.h" diff --git a/src/core/operationstack.h b/src/core/operationstack.h index 7276dd4..3e2e3cb 100644 --- a/src/core/operationstack.h +++ b/src/core/operationstack.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2019 Yuri Chornoivan -#if !defined(KPMCORE_OPERATIONSTACK_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_OPERATIONSTACK_H #define KPMCORE_OPERATIONSTACK_H #include "util/libpartitionmanagerexport.h" diff --git a/src/core/partition.cpp b/src/core/partition.cpp index a9ca51d..d1f02c6 100644 --- a/src/core/partition.cpp +++ b/src/core/partition.cpp @@ -1,21 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2015 by Teo Mrnjavac * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/partition.h" @@ -80,8 +71,7 @@ Partition::~Partition() // either cause leaks (a partition is removed from the parent's list of children but never // deleted) or, worse, crashes (a partition is deleted but not removed from the parent's // list of children). As a workaround, always remove a partition from its parent here in the dtor. - // This presumably fixes 232092, but backporting is too risky until we're sure this doesn't cause - // side-effects. + // This presumably fixes 232092. if (m_Parent) parent()->remove(this); clearChildren(); diff --git a/src/core/partition.h b/src/core/partition.h index dd30ef3..2074261 100644 --- a/src/core/partition.h +++ b/src/core/partition.h @@ -1,19 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_PARTITION_H #define KPMCORE_PARTITION_H diff --git a/src/core/partitionalignment.cpp b/src/core/partitionalignment.cpp index b0ff0e1..e7fd9b8 100644 --- a/src/core/partitionalignment.cpp +++ b/src/core/partitionalignment.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/partitionalignment.h" @@ -151,4 +143,3 @@ qint64 PartitionAlignment::alignedLastSector(const Device& d, const Partition& p return s; } - diff --git a/src/core/partitionalignment.h b/src/core/partitionalignment.h index 918a471..c4b0aa3 100644 --- a/src/core/partitionalignment.h +++ b/src/core/partitionalignment.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_PARTITIONALIGNMENT_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_PARTITIONALIGNMENT_H #define KPMCORE_PARTITIONALIGNMENT_H #include "QtGlobal" diff --git a/src/core/partitionnode.cpp b/src/core/partitionnode.cpp index 8c9b5da..8588736 100644 --- a/src/core/partitionnode.cpp +++ b/src/core/partitionnode.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/partitionnode.h" diff --git a/src/core/partitionnode.h b/src/core/partitionnode.h index 220388a..ed51787 100644 --- a/src/core/partitionnode.h +++ b/src/core/partitionnode.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2014-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell -#if !defined(KPMCORE_PARTITIONNODE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_PARTITIONNODE_H #define KPMCORE_PARTITIONNODE_H #include "util/libpartitionmanagerexport.h" diff --git a/src/core/partitionrole.cpp b/src/core/partitionrole.cpp index db95577..8151b53 100644 --- a/src/core/partitionrole.cpp +++ b/src/core/partitionrole.cpp @@ -1,21 +1,10 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * Copyright (C) 2016 by Teo Mrnjavac * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2014-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/partitionrole.h" diff --git a/src/core/partitionrole.h b/src/core/partitionrole.h index 20f029d..4a469ae 100644 --- a/src/core/partitionrole.h +++ b/src/core/partitionrole.h @@ -1,23 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Teo Mrnjavac * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016-2017 Andrius Štikonas -#if !defined(KPMCORE_PARTITIONROLE_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_PARTITIONROLE_H #define KPMCORE_PARTITIONROLE_H #include "util/libpartitionmanagerexport.h" diff --git a/src/core/partitiontable.cpp b/src/core/partitiontable.cpp index 2dee90e..a0b3673 100644 --- a/src/core/partitiontable.cpp +++ b/src/core/partitiontable.cpp @@ -1,21 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * Copyright (C) 2016 by Teo Mrnjavac * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2012 Volker Lanz + SPDX-FileCopyrightText: 2009 Andrew Coles + SPDX-FileCopyrightText: 2013-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ /** @file */ diff --git a/src/core/partitiontable.h b/src/core/partitiontable.h index 92bed82..e94a015 100644 --- a/src/core/partitiontable.h +++ b/src/core/partitiontable.h @@ -1,20 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008, 2010 by Volker Lanz * - * Copyright (C) 2016 by Teo Mrnjavac * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2012 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_PARTITIONTABLE_H #define KPMCORE_PARTITIONTABLE_H diff --git a/src/core/raid/softwareraid.cpp b/src/core/raid/softwareraid.cpp index 229731f..fba6680 100644 --- a/src/core/raid/softwareraid.cpp +++ b/src/core/raid/softwareraid.cpp @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "softwareraid.h" diff --git a/src/core/raid/softwareraid.h b/src/core/raid/softwareraid.h index 0789ec2..ee4675e 100644 --- a/src/core/raid/softwareraid.h +++ b/src/core/raid/softwareraid.h @@ -1,21 +1,10 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho -#if !defined(KPMCORE_SOFTWARERAID_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ + +#ifndef KPMCORE_SOFTWARERAID_H #define KPMCORE_SOFTWARERAID_H #include "core/volumemanagerdevice.h" diff --git a/src/core/smartattribute.cpp b/src/core/smartattribute.cpp index fc0e9a5..1833517 100644 --- a/src/core/smartattribute.cpp +++ b/src/core/smartattribute.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2018 Anthony Fieroni + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/smartattribute.h" #include "core/smartstatus.h" diff --git a/src/core/smartattribute.h b/src/core/smartattribute.h index 7df36a4..4847545 100644 --- a/src/core/smartattribute.h +++ b/src/core/smartattribute.h @@ -1,19 +1,12 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_SMARTATTRIBUTE_H #define KPMCORE_SMARTATTRIBUTE_H diff --git a/src/core/smartattributeparseddata.cpp b/src/core/smartattributeparseddata.cpp index 8e16899..20303ba 100644 --- a/src/core/smartattributeparseddata.cpp +++ b/src/core/smartattributeparseddata.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Lennart Poettering + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2018-2019 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "smartattributeparseddata.h" #include "core/smartdiskinformation.h" diff --git a/src/core/smartattributeparseddata.h b/src/core/smartattributeparseddata.h index 014c277..8daff76 100644 --- a/src/core/smartattributeparseddata.h +++ b/src/core/smartattributeparseddata.h @@ -1,19 +1,9 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_SMARTATTRIBUTEPARSEDDATA_H #define KPMCORE_SMARTATTRIBUTEPARSEDDATA_H diff --git a/src/core/smartdiskinformation.cpp b/src/core/smartdiskinformation.cpp index 30e1a6c..38a2ac4 100644 --- a/src/core/smartdiskinformation.cpp +++ b/src/core/smartdiskinformation.cpp @@ -1,19 +1,9 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2018-2019 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/smartdiskinformation.h" #include "core/smartattributeparseddata.h" diff --git a/src/core/smartdiskinformation.h b/src/core/smartdiskinformation.h index 8b9c957..701b04a 100644 --- a/src/core/smartdiskinformation.h +++ b/src/core/smartdiskinformation.h @@ -1,20 +1,9 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2018-2019 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_SMARTDISKINFORMATION_H #define KPMCORE_SMARTDISKINFORMATION_H diff --git a/src/core/smartparser.cpp b/src/core/smartparser.cpp index a3023ee..2037d89 100644 --- a/src/core/smartparser.cpp +++ b/src/core/smartparser.cpp @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/smartparser.h" diff --git a/src/core/smartparser.h b/src/core/smartparser.h index 115fbd5..5cddb29 100644 --- a/src/core/smartparser.h +++ b/src/core/smartparser.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_SMARTPARSER_H #define KPMCORE_SMARTPARSER_H diff --git a/src/core/smartstatus.cpp b/src/core/smartstatus.cpp index d640fcc..918afcc 100644 --- a/src/core/smartstatus.cpp +++ b/src/core/smartstatus.cpp @@ -1,20 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2010 Yuri Chornoivan + SPDX-FileCopyrightText: 2014-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Shubham Jangra + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/smartstatus.h" diff --git a/src/core/smartstatus.h b/src/core/smartstatus.h index d480cd2..e6dc20b 100644 --- a/src/core/smartstatus.h +++ b/src/core/smartstatus.h @@ -1,19 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_SMARTSTATUS_H #define KPMCORE_SMARTSTATUS_H diff --git a/src/core/volumemanagerdevice.cpp b/src/core/volumemanagerdevice.cpp index 3e87dc3..bd20862 100644 --- a/src/core/volumemanagerdevice.cpp +++ b/src/core/volumemanagerdevice.cpp @@ -1,20 +1,10 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "core/volumemanagerdevice.h" #include "core/volumemanagerdevice_p.h" diff --git a/src/core/volumemanagerdevice.h b/src/core/volumemanagerdevice.h index 787d573..77ca6f9 100644 --- a/src/core/volumemanagerdevice.h +++ b/src/core/volumemanagerdevice.h @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2016 by Chantara Tith * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_VOLUMEMANAGERDEVICE_H #define KPMCORE_VOLUMEMANAGERDEVICE_H diff --git a/src/core/volumemanagerdevice_p.h b/src/core/volumemanagerdevice_p.h index 6061c26..2c3a67b 100644 --- a/src/core/volumemanagerdevice_p.h +++ b/src/core/volumemanagerdevice_p.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * 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 3 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, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_VOLUMEMANAGERDEVICE_P_H #define KPMCORE_VOLUMEMANAGERDEVICE_P_H