summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2022-07-05 11:06:49 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2022-07-05 11:06:49 +0000
commit41691cc4c88e0424f624fd2f5018c6025d5d4ac3 (patch)
tree399378fcaa8f3705210dae9fbd994e093d34cbee
parentccc9bc14001ddcc31f0ae250d22786708c9273ac (diff)
parent4166ca14a9215af37a1e6b87a4f0f47cf89a148f (diff)
downloadglib-41691cc4c88e0424f624fd2f5018c6025d5d4ac3.tar.gz
Merge branch 'more-spdx' into 'main'
Add more SPDX license headers See merge request GNOME/glib!2706
-rw-r--r--gio/gcocoanotificationbackend.m2
-rw-r--r--gio/gmenuexporter.c2
-rw-r--r--gio/gmenuexporter.h2
-rw-r--r--gio/gnetworking.h.in2
-rw-r--r--gio/gnextstepsettingsbackend.m2
-rw-r--r--gio/gosxappinfo.m2
-rw-r--r--gio/gportalnotificationbackend.c2
-rw-r--r--gio/tests/codegen.py2
-rw-r--r--gio/tests/cxx.cpp2
-rw-r--r--gio/tests/gdbus-sessionbus.h2
-rw-r--r--gio/tests/gdbus-tests.h2
-rw-r--r--gio/tests/gnotification-server.h2
-rw-r--r--gio/tests/gtesttlsbackend.h2
-rw-r--r--gio/tests/gtlsconsoleinteraction.h2
-rw-r--r--gio/tests/mock-resolver.h2
-rw-r--r--gio/tests/network-monitor-race.c2
-rwxr-xr-xgio/tests/static-link.py2
-rw-r--r--gio/tests/test-io-stream.h2
-rw-r--r--gio/tests/test-pipe-unix.h2
-rw-r--r--gio/tests/trash.c2
-rw-r--r--glib/deprecated/gcache.c2
-rw-r--r--glib/deprecated/gcache.h2
-rw-r--r--glib/deprecated/gcompletion.c2
-rw-r--r--glib/deprecated/gcompletion.h2
-rw-r--r--glib/deprecated/gmain.h2
-rw-r--r--glib/deprecated/grel.c2
-rw-r--r--glib/deprecated/grel.h2
-rw-r--r--glib/deprecated/gthread-deprecated.c2
-rw-r--r--glib/deprecated/gthread.h2
-rw-r--r--glib/gdatetime.c2
-rw-r--r--glib/gdatetime.h2
-rw-r--r--glib/tests/1bit-mutex.c2
-rw-r--r--glib/tests/642026.c2
-rw-r--r--glib/tests/atomic.c2
-rw-r--r--glib/tests/bytes.c2
-rw-r--r--glib/tests/charset.c2
-rw-r--r--glib/tests/cxx.cpp2
-rw-r--r--glib/tests/gdatetime.c2
-rw-r--r--glib/tests/gpoll.c2
-rw-r--r--glib/tests/gutils-user-database.c2
-rw-r--r--glib/tests/guuid.c2
-rw-r--r--glib/tests/markup-collect.c2
-rw-r--r--glib/tests/markup-subparser.c2
-rw-r--r--glib/tests/slice-eager-freeing.c2
-rw-r--r--glib/tests/slice-glib.c2
-rw-r--r--glib/tests/slice-malloc.c2
-rw-r--r--glib/tests/slice-memchunk.c2
-rw-r--r--glib/tests/slice-slab.c2
-rw-r--r--gmodule/gmodule-ar.c2
-rw-r--r--gmodule/gmodule-dl.c2
-rw-r--r--gmodule/gmodule-win32.c2
-rw-r--r--gmodule/gmodule.c2
-rw-r--r--gmodule/gmodule.h2
-rw-r--r--gmodule/gmoduleconf.h.in2
-rw-r--r--gmodule/tests/cxx.cpp2
-rw-r--r--gmodule/tests/libmoduletestplugin_a.c2
-rw-r--r--gmodule/tests/libmoduletestplugin_b.c2
-rw-r--r--gmodule/tests/module-test.c2
-rw-r--r--gobject/gatomicarray.c2
-rw-r--r--gobject/gatomicarray.h2
-rw-r--r--gobject/gbinding.c2
-rw-r--r--gobject/gbinding.h2
-rw-r--r--gobject/gboxed.c2
-rw-r--r--gobject/gboxed.h2
-rw-r--r--gobject/gclosure.c2
-rw-r--r--gobject/gclosure.h2
-rw-r--r--gobject/genums.c2
-rw-r--r--gobject/genums.h2
-rw-r--r--gobject/glib-types.h2
-rw-r--r--gobject/gobject-autocleanups.h2
-rw-r--r--gobject/gobject-query.c2
-rw-r--r--gobject/gobject.c2
-rw-r--r--gobject/gobject.h2
-rw-r--r--gobject/gobject_trace.h2
-rw-r--r--gobject/gobjectnotifyqueue.c2
-rw-r--r--gobject/gparam.c2
-rw-r--r--gobject/gparam.h2
-rw-r--r--gobject/gparamspecs.c2
-rw-r--r--gobject/gparamspecs.h2
-rw-r--r--gobject/gsignal.c2
-rw-r--r--gobject/gsignal.h2
-rw-r--r--gobject/gsourceclosure.c2
-rw-r--r--gobject/gsourceclosure.h2
-rw-r--r--gobject/gtype-private.h2
-rw-r--r--gobject/gtype.c2
-rw-r--r--gobject/gtype.h2
-rw-r--r--gobject/gtypemodule.c2
-rw-r--r--gobject/gtypemodule.h2
-rw-r--r--gobject/gtypeplugin.c2
-rw-r--r--gobject/gtypeplugin.h2
-rw-r--r--gobject/gvalue.c2
-rw-r--r--gobject/gvalue.h2
-rw-r--r--gobject/gvaluearray.c2
-rw-r--r--gobject/gvaluearray.h2
-rw-r--r--gobject/gvaluecollector.h2
-rw-r--r--gobject/gvaluetransform.c2
-rw-r--r--gobject/gvaluetypes.c2
-rw-r--r--gobject/gvaluetypes.h2
-rw-r--r--gobject/tests/accumulator.c2
-rw-r--r--gobject/tests/basic-signals.c2
-rw-r--r--gobject/tests/bindinggroup.c2
-rw-r--r--gobject/tests/cxx.cpp2
-rw-r--r--gobject/tests/defaultiface.c2
-rw-r--r--gobject/tests/deftype.c2
-rw-r--r--gobject/tests/dynamictype.c2
-rw-r--r--gobject/tests/flags.c2
-rw-r--r--gobject/tests/genmarshal.py2
-rw-r--r--gobject/tests/ifaceproperties.c2
-rw-r--r--gobject/tests/mkenums.py2
-rw-r--r--gobject/tests/override.c2
-rw-r--r--gobject/tests/param.c2
-rw-r--r--gobject/tests/qdata.c2
-rw-r--r--gobject/tests/references.c2
-rw-r--r--gobject/tests/signalgroup.c2
-rw-r--r--gobject/tests/singleton.c2
-rw-r--r--gobject/tests/testcommon.h2
-rw-r--r--gobject/tests/testing.c2
-rw-r--r--gobject/tests/testmodule.c2
-rw-r--r--gobject/tests/testmodule.h2
-rw-r--r--gobject/tests/value.c2
-rw-r--r--gthread/gthread-impl.c2
-rwxr-xr-xtools/glib-gettextize.in2
122 files changed, 244 insertions, 0 deletions
diff --git a/gio/gcocoanotificationbackend.m b/gio/gcocoanotificationbackend.m
index 42cf8abcf..1f5549e0c 100644
--- a/gio/gcocoanotificationbackend.m
+++ b/gio/gcocoanotificationbackend.m
@@ -1,6 +1,8 @@
/*
* Copyright © 2015 Patrick Griffis
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gmenuexporter.c b/gio/gmenuexporter.c
index a212b29f3..8d6dfe421 100644
--- a/gio/gmenuexporter.c
+++ b/gio/gmenuexporter.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 Canonical Ltd.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gmenuexporter.h b/gio/gmenuexporter.h
index 650aaf0ed..f3991663d 100644
--- a/gio/gmenuexporter.h
+++ b/gio/gmenuexporter.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 Canonical Ltd.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gnetworking.h.in b/gio/gnetworking.h.in
index 2fa95ff65..96430bdec 100644
--- a/gio/gnetworking.h.in
+++ b/gio/gnetworking.h.in
@@ -2,6 +2,8 @@
*
* Copyright (C) 2008-2011 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gnextstepsettingsbackend.m b/gio/gnextstepsettingsbackend.m
index c09d995b6..9e1862b83 100644
--- a/gio/gnextstepsettingsbackend.m
+++ b/gio/gnextstepsettingsbackend.m
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 William Hua
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gosxappinfo.m b/gio/gosxappinfo.m
index a0bf72226..60b088641 100644
--- a/gio/gosxappinfo.m
+++ b/gio/gosxappinfo.m
@@ -2,6 +2,8 @@
*
* Copyright (C) 2014 Patrick Griffis
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/gportalnotificationbackend.c b/gio/gportalnotificationbackend.c
index b0d67aa2a..f82b9250c 100644
--- a/gio/gportalnotificationbackend.c
+++ b/gio/gportalnotificationbackend.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2016 Red Hat, Inc.
*
+* SPDX-License-Identifier: LGPL-2.1-or-later
+*
* This library 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
diff --git a/gio/tests/codegen.py b/gio/tests/codegen.py
index 6ea8e2f83..76e289a80 100644
--- a/gio/tests/codegen.py
+++ b/gio/tests/codegen.py
@@ -3,6 +3,8 @@
#
# Copyright © 2018, 2019 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
# This library 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
diff --git a/gio/tests/cxx.cpp b/gio/tests/cxx.cpp
index 1f28d0b27..60d295b19 100644
--- a/gio/tests/cxx.cpp
+++ b/gio/tests/cxx.cpp
@@ -1,5 +1,7 @@
/* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi@google.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/gdbus-sessionbus.h b/gio/tests/gdbus-sessionbus.h
index c756237c0..bd6f2a2ad 100644
--- a/gio/tests/gdbus-sessionbus.h
+++ b/gio/tests/gdbus-sessionbus.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/gdbus-tests.h b/gio/tests/gdbus-tests.h
index eaef23480..9cca55656 100644
--- a/gio/tests/gdbus-tests.h
+++ b/gio/tests/gdbus-tests.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2008-2009 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/gnotification-server.h b/gio/tests/gnotification-server.h
index d7b69cc1a..207cc8f7a 100644
--- a/gio/tests/gnotification-server.h
+++ b/gio/tests/gnotification-server.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2013 Lars Uebernickel
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/gtesttlsbackend.h b/gio/tests/gtesttlsbackend.h
index 07948fddc..130845700 100644
--- a/gio/tests/gtesttlsbackend.h
+++ b/gio/tests/gtesttlsbackend.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2011 Collabora Ltd.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/gtlsconsoleinteraction.h b/gio/tests/gtlsconsoleinteraction.h
index 7860ba2e7..b366cf97e 100644
--- a/gio/tests/gtlsconsoleinteraction.h
+++ b/gio/tests/gtlsconsoleinteraction.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2011 Collabora, Ltd.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/mock-resolver.h b/gio/tests/mock-resolver.h
index 54391d0c0..97e7b3f68 100644
--- a/gio/tests/mock-resolver.h
+++ b/gio/tests/mock-resolver.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2018 Igalia S.L.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/network-monitor-race.c b/gio/tests/network-monitor-race.c
index 00bd6fa8e..0b334b977 100644
--- a/gio/tests/network-monitor-race.c
+++ b/gio/tests/network-monitor-race.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2018 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/static-link.py b/gio/tests/static-link.py
index a8bda5bd3..0dba20587 100755
--- a/gio/tests/static-link.py
+++ b/gio/tests/static-link.py
@@ -3,6 +3,8 @@
# Copyright (C) 2018 Collabora Inc.
#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
# This library 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
diff --git a/gio/tests/test-io-stream.h b/gio/tests/test-io-stream.h
index 1331c9970..db2f82db9 100644
--- a/gio/tests/test-io-stream.h
+++ b/gio/tests/test-io-stream.h
@@ -3,6 +3,8 @@
* Copyright © 2008-2010 Red Hat, Inc.
* Copyright © 2011 Nokia Corporation
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/test-pipe-unix.h b/gio/tests/test-pipe-unix.h
index 3c47c5554..eb876ffe2 100644
--- a/gio/tests/test-pipe-unix.h
+++ b/gio/tests/test-pipe-unix.h
@@ -3,6 +3,8 @@
* Copyright © 2008-2010 Red Hat, Inc.
* Copyright © 2011 Nokia Corporation
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gio/tests/trash.c b/gio/tests/trash.c
index b5fa4be92..63b4fee89 100644
--- a/gio/tests/trash.c
+++ b/gio/tests/trash.c
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2018 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gcache.c b/glib/deprecated/gcache.c
index 9e04145be..fb0bb1849 100644
--- a/glib/deprecated/gcache.c
+++ b/glib/deprecated/gcache.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gcache.h b/glib/deprecated/gcache.h
index e1c1f2cde..201f7cf5e 100644
--- a/glib/deprecated/gcache.h
+++ b/glib/deprecated/gcache.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gcompletion.c b/glib/deprecated/gcompletion.c
index 5f0979bb0..3bc77d308 100644
--- a/glib/deprecated/gcompletion.c
+++ b/glib/deprecated/gcompletion.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gcompletion.h b/glib/deprecated/gcompletion.h
index 2fd1f0393..2be87d276 100644
--- a/glib/deprecated/gcompletion.h
+++ b/glib/deprecated/gcompletion.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gmain.h b/glib/deprecated/gmain.h
index 5d08eb6b4..ed01f8e5a 100644
--- a/glib/deprecated/gmain.h
+++ b/glib/deprecated/gmain.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/grel.c b/glib/deprecated/grel.c
index b48ec1173..bca82664a 100644
--- a/glib/deprecated/grel.c
+++ b/glib/deprecated/grel.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/grel.h b/glib/deprecated/grel.h
index 3a65240c1..071e609b4 100644
--- a/glib/deprecated/grel.h
+++ b/glib/deprecated/grel.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gthread-deprecated.c b/glib/deprecated/gthread-deprecated.c
index be98a74b6..eb392fd8b 100644
--- a/glib/deprecated/gthread-deprecated.c
+++ b/glib/deprecated/gthread-deprecated.c
@@ -5,6 +5,8 @@
* Copyright 1998 Sebastian Wilhelmi; University of Karlsruhe
* Owen Taylor
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index 2d490a110..a36613691 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index c1af97e27..f239da183 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -6,6 +6,8 @@
* Copyright © 2010 Codethink Limited
* Copyright © 2018 Tomasz Miąsko
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/gdatetime.h b/glib/gdatetime.h
index 4e1afdf9b..4312433bd 100644
--- a/glib/gdatetime.h
+++ b/glib/gdatetime.h
@@ -2,6 +2,8 @@
* Copyright (C) 2009-2010 Christian Hergert <chris@dronelabs.com>
* Copyright © 2010 Codethink Limited
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/1bit-mutex.c b/glib/tests/1bit-mutex.c
index b7b06d734..607e3b1eb 100644
--- a/glib/tests/1bit-mutex.c
+++ b/glib/tests/1bit-mutex.c
@@ -2,6 +2,8 @@
* Copyright © 2008 Ryan Lortie
* Copyright © 2010 Codethink Limited
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/642026.c b/glib/tests/642026.c
index 6fed6cd08..b684e8846 100644
--- a/glib/tests/642026.c
+++ b/glib/tests/642026.c
@@ -2,6 +2,8 @@
* Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Copyright © 2011 Nokia Corporation
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/atomic.c b/glib/tests/atomic.c
index 138059161..614d5aa4b 100644
--- a/glib/tests/atomic.c
+++ b/glib/tests/atomic.c
@@ -1,6 +1,8 @@
/*
* Copyright 2011 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/bytes.c b/glib/tests/bytes.c
index 8178bc2a8..e81a5f40e 100644
--- a/glib/tests/bytes.c
+++ b/glib/tests/bytes.c
@@ -1,6 +1,8 @@
/*
* Copyright 2011 Collabora Ltd.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/charset.c b/glib/tests/charset.c
index 53f12ec72..6cfab2623 100644
--- a/glib/tests/charset.c
+++ b/glib/tests/charset.c
@@ -1,6 +1,8 @@
/*
* Copyright 2018 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/cxx.cpp b/glib/tests/cxx.cpp
index 363700d14..7300a738e 100644
--- a/glib/tests/cxx.cpp
+++ b/glib/tests/cxx.cpp
@@ -1,6 +1,8 @@
/*
* Copyright 2020 Xavier Claessens
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
index a837bc3b1..7874d258d 100644
--- a/glib/tests/gdatetime.c
+++ b/glib/tests/gdatetime.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2009-2010 Christian Hergert <chris@dronelabs.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This 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
diff --git a/glib/tests/gpoll.c b/glib/tests/gpoll.c
index fe7c3951d..de296ca5f 100644
--- a/glib/tests/gpoll.c
+++ b/glib/tests/gpoll.c
@@ -2,6 +2,8 @@
*
* Copyright © 2017 Руслан Ижбулатов <lrn1986@gmail.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This 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
diff --git a/glib/tests/gutils-user-database.c b/glib/tests/gutils-user-database.c
index 89a0e0b0f..e3dec640d 100644
--- a/glib/tests/gutils-user-database.c
+++ b/glib/tests/gutils-user-database.c
@@ -3,6 +3,8 @@
*
* Author: Jakub Jelen <jjelen@redhat.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/guuid.c b/glib/tests/guuid.c
index bfe27955b..d5e1a840d 100644
--- a/glib/tests/guuid.c
+++ b/glib/tests/guuid.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2013-2015, 2017 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This 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
diff --git a/glib/tests/markup-collect.c b/glib/tests/markup-collect.c
index fa89b0ca6..bc6091d1c 100644
--- a/glib/tests/markup-collect.c
+++ b/glib/tests/markup-collect.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2007 Ryan Lortie
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/markup-subparser.c b/glib/tests/markup-subparser.c
index 4b1bc5018..7d70f8c98 100644
--- a/glib/tests/markup-subparser.c
+++ b/glib/tests/markup-subparser.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2008 Ryan Lortie
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/glib/tests/slice-eager-freeing.c b/glib/tests/slice-eager-freeing.c
index 9d684145f..3349e47cb 100644
--- a/glib/tests/slice-eager-freeing.c
+++ b/glib/tests/slice-eager-freeing.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast threaded memory chunk allocator
* Copyright (C) 2005 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/slice-glib.c b/glib/tests/slice-glib.c
index 6d2f44895..f96e38741 100644
--- a/glib/tests/slice-glib.c
+++ b/glib/tests/slice-glib.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast threaded memory chunk allocator
* Copyright (C) 2005 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/slice-malloc.c b/glib/tests/slice-malloc.c
index 1f51ba54d..fe823a940 100644
--- a/glib/tests/slice-malloc.c
+++ b/glib/tests/slice-malloc.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast threaded memory chunk allocator
* Copyright (C) 2005 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/slice-memchunk.c b/glib/tests/slice-memchunk.c
index 9db5eae65..f81a58902 100644
--- a/glib/tests/slice-memchunk.c
+++ b/glib/tests/slice-memchunk.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast threaded memory chunk allocator
* Copyright (C) 2005 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/glib/tests/slice-slab.c b/glib/tests/slice-slab.c
index c3567907f..d9a033755 100644
--- a/glib/tests/slice-slab.c
+++ b/glib/tests/slice-slab.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast threaded memory chunk allocator
* Copyright (C) 2005 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmodule-ar.c b/gmodule/gmodule-ar.c
index 8c3f15042..a3966decb 100644
--- a/gmodule/gmodule-ar.c
+++ b/gmodule/gmodule-ar.c
@@ -1,6 +1,8 @@
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998, 2000 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c
index 26f6ba029..c1c2fcec2 100644
--- a/gmodule/gmodule-dl.c
+++ b/gmodule/gmodule-dl.c
@@ -1,6 +1,8 @@
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998, 2000 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmodule-win32.c b/gmodule/gmodule-win32.c
index cb5194961..bea841271 100644
--- a/gmodule/gmodule-win32.c
+++ b/gmodule/gmodule-win32.c
@@ -4,6 +4,8 @@
* Win32 GMODULE implementation
* Copyright (C) 1998 Tor Lillqvist
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index c722c4427..64d4ea8be 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -1,6 +1,8 @@
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index c5fd03334..974489041 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -1,6 +1,8 @@
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/gmoduleconf.h.in b/gmodule/gmoduleconf.h.in
index 39d670729..1439ace24 100644
--- a/gmodule/gmoduleconf.h.in
+++ b/gmodule/gmoduleconf.h.in
@@ -1,6 +1,8 @@
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/tests/cxx.cpp b/gmodule/tests/cxx.cpp
index 85242c59a..a80f643fd 100644
--- a/gmodule/tests/cxx.cpp
+++ b/gmodule/tests/cxx.cpp
@@ -1,5 +1,7 @@
/* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi@google.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/tests/libmoduletestplugin_a.c b/gmodule/tests/libmoduletestplugin_a.c
index cb65f1ce1..519eb7b91 100644
--- a/gmodule/tests/libmoduletestplugin_a.c
+++ b/gmodule/tests/libmoduletestplugin_a.c
@@ -1,6 +1,8 @@
/* libgplugin_a.c - test plugin for testgmodule
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/tests/libmoduletestplugin_b.c b/gmodule/tests/libmoduletestplugin_b.c
index aee241bcf..93e819b18 100644
--- a/gmodule/tests/libmoduletestplugin_b.c
+++ b/gmodule/tests/libmoduletestplugin_b.c
@@ -1,6 +1,8 @@
/* libgplugin_b.c - test plugin for testgmodule
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gmodule/tests/module-test.c b/gmodule/tests/module-test.c
index e6cd69ac1..112a2013c 100644
--- a/gmodule/tests/module-test.c
+++ b/gmodule/tests/module-test.c
@@ -1,6 +1,8 @@
/* module-test.c - test program for GMODULE
* Copyright (C) 1998 Tim Janik
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gatomicarray.c b/gobject/gatomicarray.c
index 43111e8c7..de538715e 100644
--- a/gobject/gatomicarray.c
+++ b/gobject/gatomicarray.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2009 Benjamin Otte <otte@gnome.org>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gatomicarray.h b/gobject/gatomicarray.h
index 89043c5e4..f7761cc65 100644
--- a/gobject/gatomicarray.h
+++ b/gobject/gatomicarray.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2009 Benjamin Otte <otte@gnome.org>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index eede10bdc..2ef024545 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2010 Intel Corp.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gbinding.h b/gobject/gbinding.h
index 2b2521423..78aa315f3 100644
--- a/gobject/gbinding.h
+++ b/gobject/gbinding.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2010 Intel Corp.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gboxed.c b/gobject/gboxed.c
index 4a2699257..44da11bf6 100644
--- a/gobject/gboxed.c
+++ b/gobject/gboxed.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000-2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gboxed.h b/gobject/gboxed.h
index bcaf0b01a..c563dccfc 100644
--- a/gobject/gboxed.h
+++ b/gobject/gboxed.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000-2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gclosure.c b/gobject/gclosure.c
index 85002a2f5..3abec0561 100644
--- a/gobject/gclosure.c
+++ b/gobject/gclosure.c
@@ -2,6 +2,8 @@
* Copyright (C) 2000-2001 Red Hat, Inc.
* Copyright (C) 2005 Imendio AB
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gclosure.h b/gobject/gclosure.h
index 98ec49c5a..330a1cf70 100644
--- a/gobject/gclosure.h
+++ b/gobject/gclosure.h
@@ -2,6 +2,8 @@
* Copyright (C) 2000-2001 Red Hat, Inc.
* Copyright (C) 2005 Imendio AB
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/genums.c b/gobject/genums.c
index 86a8b73f4..1fe7f7211 100644
--- a/gobject/genums.c
+++ b/gobject/genums.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/genums.h b/gobject/genums.h
index e54253c20..b8fff5293 100644
--- a/gobject/genums.h
+++ b/gobject/genums.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/glib-types.h b/gobject/glib-types.h
index c54eda99c..e0922b420 100644
--- a/gobject/glib-types.h
+++ b/gobject/glib-types.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000-2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobject-autocleanups.h b/gobject/gobject-autocleanups.h
index 1613857ec..bddb3f290 100644
--- a/gobject/gobject-autocleanups.h
+++ b/gobject/gobject-autocleanups.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2015 Canonical Limited
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c
index cd43eae4e..76670320f 100644
--- a/gobject/gobject-query.c
+++ b/gobject/gobject-query.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 1c6bfedfa..ac887f387 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 04796c00a..17bb0f59d 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobject_trace.h b/gobject/gobject_trace.h
index 261fdac07..b492360fd 100644
--- a/gobject/gobject_trace.h
+++ b/gobject/gobject_trace.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2009,2010 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gobjectnotifyqueue.c b/gobject/gobjectnotifyqueue.c
index 1a7d23f26..48d09ec14 100644
--- a/gobject/gobjectnotifyqueue.c
+++ b/gobject/gobjectnotifyqueue.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gparam.c b/gobject/gparam.c
index 873f2c3c6..14238521b 100644
--- a/gobject/gparam.c
+++ b/gobject/gparam.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gparam.h b/gobject/gparam.h
index d92d6f237..cf8e8dd8d 100644
--- a/gobject/gparam.h
+++ b/gobject/gparam.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gparamspecs.c b/gobject/gparamspecs.c
index 5a54c667d..8299b605a 100644
--- a/gobject/gparamspecs.c
+++ b/gobject/gparamspecs.c
@@ -2,6 +2,8 @@
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
* Copyright (C) 2010 Christian Persch
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gparamspecs.h b/gobject/gparamspecs.h
index 78bf6b82b..250531eed 100644
--- a/gobject/gparamspecs.h
+++ b/gobject/gparamspecs.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index aeb60b2ba..deaf66e47 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000-2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gsignal.h b/gobject/gsignal.h
index 53da2a6ea..0d93f2671 100644
--- a/gobject/gsignal.h
+++ b/gobject/gsignal.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000-2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gsourceclosure.c b/gobject/gsourceclosure.c
index d1b1ee4b3..6a42f779c 100644
--- a/gobject/gsourceclosure.c
+++ b/gobject/gsourceclosure.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gsourceclosure.h b/gobject/gsourceclosure.h
index 484767703..9a1425250 100644
--- a/gobject/gsourceclosure.h
+++ b/gobject/gsourceclosure.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtype-private.h b/gobject/gtype-private.h
index 61e936b21..a4a842eee 100644
--- a/gobject/gtype-private.h
+++ b/gobject/gtype-private.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtype.c b/gobject/gtype.c
index ded0acee2..177e44691 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 73d665626..6f072d3a8 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtypemodule.c b/gobject/gtypemodule.c
index 1c2ab43ea..a95fbbb59 100644
--- a/gobject/gtypemodule.c
+++ b/gobject/gtypemodule.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h
index 400d7f1b0..881a6f66e 100644
--- a/gobject/gtypemodule.h
+++ b/gobject/gtypemodule.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtypeplugin.c b/gobject/gtypeplugin.c
index 30e38c1a9..b6f7f3217 100644
--- a/gobject/gtypeplugin.c
+++ b/gobject/gtypeplugin.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gtypeplugin.h b/gobject/gtypeplugin.h
index de114fee2..92a72421f 100644
--- a/gobject/gtypeplugin.h
+++ b/gobject/gtypeplugin.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2000 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvalue.c b/gobject/gvalue.c
index 097755069..d2da4166f 100644
--- a/gobject/gvalue.c
+++ b/gobject/gvalue.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvalue.h b/gobject/gvalue.h
index 3630c0b53..d7adca2f5 100644
--- a/gobject/gvalue.h
+++ b/gobject/gvalue.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c
index 83e03f7ec..07b2ffb91 100644
--- a/gobject/gvaluearray.c
+++ b/gobject/gvaluearray.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluearray.h b/gobject/gvaluearray.h
index dbc6be765..465565816 100644
--- a/gobject/gvaluearray.h
+++ b/gobject/gvaluearray.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluecollector.h b/gobject/gvaluecollector.h
index 5846d77a7..7e7ae021b 100644
--- a/gobject/gvaluecollector.h
+++ b/gobject/gvaluecollector.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluetransform.c b/gobject/gvaluetransform.c
index a346a54f1..c0592fd7c 100644
--- a/gobject/gvaluetransform.c
+++ b/gobject/gvaluetransform.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 60d7b6647..03f713538 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -2,6 +2,8 @@
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
* Copyright © 2010 Christian Persch
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h
index f37504b3c..9aa6ba9cd 100644
--- a/gobject/gvaluetypes.h
+++ b/gobject/gvaluetypes.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/accumulator.c b/gobject/tests/accumulator.c
index f2051f376..18251f220 100644
--- a/gobject/tests/accumulator.c
+++ b/gobject/tests/accumulator.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001, 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/basic-signals.c b/gobject/tests/basic-signals.c
index e58965b47..cb889eb98 100644
--- a/gobject/tests/basic-signals.c
+++ b/gobject/tests/basic-signals.c
@@ -2,6 +2,8 @@
* Copyright (C) 2013 Red Hat, Inc.
* Copy and pasted from accumulator.c and modified.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/bindinggroup.c b/gobject/tests/bindinggroup.c
index 94bc9b968..7f7f6cbe4 100644
--- a/gobject/tests/bindinggroup.c
+++ b/gobject/tests/bindinggroup.c
@@ -3,6 +3,8 @@
* Copyright (C) 2015-2022 Christian Hergert <christian@hergert.me>
* Copyright (C) 2015 Garrett Regier <garrettregier@gmail.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/cxx.cpp b/gobject/tests/cxx.cpp
index 210c897ee..18d69f6fc 100644
--- a/gobject/tests/cxx.cpp
+++ b/gobject/tests/cxx.cpp
@@ -1,5 +1,7 @@
/* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi@google.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/defaultiface.c b/gobject/tests/defaultiface.c
index 7a4fa9e8c..92f9087fd 100644
--- a/gobject/tests/defaultiface.c
+++ b/gobject/tests/defaultiface.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001, 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/deftype.c b/gobject/tests/deftype.c
index 773aaa1bd..296b8deb9 100644
--- a/gobject/tests/deftype.c
+++ b/gobject/tests/deftype.c
@@ -1,6 +1,8 @@
/* deftype.c
* Copyright (C) 2006 Behdad Esfahbod
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/dynamictype.c b/gobject/tests/dynamictype.c
index 617433027..cb33cb690 100644
--- a/gobject/tests/dynamictype.c
+++ b/gobject/tests/dynamictype.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001, 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/flags.c b/gobject/tests/flags.c
index afe3c2e8c..4483c1858 100644
--- a/gobject/tests/flags.c
+++ b/gobject/tests/flags.c
@@ -1,6 +1,8 @@
/* flags.c
* Copyright (C) 2018 Arthur Demchenkov
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/genmarshal.py b/gobject/tests/genmarshal.py
index 5323cfb9f..7fe6b3e87 100644
--- a/gobject/tests/genmarshal.py
+++ b/gobject/tests/genmarshal.py
@@ -3,6 +3,8 @@
#
# Copyright © 2019 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
# This library 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
diff --git a/gobject/tests/ifaceproperties.c b/gobject/tests/ifaceproperties.c
index cb7acf4ec..3356da0b3 100644
--- a/gobject/tests/ifaceproperties.c
+++ b/gobject/tests/ifaceproperties.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2001, 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/mkenums.py b/gobject/tests/mkenums.py
index 0d0c0d0f4..09b770281 100644
--- a/gobject/tests/mkenums.py
+++ b/gobject/tests/mkenums.py
@@ -3,6 +3,8 @@
#
# Copyright © 2018 Endless Mobile, Inc.
#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
# This library 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
diff --git a/gobject/tests/override.c b/gobject/tests/override.c
index 3974e9dfe..deaa96130 100644
--- a/gobject/tests/override.c
+++ b/gobject/tests/override.c
@@ -3,6 +3,8 @@
* Copyright (C) 2001, James Henstridge
* Copyright (C) 2003, Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/param.c b/gobject/tests/param.c
index ac3e171d6..1e037e6d3 100644
--- a/gobject/tests/param.c
+++ b/gobject/tests/param.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/qdata.c b/gobject/tests/qdata.c
index 7d46efb15..864f8893c 100644
--- a/gobject/tests/qdata.c
+++ b/gobject/tests/qdata.c
@@ -1,6 +1,8 @@
/*
* Copyright 2012 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This program 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
diff --git a/gobject/tests/references.c b/gobject/tests/references.c
index 1dee60643..7b8aa9b77 100644
--- a/gobject/tests/references.c
+++ b/gobject/tests/references.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2005 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/signalgroup.c b/gobject/tests/signalgroup.c
index 9b82dc45f..436d7ead1 100644
--- a/gobject/tests/signalgroup.c
+++ b/gobject/tests/signalgroup.c
@@ -3,6 +3,8 @@
* Copyright (C) 2015-2022 Christian Hergert <christian@hergert.me>
* Copyright (C) 2015 Garrett Regier <garrettregier@gmail.com>
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/singleton.c b/gobject/tests/singleton.c
index cc7dc52c7..03f385a8e 100644
--- a/gobject/tests/singleton.c
+++ b/gobject/tests/singleton.c
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2006 Imendio AB
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/testcommon.h b/gobject/tests/testcommon.h
index a2b69b7b7..06b62b476 100644
--- a/gobject/tests/testcommon.h
+++ b/gobject/tests/testcommon.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/testing.c b/gobject/tests/testing.c
index 929ed07fd..93056de0d 100644
--- a/gobject/tests/testing.c
+++ b/gobject/tests/testing.c
@@ -2,6 +2,8 @@
*
* Copyright © 2019 Endless Mobile, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/testmodule.c b/gobject/tests/testmodule.c
index 3133be100..610059986 100644
--- a/gobject/tests/testmodule.c
+++ b/gobject/tests/testmodule.c
@@ -2,6 +2,8 @@
* testmodule.c: Dummy dynamic type module
* Copyright (C) 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/testmodule.h b/gobject/tests/testmodule.h
index e849b4d9c..4d6e331af 100644
--- a/gobject/tests/testmodule.h
+++ b/gobject/tests/testmodule.h
@@ -2,6 +2,8 @@
* testmodule.h: Dummy dynamic type module
* Copyright (C) 2003 Red Hat, Inc.
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gobject/tests/value.c b/gobject/tests/value.c
index 3c7e88137..c294020ed 100644
--- a/gobject/tests/value.c
+++ b/gobject/tests/value.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library 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
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index 266dd84a3..f85da8f82 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* gthread.c: thread related functions
* Copyright 1998 Sebastian Wilhelmi; University of Karlsruhe
*
diff --git a/tools/glib-gettextize.in b/tools/glib-gettextize.in
index 05ec43c1e..9d8c9bdc9 100755
--- a/tools/glib-gettextize.in
+++ b/tools/glib-gettextize.in
@@ -2,6 +2,8 @@
#
# Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
#
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
# 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 2, or (at your option)