From f27a6796fc45eafdce618237eded1a84cd9955b3 Mon Sep 17 00:00:00 2001
From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 26 Dec 2020 10:11:56 +0100
Subject: [PATCH] Add copyright and licence notices to files which lack them

---
 src/data/sys-file-encoding.pl           | 15 +++++++++++++++
 src/ui/gui/psppire-import-spreadsheet.h | 17 +++++++++++++++++
 src/ui/gui/psppire-import-textfile.h    | 17 +++++++++++++++++
 tests/data/num-out-cmp.pl               | 15 +++++++++++++++
 tests/data/test-date-input.py           | 14 ++++++++++++++
 tests/data/test-time-input.py           | 14 ++++++++++++++
 tests/utilities/pspp-output.at          | 15 +++++++++++++++
 utilities/pspp-convert.1                | 14 ++++++++++++++
 utilities/pspp-dump-sav.1               | 14 ++++++++++++++
 utilities/pspp-output.1                 | 14 ++++++++++++++
 10 files changed, 149 insertions(+)

diff --git a/src/data/sys-file-encoding.pl b/src/data/sys-file-encoding.pl
index b49c654b68..812cac1df1 100755
--- a/src/data/sys-file-encoding.pl
+++ b/src/data/sys-file-encoding.pl
@@ -1,4 +1,19 @@
 #! /usr/bin/perl
+#    Copyright (C) 2020  Free Software Foundation
+
+#    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 <http://www.gnu.org/licenses/>.
+
 
 use strict;
 use warnings;
diff --git a/src/ui/gui/psppire-import-spreadsheet.h b/src/ui/gui/psppire-import-spreadsheet.h
index bd349217cb..29bacdf66c 100644
--- a/src/ui/gui/psppire-import-spreadsheet.h
+++ b/src/ui/gui/psppire-import-spreadsheet.h
@@ -1,3 +1,20 @@
+/* PSPPIRE - a graphical user interface for PSPP.
+   Copyright (C) 2020  Free Software Foundation
+
+   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 <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef PSPPIRE_IMPORT_SPREADSHEET_H
 #define PSPPIRE_IMPORT_SPREADSHEET_H
 
diff --git a/src/ui/gui/psppire-import-textfile.h b/src/ui/gui/psppire-import-textfile.h
index f9c982f43c..68ee2a760f 100644
--- a/src/ui/gui/psppire-import-textfile.h
+++ b/src/ui/gui/psppire-import-textfile.h
@@ -1,3 +1,20 @@
+/* PSPPIRE - a graphical user interface for PSPP.
+   Copyright (C) 2020  Free Software Foundation
+
+   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 <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef PSPPIRE_IMPORT_TEXTFILE_H
 #define PSPPIRE_IMPORT_TEXTFILE_H
 
diff --git a/tests/data/num-out-cmp.pl b/tests/data/num-out-cmp.pl
index 8e83f5066c..1850fd6bf2 100644
--- a/tests/data/num-out-cmp.pl
+++ b/tests/data/num-out-cmp.pl
@@ -1,3 +1,18 @@
+# Copyright (C) 2020  Free Software Foundation
+
+# 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 <http://www.gnu.org/licenses/>.
+
 use strict;
 use warnings 'all';
 
diff --git a/tests/data/test-date-input.py b/tests/data/test-date-input.py
index dec4374945..793bbed776 100644
--- a/tests/data/test-date-input.py
+++ b/tests/data/test-date-input.py
@@ -1,4 +1,18 @@
 #! /usr/bin/env python
+# Copyright (C) 2020  Free Software Foundation
+
+# 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 <http://www.gnu.org/licenses/>.
 
 import re
 import sys
diff --git a/tests/data/test-time-input.py b/tests/data/test-time-input.py
index 0cf0370829..4d66748990 100644
--- a/tests/data/test-time-input.py
+++ b/tests/data/test-time-input.py
@@ -1,4 +1,18 @@
 #! /usr/bin/env python
+# Copyright (C) 2020  Free Software Foundation
+
+# 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 <http://www.gnu.org/licenses/>.
 
 import re
 import sys
diff --git a/tests/utilities/pspp-output.at b/tests/utilities/pspp-output.at
index 014a7830a4..65a20177d4 100644
--- a/tests/utilities/pspp-output.at
+++ b/tests/utilities/pspp-output.at
@@ -1,3 +1,18 @@
+dnl Copyright (C) 2020  Free Software Foundation
+
+dnl This program is free software: you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation, either version 3 of the License, or
+dnl (at your option) any later version.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 AT_BANNER([pspp-output])
 
 AT_SETUP([pspp-output dir])
diff --git a/utilities/pspp-convert.1 b/utilities/pspp-convert.1
index 6c8874a530..db4982b3b8 100644
--- a/utilities/pspp-convert.1
+++ b/utilities/pspp-convert.1
@@ -1,4 +1,18 @@
 .\" -*- nroff -*-
+.\" Copyright (C) 2020  Free Software Foundation
+
+.\" 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 <http://www.gnu.org/licenses/>.
 .de IQ
 .  br
 .  ns
diff --git a/utilities/pspp-dump-sav.1 b/utilities/pspp-dump-sav.1
index e5ebabc351..5c3459aa1c 100644
--- a/utilities/pspp-dump-sav.1
+++ b/utilities/pspp-dump-sav.1
@@ -1,4 +1,18 @@
 .\" -*- nroff -*-
+.\" Copyright (C) 2020  Free Software Foundation
+
+.\" 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 <http://www.gnu.org/licenses/>.
 .de IQ
 .  br
 .  ns
diff --git a/utilities/pspp-output.1 b/utilities/pspp-output.1
index 941c6684f7..55f47b574a 100644
--- a/utilities/pspp-output.1
+++ b/utilities/pspp-output.1
@@ -1,4 +1,18 @@
 .\" -*- nroff -*-
+.\" Copyright (C) 2020  Free Software Foundation
+
+.\" 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 <http://www.gnu.org/licenses/>.
 .de IQ
 .  br
 .  ns
-- 
2.30.2