[education/rkward] /: Add/fix further REUSE headers

Thomas Friedrichsmeier null at kde.org
Sun Jul 16 13:21:19 BST 2023


Git commit 0d76610f0ab441c9fb725490730693ce4555961c by Thomas Friedrichsmeier.
Committed on 16/07/2023 at 12:15.
Pushed by tfry into branch 'master'.

Add/fix further REUSE headers

M  +5    -0    .gitignore
M  +22   -3    .reuse/dep5
D  +0    -4    rkward.kdev4
M  +5    -0    rkward/Info.plist
M  +5    -0    rkward/Info.plist.in
M  +5    -0    rkward/RKWardLaTeX.xml
M  +5    -0    rkward/RKWardR.xml
M  +5    -0    rkward/RKWardRMd.xml
M  +5    -0    rkward/RKWardpapaja.xml
M  +5    -0    rkward/RKWardroxygen2.xml
M  +5    -0    rkward/RKWardutils.xml
M  +5    -0    rkward/SetVersionNumber.cmake
M  +5    -0    rkward/dataeditor/rkeditordataframepart.rc
M  +5    -0    rkward/misc/rkdummypart.rc
M  +4    -1    rkward/org.kde.rkward.desktop
M  +5    -0    rkward/org.kde.rkward.metainfo.xml
M  +1    -1    rkward/pages/rkward_help.css
M  +1    -1    rkward/pages/rkward_output.css
M  +5    -0    rkward/plugins/distributions/clt/plot_wilcoxon_clt.xml
M  +5    -0    rkward/plugins/distributions/dist_help_snippets.xml
M  +5    -0    rkward/plugins/distributions/dist_snippets.xml
M  +5    -0    rkward/plugins/pluginmap_meta.inc
M  +5    -0    rkward/rbackend/FindR.cmake
M  +9    -4    rkward/rbackend/GenLibFile.py
M  +5    -0    rkward/resources.qrc
M  +5    -0    rkward/rkconsolepart.rc
D  +0    -4    rkward/rkward.kdev4
D  +0    -1    rkward/rkward.sourcedir
M  +5    -0    rkward/rkwardui.rc
M  +5    -0    rkward/scriptbackends/common.js
M  +5    -0    rkward/scriptbackends/rkcomponentscripting.js
M  +7    -0    rkward/syntax/rkward.xml
M  +5    -0    rkward/vnd.kde.rkward-output.xml
M  +5    -0    rkward/vnd.kde.rmarkdown.xml
M  +5    -0    rkward/vnd.rkward.r.xml
M  +5    -2    scripts/add_copyright_header.py

https://invent.kde.org/education/rkward/-/commit/0d76610f0ab441c9fb725490730693ce4555961c

diff --git a/.gitignore b/.gitignore
index 72fd8a481..5dbc7332b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,8 @@
+# This file is part of the RKWard project (https://rkward.kde.org).
+# SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+# SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+# SPDX-License-Identifier: CC0-1.0
+#
 # These often present in developer's system
 .kdev4/
 build/
diff --git a/.reuse/dep5 b/.reuse/dep5
index 908173ea8..a2fcbcd29 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -25,9 +25,26 @@ Copyright: Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
 Contributor: The RKWard Team <rkward-devel at kde.org>
 License: GPL-2.0-or-later
 
+Files:
+  VERSION.cmake
+  rkward/ver.R.in
+  rkward/version.h.in
+  rkward/resource.ver.in
+  tests/import_export_plugins_testfile.*
+  tests/rkward_application_tests_strange_object.RData
+  rkward/rbackend/rpackages/*/DESCRIPTION
+  rkward/rkward_windows_icon.rc
+  rkward/rkward.protocol
+  rkward/rbackend/rkward.rbackend.entitlements
+Comment: Assorted source files that cannot (easily) contain SPDX licence headers
+Copyright: Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+Contributor: The RKWard Team <rkward-devel at kde.org>
+License: GPL-2.0-or-later
+
 Files:
   rkward/icons/*.png
   rkward/icons/*.svg
+  rkward/syntax/r-syntax-test.R
 Copyright: Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
 Contributor: The RKWard Team <rkward-devel at kde.org>
 License: LGPL-2.1-or-later
@@ -37,19 +54,20 @@ Files:
   rkward/icons/app-icon/*.svgz
   rkward/icons/app-icon/*.ico
   rkward/icons/app-icon/*.icns
+  logo.png
 Comment: RKWard application icon (source svg, and generated files)
 Copyright: Marco Martin <mart at notmart.org>
 License: LGPL-2.1-or-later
 
 Files:
-  logo.png
+  rkward/icons/rkward_logo.png
 Comment: Splash screen logo
 Copyright: Daniele Medri <rkward-devel at kde.org>
 License: LGPL-2.1-or-later
 
 Files:
-  rkward/doc/*.png
-  rkward/techdocs/*
+  doc/*.png
+  techdocs/*
   AUTHORS
   ChangeLog
   INSTALL
@@ -58,6 +76,7 @@ Files:
   TODO.platform
   CommitPolicy.txt
   rkward/autotests/README.txt
+  rkward/plugins/rkwarddev_scripts/*.md
 Comment: Assorted documentation related files
 Copyright: Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
 Contributor: The RKWard Team <rkward-devel at kde.org>
diff --git a/rkward.kdev4 b/rkward.kdev4
deleted file mode 100644
index a2b625a0e..000000000
--- a/rkward.kdev4
+++ /dev/null
@@ -1,4 +0,0 @@
-[Project]
-CreatedFrom=CMakeLists.txt
-Manager=KDevCMakeManager
-Name=rkward
diff --git a/rkward/Info.plist b/rkward/Info.plist
index 5c94caaca..879c65b28 100644
--- a/rkward/Info.plist
+++ b/rkward/Info.plist
@@ -1,5 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Meik Michalke <meik.michalke at hhu.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <plist version="1.0">
 <dict>
 	<key>CFBundleDevelopmentRegion</key>
diff --git a/rkward/Info.plist.in b/rkward/Info.plist.in
index 5c94caaca..879c65b28 100644
--- a/rkward/Info.plist.in
+++ b/rkward/Info.plist.in
@@ -1,5 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Meik Michalke <meik.michalke at hhu.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <plist version="1.0">
 <dict>
 	<key>CFBundleDevelopmentRegion</key>
diff --git a/rkward/RKWardLaTeX.xml b/rkward/RKWardLaTeX.xml
index 0627c68b3..7a938d9ff 100644
--- a/rkward/RKWardLaTeX.xml
+++ b/rkward/RKWardLaTeX.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="LaTeX (RKWard)" filetypes="tex" authors="RKWard Team" namespace="SnippetsLaTeX" license="BSD">
  <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/RKWardR.xml b/rkward/RKWardR.xml
index e0675e91c..c0d25871f 100644
--- a/rkward/RKWardR.xml
+++ b/rkward/RKWardR.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="R (RKWard)" filetypes="R" authors="RKWard Team" namespace="SnippetsR" license="BSD">
   <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/RKWardRMd.xml b/rkward/RKWardRMd.xml
index 725ec50d0..135eef373 100644
--- a/rkward/RKWardRMd.xml
+++ b/rkward/RKWardRMd.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="R Markdown (RKWard)" filetypes="R Markdown" authors="RKWard Team" namespace="SnippetsRmd" license="BSD">
   <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/RKWardpapaja.xml b/rkward/RKWardpapaja.xml
index 49cd77026..d5d7d8f94 100644
--- a/rkward/RKWardpapaja.xml
+++ b/rkward/RKWardpapaja.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="papaja (RKWard)" filetypes="R Markdown" authors="RKWard Team" namespace="Snippetspapaja" license="BSD">
   <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/RKWardroxygen2.xml b/rkward/RKWardroxygen2.xml
index e6daedc18..7d001471b 100644
--- a/rkward/RKWardroxygen2.xml
+++ b/rkward/RKWardroxygen2.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="roxygen2 (RKWard)" filetypes="R" authors="RKWard Team" namespace="Snippetsroxzgen2" license="BSD">
   <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/RKWardutils.xml b/rkward/RKWardutils.xml
index 873476e17..d0e22a289 100644
--- a/rkward/RKWardutils.xml
+++ b/rkward/RKWardutils.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Stefan Rödiger <stefan_roediger at gmx.de>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <snippets name="R and R Markdown Utils (RKWard)" filetypes="R Markdown" authors="RKWard Team" namespace="SnippetsRmd" license="BSD">
   <script>require("range.js")
 require("cursor.js")
diff --git a/rkward/SetVersionNumber.cmake b/rkward/SetVersionNumber.cmake
index 90ceeaf30..528b0dab9 100644
--- a/rkward/SetVersionNumber.cmake
+++ b/rkward/SetVersionNumber.cmake
@@ -1,3 +1,8 @@
+# This file is part of the RKWard project (https://rkward.kde.org)
+# SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+# SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
 # the IF condition enables manual setting of the version number string
 # which allows for different versioning needed for MacPorts
 IF(NOT RKVERSION_NUMBER)
diff --git a/rkward/dataeditor/rkeditordataframepart.rc b/rkward/dataeditor/rkeditordataframepart.rc
index 6d793d246..c9ed004c6 100644
--- a/rkward/dataeditor/rkeditordataframepart.rc
+++ b/rkward/dataeditor/rkeditordataframepart.rc
@@ -1,4 +1,9 @@
 <!DOCTYPE kpartgui>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <kpartgui name="rkeditordataframepart" version="640">
 	<MenuBar>
 		<Menu name="edit"><text>&Edit</text>
diff --git a/rkward/misc/rkdummypart.rc b/rkward/misc/rkdummypart.rc
index b7f699cfe..7226bb163 100644
--- a/rkward/misc/rkdummypart.rc
+++ b/rkward/misc/rkdummypart.rc
@@ -1,4 +1,9 @@
 <!DOCTYPE kpartgui>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <kpartgui name="rkward_dummypart" version="54">
 	<!-- Just an empty file to silence warnings -->
 </kpartgui>
diff --git a/rkward/org.kde.rkward.desktop b/rkward/org.kde.rkward.desktop
index 51afca66f..19ea2a1ff 100755
--- a/rkward/org.kde.rkward.desktop
+++ b/rkward/org.kde.rkward.desktop
@@ -1,4 +1,7 @@
-# KDE Config File
+# This file is part of the RKWard project (https://rkward.kde.org)
+# SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+# SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+# SPDX-License-Identifier: GPL-2.0-or-later
 [Desktop Entry]
 Name=RKWard
 Name[bs]=RKWard
diff --git a/rkward/org.kde.rkward.metainfo.xml b/rkward/org.kde.rkward.metainfo.xml
index c420ccafe..041ad2b6a 100644
--- a/rkward/org.kde.rkward.metainfo.xml
+++ b/rkward/org.kde.rkward.metainfo.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <component type="desktop-application">
   <id>org.kde.rkward</id>
   <metadata_license>FSFAP</metadata_license>
diff --git a/rkward/pages/rkward_help.css b/rkward/pages/rkward_help.css
index 5f723aa48..3d409caea 100644
--- a/rkward/pages/rkward_help.css
+++ b/rkward/pages/rkward_help.css
@@ -2,7 +2,7 @@
 This file is part of the RKWard project (https://rkward.kde.org).
 SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
 SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
-SPDX-License-Identifier: CC0-1.0.txt
+SPDX-License-Identifier: CC0-1.0
 */
 
 :root {
diff --git a/rkward/pages/rkward_output.css b/rkward/pages/rkward_output.css
index cf8b2aa37..1c8fc0bd4 100644
--- a/rkward/pages/rkward_output.css
+++ b/rkward/pages/rkward_output.css
@@ -2,7 +2,7 @@
 This file is part of the RKWard project (https://rkward.kde.org).
 SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
 SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
-SPDX-License-Identifier: CC0-1.0.txt
+SPDX-License-Identifier: CC0-1.0
 */
 
 :root {
diff --git a/rkward/plugins/distributions/clt/plot_wilcoxon_clt.xml b/rkward/plugins/distributions/clt/plot_wilcoxon_clt.xml
index b903577a1..6607c7bb2 100644
--- a/rkward/plugins/distributions/clt/plot_wilcoxon_clt.xml
+++ b/rkward/plugins/distributions/clt/plot_wilcoxon_clt.xml
@@ -1,4 +1,9 @@
 <!DOCTYPE rkplugin>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Prasenjit Kapat <rkward-devel at kde.org>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <document>
 	<code file="plot_wilcoxon_clt.js" />
 	<help file="plot_wilcoxon_clt.rkh" />
diff --git a/rkward/plugins/distributions/dist_help_snippets.xml b/rkward/plugins/distributions/dist_help_snippets.xml
index a8a799fa8..d09e1ecfe 100644
--- a/rkward/plugins/distributions/dist_help_snippets.xml
+++ b/rkward/plugins/distributions/dist_help_snippets.xml
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <document>
 	<snippet id="dialog_settings">
 		<caption title="Generic settings"/>
diff --git a/rkward/plugins/distributions/dist_snippets.xml b/rkward/plugins/distributions/dist_snippets.xml
index ed1455140..137b3ca71 100644
--- a/rkward/plugins/distributions/dist_snippets.xml
+++ b/rkward/plugins/distributions/dist_snippets.xml
@@ -1,4 +1,9 @@
 <!-- Snippets for the distribution calculator plugins -->
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <document>
 	<snippet id="dialog_logic">
 		<convert id="do_d" mode="equals" sources="mode.string" standard="d"/>
diff --git a/rkward/plugins/pluginmap_meta.inc b/rkward/plugins/pluginmap_meta.inc
index 9f5f5f984..11daae0fc 100644
--- a/rkward/plugins/pluginmap_meta.inc
+++ b/rkward/plugins/pluginmap_meta.inc
@@ -1,3 +1,8 @@
+<!--- This file is part of the RKWard project.
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <document>
 	<snippets>
 		<snippet id="author_rkward_team">
diff --git a/rkward/rbackend/FindR.cmake b/rkward/rbackend/FindR.cmake
index 276482f87..3e2c17551 100644
--- a/rkward/rbackend/FindR.cmake
+++ b/rkward/rbackend/FindR.cmake
@@ -1,3 +1,8 @@
+# This file is part of the RKWard project (https://rkward.kde.org).
+# SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+# SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
 # find the R binary
 
 MESSAGE(STATUS "Looking for R executable")
diff --git a/rkward/rbackend/GenLibFile.py b/rkward/rbackend/GenLibFile.py
index 1ab876417..862935916 100644
--- a/rkward/rbackend/GenLibFile.py
+++ b/rkward/rbackend/GenLibFile.py
@@ -1,12 +1,17 @@
-import subprocess
-import os
-import sys
-
+# This file is part of the RKWard project (https://rkward.kde.org).
+# SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+# SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # Generate a .lib file for a given .dll
 # This assumed dumpbin and lib to be in the path, which they should be, when compiling with MSVC (and that's what this is needed for)
 #
 # Usage: python3 GenLibFile.py XYZ.dll output_directory architecture
 
+import subprocess
+import os
+import sys
+
 dllfile = sys.argv[1]
 workdir = sys.argv[2]
 arch = sys.argv[3]
diff --git a/rkward/resources.qrc b/rkward/resources.qrc
index 2b4c87e94..9b0697560 100644
--- a/rkward/resources.qrc
+++ b/rkward/resources.qrc
@@ -1,4 +1,9 @@
 <!DOCTYPE RCC><RCC version="1.0">
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <qresource prefix="/kxmlgui5/rkward">
 	<file>rkwardui.rc</file>
 	<file>rkconsolepart.rc</file>
diff --git a/rkward/rkconsolepart.rc b/rkward/rkconsolepart.rc
index 9c65f90f0..50221d63e 100644
--- a/rkward/rkconsolepart.rc
+++ b/rkward/rkconsolepart.rc
@@ -1,4 +1,9 @@
 <!DOCTYPE kpartgui>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <kpartgui name="rkward_console" version="730">
 	<MenuBar>
 		<Menu name="file"><text>&File</text>
diff --git a/rkward/rkward.kdev4 b/rkward/rkward.kdev4
deleted file mode 100755
index a2b625a0e..000000000
--- a/rkward/rkward.kdev4
+++ /dev/null
@@ -1,4 +0,0 @@
-[Project]
-CreatedFrom=CMakeLists.txt
-Manager=KDevCMakeManager
-Name=rkward
diff --git a/rkward/rkward.sourcedir b/rkward/rkward.sourcedir
deleted file mode 100644
index 7b7382610..000000000
--- a/rkward/rkward.sourcedir
+++ /dev/null
@@ -1 +0,0 @@
-/home/thomas/develop/rkward/rkward
\ No newline at end of file
diff --git a/rkward/rkwardui.rc b/rkward/rkwardui.rc
index 9b911567e..ca3023723 100644
--- a/rkward/rkwardui.rc
+++ b/rkward/rkwardui.rc
@@ -1,4 +1,9 @@
 <!DOCTYPE kpartgui>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <kpartgui name="rkward_main" version="742">
 <MenuBar>
 	<!-- The Main Window ui.rc is the only one, where merging happens, reliably. That is, why we need to define
diff --git a/rkward/scriptbackends/common.js b/rkward/scriptbackends/common.js
index 32b7a2bfe..b625044fb 100644
--- a/rkward/scriptbackends/common.js
+++ b/rkward/scriptbackends/common.js
@@ -1,3 +1,8 @@
+/*- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+*/
 _script_output = "";
 /* NOTE: for compatibility with Kross, we can't write this as 'function echo (text)...', somehow. */
 echo = function (text) {
diff --git a/rkward/scriptbackends/rkcomponentscripting.js b/rkward/scriptbackends/rkcomponentscripting.js
index 49afec020..4fb522ce3 100644
--- a/rkward/scriptbackends/rkcomponentscripting.js
+++ b/rkward/scriptbackends/rkcomponentscripting.js
@@ -1,3 +1,8 @@
+/*- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+*/
 /***************************************************************************
                           rkcomponentscripting  -  description
                              -------------------
diff --git a/rkward/syntax/rkward.xml b/rkward/syntax/rkward.xml
index 17f8b9b64..756a273ad 100644
--- a/rkward/syntax/rkward.xml
+++ b/rkward/syntax/rkward.xml
@@ -9,6 +9,13 @@
 	R      : http://www.r-project.org/
 	RKWard : https://rkward.kde.org/
 	-->
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileCopyrightText: by P.Ecochard <rkward-devel at kde.org>
+SPDX-FileCopyrightText: by Arne Hennigsen
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <language version="9" kateversion="2.5" name="R interactive session" section="Scripts" extensions="" mimetype="" author="P. Ecochard" license="GPL">
 <highlighting>
 
diff --git a/rkward/vnd.kde.rkward-output.xml b/rkward/vnd.kde.rkward-output.xml
index aaa2bd338..8cb9d7187 100644
--- a/rkward/vnd.kde.rkward-output.xml
+++ b/rkward/vnd.kde.rkward-output.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/vnd.kde.rkward-output">
   <comment>RKWard Output document</comment>
diff --git a/rkward/vnd.kde.rmarkdown.xml b/rkward/vnd.kde.rmarkdown.xml
index a4c622434..e8a745f23 100644
--- a/rkward/vnd.kde.rmarkdown.xml
+++ b/rkward/vnd.kde.rmarkdown.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="text/vnd.kde.rmarkdown">
   <comment>RMarkdown document</comment>
diff --git a/rkward/vnd.rkward.r.xml b/rkward/vnd.rkward.r.xml
index 29ec60295..738302ade 100644
--- a/rkward/vnd.rkward.r.xml
+++ b/rkward/vnd.rkward.r.xml
@@ -1,4 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--- This file is part of the RKWard project (https://rkward.kde.org).
+SPDX-FileCopyrightText: by Thomas Friedrichsmeier <thomas.friedrichsmeier at kdemail.net>
+SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>
+SPDX-License-Identifier: GPL-2.0-or-later
+-->
 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
   <mime-type type="text/r">
     <comment>R source file</comment>
diff --git a/scripts/add_copyright_header.py b/scripts/add_copyright_header.py
index 9b946a022..5cf0b901f 100755
--- a/scripts/add_copyright_header.py
+++ b/scripts/add_copyright_header.py
@@ -7,6 +7,8 @@
 # crude helper script to add one of the more common REUSE copyright headers, to files where it is still missing
 # please check results, manually
 
+# REUSE-IgnoreStart
+
 import os
 import sys
 
@@ -38,7 +40,7 @@ def rewrite (filename):
         text += "SPDX-FileContributor: The RKWard Team <rkward-devel at kde.org>\n"
         text += "SPDX-License-Identifier: GPL-2.0-or-later"
 
-        if (content.startswith("<!DOCTYPE")):
+        if (content.startswith("<!DOCTYPE") or filename.endswith(".xml")):
             with open(filename, 'wt') as dst:
                 index = content.find("\n") + 1
                 dst.write(content[:index])
@@ -71,6 +73,7 @@ for folder, subs, files in os.walk(rootdir):
     for filename in files:
         if filename.startswith("po"):
             continue
-        if (True or filename.endswith("CMakeLists.txt")):
+        if (True or filename.endswith(".xml")):
             rewrite(os.path.join(folder, filename))
 
+# REUSE-IgnoreEnd



More information about the rkward-tracker mailing list