summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-16 16:30:20 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:35 -0700
commit39bcd89306a72c04871433e9b4587b075ab4127a (patch)
tree78f1d7b523648e775353be32a3e343551082fa52
parent9b28ecb8dd50e95c6344d9e298f422e80068005d (diff)
downloadlibpeas-39bcd89306a72c04871433e9b4587b075ab4127a.tar.gz
janitorial: add SPDX-License-Identifier: LGPL-2.1-or-later
Just a nice thing to have in headers to make it clearer for people who casually find themselves reading, and perhaps copying, the code.
-rw-r--r--libpeas/libpeas.h2
-rw-r--r--libpeas/peas-autocleanups.h2
-rw-r--r--libpeas/peas-debug.c2
-rw-r--r--libpeas/peas-debug.h2
-rw-r--r--libpeas/peas-dirs.c2
-rw-r--r--libpeas/peas-dirs.h2
-rw-r--r--libpeas/peas-engine-priv.h2
-rw-r--r--libpeas/peas-engine.c2
-rw-r--r--libpeas/peas-engine.h2
-rw-r--r--libpeas/peas-extension-base.c2
-rw-r--r--libpeas/peas-extension-base.h2
-rw-r--r--libpeas/peas-extension-set.c2
-rw-r--r--libpeas/peas-extension-set.h2
-rw-r--r--libpeas/peas-extension.c2
-rw-r--r--libpeas/peas-extension.h2
-rw-r--r--libpeas/peas-i18n-priv.h2
-rw-r--r--libpeas/peas-i18n.c2
-rw-r--r--libpeas/peas-introspection.c2
-rw-r--r--libpeas/peas-introspection.h2
-rw-r--r--libpeas/peas-object-module.c2
-rw-r--r--libpeas/peas-object-module.h2
-rw-r--r--libpeas/peas-plugin-info-priv.h2
-rw-r--r--libpeas/peas-plugin-info.c2
-rw-r--r--libpeas/peas-plugin-info.h2
-rw-r--r--libpeas/peas-plugin-loader-c.c2
-rw-r--r--libpeas/peas-plugin-loader-c.h2
-rw-r--r--libpeas/peas-plugin-loader.c2
-rw-r--r--libpeas/peas-plugin-loader.h2
-rw-r--r--libpeas/peas-utils-osx.h2
-rw-r--r--libpeas/peas-utils.c2
-rw-r--r--libpeas/peas-utils.h2
-rw-r--r--libpeas/peas-version-macros.h2
-rw-r--r--loaders/lua5.1/peas-lua-internal.c2
-rw-r--r--loaders/lua5.1/peas-lua-internal.h2
-rw-r--r--loaders/lua5.1/peas-lua-utils.c2
-rw-r--r--loaders/lua5.1/peas-lua-utils.h2
-rw-r--r--loaders/lua5.1/peas-plugin-loader-lua.c2
-rw-r--r--loaders/lua5.1/peas-plugin-loader-lua.h2
-rw-r--r--loaders/python/peas-plugin-loader-python.c2
-rw-r--r--loaders/python/peas-plugin-loader-python.h2
-rw-r--r--loaders/python/peas-python-internal.c2
-rw-r--r--loaders/python/peas-python-internal.h2
-rw-r--r--tests/libpeas/engine.c2
-rw-r--r--tests/libpeas/extension-c.c2
-rw-r--r--tests/libpeas/extension-lua.c2
-rw-r--r--tests/libpeas/extension-py.c2
-rw-r--r--tests/libpeas/extension-set.c2
-rw-r--r--tests/libpeas/introspection/introspection-abstract.c2
-rw-r--r--tests/libpeas/introspection/introspection-abstract.h2
-rw-r--r--tests/libpeas/introspection/introspection-base.c2
-rw-r--r--tests/libpeas/introspection/introspection-base.h2
-rw-r--r--tests/libpeas/introspection/introspection-callable.c2
-rw-r--r--tests/libpeas/introspection/introspection-callable.h2
-rw-r--r--tests/libpeas/introspection/introspection-has-prerequisite.c2
-rw-r--r--tests/libpeas/introspection/introspection-has-prerequisite.h2
-rw-r--r--tests/libpeas/introspection/introspection-prerequisite.c2
-rw-r--r--tests/libpeas/introspection/introspection-prerequisite.h2
-rw-r--r--tests/libpeas/introspection/introspection-unimplemented.c2
-rw-r--r--tests/libpeas/introspection/introspection-unimplemented.h2
-rw-r--r--tests/libpeas/plugin-info.c2
-rw-r--r--tests/libpeas/plugins/embedded/embedded-plugin.c2
-rw-r--r--tests/libpeas/plugins/embedded/embedded-plugin.h2
-rw-r--r--tests/libpeas/plugins/extension-c/extension-c-abstract.c2
-rw-r--r--tests/libpeas/plugins/extension-c/extension-c-abstract.h2
-rw-r--r--tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c2
-rw-r--r--tests/libpeas/plugins/extension-c/extension-c-plugin.c2
-rw-r--r--tests/libpeas/plugins/extension-c/extension-c-plugin.h2
-rw-r--r--tests/libpeas/testing/testing-extension.c2
-rw-r--r--tests/libpeas/testing/testing-extension.h2
-rw-r--r--tests/libpeas/testing/testing.c2
-rw-r--r--tests/libpeas/testing/testing.h2
-rw-r--r--tests/plugins/builtin/builtin-plugin.c2
-rw-r--r--tests/plugins/builtin/builtin-plugin.h2
-rw-r--r--tests/plugins/has-dep/has-dep-plugin.c2
-rw-r--r--tests/plugins/has-dep/has-dep-plugin.h2
-rw-r--r--tests/plugins/loadable/loadable-plugin.c2
-rw-r--r--tests/plugins/loadable/loadable-plugin.h2
-rw-r--r--tests/plugins/self-dep/self-dep-plugin.c2
-rw-r--r--tests/plugins/self-dep/self-dep-plugin.h2
-rw-r--r--tests/testing-util/peas-activatable.c2
-rw-r--r--tests/testing-util/peas-activatable.h2
-rw-r--r--tests/testing-util/peas-test-common.h52
-rw-r--r--tests/testing-util/testing-util.c2
-rw-r--r--tests/testing-util/testing-util.h2
84 files changed, 193 insertions, 25 deletions
diff --git a/libpeas/libpeas.h b/libpeas/libpeas.h
index f3f6031..03c1307 100644
--- a/libpeas/libpeas.h
+++ b/libpeas/libpeas.h
@@ -15,6 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __LIBPEAS_H__
diff --git a/libpeas/peas-autocleanups.h b/libpeas/peas-autocleanups.h
index 6f4f1c0..8baed7b 100644
--- a/libpeas/peas-autocleanups.h
+++ b/libpeas/peas-autocleanups.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_AUTOCLEANUPS_H__
diff --git a/libpeas/peas-debug.c b/libpeas/peas-debug.c
index 65e93d4..67eacd2 100644
--- a/libpeas/peas-debug.c
+++ b/libpeas/peas-debug.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-debug.h b/libpeas/peas-debug.h
index d888f21..8367c0f 100644
--- a/libpeas/peas-debug.h
+++ b/libpeas/peas-debug.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
diff --git a/libpeas/peas-dirs.c b/libpeas/peas-dirs.c
index 6b7b81c..6839507 100644
--- a/libpeas/peas-dirs.c
+++ b/libpeas/peas-dirs.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-dirs.h b/libpeas/peas-dirs.h
index 565714b..54fe8c3 100644
--- a/libpeas/peas-dirs.h
+++ b/libpeas/peas-dirs.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
diff --git a/libpeas/peas-engine-priv.h b/libpeas/peas-engine-priv.h
index c763a9c..e4859b9 100644
--- a/libpeas/peas-engine-priv.h
+++ b/libpeas/peas-engine-priv.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_ENGINE_PRIV_H__
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index 277bf2b..9d2f78c 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -19,6 +19,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-engine.h b/libpeas/peas-engine.h
index 42a7b03..1491b2f 100644
--- a/libpeas/peas-engine.h
+++ b/libpeas/peas-engine.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_ENGINE_H__
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c
index 649ed4a..5749d03 100644
--- a/libpeas/peas-extension-base.c
+++ b/libpeas/peas-extension-base.c
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-extension-base.h b/libpeas/peas-extension-base.h
index 162d448..5ed1b67 100644
--- a/libpeas/peas-extension-base.h
+++ b/libpeas/peas-extension-base.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_EXTENSION_BASE_H__
diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c
index 4af49fa..dd365ce 100644
--- a/libpeas/peas-extension-set.c
+++ b/libpeas/peas-extension-set.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-extension-set.h b/libpeas/peas-extension-set.h
index ae9a04f..bca901d 100644
--- a/libpeas/peas-extension-set.h
+++ b/libpeas/peas-extension-set.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_EXTENSION_SET_H__
diff --git a/libpeas/peas-extension.c b/libpeas/peas-extension.c
index cc59356..0fb8c8d 100644
--- a/libpeas/peas-extension.c
+++ b/libpeas/peas-extension.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-extension.h b/libpeas/peas-extension.h
index 2ac80aa..6ffb5e4 100644
--- a/libpeas/peas-extension.h
+++ b/libpeas/peas-extension.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_EXTENSION_H__
diff --git a/libpeas/peas-i18n-priv.h b/libpeas/peas-i18n-priv.h
index 9b01948..ebbb082 100644
--- a/libpeas/peas-i18n-priv.h
+++ b/libpeas/peas-i18n-priv.h
@@ -15,6 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_I18N_PRIV_H__
diff --git a/libpeas/peas-i18n.c b/libpeas/peas-i18n.c
index f4e9469..59e0ed9 100644
--- a/libpeas/peas-i18n.c
+++ b/libpeas/peas-i18n.c
@@ -15,6 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-introspection.c b/libpeas/peas-introspection.c
index 49ac178..a37a291 100644
--- a/libpeas/peas-introspection.c
+++ b/libpeas/peas-introspection.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-introspection.h b/libpeas/peas-introspection.h
index e5f3bbd..272ec42 100644
--- a/libpeas/peas-introspection.h
+++ b/libpeas/peas-introspection.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_INTROSPECTION_H__
diff --git a/libpeas/peas-object-module.c b/libpeas/peas-object-module.c
index 86a63e7..5d53254 100644
--- a/libpeas/peas-object-module.c
+++ b/libpeas/peas-object-module.c
@@ -21,6 +21,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-object-module.h b/libpeas/peas-object-module.h
index b06d20b..5384527 100644
--- a/libpeas/peas-object-module.h
+++ b/libpeas/peas-object-module.h
@@ -20,6 +20,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_OBJECT_MODULE_H__
diff --git a/libpeas/peas-plugin-info-priv.h b/libpeas/peas-plugin-info-priv.h
index 2359df5..fff5cec 100644
--- a/libpeas/peas-plugin-info-priv.h
+++ b/libpeas/peas-plugin-info-priv.h
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_INFO_PRIV_H__
diff --git a/libpeas/peas-plugin-info.c b/libpeas/peas-plugin-info.c
index ad18426..06bba97 100644
--- a/libpeas/peas-plugin-info.c
+++ b/libpeas/peas-plugin-info.c
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-plugin-info.h b/libpeas/peas-plugin-info.h
index 5d8a4bc..d647ed1 100644
--- a/libpeas/peas-plugin-info.h
+++ b/libpeas/peas-plugin-info.h
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_INFO_H__
diff --git a/libpeas/peas-plugin-loader-c.c b/libpeas/peas-plugin-loader-c.c
index a476eb4..9c94251 100644
--- a/libpeas/peas-plugin-loader-c.c
+++ b/libpeas/peas-plugin-loader-c.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-plugin-loader-c.h b/libpeas/peas-plugin-loader-c.h
index 48e2c92..36e504d 100644
--- a/libpeas/peas-plugin-loader-c.h
+++ b/libpeas/peas-plugin-loader-c.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_LOADER_C_H__
diff --git a/libpeas/peas-plugin-loader.c b/libpeas/peas-plugin-loader.c
index 29fd28f..5066427 100644
--- a/libpeas/peas-plugin-loader.c
+++ b/libpeas/peas-plugin-loader.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/libpeas/peas-plugin-loader.h b/libpeas/peas-plugin-loader.h
index cd11dce..fcd7df7 100644
--- a/libpeas/peas-plugin-loader.h
+++ b/libpeas/peas-plugin-loader.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_LOADER_H__
diff --git a/libpeas/peas-utils-osx.h b/libpeas/peas-utils-osx.h
index bef2ce2..1640eb4 100644
--- a/libpeas/peas-utils-osx.h
+++ b/libpeas/peas-utils-osx.h
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Author: Tom Schoonjans <Tom.Schoonjans@gmail.com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_UTILS_OSX_H__
#define __PEAS_UTILS_OSX_H__
diff --git a/libpeas/peas-utils.c b/libpeas/peas-utils.c
index ab8b540..f8722b3 100644
--- a/libpeas/peas-utils.c
+++ b/libpeas/peas-utils.c
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/libpeas/peas-utils.h b/libpeas/peas-utils.h
index 1cfb8e8..74f4d08 100644
--- a/libpeas/peas-utils.h
+++ b/libpeas/peas-utils.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_UTILS_H__
diff --git a/libpeas/peas-version-macros.h b/libpeas/peas-version-macros.h
index 4fbcbe4..299df69 100644
--- a/libpeas/peas-version-macros.h
+++ b/libpeas/peas-version-macros.h
@@ -15,6 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_VERSION_MACROS_H__
diff --git a/loaders/lua5.1/peas-lua-internal.c b/loaders/lua5.1/peas-lua-internal.c
index df4a0ce..61bb9dd 100644
--- a/loaders/lua5.1/peas-lua-internal.c
+++ b/loaders/lua5.1/peas-lua-internal.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/loaders/lua5.1/peas-lua-internal.h b/loaders/lua5.1/peas-lua-internal.h
index 4db2daa..265d3db 100644
--- a/loaders/lua5.1/peas-lua-internal.h
+++ b/loaders/lua5.1/peas-lua-internal.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_LUA_INTERNAL_H__
diff --git a/loaders/lua5.1/peas-lua-utils.c b/loaders/lua5.1/peas-lua-utils.c
index 4a27a41..a3e9d00 100644
--- a/loaders/lua5.1/peas-lua-utils.c
+++ b/loaders/lua5.1/peas-lua-utils.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/loaders/lua5.1/peas-lua-utils.h b/loaders/lua5.1/peas-lua-utils.h
index f8a9189..1ec3784 100644
--- a/loaders/lua5.1/peas-lua-utils.h
+++ b/loaders/lua5.1/peas-lua-utils.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_LUA_UTILS_H__
diff --git a/loaders/lua5.1/peas-plugin-loader-lua.c b/loaders/lua5.1/peas-plugin-loader-lua.c
index f0826f7..c32d5ad 100644
--- a/loaders/lua5.1/peas-plugin-loader-lua.c
+++ b/loaders/lua5.1/peas-plugin-loader-lua.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/loaders/lua5.1/peas-plugin-loader-lua.h b/loaders/lua5.1/peas-plugin-loader-lua.h
index aa5b956..3852e3d 100644
--- a/loaders/lua5.1/peas-plugin-loader-lua.h
+++ b/loaders/lua5.1/peas-plugin-loader-lua.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_LOADER_LUA_H__
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index 26edbf3..028a7ef 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/loaders/python/peas-plugin-loader-python.h b/loaders/python/peas-plugin-loader-python.h
index 01afcda..51c289c 100644
--- a/loaders/python/peas-plugin-loader-python.h
+++ b/loaders/python/peas-plugin-loader-python.h
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PLUGIN_LOADER_PYTHON_H__
diff --git a/loaders/python/peas-python-internal.c b/loaders/python/peas-python-internal.c
index f15b941..5ca54d8 100644
--- a/loaders/python/peas-python-internal.c
+++ b/loaders/python/peas-python-internal.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/loaders/python/peas-python-internal.h b/loaders/python/peas-python-internal.h
index 9ce36a1..da9e815 100644
--- a/loaders/python/peas-python-internal.h
+++ b/loaders/python/peas-python-internal.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_PYTHON_INTERNAL_H__
diff --git a/tests/libpeas/engine.c b/tests/libpeas/engine.c
index d8fa47c..5a81d87 100644
--- a/tests/libpeas/engine.c
+++ b/tests/libpeas/engine.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/extension-c.c b/tests/libpeas/extension-c.c
index 0dca6f8..cdd7f76 100644
--- a/tests/libpeas/extension-c.c
+++ b/tests/libpeas/extension-c.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/extension-lua.c b/tests/libpeas/extension-lua.c
index 79f42a6..0a0b541 100644
--- a/tests/libpeas/extension-lua.c
+++ b/tests/libpeas/extension-lua.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/extension-py.c b/tests/libpeas/extension-py.c
index 8ec155d..f71c14a 100644
--- a/tests/libpeas/extension-py.c
+++ b/tests/libpeas/extension-py.c
@@ -18,6 +18,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/extension-set.c b/tests/libpeas/extension-set.c
index c4a2af5..ba8942f 100644
--- a/tests/libpeas/extension-set.c
+++ b/tests/libpeas/extension-set.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-abstract.c b/tests/libpeas/introspection/introspection-abstract.c
index 0363d0a..a3754f8 100644
--- a/tests/libpeas/introspection/introspection-abstract.c
+++ b/tests/libpeas/introspection/introspection-abstract.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-abstract.h b/tests/libpeas/introspection/introspection-abstract.h
index 35025ec..1082d71 100644
--- a/tests/libpeas/introspection/introspection-abstract.h
+++ b/tests/libpeas/introspection/introspection-abstract.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_ABSTRACT_H__
diff --git a/tests/libpeas/introspection/introspection-base.c b/tests/libpeas/introspection/introspection-base.c
index 8169d06..f49a6b3 100644
--- a/tests/libpeas/introspection/introspection-base.c
+++ b/tests/libpeas/introspection/introspection-base.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-base.h b/tests/libpeas/introspection/introspection-base.h
index e3f7832..813fec6 100644
--- a/tests/libpeas/introspection/introspection-base.h
+++ b/tests/libpeas/introspection/introspection-base.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_BASE_H__
diff --git a/tests/libpeas/introspection/introspection-callable.c b/tests/libpeas/introspection/introspection-callable.c
index 53e6ccc..855a95e 100644
--- a/tests/libpeas/introspection/introspection-callable.c
+++ b/tests/libpeas/introspection/introspection-callable.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-callable.h b/tests/libpeas/introspection/introspection-callable.h
index 4f8f525..48dab7b 100644
--- a/tests/libpeas/introspection/introspection-callable.h
+++ b/tests/libpeas/introspection/introspection-callable.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_CALLABLE_H__
diff --git a/tests/libpeas/introspection/introspection-has-prerequisite.c b/tests/libpeas/introspection/introspection-has-prerequisite.c
index f836f52..fb53160 100644
--- a/tests/libpeas/introspection/introspection-has-prerequisite.c
+++ b/tests/libpeas/introspection/introspection-has-prerequisite.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-has-prerequisite.h b/tests/libpeas/introspection/introspection-has-prerequisite.h
index 29d25e4..a9c8c54 100644
--- a/tests/libpeas/introspection/introspection-has-prerequisite.h
+++ b/tests/libpeas/introspection/introspection-has-prerequisite.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_HAS_PREREQUISITE_H__
diff --git a/tests/libpeas/introspection/introspection-prerequisite.c b/tests/libpeas/introspection/introspection-prerequisite.c
index 1fed47e..8520d30 100644
--- a/tests/libpeas/introspection/introspection-prerequisite.c
+++ b/tests/libpeas/introspection/introspection-prerequisite.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-prerequisite.h b/tests/libpeas/introspection/introspection-prerequisite.h
index 52bab44..c0cf669 100644
--- a/tests/libpeas/introspection/introspection-prerequisite.h
+++ b/tests/libpeas/introspection/introspection-prerequisite.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_PREREQUISITE_H__
diff --git a/tests/libpeas/introspection/introspection-unimplemented.c b/tests/libpeas/introspection/introspection-unimplemented.c
index f6164bd..eafb007 100644
--- a/tests/libpeas/introspection/introspection-unimplemented.c
+++ b/tests/libpeas/introspection/introspection-unimplemented.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/introspection/introspection-unimplemented.h b/tests/libpeas/introspection/introspection-unimplemented.h
index f4c6dc8..65a157a 100644
--- a/tests/libpeas/introspection/introspection-unimplemented.h
+++ b/tests/libpeas/introspection/introspection-unimplemented.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __INTROSPECTION_UNIMPLEMENTED_H__
diff --git a/tests/libpeas/plugin-info.c b/tests/libpeas/plugin-info.c
index eb19012..369ec79 100644
--- a/tests/libpeas/plugin-info.c
+++ b/tests/libpeas/plugin-info.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/plugins/embedded/embedded-plugin.c b/tests/libpeas/plugins/embedded/embedded-plugin.c
index e5bc074..4fc876f 100644
--- a/tests/libpeas/plugins/embedded/embedded-plugin.c
+++ b/tests/libpeas/plugins/embedded/embedded-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/plugins/embedded/embedded-plugin.h b/tests/libpeas/plugins/embedded/embedded-plugin.h
index 78142d0..cb02f47 100644
--- a/tests/libpeas/plugins/embedded/embedded-plugin.h
+++ b/tests/libpeas/plugins/embedded/embedded-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_EMBEDDED_PLUGIN_H__
diff --git a/tests/libpeas/plugins/extension-c/extension-c-abstract.c b/tests/libpeas/plugins/extension-c/extension-c-abstract.c
index 7c0a008..1a64dc8 100644
--- a/tests/libpeas/plugins/extension-c/extension-c-abstract.c
+++ b/tests/libpeas/plugins/extension-c/extension-c-abstract.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/plugins/extension-c/extension-c-abstract.h b/tests/libpeas/plugins/extension-c/extension-c-abstract.h
index 57d35c3..71704bc 100644
--- a/tests/libpeas/plugins/extension-c/extension-c-abstract.h
+++ b/tests/libpeas/plugins/extension-c/extension-c-abstract.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __EXTENSION_C_ABSTRACT_H__
diff --git a/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c b/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c
index ea63b57..7404226 100644
--- a/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c
+++ b/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#if 0
diff --git a/tests/libpeas/plugins/extension-c/extension-c-plugin.c b/tests/libpeas/plugins/extension-c/extension-c-plugin.c
index 417c8fe..b0225f1 100644
--- a/tests/libpeas/plugins/extension-c/extension-c-plugin.c
+++ b/tests/libpeas/plugins/extension-c/extension-c-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/plugins/extension-c/extension-c-plugin.h b/tests/libpeas/plugins/extension-c/extension-c-plugin.h
index 5454709..19c3b6b 100644
--- a/tests/libpeas/plugins/extension-c/extension-c-plugin.h
+++ b/tests/libpeas/plugins/extension-c/extension-c-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __EXTENSION_C_PLUGIN_H__
diff --git a/tests/libpeas/testing/testing-extension.c b/tests/libpeas/testing/testing-extension.c
index 907cdc5..59b736a 100644
--- a/tests/libpeas/testing/testing-extension.c
+++ b/tests/libpeas/testing/testing-extension.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/testing/testing-extension.h b/tests/libpeas/testing/testing-extension.h
index 03f5a84..513f1fe 100644
--- a/tests/libpeas/testing/testing-extension.h
+++ b/tests/libpeas/testing/testing-extension.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_EXTENSION_H__
diff --git a/tests/libpeas/testing/testing.c b/tests/libpeas/testing/testing.c
index 011c660..75748fe 100644
--- a/tests/libpeas/testing/testing.c
+++ b/tests/libpeas/testing/testing.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/libpeas/testing/testing.h b/tests/libpeas/testing/testing.h
index cdc9fdd..1b70cca 100644
--- a/tests/libpeas/testing/testing.h
+++ b/tests/libpeas/testing/testing.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_H__
diff --git a/tests/plugins/builtin/builtin-plugin.c b/tests/plugins/builtin/builtin-plugin.c
index bc25b86..3e66c86 100644
--- a/tests/plugins/builtin/builtin-plugin.c
+++ b/tests/plugins/builtin/builtin-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/plugins/builtin/builtin-plugin.h b/tests/plugins/builtin/builtin-plugin.h
index 8bfca23..65a0025 100644
--- a/tests/plugins/builtin/builtin-plugin.h
+++ b/tests/plugins/builtin/builtin-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_BUILTIN_PLUGIN_H__
diff --git a/tests/plugins/has-dep/has-dep-plugin.c b/tests/plugins/has-dep/has-dep-plugin.c
index b06e321..61829a7 100644
--- a/tests/plugins/has-dep/has-dep-plugin.c
+++ b/tests/plugins/has-dep/has-dep-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/plugins/has-dep/has-dep-plugin.h b/tests/plugins/has-dep/has-dep-plugin.h
index 0d1918f..67e295c 100644
--- a/tests/plugins/has-dep/has-dep-plugin.h
+++ b/tests/plugins/has-dep/has-dep-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_HAS_DEP_PLUGIN_H__
diff --git a/tests/plugins/loadable/loadable-plugin.c b/tests/plugins/loadable/loadable-plugin.c
index bc555ea..0ecc0bb 100644
--- a/tests/plugins/loadable/loadable-plugin.c
+++ b/tests/plugins/loadable/loadable-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/plugins/loadable/loadable-plugin.h b/tests/plugins/loadable/loadable-plugin.h
index 8470e73..ba7af25 100644
--- a/tests/plugins/loadable/loadable-plugin.h
+++ b/tests/plugins/loadable/loadable-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_LOADABLE_PLUGIN_H__
diff --git a/tests/plugins/self-dep/self-dep-plugin.c b/tests/plugins/self-dep/self-dep-plugin.c
index e921d1d..02f9b6a 100644
--- a/tests/plugins/self-dep/self-dep-plugin.c
+++ b/tests/plugins/self-dep/self-dep-plugin.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifdef HAVE_CONFIG_H
diff --git a/tests/plugins/self-dep/self-dep-plugin.h b/tests/plugins/self-dep/self-dep-plugin.h
index 8b47b22..0d30d3e 100644
--- a/tests/plugins/self-dep/self-dep-plugin.h
+++ b/tests/plugins/self-dep/self-dep-plugin.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_SELF_DEP_PLUGIN_H__
diff --git a/tests/testing-util/peas-activatable.c b/tests/testing-util/peas-activatable.c
index 7714d1d..2d1c935 100644
--- a/tests/testing-util/peas-activatable.c
+++ b/tests/testing-util/peas-activatable.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/tests/testing-util/peas-activatable.h b/tests/testing-util/peas-activatable.h
index 8148de6..03f008c 100644
--- a/tests/testing-util/peas-activatable.h
+++ b/tests/testing-util/peas-activatable.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __PEAS_ACTIVATABLE_H__
diff --git a/tests/testing-util/peas-test-common.h b/tests/testing-util/peas-test-common.h
index 20281ee..e33ff0a 100644
--- a/tests/testing-util/peas-test-common.h
+++ b/tests/testing-util/peas-test-common.h
@@ -1,26 +1,28 @@
-/*
- * peas-test-common.h
- * This file is part of libpeas
- *
- * Copyright (C) 2019 - Chun-wei Fan
- *
- * libpeas is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * libpeas 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifdef _MSC_VER
-# define PEAS_TEST_EXPORT __declspec (dllexport)
-#else
-# define PEAS_TEST_EXPORT
+/*
+ * peas-test-common.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2019 - Chun-wei Fan
+ *
+ * libpeas is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * libpeas 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
+#ifdef _MSC_VER
+# define PEAS_TEST_EXPORT __declspec (dllexport)
+#else
+# define PEAS_TEST_EXPORT
#endif \ No newline at end of file
diff --git a/tests/testing-util/testing-util.c b/tests/testing-util/testing-util.c
index 7e751c8..905b407 100644
--- a/tests/testing-util/testing-util.c
+++ b/tests/testing-util/testing-util.c
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "config.h"
diff --git a/tests/testing-util/testing-util.h b/tests/testing-util/testing-util.h
index 27caf9d..e76bbb0 100644
--- a/tests/testing-util/testing-util.h
+++ b/tests/testing-util/testing-util.h
@@ -17,6 +17,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef __TESTING_UTIL_H__