diff --git a/display/d.legend.vect/draw.c b/display/d.legend.vect/draw.c index 4231ce785a1..12e5b5cc401 100644 --- a/display/d.legend.vect/draw.c +++ b/display/d.legend.vect/draw.c @@ -4,10 +4,9 @@ * background. With do_bg=0 compute position of all legend graphic item and draw * all. * - * Copyright (C) 2016 by Adam Laza, GSoC 2016, and the GRASS Development Team - * - * This program is free software under the GPL (>=v2) Read the COPYING - * file that comes with GRASS for details. + * SPDX-FileCopyrightText: 2016 Adam Laza, GSoC 2016 + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/display/d.legend/draw.c b/display/d.legend/draw.c index d3353589d4d..46095641c2c 100644 --- a/display/d.legend/draw.c +++ b/display/d.legend/draw.c @@ -3,9 +3,9 @@ * Extracted from original d.legend/main.c for background purpose * Moving to separate file: Adam Laza, GSoC 2016 * - * Copyright (C) 2014 by Hamish Bowman, and the GRASS Development Team* - * This program is free software under the GPL (>=v2) - * Read the COPYING file that comes with GRASS for details. + * SPDX-FileCopyrightText: 2014 Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/display/d.legend/histogram.c b/display/d.legend/histogram.c index 472d975f4ff..188d6972284 100644 --- a/display/d.legend/histogram.c +++ b/display/d.legend/histogram.c @@ -2,9 +2,9 @@ * Draws a histogram along the left side of a smooth gradient legend * (stats fetching code adapted from d.histogram) * - * Copyright (C) 2014 by Hamish Bowman, and the GRASS Development Team* - * This program is free software under the GPL (>=v2) - * Read the COPYING file that comes with GRASS for details. + * SPDX-FileCopyrightText: 2014 Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/gui/wxpython/gui_core/forms.py b/gui/wxpython/gui_core/forms.py index 4c0493ad16a..9d5156029e2 100644 --- a/gui/wxpython/gui_core/forms.py +++ b/gui/wxpython/gui_core/forms.py @@ -32,10 +32,8 @@ .. todo:: verify option value types -Copyright(C) 2000-2015 by the GRASS Development Team - -This program is free software under the GPL(>=v2) Read the file -COPYING coming with GRASS for details. +SPDX-FileCopyrightText: 2000-2015 Other GRASS authors +SPDX-License-Identifier: GPL-2.0-or-later @author Jan-Oliver Wagner @author Bernhard Reiter diff --git a/gui/wxpython/xml/grass-gxm.dtd b/gui/wxpython/xml/grass-gxm.dtd index ced8ac5c3ea..fb5595c86c6 100644 --- a/gui/wxpython/xml/grass-gxm.dtd +++ b/gui/wxpython/xml/grass-gxm.dtd @@ -1,10 +1,8 @@ diff --git a/gui/wxpython/xml/grass-gxw.dtd b/gui/wxpython/xml/grass-gxw.dtd index d99c150299d..1b0cdaad9d6 100644 --- a/gui/wxpython/xml/grass-gxw.dtd +++ b/gui/wxpython/xml/grass-gxw.dtd @@ -1,10 +1,8 @@ diff --git a/imagery/i.svm.train/fill.c b/imagery/i.svm.train/fill.c index 86ff99435f6..0fcf642e8d0 100644 --- a/imagery/i.svm.train/fill.c +++ b/imagery/i.svm.train/fill.c @@ -1,12 +1,11 @@ /* * i.svm.train Functions filling svm_problem struct * - * Copyright 2023 by Maris Nartiss, and the GRASS Development Team + * SPDX-FileCopyrightText: 2023 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include #include diff --git a/imagery/i.svm.train/fill.h b/imagery/i.svm.train/fill.h index 9f03c84df5f..674d601f66a 100644 --- a/imagery/i.svm.train/fill.h +++ b/imagery/i.svm.train/fill.h @@ -1,12 +1,11 @@ /* * i.svm.train Functions filling svm_problem struct * - * Copyright 2023 by Maris Nartiss, and the GRASS Development Team + * SPDX-FileCopyrightText: 2023 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/lib/cairodriver/draw.c b/lib/cairodriver/draw.c index 9be3c03f7a1..1633f73f870 100644 --- a/lib/cairodriver/draw.c +++ b/lib/cairodriver/draw.c @@ -3,10 +3,10 @@ \brief GRASS cairo display driver - (C) 2007-2008 by Lars Ahlzen, Glynn Clements and the GRASS Development Team - - This program is free software under the GNU General Public License - (>=v2). Read the file COPYING that comes with GRASS for details. + SPDX-FileCopyrightText: 2007-2008 Lars Ahlzen + SPDX-FileCopyrightText: 2007-2008 Glynn Clements + SPDX-FileCopyrightText: Other GRASS authors + SPDX-License-Identifier: GPL-2.0-or-later \author Lars Ahlzen (original contributor) \author Glynn Clements diff --git a/lib/datetime/between.c b/lib/datetime/between.c index 5b714461829..f05400bab9b 100644 --- a/lib/datetime/between.c +++ b/lib/datetime/between.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ int datetime_is_between(int x, int a, int b) { diff --git a/lib/datetime/change.c b/lib/datetime/change.c index e2e7f3765cc..5c41783769c 100644 --- a/lib/datetime/change.c +++ b/lib/datetime/change.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/copy.c b/lib/datetime/copy.c index ca0e4e7b294..95eabcf023c 100644 --- a/lib/datetime/copy.c +++ b/lib/datetime/copy.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/diff.c b/lib/datetime/diff.c index e0c09cd9a2d..852d3bb8873 100644 --- a/lib/datetime/diff.c +++ b/lib/datetime/diff.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/error.c b/lib/datetime/error.c index c0d49587445..5af4824f197 100644 --- a/lib/datetime/error.c +++ b/lib/datetime/error.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/format.c b/lib/datetime/format.c index 618ffc88ecc..58c085b57f2 100644 --- a/lib/datetime/format.c +++ b/lib/datetime/format.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/incr1.c b/lib/datetime/incr1.c index 73c161ab1cc..92bc7d4092f 100644 --- a/lib/datetime/incr1.c +++ b/lib/datetime/incr1.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/incr2.c b/lib/datetime/incr2.c index cfdce6276d6..76aea98ce5b 100644 --- a/lib/datetime/incr2.c +++ b/lib/datetime/incr2.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/incr3.c b/lib/datetime/incr3.c index 6bca5d05e0a..abf8a1bd17e 100644 --- a/lib/datetime/incr3.c +++ b/lib/datetime/incr3.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/local.c b/lib/datetime/local.c index cdbac052f9f..2879353d331 100644 --- a/lib/datetime/local.c +++ b/lib/datetime/local.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/misc.c b/lib/datetime/misc.c index 441024c9567..cdce3e9417e 100644 --- a/lib/datetime/misc.c +++ b/lib/datetime/misc.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/same.c b/lib/datetime/same.c index b23a33853c4..1e1fc98567a 100644 --- a/lib/datetime/same.c +++ b/lib/datetime/same.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/scan.c b/lib/datetime/scan.c index 0be1c198138..42ed35f9199 100644 --- a/lib/datetime/scan.c +++ b/lib/datetime/scan.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/lib/datetime/sign.c b/lib/datetime/sign.c index b98feaf98d8..02dbd74d8d4 100644 --- a/lib/datetime/sign.c +++ b/lib/datetime/sign.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/type.c b/lib/datetime/type.c index 7b62979859a..3f90e1cf3b2 100644 --- a/lib/datetime/type.c +++ b/lib/datetime/type.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/tz1.c b/lib/datetime/tz1.c index 9a1aae580f4..0fe1fd0acb9 100644 --- a/lib/datetime/tz1.c +++ b/lib/datetime/tz1.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/tz2.c b/lib/datetime/tz2.c index 89aac92c6f8..56369b9bf18 100644 --- a/lib/datetime/tz2.c +++ b/lib/datetime/tz2.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/datetime/values.c b/lib/datetime/values.c index 9fe461f2b95..d927ace7bf3 100644 --- a/lib/datetime/values.c +++ b/lib/datetime/values.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995. Bill Brown & Michael Shapiro - * - * This program is free software under the GPL (>=v2) - * Read the file GPL.TXT coming with GRASS for details. + * SPDX-FileCopyrightText: 1995 Bill Brown + * SPDX-FileCopyrightText: 1995 Michael Shapiro + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/lib/db/README.md b/lib/db/README.md index 227d628fa48..ca0bda7ceec 100644 --- a/lib/db/README.md +++ b/lib/db/README.md @@ -29,14 +29,11 @@ Further authors: ### Copyright -(C) 2003-2024 by the GRASS Development Team +SPDX-FileCopyrightText: 2003-2024 Other GRASS authors +SPDX-License-Identifier: GPL-2.0-or-later ### License -This program is free software under the GNU General Public -License (>=v2). Read the file COPYING that comes with GRASS -for details. - ### Directory contents - `dbmi/`: DataBase Management Interface (`db_*()` functions) diff --git a/lib/gis/asprintf.c b/lib/gis/asprintf.c index aba1602ce71..4367c5a2658 100644 --- a/lib/gis/asprintf.c +++ b/lib/gis/asprintf.c @@ -8,11 +8,9 @@ * Rewritten by Glynn Clements, Sat, 6 Feb 2010 * Assumes that vsnprintf() is available * - * (C) 2002-2014 by the GRASS Development Team - * (C) 2010 by Glynn Clements - * - * This program is free software under the GNU General Public License - * (>=v2). Read the file COPYING that comes with GRASS for details. + * SPDX-FileCopyrightText: 2010 Glynn Clements + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE /* enable asprintf */ diff --git a/lib/gis/find_rast3d.c b/lib/gis/find_rast3d.c index f1f43f84ad0..9ebbc2b26c1 100644 --- a/lib/gis/find_rast3d.c +++ b/lib/gis/find_rast3d.c @@ -3,10 +3,8 @@ \brief GIS library - Find a 3D raster map - (C) 2001-2009, 2011 by the GRASS Development Team - - ` This program is free software under the GNU General Public License - (>=v2). Read the file COPYING that comes with GRASS for details. + SPDX-FileCopyrightText: 2001-2009, 2011 Other GRASS authors + SPDX-License-Identifier: GPL-2.0-or-later \author Original author CERL */ diff --git a/lib/linkm/README b/lib/linkm/README index add13600bba..3a5008eb21a 100644 --- a/lib/linkm/README +++ b/lib/linkm/README @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 -** Copyright 1992 USA-CERL All rights reserved. +** SPDX-FileCopyrightText: 1992 USA-CERL +** SPDX-FileCopyrightText: Other GRASS authors +** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/dispose.c b/lib/linkm/dispose.c index e6a50f928cf..355e48a3d0f 100644 --- a/lib/linkm/dispose.c +++ b/lib/linkm/dispose.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/new.c b/lib/linkm/new.c index d6505c1f54a..b834a127f1e 100644 --- a/lib/linkm/new.c +++ b/lib/linkm/new.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/next.c b/lib/linkm/next.c index 8ff7cacf157..8ba99a77239 100644 --- a/lib/linkm/next.c +++ b/lib/linkm/next.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/linkm.c b/lib/linkm/test/linkm.c index dffb585bdfc..e439ffd11b7 100644 --- a/lib/linkm/test/linkm.c +++ b/lib/linkm/test/linkm.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/malloc.c b/lib/linkm/test/malloc.c index 9c69e131149..53cd85a8603 100644 --- a/lib/linkm/test/malloc.c +++ b/lib/linkm/test/malloc.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/speed.c b/lib/linkm/test/speed.c index cff23f74d46..816923930fa 100644 --- a/lib/linkm/test/speed.c +++ b/lib/linkm/test/speed.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/speed2.c b/lib/linkm/test/speed2.c index ae3adb703cf..1479241d978 100644 --- a/lib/linkm/test/speed2.c +++ b/lib/linkm/test/speed2.c @@ -2,7 +2,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/speed3.c b/lib/linkm/test/speed3.c index cf0f42a60de..a2b7cc5a26a 100644 --- a/lib/linkm/test/speed3.c +++ b/lib/linkm/test/speed3.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/try.c b/lib/linkm/test/try.c index 3b71b6f684a..21018f756f7 100644 --- a/lib/linkm/test/try.c +++ b/lib/linkm/test/try.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/linkm/test/try2.c b/lib/linkm/test/try2.c index e84fbd6da5b..e5532f2558b 100644 --- a/lib/linkm/test/try2.c +++ b/lib/linkm/test/try2.c @@ -1,7 +1,9 @@ /* ** Written by David Gerdes US Army Construction Engineering Research Lab ** April 1992 - ** Copyright 1992 USA-CERL All rights reserved. + ** SPDX-FileCopyrightText: 1992 USA-CERL + ** SPDX-FileCopyrightText: Other GRASS authors + ** SPDX-License-Identifier: GPL-2.0-or-later ** */ diff --git a/lib/ogsf/gsd_img_ppm.c b/lib/ogsf/gsd_img_ppm.c index 35b6b967c36..8516b39c52e 100644 --- a/lib/ogsf/gsd_img_ppm.c +++ b/lib/ogsf/gsd_img_ppm.c @@ -5,18 +5,14 @@ GRASS OpenGL gsurf OGSF Library - (C) 1999-2008 by the GRASS Development Team + SPDX-FileCopyrightText: 1999-2008 Other GRASS authors + SPDX-License-Identifier: GPL-2.0-or-later - added little/big endian test Markus Neteler - modified to PPM by Bob Covill - changed 10/99 Jaro - Created new function GS_write_ppm based on RGB dump - This program is free software under the - GNU General Public License (>=v2). - Read the file COPYING that comes with GRASS - for details. - \author Bill Brown USACERL, GMSL/University of Illinois \author Markus Neteler \author Bob Covill diff --git a/lib/ogsf/gsd_img_tif.c b/lib/ogsf/gsd_img_tif.c index c2518bb8bea..b66014aabd3 100644 --- a/lib/ogsf/gsd_img_tif.c +++ b/lib/ogsf/gsd_img_tif.c @@ -5,18 +5,14 @@ GRASS OpenGL gsurf OGSF Library - (C) 1999-2008 by the GRASS Development Team + SPDX-FileCopyrightText: 1999-2008 Other GRASS authors + SPDX-License-Identifier: GPL-2.0-or-later - added little/big endian test Markus Neteler - modified to PPM by Bob Covill - changed 10/99 Jaro - Created new function GS_write_tif based on RGB dump - This program is free software under the - GNU General Public License (>=v2). - Read the file COPYING that comes with GRASS - for details. - \author Bill Brown USACERL, GMSL/University of Illinois \author Markus Neteler \author Jaro Hofierka diff --git a/lib/raster/raster_metadata.c b/lib/raster/raster_metadata.c index 23ec766e8a6..a6ca3bb4457 100644 --- a/lib/raster/raster_metadata.c +++ b/lib/raster/raster_metadata.c @@ -4,11 +4,10 @@ \brief Raster library - Functions to read and write raster "units", "semantic label" and "vertical datum" meta-data info - (C) 2007-2009, 2021 by Hamish Bowman, Maris Nartiss, - and the GRASS Development Team - - This program is free software under the GNU General Public License - (>=v2). Read the file COPYING that comes with GRASS for details. + SPDX-FileCopyrightText: 2007-2009, 2021 Hamish Bowman + SPDX-FileCopyrightText: 2007-2009, 2021 Maris Nartiss + SPDX-FileCopyrightText: Other GRASS authors + SPDX-License-Identifier: GPL-2.0-or-later \author Hamish Bowman */ diff --git a/man/build_check.py b/man/build_check.py index f698e1440cb..9efeb876f4d 100644 --- a/man/build_check.py +++ b/man/build_check.py @@ -1,7 +1,9 @@ #!/usr/bin/env python3 # checks for HTML files missing DESCRIPTION section -# (C) 2003-2009 Markus Neteler and the GRASS Development Team +# SPDX-FileCopyrightText: 2003-2009 Markus Neteler +# SPDX-FileCopyrightText: Other GRASS authors +# SPDX-License-Identifier: GPL-2.0-or-later # Authors: # Markus Neteler # Glynn Clements diff --git a/raster/r.geomorphon/testsuite/test_r_geom.py b/raster/r.geomorphon/testsuite/test_r_geom.py index a071e51a062..8d7bf19b180 100644 --- a/raster/r.geomorphon/testsuite/test_r_geom.py +++ b/raster/r.geomorphon/testsuite/test_r_geom.py @@ -4,10 +4,10 @@ Uses NC Basic data set. Author: Luca Delucchi, Markus Neteler -Copyright: (C) 2017 by Luca Delucchi, Markus Neteler and the GRASS Development Team -Licence: This program is free software under the GNU General Public - License (>=v2). Read the file COPYING that comes with GRASS - for details. +SPDX-FileCopyrightText: 2017 Luca Delucchi +SPDX-FileCopyrightText: 2017 Markus Neteler +SPDX-FileCopyrightText: Other GRASS authors +SPDX-License-Identifier: GPL-2.0-or-later """ import json diff --git a/raster/r.in.gridatb/main.c b/raster/r.in.gridatb/main.c index e299d5d7aaa..15c7e42f201 100644 --- a/raster/r.in.gridatb/main.c +++ b/raster/r.in.gridatb/main.c @@ -3,14 +3,12 @@ * * GRIDATB.FOR Author: Keith Beven * - * Copyright (C) 2000 by the GRASS Development Team + * SPDX-FileCopyrightText: 2000 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Huidae Cho * Hydro Laboratory, Kyungpook National University * South Korea * - * This program is free software under the GPL (>=v2) - * Read the file COPYING coming with GRASS for details. - * */ #include diff --git a/raster/r.in.lidar/filters.c b/raster/r.in.lidar/filters.c index 36bfcf06532..57808c26300 100644 --- a/raster/r.in.lidar/filters.c +++ b/raster/r.in.lidar/filters.c @@ -1,14 +1,13 @@ /* * r.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include "local_proto.h" diff --git a/raster/r.in.lidar/filters.h b/raster/r.in.lidar/filters.h index 47fe0aa7a74..69d30aa8053 100644 --- a/raster/r.in.lidar/filters.h +++ b/raster/r.in.lidar/filters.h @@ -1,14 +1,13 @@ /* * r.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __FILTERS_H__ diff --git a/raster/r.in.lidar/info.c b/raster/r.in.lidar/info.c index 0eb11819e3c..a9d14b550bf 100644 --- a/raster/r.in.lidar/info.c +++ b/raster/r.in.lidar/info.c @@ -1,14 +1,13 @@ /* * r.in.lidar projection-related functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move functions to a file) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.lidar/point_binning.c b/raster/r.in.lidar/point_binning.c index 8a4b08cfd27..f28b512f611 100644 --- a/raster/r.in.lidar/point_binning.c +++ b/raster/r.in.lidar/point_binning.c @@ -1,14 +1,13 @@ /* * r.in.lidar projection-related functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.lidar/point_binning.h b/raster/r.in.lidar/point_binning.h index 290a9dd53d6..edcbb786629 100644 --- a/raster/r.in.lidar/point_binning.h +++ b/raster/r.in.lidar/point_binning.h @@ -1,14 +1,13 @@ /* * r.in.lidar projection-related functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __POINT_BINNING_H__ diff --git a/raster/r.in.lidar/projection.c b/raster/r.in.lidar/projection.c index 6c08ac11e49..e31133e76e6 100644 --- a/raster/r.in.lidar/projection.c +++ b/raster/r.in.lidar/projection.c @@ -1,14 +1,13 @@ /* * r.in.lidar metadata-related functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to standalone functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.lidar/support.c b/raster/r.in.lidar/support.c index 4bc455a4775..5aeb4b3bb9c 100644 --- a/raster/r.in.lidar/support.c +++ b/raster/r.in.lidar/support.c @@ -1,11 +1,10 @@ /* * r.in.lidar support fns, from r.in.xyz. - * Copyright 2006 by M. Hamish Bowman, and the GRASS Development Team + * SPDX-FileCopyrightText: 2006 M. Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: M. Hamish Bowman, University of Otago, Dunedin, New Zealand * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.mat/main.c b/raster/r.in.mat/main.c index 206e6e6f870..c3045a11ce4 100644 --- a/raster/r.in.mat/main.c +++ b/raster/r.in.mat/main.c @@ -2,12 +2,10 @@ * * Input a GRASS raster file from a MAT-File (version 4). * - * Copyright (C) 2004 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Hamish Bowman, University of Otago, New Zealand * - * This program is free software under the GPL (>=v2) - * Read the COPYING file that comes with GRASS for details. - * * Code follows r.out.mat, which follows r.out.bin to a certain * extent, which in turn follows r.out.ascii, which is really old. * diff --git a/raster/r.in.pdal/bin_update.c b/raster/r.in.pdal/bin_update.c index 11f3a9837b8..f0584df576e 100644 --- a/raster/r.in.pdal/bin_update.c +++ b/raster/r.in.pdal/bin_update.c @@ -1,13 +1,12 @@ /* * r.in.pdal Functions performing value updates on each incoming point * during point binning process - * Copyright 2006 by M. Hamish Bowman, and the GRASS Development Team + * SPDX-FileCopyrightText: 2006 M. Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: M. Hamish Bowman, University of Otago, Dunedin, New Zealand * Maris Nartiss code refactoring for r.in.pdal * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.pdal/bin_write.c b/raster/r.in.pdal/bin_write.c index 0a2958be669..a6bf144ff9e 100644 --- a/raster/r.in.pdal/bin_write.c +++ b/raster/r.in.pdal/bin_write.c @@ -1,15 +1,14 @@ /* * r.in.pdal point binning output value calculation * - * Copyright 2011-2015, 2020 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015, 2020 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * Maris Nartiss (refactoring for r.in.pdal) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.pdal/bin_write.h b/raster/r.in.pdal/bin_write.h index 8981323aba5..7877ca65af0 100644 --- a/raster/r.in.pdal/bin_write.h +++ b/raster/r.in.pdal/bin_write.h @@ -1,15 +1,14 @@ /* * r.in.pdal point binning output value calculation * - * Copyright 2011-2015, 2020 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015, 2020 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * Maris Nartiss (refactoring for r.in.pdal) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __BIN_WRITE_H__ diff --git a/raster/r.in.pdal/filters.c b/raster/r.in.pdal/filters.c index f03c44ae37c..1fb5a1e496f 100644 --- a/raster/r.in.pdal/filters.c +++ b/raster/r.in.pdal/filters.c @@ -2,14 +2,13 @@ * r.in.pdal filtering functions * adapted from v.in.lidar * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include "filters.h" diff --git a/raster/r.in.pdal/filters.h b/raster/r.in.pdal/filters.h index 619ba5f3336..ee71cb1aec6 100644 --- a/raster/r.in.pdal/filters.h +++ b/raster/r.in.pdal/filters.h @@ -2,14 +2,13 @@ * r.in.pdal filtering functions * adapded from v.in.lidar * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __FILTERS_H__ diff --git a/raster/r.in.pdal/info.cpp b/raster/r.in.pdal/info.cpp index e6e62af587b..c12a21a6581 100644 --- a/raster/r.in.pdal/info.cpp +++ b/raster/r.in.pdal/info.cpp @@ -1,12 +1,11 @@ /* * r.in.pdal Functions printing out various information on input LAS files * - * Copyright 2021-2024 by Maris Nartiss, and the GRASS Development Team + * SPDX-FileCopyrightText: 2021-2024 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include "info.h" diff --git a/raster/r.in.pdal/info.h b/raster/r.in.pdal/info.h index 09736bab543..d4f1d5c1206 100644 --- a/raster/r.in.pdal/info.h +++ b/raster/r.in.pdal/info.h @@ -1,12 +1,11 @@ /* * r.in.pdal Functions printing out various information on input LAS files * - * Copyright 2021 by Maris Nartiss, and the GRASS Development Team + * SPDX-FileCopyrightText: 2021 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef INFO_H diff --git a/raster/r.in.pdal/point_binning.c b/raster/r.in.pdal/point_binning.c index 47dc1bcdc07..4a0d00a847c 100644 --- a/raster/r.in.pdal/point_binning.c +++ b/raster/r.in.pdal/point_binning.c @@ -1,15 +1,14 @@ /* * r.in.pdal point binning logic * - * Copyright 2011-2015, 2020 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015, 2020 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * Maris Nartiss (refactoring for r.in.pdal) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.pdal/point_binning.h b/raster/r.in.pdal/point_binning.h index 6f2c9669704..b5015d5019b 100644 --- a/raster/r.in.pdal/point_binning.h +++ b/raster/r.in.pdal/point_binning.h @@ -1,15 +1,14 @@ /* * r.in.pdal point binning logic * - * Copyright 2011-2015, 2020 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015, 2020 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to separate functions) * Maris Nartiss (refactoring for r.in.pdal) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __POINT_BINNING_H__ diff --git a/raster/r.in.pdal/projection.c b/raster/r.in.pdal/projection.c index a2b17d8d50e..67d63496dbc 100644 --- a/raster/r.in.pdal/projection.c +++ b/raster/r.in.pdal/projection.c @@ -1,14 +1,13 @@ /* * projection checking * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (v.in.lidar) * Vaclav Petras (move code to standalone functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.in.xyz/local_proto.h b/raster/r.in.xyz/local_proto.h index 2e254bc335c..7c679397283 100644 --- a/raster/r.in.xyz/local_proto.h +++ b/raster/r.in.xyz/local_proto.h @@ -4,12 +4,11 @@ * Calculates univariate statistics from the non-null cells of a GRASS * raster map * - * Copyright 2006 by M. Hamish Bowman, and the GRASS Development Team + * SPDX-FileCopyrightText: 2006 M. Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: M. Hamish Bowman, University of Otago, Dunedin, New Zealand * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * * This program is intended as a replacement for the GRASS 5 * s.cellstats module. */ diff --git a/raster/r.in.xyz/main.c b/raster/r.in.xyz/main.c index 615f1d01a84..fbd5da68639 100644 --- a/raster/r.in.xyz/main.c +++ b/raster/r.in.xyz/main.c @@ -4,15 +4,14 @@ * Calculates univariate statistics from the non-null cells of a GRASS * raster map * - * Copyright 2006-2014 by M. Hamish Bowman, and the GRASS Development Team + * SPDX-FileCopyrightText: 2006-2014 M. Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: M. Hamish Bowman, University of Otago, Dunedin, New Zealand * * Extended 2007 by Volker Wichmann to support the aggregate functions * median, percentile, skewness and trimmed mean * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * * This program is intended as a replacement for the GRASS 5 s.cellstats * module. */ diff --git a/raster/r.in.xyz/support.c b/raster/r.in.xyz/support.c index 7483274dcb4..71fff0c67fe 100644 --- a/raster/r.in.xyz/support.c +++ b/raster/r.in.xyz/support.c @@ -1,11 +1,10 @@ /* * r.in.xyz support fns. - * Copyright 2006 by M. Hamish Bowman, and the GRASS Development Team + * SPDX-FileCopyrightText: 2006 M. Hamish Bowman + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: M. Hamish Bowman, University of Otago, Dunedin, New Zealand * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.out.bin/main.c b/raster/r.out.bin/main.c index 7de84398b14..eea8236c3ef 100644 --- a/raster/r.out.bin/main.c +++ b/raster/r.out.bin/main.c @@ -1,13 +1,11 @@ /* * r.out.bin * - * Copyright (C) 2000,2010 by the GRASS Development Team + * SPDX-FileCopyrightText: 2000,2010 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Bob Covill * Modified by Glynn Clements, 2010-01-10 * - * This program is free software under the GPL (>=v2) - * Read the file COPYING coming with GRASS for details. - * */ #include diff --git a/raster/r.out.gridatb/main.c b/raster/r.out.gridatb/main.c index ac4ad0418d5..77656973f49 100644 --- a/raster/r.out.gridatb/main.c +++ b/raster/r.out.gridatb/main.c @@ -3,14 +3,12 @@ * * GRIDATB.FOR Author: Keith Beven * - * Copyright (C) 2000 by the GRASS Development Team + * SPDX-FileCopyrightText: 2000 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Huidae Cho * Hydro Laboratory, Kyungpook National University * South Korea * - * This program is free software under the GPL (>=v2) - * Read the file COPYING coming with GRASS for details. - * */ #include diff --git a/raster/r.out.mat/main.c b/raster/r.out.mat/main.c index 58a6d1af186..f7cafd92cd5 100644 --- a/raster/r.out.mat/main.c +++ b/raster/r.out.mat/main.c @@ -3,12 +3,10 @@ * * Output a GRASS raster map to a MAT-File (version 4). * - * Copyright (C) 2004 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Hamish Bowman, University of Otago, New Zealand * - * This program is free software under the GPL (>=v2) - * Read the COPYING file that comes with GRASS for details. - * * Code follows r.out.bin to a certain extent, which in turn * follows r.out.ascii. */ diff --git a/raster/r.profile/main.c b/raster/r.profile/main.c index b92a6ec8db2..18b2882c4d9 100644 --- a/raster/r.profile/main.c +++ b/raster/r.profile/main.c @@ -1,10 +1,8 @@ /* - * Copyright (C) 2000 by the GRASS Development Team + * SPDX-FileCopyrightText: 2000 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Bob Covill * - * This Program is free software under the GPL (>=v2) - * Read the file COPYING coming with GRASS for details - * */ #include diff --git a/raster/r.profile/read_rast.c b/raster/r.profile/read_rast.c index dec7fdd43e3..3d65b115a29 100644 --- a/raster/r.profile/read_rast.c +++ b/raster/r.profile/read_rast.c @@ -1,10 +1,8 @@ /* - * Copyright (C) 2000 by the GRASS Development Team + * SPDX-FileCopyrightText: 2000 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Bob Covill * - * This Program is free software under the GPL (>=v2) - * Read the file COPYING coming with GRASS for details - * */ #include diff --git a/raster/r.smooth.edgepreserve/local_proto.h b/raster/r.smooth.edgepreserve/local_proto.h index 4e615201f06..aaf3f1d5b6f 100644 --- a/raster/r.smooth.edgepreserve/local_proto.h +++ b/raster/r.smooth.edgepreserve/local_proto.h @@ -1,12 +1,11 @@ /* * r.smooth.edgepreserve * - * Copyright 2025 by Maris Nartiss, and The GRASS Development Team + * SPDX-FileCopyrightText: 2025 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/raster/r.smooth.edgepreserve/pm.c b/raster/r.smooth.edgepreserve/pm.c index de17ca3d20a..3704575c496 100644 --- a/raster/r.smooth.edgepreserve/pm.c +++ b/raster/r.smooth.edgepreserve/pm.c @@ -1,12 +1,11 @@ /* * r.smooth.edgepreserve Perona & Malik smoothing * - * Copyright 2025 by Maris Nartiss, and The GRASS Development Team + * SPDX-FileCopyrightText: 2025 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include #include diff --git a/raster/r.smooth.edgepreserve/row_cache.c b/raster/r.smooth.edgepreserve/row_cache.c index 2e6ed013f20..0a7d59f64c1 100644 --- a/raster/r.smooth.edgepreserve/row_cache.c +++ b/raster/r.smooth.edgepreserve/row_cache.c @@ -1,12 +1,11 @@ /* * r.smooth.edgepreserve row cache * - * Copyright 2025 by Maris Nartiss, and The GRASS Development Team + * SPDX-FileCopyrightText: 2025 Maris Nartiss + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author: Maris Nartiss * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include #include diff --git a/raster/r.univar/globals.h b/raster/r.univar/globals.h index 7df801e5621..3ca6d24f7bd 100644 --- a/raster/r.univar/globals.h +++ b/raster/r.univar/globals.h @@ -1,15 +1,12 @@ /* * Calculates univariate statistics from the non-null cells * - * Copyright (C) 2004-2010 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2010 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Soeren Gebbert * Based on r.univar from Hamish Bowman, University of Otago, New * Zealand and Martin Landa zonal loop by Markus Metz * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #ifndef _GLOBALS_H_ diff --git a/raster/r.univar/r.univar_main.c b/raster/r.univar/r.univar_main.c index 4199774c97b..68b2572db74 100644 --- a/raster/r.univar/r.univar_main.c +++ b/raster/r.univar/r.univar_main.c @@ -4,15 +4,12 @@ * Calculates univariate statistics from the non-null cells of a GRASS raster * map * - * Copyright (C) 2004-2006, 2012 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2006, 2012 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Hamish Bowman, University of Otago, New Zealand * Extended stats: Martin Landa * Zonal stats: Markus Metz * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * * This program is a replacement for the r.univar shell script */ diff --git a/raster/r.univar/r3.univar_main.c b/raster/r.univar/r3.univar_main.c index f14d50746a7..d10e9adbdd0 100644 --- a/raster/r.univar/r3.univar_main.c +++ b/raster/r.univar/r3.univar_main.c @@ -4,16 +4,13 @@ * Calculates univariate statistics from the non-null 3d cells of a raster3d * map * - * Copyright (C) 2004-2007 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2007 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Soeren Gebbert * Based on r.univar from Hamish Bowman, University of Otago, New * Zealand and Martin Landa heapsort code from * http://de.wikipedia.org/wiki/Heapsort Zonal stats: Markus Metz * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #include diff --git a/raster/r.univar/sort.c b/raster/r.univar/sort.c index 726a30bba67..0468626f88f 100644 --- a/raster/r.univar/sort.c +++ b/raster/r.univar/sort.c @@ -1,12 +1,9 @@ /* - * Copyright (C) 2004-2007 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2007 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): 1998, 1999 Sebastian Cyris * 2007 modified by Soeren Gebbert * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #include "globals.h" diff --git a/raster/r.univar/stats.c b/raster/r.univar/stats.c index e868d0ce2b0..92b022d5ad8 100644 --- a/raster/r.univar/stats.c +++ b/raster/r.univar/stats.c @@ -1,14 +1,11 @@ /* * Calculates univariate statistics from the non-null cells * - * Copyright (C) 2004-2007 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2007 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Hamish Bowman, University of Otago, New Zealand * Martin Landa and Soeren Gebbert * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #include diff --git a/raster3d/r3.stats/main.c b/raster3d/r3.stats/main.c index 1ec8db3811b..a8bd48a4e1e 100644 --- a/raster3d/r3.stats/main.c +++ b/raster3d/r3.stats/main.c @@ -1,15 +1,12 @@ /* * r3.stats * - * Copyright (C) 2004-2017 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2017 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Soeren Gebbert * * Purpose: Generates volume statistics for raster3d maps. * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #include diff --git a/raster3d/r3.stats/support.c b/raster3d/r3.stats/support.c index d9d7f618005..b02ac34e3fe 100644 --- a/raster3d/r3.stats/support.c +++ b/raster3d/r3.stats/support.c @@ -1,13 +1,10 @@ /* * r3.stats support functions * - * Copyright (C) 2004-2014 by the GRASS Development Team + * SPDX-FileCopyrightText: 2004-2014 Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Author(s): Soeren Gebbert * - * This program is free software under the GNU General Public - * License (>=v2). Read the file COPYING that comes with GRASS - * for details. - * */ #include diff --git a/vector/v.in.lidar/attributes.c b/vector/v.in.lidar/attributes.c index b80fe76bc6c..37929ae41c1 100644 --- a/vector/v.in.lidar/attributes.c +++ b/vector/v.in.lidar/attributes.c @@ -1,14 +1,13 @@ /* * attribute handling * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (v.in.lidar) * Vaclav Petras (move code to standalone functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/vector/v.in.lidar/filters.c b/vector/v.in.lidar/filters.c index 54fff0d86c6..5dbd0bfa2ef 100644 --- a/vector/v.in.lidar/filters.c +++ b/vector/v.in.lidar/filters.c @@ -1,14 +1,13 @@ /* * v.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include "filters.h" diff --git a/vector/v.in.lidar/filters.h b/vector/v.in.lidar/filters.h index f017100bc72..ac62069562a 100644 --- a/vector/v.in.lidar/filters.h +++ b/vector/v.in.lidar/filters.h @@ -1,14 +1,13 @@ /* * v.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __FILTERS_H__ diff --git a/vector/v.in.lidar/info.c b/vector/v.in.lidar/info.c index 1286cc90b49..9e59c42e849 100644 --- a/vector/v.in.lidar/info.c +++ b/vector/v.in.lidar/info.c @@ -1,14 +1,13 @@ /* * v.in.lidar projection-related functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (v.in.lidar) * Vaclav Petras (move functions to a file) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/vector/v.in.lidar/projection.c b/vector/v.in.lidar/projection.c index d406ad986e2..65b6f1f771f 100644 --- a/vector/v.in.lidar/projection.c +++ b/vector/v.in.lidar/projection.c @@ -1,14 +1,13 @@ /* * projection checking * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (v.in.lidar) * Vaclav Petras (move code to standalone functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include diff --git a/vector/v.in.pdal/filters.c b/vector/v.in.pdal/filters.c index 396e10f85ee..c6ad4d6497c 100644 --- a/vector/v.in.pdal/filters.c +++ b/vector/v.in.pdal/filters.c @@ -1,14 +1,13 @@ /* * v.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include "filters.h" diff --git a/vector/v.in.pdal/filters.h b/vector/v.in.pdal/filters.h index 100699b2e0c..018706fcc8e 100644 --- a/vector/v.in.pdal/filters.h +++ b/vector/v.in.pdal/filters.h @@ -1,14 +1,13 @@ /* * v.in.lidar filtering functions * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (r.in.lidar) * Vaclav Petras (move code to a separate files) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #ifndef __FILTERS_H__ diff --git a/vector/v.in.pdal/projection.c b/vector/v.in.pdal/projection.c index 1fb1d43b57b..5480dcbe9a7 100644 --- a/vector/v.in.pdal/projection.c +++ b/vector/v.in.pdal/projection.c @@ -1,14 +1,13 @@ /* * projection checking * - * Copyright 2011-2015 by Markus Metz, and the GRASS Development Team + * SPDX-FileCopyrightText: 2011-2015 Markus Metz + * SPDX-FileCopyrightText: Other GRASS authors + * SPDX-License-Identifier: GPL-2.0-or-later * Authors: * Markus Metz (v.in.lidar) * Vaclav Petras (move code to standalone functions) * - * This program is free software licensed under the GPL (>=v2). - * Read the COPYING file that comes with GRASS for details. - * */ #include