summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-06-06 08:09:39 -0400
committerAllen Winter <allen.winter@kdab.com>2022-06-06 08:09:39 -0400
commit5de3e1500d33e3f14b289ee29ceb79cd9cc64fed (patch)
tree071fd080dfcbb6e9e78aee3abded1236a9060470 /scripts
parent8a02c81153db797703adf2e18be94efe0f0c7b8c (diff)
downloadlibical-git-5de3e1500d33e3f14b289ee29ceb79cd9cc64fed.tar.gz
REUSE compliance
fixes: #489
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CMakeLists.txt3
-rwxr-xr-xscripts/buildtests.sh3
-rw-r--r--[-rwxr-xr-x]scripts/mkderivedcomponents.pl27
-rw-r--r--[-rwxr-xr-x]scripts/mkderivedparameters.pl10
-rw-r--r--[-rwxr-xr-x]scripts/mkderivedproperties.pl10
-rw-r--r--[-rwxr-xr-x]scripts/mkderivedvalues.pl10
-rw-r--r--[-rwxr-xr-x]scripts/mkrestrictiontable.pl10
-rw-r--r--scripts/readvaluesfile.pl10
-rw-r--r--scripts/set_compiler_env.bat3
-rwxr-xr-xscripts/setup-travis.sh3
10 files changed, 25 insertions, 64 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 0b7b3433..b650e8dc 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -1,3 +1,4 @@
+# SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
########### install files ###############
-
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 6dc085f2..085b440b 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
+
#Exit if any undefined variable is used.
set -u
#Exit this script if it any subprocess exits non-zero.
diff --git a/scripts/mkderivedcomponents.pl b/scripts/mkderivedcomponents.pl
index fcd98f24..2d51f4d4 100755..100644
--- a/scripts/mkderivedcomponents.pl
+++ b/scripts/mkderivedcomponents.pl
@@ -1,17 +1,8 @@
#!/usr/bin/env perl
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
-#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
-#
-# Or:
-#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
################################################################################
use Getopt::Std;
@@ -69,19 +60,9 @@ if ($opt_c or $opt_h and !$opt_i) {
\044Id:\044
- (C) COPYRIGHT 1999 Eric Busboom <eric@civicknowledge.com>
-
- The contents of this file are subject to the Mozilla Public License
- Version 1.0 (the "License"); you may not use this file except in
- compliance with the License. You may obtain a copy of the License at
- https://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS"
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- the License for the specific language governing rights and
- limitations under the License.
-
+ SPDX-FileCopyrightText: 1999 Eric Busboom <eric@civicknowledge.com>
+ SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
======================================================================*/
/*
diff --git a/scripts/mkderivedparameters.pl b/scripts/mkderivedparameters.pl
index 05aea1c2..26091ca5 100755..100644
--- a/scripts/mkderivedparameters.pl
+++ b/scripts/mkderivedparameters.pl
@@ -1,17 +1,11 @@
#!/usr/bin/env perl
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
#
-# Or:
#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
################################################################################
require "readvaluesfile.pl";
diff --git a/scripts/mkderivedproperties.pl b/scripts/mkderivedproperties.pl
index b772e1b6..7e1d9065 100755..100644
--- a/scripts/mkderivedproperties.pl
+++ b/scripts/mkderivedproperties.pl
@@ -1,17 +1,11 @@
#!/usr/bin/env perl
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
#
-# Or:
#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
################################################################################
require "readvaluesfile.pl";
diff --git a/scripts/mkderivedvalues.pl b/scripts/mkderivedvalues.pl
index 85170730..c2125df7 100755..100644
--- a/scripts/mkderivedvalues.pl
+++ b/scripts/mkderivedvalues.pl
@@ -1,17 +1,11 @@
#!/usr/bin/perl
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
#
-# Or:
#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
################################################################################
use lib '.';
diff --git a/scripts/mkrestrictiontable.pl b/scripts/mkrestrictiontable.pl
index ca8c8355..541bb4b0 100755..100644
--- a/scripts/mkrestrictiontable.pl
+++ b/scripts/mkrestrictiontable.pl
@@ -1,17 +1,11 @@
#!/usr/bin/env perl
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
#
-# Or:
#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
################################################################################
use Getopt::Std;
diff --git a/scripts/readvaluesfile.pl b/scripts/readvaluesfile.pl
index 255ceb05..3e1cb8d7 100644
--- a/scripts/readvaluesfile.pl
+++ b/scripts/readvaluesfile.pl
@@ -1,16 +1,10 @@
################################################################################
-# (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+# SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
#
-# This library is free software; you can redistribute it and/or modify
-# it under the terms of either:
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.txt
#
-# Or:
#
-# The Mozilla Public License Version 2.0. You may obtain a copy of
-# the License at https://www.mozilla.org/MPL/
################################################################################
sub read_values_file
diff --git a/scripts/set_compiler_env.bat b/scripts/set_compiler_env.bat
index 47d7c50f..215fb41d 100644
--- a/scripts/set_compiler_env.bat
+++ b/scripts/set_compiler_env.bat
@@ -1,5 +1,8 @@
@echo off
+rem SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
+rem SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
+
:: Now we declare a scope
Setlocal EnableDelayedExpansion EnableExtensions
diff --git a/scripts/setup-travis.sh b/scripts/setup-travis.sh
index 315ee3b2..c6a93c78 100755
--- a/scripts/setup-travis.sh
+++ b/scripts/setup-travis.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
+# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
+
# things to do for travis-ci in the before_install section
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then