summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:15:38 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:19:02 +0100
commit70ee43f1e9695b78908e10f7619998052ce62611 (patch)
treeb03809da5eae02eca0f8ca36d72b686893c6a1f2
parent5942cd798402c9c84f5864435a534a6636cbfc1c (diff)
downloadglib-70ee43f1e9695b78908e10f7619998052ce62611.tar.gz
glib: Add SPDX license headers automatically
Add SPDX license (but not copyright) headers to all files which follow a certain pattern in their existing non-machine-readable header comment. This commit was entirely generated using the command: ``` git ls-files glib/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs' ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
-rw-r--r--glib/docs.c2
-rw-r--r--glib/galloca.h2
-rw-r--r--glib/garcbox.c2
-rw-r--r--glib/garray.c2
-rw-r--r--glib/garray.h2
-rw-r--r--glib/gasyncqueue.c2
-rw-r--r--glib/gasyncqueue.h2
-rw-r--r--glib/gasyncqueueprivate.h2
-rw-r--r--glib/gatomic.c2
-rw-r--r--glib/gatomic.h2
-rw-r--r--glib/gbacktrace.c2
-rw-r--r--glib/gbacktrace.h2
-rw-r--r--glib/gbase64.c2
-rw-r--r--glib/gbase64.h2
-rw-r--r--glib/gbitlock.c2
-rw-r--r--glib/gbitlock.h2
-rw-r--r--glib/gbookmarkfile.c2
-rw-r--r--glib/gbookmarkfile.h2
-rw-r--r--glib/gbytes.c2
-rw-r--r--glib/gbytes.h2
-rw-r--r--glib/gcharset.c2
-rw-r--r--glib/gcharset.h2
-rw-r--r--glib/gcharsetprivate.h2
-rw-r--r--glib/gchecksum.c2
-rw-r--r--glib/gchecksum.h2
-rw-r--r--glib/gconstructor.h2
-rw-r--r--glib/gconvert.c2
-rw-r--r--glib/gconvert.h2
-rw-r--r--glib/gconvertprivate.h2
-rw-r--r--glib/gdataset.c2
-rw-r--r--glib/gdataset.h2
-rw-r--r--glib/gdatasetprivate.h2
-rw-r--r--glib/gdate.c2
-rw-r--r--glib/gdate.h2
-rw-r--r--glib/gdir.c2
-rw-r--r--glib/gdir.h2
-rw-r--r--glib/genviron.c2
-rw-r--r--glib/genviron.h2
-rw-r--r--glib/gerror.c2
-rw-r--r--glib/gerror.h2
-rw-r--r--glib/gfileutils.c2
-rw-r--r--glib/gfileutils.h2
-rw-r--r--glib/ggettext.c2
-rw-r--r--glib/ggettext.h2
-rw-r--r--glib/ghash.c2
-rw-r--r--glib/ghash.h2
-rw-r--r--glib/ghmac.c2
-rw-r--r--glib/ghmac.h2
-rw-r--r--glib/ghook.c2
-rw-r--r--glib/ghook.h2
-rw-r--r--glib/ghostutils.c2
-rw-r--r--glib/ghostutils.h2
-rw-r--r--glib/gi18n-lib.h2
-rw-r--r--glib/gi18n.h2
-rw-r--r--glib/giochannel.c2
-rw-r--r--glib/giochannel.h2
-rw-r--r--glib/giounix.c2
-rw-r--r--glib/giowin32.c2
-rw-r--r--glib/gkeyfile.c2
-rw-r--r--glib/gkeyfile.h2
-rw-r--r--glib/glib-autocleanups.h2
-rw-r--r--glib/glib-init.c2
-rw-r--r--glib/glib-init.h2
-rw-r--r--glib/glib-object.h2
-rw-r--r--glib/glib-private.c2
-rw-r--r--glib/glib-private.h2
-rw-r--r--glib/glib-typeof.h2
-rw-r--r--glib/glib-unix.c2
-rw-r--r--glib/glib-unix.h2
-rw-r--r--glib/glib.h2
-rw-r--r--glib/glib_trace.h2
-rw-r--r--glib/glist.c2
-rw-r--r--glib/glist.h2
-rw-r--r--glib/gmacros.h2
-rw-r--r--glib/gmain-internal.h2
-rw-r--r--glib/gmain.c2
-rw-r--r--glib/gmain.h2
-rw-r--r--glib/gmappedfile.c2
-rw-r--r--glib/gmappedfile.h2
-rw-r--r--glib/gmarkup.c2
-rw-r--r--glib/gmarkup.h2
-rw-r--r--glib/gmem.c2
-rw-r--r--glib/gmem.h2
-rw-r--r--glib/gmessages.c2
-rw-r--r--glib/gmessages.h2
-rw-r--r--glib/gnode.c2
-rw-r--r--glib/gnode.h2
-rw-r--r--glib/goption.c2
-rw-r--r--glib/goption.h2
-rw-r--r--glib/gpattern.c2
-rw-r--r--glib/gpattern.h2
-rw-r--r--glib/gpoll.c2
-rw-r--r--glib/gpoll.h2
-rw-r--r--glib/gprimes.c2
-rw-r--r--glib/gprimes.h2
-rw-r--r--glib/gprintf.c2
-rw-r--r--glib/gprintf.h2
-rw-r--r--glib/gprintfint.h2
-rw-r--r--glib/gqsort.c2
-rw-r--r--glib/gqsort.h2
-rw-r--r--glib/gquark.c2
-rw-r--r--glib/gquark.h2
-rw-r--r--glib/gqueue.c2
-rw-r--r--glib/gqueue.h2
-rw-r--r--glib/grand.c2
-rw-r--r--glib/grand.h2
-rw-r--r--glib/grcbox.c2
-rw-r--r--glib/grcbox.h2
-rw-r--r--glib/grcboxprivate.h2
-rw-r--r--glib/grefcount.c2
-rw-r--r--glib/grefcount.h2
-rw-r--r--glib/grefstring.c2
-rw-r--r--glib/grefstring.h2
-rw-r--r--glib/gregex.c2
-rw-r--r--glib/gregex.h2
-rw-r--r--glib/gscanner.c2
-rw-r--r--glib/gscanner.h2
-rw-r--r--glib/gsequence.c2
-rw-r--r--glib/gsequence.h2
-rw-r--r--glib/gshell.c2
-rw-r--r--glib/gshell.h2
-rw-r--r--glib/gslice.c2
-rw-r--r--glib/gslice.h2
-rw-r--r--glib/gslist.c2
-rw-r--r--glib/gslist.h2
-rw-r--r--glib/gspawn-private.h2
-rw-r--r--glib/gspawn-win32-helper.c2
-rw-r--r--glib/gspawn-win32.c2
-rw-r--r--glib/gspawn.c2
-rw-r--r--glib/gspawn.h2
-rw-r--r--glib/gstdio-private.c2
-rw-r--r--glib/gstdio.c2
-rw-r--r--glib/gstdio.h2
-rw-r--r--glib/gstdioprivate.h2
-rw-r--r--glib/gstrfuncs.c2
-rw-r--r--glib/gstrfuncs.h2
-rw-r--r--glib/gstring.c2
-rw-r--r--glib/gstring.h2
-rw-r--r--glib/gstringchunk.c2
-rw-r--r--glib/gstringchunk.h2
-rw-r--r--glib/gstrvbuilder.c2
-rw-r--r--glib/gstrvbuilder.h2
-rw-r--r--glib/gtester.c2
-rw-r--r--glib/gtestutils.c2
-rw-r--r--glib/gtestutils.h2
-rw-r--r--glib/gthread-posix.c2
-rw-r--r--glib/gthread-win32.c2
-rw-r--r--glib/gthread.c2
-rw-r--r--glib/gthread.h2
-rw-r--r--glib/gthreadpool.c2
-rw-r--r--glib/gthreadpool.h2
-rw-r--r--glib/gthreadprivate.h2
-rw-r--r--glib/gtimer.c2
-rw-r--r--glib/gtimer.h2
-rw-r--r--glib/gtimezone.c2
-rw-r--r--glib/gtimezone.h2
-rw-r--r--glib/gtrace-private.h2
-rw-r--r--glib/gtrace.c2
-rw-r--r--glib/gtranslit.c2
-rw-r--r--glib/gtrashstack.c2
-rw-r--r--glib/gtrashstack.h2
-rw-r--r--glib/gtree.c2
-rw-r--r--glib/gtree.h2
-rw-r--r--glib/gtypes.h2
-rw-r--r--glib/gunibreak.c2
-rw-r--r--glib/gunicode.h2
-rw-r--r--glib/gunicodeprivate.h2
-rw-r--r--glib/gunicollate.c2
-rw-r--r--glib/gunidecomp.c2
-rw-r--r--glib/guniprop.c2
-rw-r--r--glib/guri.c2
-rw-r--r--glib/guri.h2
-rw-r--r--glib/guriprivate.h2
-rw-r--r--glib/gutf8.c2
-rw-r--r--glib/gutils.c2
-rw-r--r--glib/gutils.h2
-rw-r--r--glib/gutilsprivate.h2
-rw-r--r--glib/gvalgrind.h2
-rw-r--r--glib/gvariant-core.c2
-rw-r--r--glib/gvariant-core.h2
-rw-r--r--glib/gvariant-internal.h2
-rw-r--r--glib/gvariant-parser.c2
-rw-r--r--glib/gvariant-serialiser.c2
-rw-r--r--glib/gvariant-serialiser.h2
-rw-r--r--glib/gvariant.c2
-rw-r--r--glib/gvariant.h2
-rw-r--r--glib/gvarianttype.c2
-rw-r--r--glib/gvarianttype.h2
-rw-r--r--glib/gvarianttypeinfo.c2
-rw-r--r--glib/gvarianttypeinfo.h2
-rw-r--r--glib/gversion.c2
-rw-r--r--glib/gversion.h2
-rw-r--r--glib/gversionmacros.h2
-rw-r--r--glib/gwakeup.c2
-rw-r--r--glib/gwakeup.h2
-rw-r--r--glib/gwin32-private.c2
-rw-r--r--glib/gwin32.c2
-rw-r--r--glib/gwin32.h2
198 files changed, 396 insertions, 0 deletions
diff --git a/glib/docs.c b/glib/docs.c
index 9d6321b8a..e1c621244 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -1,6 +1,8 @@
/*
* Copyright © 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/glib/galloca.h b/glib/galloca.h
index 86f0d7665..db01fe52e 100644
--- a/glib/galloca.h
+++ b/glib/galloca.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/garcbox.c b/glib/garcbox.c
index 70aebb6ed..d69e75de1 100644
--- a/glib/garcbox.c
+++ b/glib/garcbox.c
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/garray.c b/glib/garray.c
index 1ab3beeda..8dfba17b5 100644
--- a/glib/garray.c
+++ b/glib/garray.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/garray.h b/glib/garray.h
index 67131b5b3..6225bc283 100644
--- a/glib/garray.h
+++ b/glib/garray.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/gasyncqueue.c b/glib/gasyncqueue.c
index 98c7d8a60..c824751af 100644
--- a/glib/gasyncqueue.c
+++ b/glib/gasyncqueue.c
@@ -4,6 +4,8 @@
* GAsyncQueue: asynchronous queue implementation, based on GQueue.
* Copyright (C) 2000 Sebastian Wilhelmi; University of Karlsruhe
*
+ * 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/gasyncqueue.h b/glib/gasyncqueue.h
index 73e537b07..b1de117f2 100644
--- a/glib/gasyncqueue.h
+++ b/glib/gasyncqueue.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/gasyncqueueprivate.h b/glib/gasyncqueueprivate.h
index b1622c54c..e6fd9cddf 100644
--- a/glib/gasyncqueueprivate.h
+++ b/glib/gasyncqueueprivate.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/gatomic.c b/glib/gatomic.c
index 0bc67aa35..b317601b5 100644
--- a/glib/gatomic.c
+++ b/glib/gatomic.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 Ryan Lortie
*
+ * 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/gatomic.h b/glib/gatomic.h
index 8b2b880c8..086aae368 100644
--- a/glib/gatomic.h
+++ b/glib/gatomic.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 Ryan Lortie
*
+ * 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/gbacktrace.c b/glib/gbacktrace.c
index 77cef100a..cb02c8a1b 100644
--- a/glib/gbacktrace.c
+++ b/glib/gbacktrace.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/gbacktrace.h b/glib/gbacktrace.h
index 09b8ccbd3..11293b318 100644
--- a/glib/gbacktrace.h
+++ b/glib/gbacktrace.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/gbase64.c b/glib/gbase64.c
index f2d110e2e..3c427f8a4 100644
--- a/glib/gbase64.c
+++ b/glib/gbase64.c
@@ -3,6 +3,8 @@
* Copyright (C) 2006 Alexander Larsson <alexl@redhat.com>
* Copyright (C) 2000-2003 Ximian 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/glib/gbase64.h b/glib/gbase64.h
index 662c597ff..4cb9ef24c 100644
--- a/glib/gbase64.h
+++ b/glib/gbase64.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2005 Alexander Larsson <alexl@redhat.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/glib/gbitlock.c b/glib/gbitlock.c
index 9384d1a44..81bfb339f 100644
--- a/glib/gbitlock.c
+++ b/glib/gbitlock.c
@@ -2,6 +2,8 @@
* Copyright © 2008 Ryan Lortie
* 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
diff --git a/glib/gbitlock.h b/glib/gbitlock.h
index 8054bc8ae..bef2c0926 100644
--- a/glib/gbitlock.h
+++ b/glib/gbitlock.h
@@ -2,6 +2,8 @@
* Copyright © 2008 Ryan Lortie
* 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
diff --git a/glib/gbookmarkfile.c b/glib/gbookmarkfile.c
index 51dfa23d3..5ae1ad664 100644
--- a/glib/gbookmarkfile.c
+++ b/glib/gbookmarkfile.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2005-2006 Emmanuele Bassi
*
+ * 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/gbookmarkfile.h b/glib/gbookmarkfile.h
index 82ea98d5d..e40186202 100644
--- a/glib/gbookmarkfile.h
+++ b/glib/gbookmarkfile.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2005-2006 Emmanuele Bassi
*
+ * 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/gbytes.c b/glib/gbytes.c
index a6ca0e300..e4d269710 100644
--- a/glib/gbytes.c
+++ b/glib/gbytes.c
@@ -2,6 +2,8 @@
* Copyright © 2009, 2010 Codethink Limited
* Copyright © 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/glib/gbytes.h b/glib/gbytes.h
index 37cad861d..d93498943 100644
--- a/glib/gbytes.h
+++ b/glib/gbytes.h
@@ -2,6 +2,8 @@
* Copyright © 2009, 2010 Codethink Limited
* Copyright © 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/glib/gcharset.c b/glib/gcharset.c
index 09d3fa4cc..573f8c055 100644
--- a/glib/gcharset.c
+++ b/glib/gcharset.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 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/glib/gcharset.h b/glib/gcharset.h
index 82020f604..144ec7a00 100644
--- a/glib/gcharset.h
+++ b/glib/gcharset.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 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/glib/gcharsetprivate.h b/glib/gcharsetprivate.h
index 9b1def278..cddfc591e 100644
--- a/glib/gcharsetprivate.h
+++ b/glib/gcharsetprivate.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2012 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/glib/gchecksum.c b/glib/gchecksum.c
index 29b479bc6..fea7803cd 100644
--- a/glib/gchecksum.c
+++ b/glib/gchecksum.c
@@ -2,6 +2,8 @@
*
* Copyright (C) 2007 Emmanuele Bassi <ebassi@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/glib/gchecksum.h b/glib/gchecksum.h
index 5bb52d824..e5c54e7c7 100644
--- a/glib/gchecksum.h
+++ b/glib/gchecksum.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2007 Emmanuele Bassi <ebassi@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/glib/gconstructor.h b/glib/gconstructor.h
index c5e0dfaa6..29509e4a4 100644
--- a/glib/gconstructor.h
+++ b/glib/gconstructor.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/gconvert.c b/glib/gconvert.c
index 4ae0630d5..829fe38de 100644
--- a/glib/gconvert.c
+++ b/glib/gconvert.c
@@ -4,6 +4,8 @@
* Copyright Red Hat Inc., 2000
* Authors: Havoc Pennington <hp@redhat.com>, Owen Taylor <otaylor@redhat.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/glib/gconvert.h b/glib/gconvert.h
index be58ecfbe..81b41c049 100644
--- a/glib/gconvert.h
+++ b/glib/gconvert.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/gconvertprivate.h b/glib/gconvertprivate.h
index 5bdc87ff6..1a5504116 100644
--- a/glib/gconvertprivate.h
+++ b/glib/gconvertprivate.h
@@ -2,6 +2,8 @@
*
* Copyright 2020 Frederic Martinsons
*
+ * 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/gdataset.c b/glib/gdataset.c
index 796d203d8..758c032ab 100644
--- a/glib/gdataset.c
+++ b/glib/gdataset.c
@@ -4,6 +4,8 @@
* gdataset.c: Generic dataset mechanism, similar to GtkObject data.
* 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/glib/gdataset.h b/glib/gdataset.h
index 89a34c71a..a85179c60 100644
--- a/glib/gdataset.h
+++ b/glib/gdataset.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/gdatasetprivate.h b/glib/gdatasetprivate.h
index eb95278f1..f22cf381f 100644
--- a/glib/gdatasetprivate.h
+++ b/glib/gdatasetprivate.h
@@ -2,6 +2,8 @@
* gdataset-private.h: Internal macros for accessing dataset values
* Copyright (C) 2005 Red Hat
*
+ * 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/gdate.c b/glib/gdate.c
index a508c4805..85892ec9b 100644
--- a/glib/gdate.c
+++ b/glib/gdate.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/gdate.h b/glib/gdate.h
index 65fe811fa..fcf227344 100644
--- a/glib/gdate.h
+++ b/glib/gdate.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/gdir.c b/glib/gdir.c
index b07eb5c20..c9283dea4 100644
--- a/glib/gdir.c
+++ b/glib/gdir.c
@@ -6,6 +6,8 @@
* Copyright 2001 Hans Breuer
* Copyright 2004 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/glib/gdir.h b/glib/gdir.h
index 8f9d6bd7c..0d3ee82b3 100644
--- a/glib/gdir.h
+++ b/glib/gdir.h
@@ -5,6 +5,8 @@
*
* Copyright 2001 Hans Breuer
*
+ * 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/genviron.c b/glib/genviron.c
index 485531ca2..b72871b95 100644
--- a/glib/genviron.c
+++ b/glib/genviron.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 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/genviron.h b/glib/genviron.h
index c4bf01a5a..3ac38464d 100644
--- a/glib/genviron.h
+++ b/glib/genviron.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/gerror.c b/glib/gerror.c
index bd5408872..61817fa7b 100644
--- a/glib/gerror.c
+++ b/glib/gerror.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/gerror.h b/glib/gerror.h
index 33e1d5aa5..1aebfbeb9 100644
--- a/glib/gerror.h
+++ b/glib/gerror.h
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gfileutils.c b/glib/gfileutils.c
index 8681b1326..4ee16e894 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gfileutils.h b/glib/gfileutils.h
index 4c9633224..c056dd034 100644
--- a/glib/gfileutils.h
+++ b/glib/gfileutils.h
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/ggettext.c b/glib/ggettext.c
index 303b9b9b6..42f3d0e72 100644
--- a/glib/ggettext.c
+++ b/glib/ggettext.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 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/ggettext.h b/glib/ggettext.h
index 036f9d534..33a1fbe81 100644
--- a/glib/ggettext.h
+++ b/glib/ggettext.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/ghash.c b/glib/ghash.c
index 3d71643c7..5fb722c04 100644
--- a/glib/ghash.c
+++ b/glib/ghash.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/ghash.h b/glib/ghash.h
index 4e81d6263..cbd2f98bf 100644
--- a/glib/ghash.h
+++ b/glib/ghash.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/ghmac.c b/glib/ghmac.c
index 16e0e48f2..7ad28d6f0 100644
--- a/glib/ghmac.c
+++ b/glib/ghmac.c
@@ -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/glib/ghmac.h b/glib/ghmac.h
index 36e24eb29..346b45136 100644
--- a/glib/ghmac.h
+++ b/glib/ghmac.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2011 Stef Walter <stefw@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/glib/ghook.c b/glib/ghook.c
index 00187bf79..3db220187 100644
--- a/glib/ghook.c
+++ b/glib/ghook.c
@@ -4,6 +4,8 @@
* GHook: Callback maintenance functions
* 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/glib/ghook.h b/glib/ghook.h
index 83ad1bdef..1bd858219 100644
--- a/glib/ghook.h
+++ b/glib/ghook.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/ghostutils.c b/glib/ghostutils.c
index 24a7d37bb..db6d68793 100644
--- a/glib/ghostutils.c
+++ b/glib/ghostutils.c
@@ -3,6 +3,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 2008 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/glib/ghostutils.h b/glib/ghostutils.h
index 59d2d41ed..6f350976f 100644
--- a/glib/ghostutils.h
+++ b/glib/ghostutils.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 2008 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/glib/gi18n-lib.h b/glib/gi18n-lib.h
index 74e50a3a8..fe9e79dbd 100644
--- a/glib/gi18n-lib.h
+++ b/glib/gi18n-lib.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 2002 Peter Mattis, 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/glib/gi18n.h b/glib/gi18n.h
index 5f996d24e..dbb2cb3a5 100644
--- a/glib/gi18n.h
+++ b/glib/gi18n.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 2002 Peter Mattis, 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/glib/giochannel.c b/glib/giochannel.c
index 12ca051ad..6c7266720 100644
--- a/glib/giochannel.c
+++ b/glib/giochannel.c
@@ -4,6 +4,8 @@
* giochannel.c: IO Channel abstraction
* Copyright 1998 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/giochannel.h b/glib/giochannel.h
index 82743602a..f6624b993 100644
--- a/glib/giochannel.h
+++ b/glib/giochannel.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/giounix.c b/glib/giounix.c
index ad3aba25b..b6345b6c6 100644
--- a/glib/giounix.c
+++ b/glib/giounix.c
@@ -4,6 +4,8 @@
* giounix.c: IO Channels using unix file descriptors
* Copyright 1998 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/giowin32.c b/glib/giowin32.c
index 7282e1a54..b9b481921 100644
--- a/glib/giowin32.c
+++ b/glib/giowin32.c
@@ -6,6 +6,8 @@
* Copyright 1999-2000 Tor Lillqvist and Craig Setera
* Copyright 2001-2003 Andrew Lanoix
*
+ * 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/gkeyfile.c b/glib/gkeyfile.c
index 646097044..b5a2ed5ef 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -7,6 +7,8 @@
* Written by Ray Strode <rstrode@redhat.com>
* Matthias Clasen <mclasen@redhat.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/glib/gkeyfile.h b/glib/gkeyfile.h
index 7a1004841..9d026d681 100644
--- a/glib/gkeyfile.h
+++ b/glib/gkeyfile.h
@@ -4,6 +4,8 @@
*
* Ray Strode <halfline@hawaii.rr.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/glib/glib-autocleanups.h b/glib/glib-autocleanups.h
index 6457eaff8..e2e0075e5 100644
--- a/glib/glib-autocleanups.h
+++ b/glib/glib-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/glib/glib-init.c b/glib/glib-init.c
index e7b4984e6..00f6c3c66 100644
--- a/glib/glib-init.c
+++ b/glib/glib-init.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 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/glib/glib-init.h b/glib/glib-init.h
index 73e186199..2ce2f0d46 100644
--- a/glib/glib-init.h
+++ b/glib/glib-init.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 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/glib/glib-object.h b/glib/glib-object.h
index 915a29901..b00392d8c 100644
--- a/glib/glib-object.h
+++ b/glib/glib-object.h
@@ -1,6 +1,8 @@
/* GObject - GLib Type, Object, Parameter and Signal Library
* Copyright (C) 1998, 1999, 2000 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/glib/glib-private.c b/glib/glib-private.c
index 321efc1d6..b78f0a22e 100644
--- a/glib/glib-private.c
+++ b/glib/glib-private.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 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/glib/glib-private.h b/glib/glib-private.h
index 39b7c0a8e..de9122754 100644
--- a/glib/glib-private.h
+++ b/glib/glib-private.h
@@ -1,6 +1,8 @@
/* glib-private.h - GLib-internal private API, shared between glib, gobject, gio
* Copyright (C) 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/glib/glib-typeof.h b/glib/glib-typeof.h
index 198901c29..f00e2495d 100644
--- a/glib/glib-typeof.h
+++ b/glib/glib-typeof.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 2021 Iain Lane, 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/glib-unix.c b/glib/glib-unix.c
index fd799eaf7..f5ca6d844 100644
--- a/glib/glib-unix.c
+++ b/glib/glib-unix.c
@@ -3,6 +3,8 @@
*
* glib-unix.c: UNIX specific API wrappers and convenience functions
*
+ * 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/glib-unix.h b/glib/glib-unix.h
index 53f193b87..7cf4f0dc8 100644
--- a/glib/glib-unix.h
+++ b/glib/glib-unix.h
@@ -1,6 +1,8 @@
/* glib-unix.h - Unix specific integration
* Copyright (C) 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/glib/glib.h b/glib/glib.h
index e72c09da5..cfd28ce0d 100644
--- a/glib/glib.h
+++ b/glib/glib.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/glib_trace.h b/glib/glib_trace.h
index fdb8f8c46..caa5e48d4 100644
--- a/glib/glib_trace.h
+++ b/glib/glib_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/glib/glist.c b/glib/glist.c
index cb9f5003e..754a3ec52 100644
--- a/glib/glist.c
+++ b/glib/glist.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/glist.h b/glib/glist.h
index ddea3cf35..2a453b79f 100644
--- a/glib/glist.h
+++ b/glib/glist.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/gmacros.h b/glib/gmacros.h
index d528531f4..8001a448e 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.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/gmain-internal.h b/glib/gmain-internal.h
index 5a01599d9..df9367727 100644
--- a/glib/gmain-internal.h
+++ b/glib/gmain-internal.h
@@ -1,6 +1,8 @@
/* gmain-internal.h - GLib-internal mainloop API
* Copyright (C) 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/glib/gmain.c b/glib/gmain.c
index 4c1403a95..74568b8a9 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -4,6 +4,8 @@
* gmain.c: Main loop abstraction, timeouts, and idle functions
* Copyright 1998 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/gmain.h b/glib/gmain.h
index 895814a9c..2cfa043cc 100644
--- a/glib/gmain.h
+++ b/glib/gmain.h
@@ -1,6 +1,8 @@
/* gmain.h - the GLib Main loop
* Copyright (C) 1998-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/glib/gmappedfile.c b/glib/gmappedfile.c
index fb42011b5..16b38b358 100644
--- a/glib/gmappedfile.c
+++ b/glib/gmappedfile.c
@@ -3,6 +3,8 @@
*
* Copyright 2005 Matthias Clasen
*
+ * 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/gmappedfile.h b/glib/gmappedfile.h
index 8256811e6..4f5f6981b 100644
--- a/glib/gmappedfile.h
+++ b/glib/gmappedfile.h
@@ -3,6 +3,8 @@
*
* Copyright 2005 Matthias Clasen
*
+ * 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/gmarkup.c b/glib/gmarkup.c
index cfebed3e2..2f9450216 100644
--- a/glib/gmarkup.c
+++ b/glib/gmarkup.c
@@ -3,6 +3,8 @@
* Copyright 2000, 2003 Red Hat, Inc.
* Copyright 2007, 2008 Ryan Lortie <desrt@desrt.ca>
*
+ * 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/gmarkup.h b/glib/gmarkup.h
index 96375b55a..ae6976b15 100644
--- a/glib/gmarkup.h
+++ b/glib/gmarkup.h
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gmem.c b/glib/gmem.c
index 060e91af9..f6c806552 100644
--- a/glib/gmem.c
+++ b/glib/gmem.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/gmem.h b/glib/gmem.h
index d29907a67..bae51fa47 100644
--- a/glib/gmem.h
+++ b/glib/gmem.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/gmessages.c b/glib/gmessages.c
index 011793556..97c5b31b1 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.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/gmessages.h b/glib/gmessages.h
index c7efd5376..119b72e91 100644
--- a/glib/gmessages.h
+++ b/glib/gmessages.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/gnode.c b/glib/gnode.c
index 4becb683d..b9a68c2f6 100644
--- a/glib/gnode.c
+++ b/glib/gnode.c
@@ -4,6 +4,8 @@
* GNode: N-way tree implementation.
* 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/glib/gnode.h b/glib/gnode.h
index 693e6154d..94ab99621 100644
--- a/glib/gnode.h
+++ b/glib/gnode.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/goption.c b/glib/goption.c
index 6806013a2..0b3a05e90 100644
--- a/glib/goption.c
+++ b/glib/goption.c
@@ -3,6 +3,8 @@
* Copyright (C) 1999, 2003 Red Hat Software
* Copyright (C) 2004 Anders Carlsson <andersca@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/glib/goption.h b/glib/goption.h
index 04638e4a5..3d525a548 100644
--- a/glib/goption.h
+++ b/glib/goption.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2004 Anders Carlsson <andersca@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/glib/gpattern.c b/glib/gpattern.c
index 8725f509f..09bdd5ad9 100644
--- a/glib/gpattern.c
+++ b/glib/gpattern.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 1999 Peter Mattis, 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/glib/gpattern.h b/glib/gpattern.h
index 2d7f83077..c8ceb84d2 100644
--- a/glib/gpattern.h
+++ b/glib/gpattern.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 1999 Peter Mattis, 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/glib/gpoll.c b/glib/gpoll.c
index bd29ea623..5afc7596d 100644
--- a/glib/gpoll.c
+++ b/glib/gpoll.c
@@ -5,6 +5,8 @@
* Copyright 1998 Owen Taylor
* Copyright 2008 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/glib/gpoll.h b/glib/gpoll.h
index 2cbd69729..bd72bc428 100644
--- a/glib/gpoll.h
+++ b/glib/gpoll.h
@@ -1,6 +1,8 @@
/* gpoll.h - poll(2) support
* Copyright (C) 2008 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/glib/gprimes.c b/glib/gprimes.c
index 1f6a31529..cd412540b 100644
--- a/glib/gprimes.c
+++ b/glib/gprimes.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/gprimes.h b/glib/gprimes.h
index 0b6ea850d..f35b5fd6f 100644
--- a/glib/gprimes.h
+++ b/glib/gprimes.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/gprintf.c b/glib/gprintf.c
index 7a8803351..818a55ad2 100644
--- a/glib/gprintf.c
+++ b/glib/gprintf.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 2002 Peter Mattis, 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/glib/gprintf.h b/glib/gprintf.h
index 429de7a24..78b25202c 100644
--- a/glib/gprintf.h
+++ b/glib/gprintf.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 2002 Peter Mattis, 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/glib/gprintfint.h b/glib/gprintfint.h
index 9ccf2eb47..cb4b5871b 100644
--- a/glib/gprintfint.h
+++ b/glib/gprintfint.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/gqsort.c b/glib/gqsort.c
index 86580f524..a5060e403 100644
--- a/glib/gqsort.c
+++ b/glib/gqsort.c
@@ -3,6 +3,8 @@
* Copyright (C) 2000 Eazel, Inc.
* 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/gqsort.h b/glib/gqsort.h
index 2ecd75fae..c04c0381e 100644
--- a/glib/gqsort.h
+++ b/glib/gqsort.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/gquark.c b/glib/gquark.c
index 2799b7d57..cdd9bdf9a 100644
--- a/glib/gquark.c
+++ b/glib/gquark.c
@@ -4,6 +4,8 @@
*
* gquark.c: Functions for dealing with quarks and interned strings
*
+ * 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/gquark.h b/glib/gquark.h
index 1822c4bf7..d0c44039f 100644
--- a/glib/gquark.h
+++ b/glib/gquark.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/gqueue.c b/glib/gqueue.c
index d53af7ded..a5c4f183b 100644
--- a/glib/gqueue.c
+++ b/glib/gqueue.c
@@ -4,6 +4,8 @@
* GQueue: Double ended queue implementation, piggy backed on GList.
* 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/glib/gqueue.h b/glib/gqueue.h
index 65d609f1a..c3a28c843 100644
--- a/glib/gqueue.h
+++ b/glib/gqueue.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/grand.c b/glib/grand.c
index a7f5f43fd..1c56d0195 100644
--- a/glib/grand.c
+++ b/glib/grand.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/grand.h b/glib/grand.h
index d64e50253..c4ae956aa 100644
--- a/glib/grand.h
+++ b/glib/grand.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/grcbox.c b/glib/grcbox.c
index 68bb73da7..2538157a8 100644
--- a/glib/grcbox.c
+++ b/glib/grcbox.c
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grcbox.h b/glib/grcbox.h
index 0f8b99a80..f101e43a4 100644
--- a/glib/grcbox.h
+++ b/glib/grcbox.h
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grcboxprivate.h b/glib/grcboxprivate.h
index 73b578d40..4563db1b0 100644
--- a/glib/grcboxprivate.h
+++ b/glib/grcboxprivate.h
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grefcount.c b/glib/grefcount.c
index 6826a0005..f682de763 100644
--- a/glib/grefcount.c
+++ b/glib/grefcount.c
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grefcount.h b/glib/grefcount.h
index 599dac978..88fc716e7 100644
--- a/glib/grefcount.h
+++ b/glib/grefcount.h
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grefstring.c b/glib/grefstring.c
index 56a6181fc..f20189786 100644
--- a/glib/grefstring.c
+++ b/glib/grefstring.c
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/grefstring.h b/glib/grefstring.h
index c27767c71..ae7d173fc 100644
--- a/glib/grefstring.h
+++ b/glib/grefstring.h
@@ -2,6 +2,8 @@
*
* Copyright 2018 Emmanuele Bassi
*
+ * 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/gregex.c b/glib/gregex.c
index 1aa8416ff..2fa069891 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -4,6 +4,8 @@
* Copyright (C) 2004, Matthias Clasen <mclasen@redhat.com>
* Copyright (C) 2005 - 2007, Marco Barisione <marco@barisione.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/glib/gregex.h b/glib/gregex.h
index b982f6931..89c848547 100644
--- a/glib/gregex.h
+++ b/glib/gregex.h
@@ -4,6 +4,8 @@
* Copyright (C) 2004, Matthias Clasen <mclasen@redhat.com>
* Copyright (C) 2005 - 2007, Marco Barisione <marco@barisione.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/glib/gscanner.c b/glib/gscanner.c
index 5f342183c..451feb67b 100644
--- a/glib/gscanner.c
+++ b/glib/gscanner.c
@@ -4,6 +4,8 @@
* GScanner: Flexible lexical scanner for general purpose.
* Copyright (C) 1997, 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/glib/gscanner.h b/glib/gscanner.h
index d87b4533e..bbad353e2 100644
--- a/glib/gscanner.h
+++ b/glib/gscanner.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/gsequence.c b/glib/gsequence.c
index 9cf1e8d3e..ead827d46 100644
--- a/glib/gsequence.c
+++ b/glib/gsequence.c
@@ -2,6 +2,8 @@
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
* Soeren Sandmann (sandmann@daimi.au.dk)
*
+ * 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/gsequence.h b/glib/gsequence.h
index 6dce2f4fb..c1b340493 100644
--- a/glib/gsequence.h
+++ b/glib/gsequence.h
@@ -2,6 +2,8 @@
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
* Soeren Sandmann (sandmann@daimi.au.dk)
*
+ * 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/gshell.c b/glib/gshell.c
index ed893905e..82e7bd76e 100644
--- a/glib/gshell.c
+++ b/glib/gshell.c
@@ -4,6 +4,8 @@
* g_execvpe implementation based on GNU libc execvp:
* Copyright 1991, 92, 95, 96, 97, 98, 99 Free Software Foundation, 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/glib/gshell.h b/glib/gshell.h
index 798dd7808..4084b69cb 100644
--- a/glib/gshell.h
+++ b/glib/gshell.h
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gslice.c b/glib/gslice.c
index 4e999202e..36fa0841f 100644
--- a/glib/gslice.c
+++ b/glib/gslice.c
@@ -1,6 +1,8 @@
/* GLIB sliced memory - fast concurrent 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/gslice.h b/glib/gslice.h
index 002410635..eb6778629 100644
--- a/glib/gslice.h
+++ b/glib/gslice.h
@@ -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/gslist.c b/glib/gslist.c
index 0e76de974..7d4051c24 100644
--- a/glib/gslist.c
+++ b/glib/gslist.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/gslist.h b/glib/gslist.h
index 249417986..c8e0cf228 100644
--- a/glib/gslist.h
+++ b/glib/gslist.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/gspawn-private.h b/glib/gspawn-private.h
index 16f816c89..400c173cf 100644
--- a/glib/gspawn-private.h
+++ b/glib/gspawn-private.h
@@ -4,6 +4,8 @@
* g_execvpe implementation based on GNU libc execvp:
* Copyright 1991, 92, 95, 96, 97, 98, 99 Free Software Foundation, 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/glib/gspawn-win32-helper.c b/glib/gspawn-win32-helper.c
index ee68f8eb7..72b49baf6 100644
--- a/glib/gspawn-win32-helper.c
+++ b/glib/gspawn-win32-helper.c
@@ -3,6 +3,8 @@
* Copyright 2000 Red Hat, Inc.
* Copyright 2000 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/glib/gspawn-win32.c b/glib/gspawn-win32.c
index ffda37f53..3ce21819f 100644
--- a/glib/gspawn-win32.c
+++ b/glib/gspawn-win32.c
@@ -3,6 +3,8 @@
* Copyright 2000 Red Hat, Inc.
* Copyright 2003 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/glib/gspawn.c b/glib/gspawn.c
index 0a2cbe54a..ed383206d 100644
--- a/glib/gspawn.c
+++ b/glib/gspawn.c
@@ -4,6 +4,8 @@
* g_execvpe implementation based on GNU libc execvp:
* Copyright 1991, 92, 95, 96, 97, 98, 99 Free Software Foundation, 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/glib/gspawn.h b/glib/gspawn.h
index 0bcadf4cd..e651aa900 100644
--- a/glib/gspawn.h
+++ b/glib/gspawn.h
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gstdio-private.c b/glib/gstdio-private.c
index 6d86ce48c..d00cfa3bd 100644
--- a/glib/gstdio-private.c
+++ b/glib/gstdio-private.c
@@ -3,6 +3,8 @@
* Copyright 2004 Tor Lillqvist
* Copyright 2018 Руслан Ижбулатов
*
+ * 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/gstdio.c b/glib/gstdio.c
index 45180eba8..f48263d0a 100644
--- a/glib/gstdio.c
+++ b/glib/gstdio.c
@@ -2,6 +2,8 @@
*
* Copyright 2004 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/glib/gstdio.h b/glib/gstdio.h
index 4af0efdb6..441029848 100644
--- a/glib/gstdio.h
+++ b/glib/gstdio.h
@@ -2,6 +2,8 @@
*
* Copyright 2004 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/glib/gstdioprivate.h b/glib/gstdioprivate.h
index 25f474716..ecc354ada 100644
--- a/glib/gstdioprivate.h
+++ b/glib/gstdioprivate.h
@@ -2,6 +2,8 @@
*
* Copyright 2017 Руслан Ижбулатов
*
+ * 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/gstrfuncs.c b/glib/gstrfuncs.c
index 927353309..21ec0b578 100644
--- a/glib/gstrfuncs.c
+++ b/glib/gstrfuncs.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/gstrfuncs.h b/glib/gstrfuncs.h
index 2b44c9a55..37d2728d8 100644
--- a/glib/gstrfuncs.h
+++ b/glib/gstrfuncs.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/gstring.c b/glib/gstring.c
index 0a509e5e5..6abb70b39 100644
--- a/glib/gstring.c
+++ b/glib/gstring.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/gstring.h b/glib/gstring.h
index eec4c138f..17a7e3c2d 100644
--- a/glib/gstring.h
+++ b/glib/gstring.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/gstringchunk.c b/glib/gstringchunk.c
index feacb154f..f4cf6cfc9 100644
--- a/glib/gstringchunk.c
+++ b/glib/gstringchunk.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/gstringchunk.h b/glib/gstringchunk.h
index 8d445e349..a79a4cb0b 100644
--- a/glib/gstringchunk.h
+++ b/glib/gstringchunk.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/gstrvbuilder.c b/glib/gstrvbuilder.c
index 07030b92f..5ef7dcc04 100644
--- a/glib/gstrvbuilder.c
+++ b/glib/gstrvbuilder.c
@@ -2,6 +2,8 @@
* Copyright © 2020 Canonical Ltd.
* Copyright © 2021 Alexandros Theodotou
*
+ * 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/gstrvbuilder.h b/glib/gstrvbuilder.h
index 48aee0128..c8acbaadd 100644
--- a/glib/gstrvbuilder.h
+++ b/glib/gstrvbuilder.h
@@ -2,6 +2,8 @@
* Copyright © 2020 Canonical Ltd.
* Copyright © 2021 Alexandros Theodotou
*
+ * 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/gtester.c b/glib/gtester.c
index c48ecaf94..af1f29164 100644
--- a/glib/gtester.c
+++ b/glib/gtester.c
@@ -2,6 +2,8 @@
* Copyright (C) 2007 Sven Herzberg
* Copyright (C) 2007 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/gtestutils.c b/glib/gtestutils.c
index dca4badcf..09c70d484 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -2,6 +2,8 @@
* Copyright (C) 2007 Imendio AB
* Authors: Tim Janik, Sven Herzberg
*
+ * 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/gtestutils.h b/glib/gtestutils.h
index 29ca76b65..3369f5fc6 100644
--- a/glib/gtestutils.h
+++ b/glib/gtestutils.h
@@ -2,6 +2,8 @@
* Copyright (C) 2007 Imendio AB
* Authors: 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/gthread-posix.c b/glib/gthread-posix.c
index 8c403f975..028a2553e 100644
--- a/glib/gthread-posix.c
+++ b/glib/gthread-posix.c
@@ -4,6 +4,8 @@
* gthread.c: posix thread system implementation
* Copyright 1998 Sebastian Wilhelmi; University of Karlsruhe
*
+ * 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/gthread-win32.c b/glib/gthread-win32.c
index e7a4cde7b..801052050 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -5,6 +5,8 @@
* Copyright 1998-2001 Sebastian Wilhelmi; University of Karlsruhe
* Copyright 2001 Hans Breuer
*
+ * 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/gthread.c b/glib/gthread.c
index 08389468c..8b3a9ced1 100644
--- a/glib/gthread.c
+++ b/glib/gthread.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/gthread.h b/glib/gthread.h
index a30815eb8..e96632b91 100644
--- a/glib/gthread.h
+++ b/glib/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/gthreadpool.c b/glib/gthreadpool.c
index c7d587a56..bcbb9e2d3 100644
--- a/glib/gthreadpool.c
+++ b/glib/gthreadpool.c
@@ -4,6 +4,8 @@
* GThreadPool: thread pool implementation.
* Copyright (C) 2000 Sebastian Wilhelmi; University of Karlsruhe
*
+ * 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/gthreadpool.h b/glib/gthreadpool.h
index f2501b88b..921bee448 100644
--- a/glib/gthreadpool.h
+++ b/glib/gthreadpool.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/gthreadprivate.h b/glib/gthreadprivate.h
index 34ba6126b..2ae705d4f 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -4,6 +4,8 @@
*
* Copyright (C) 2003 Sebastian Wilhelmi
*
+ * 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/gtimer.c b/glib/gtimer.c
index c6a11409d..d2d259918 100644
--- a/glib/gtimer.c
+++ b/glib/gtimer.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/gtimer.h b/glib/gtimer.h
index 28794d167..439ffad98 100644
--- a/glib/gtimer.h
+++ b/glib/gtimer.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/gtimezone.c b/glib/gtimezone.c
index a37dbe2e1..ef0b62890 100644
--- a/glib/gtimezone.c
+++ b/glib/gtimezone.c
@@ -1,6 +1,8 @@
/*
* 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
diff --git a/glib/gtimezone.h b/glib/gtimezone.h
index d68a76d3e..679ed4e95 100644
--- a/glib/gtimezone.h
+++ b/glib/gtimezone.h
@@ -1,6 +1,8 @@
/*
* 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
diff --git a/glib/gtrace-private.h b/glib/gtrace-private.h
index 31082c662..c57f3cbc3 100644
--- a/glib/gtrace-private.h
+++ b/glib/gtrace-private.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2020 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/glib/gtrace.c b/glib/gtrace.c
index c3c36533d..0ca1bb418 100644
--- a/glib/gtrace.c
+++ b/glib/gtrace.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2020 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/glib/gtranslit.c b/glib/gtranslit.c
index 3cffe1d2d..c264241cc 100644
--- a/glib/gtranslit.c
+++ b/glib/gtranslit.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2014 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/glib/gtrashstack.c b/glib/gtrashstack.c
index e2beaf32f..f734e2437 100644
--- a/glib/gtrashstack.c
+++ b/glib/gtrashstack.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 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/gtrashstack.h b/glib/gtrashstack.h
index 0730ec296..81456d397 100644
--- a/glib/gtrashstack.h
+++ b/glib/gtrashstack.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/gtree.c b/glib/gtree.c
index 6ed917514..bbd609e5b 100644
--- a/glib/gtree.c
+++ b/glib/gtree.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/gtree.h b/glib/gtree.h
index d1e9107bf..27c6f29a5 100644
--- a/glib/gtree.h
+++ b/glib/gtree.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/gtypes.h b/glib/gtypes.h
index fe11ebe6f..3ea840149 100644
--- a/glib/gtypes.h
+++ b/glib/gtypes.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/gunibreak.c b/glib/gunibreak.c
index 334acd3d4..66c475634 100644
--- a/glib/gunibreak.c
+++ b/glib/gunibreak.c
@@ -2,6 +2,8 @@
*
* Copyright 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/glib/gunicode.h b/glib/gunicode.h
index 15972a68e..f2849dd77 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -3,6 +3,8 @@
* Copyright (C) 1999, 2000 Tom Tromey
* Copyright 2000, 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/glib/gunicodeprivate.h b/glib/gunicodeprivate.h
index 6334960f3..9d932aff8 100644
--- a/glib/gunicodeprivate.h
+++ b/glib/gunicodeprivate.h
@@ -2,6 +2,8 @@
*
* Copyright (C) 2003 Noah Levitt
*
+ * 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/gunicollate.c b/glib/gunicollate.c
index 3f24f98b1..dbce0de1d 100644
--- a/glib/gunicollate.c
+++ b/glib/gunicollate.c
@@ -2,6 +2,8 @@
*
* Copyright 2001,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/glib/gunidecomp.c b/glib/gunidecomp.c
index feaa25c42..0447c7f14 100644
--- a/glib/gunidecomp.c
+++ b/glib/gunidecomp.c
@@ -3,6 +3,8 @@
* Copyright (C) 1999, 2000 Tom Tromey
* Copyright 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/glib/guniprop.c b/glib/guniprop.c
index aac833bc8..1c4e99b59 100644
--- a/glib/guniprop.c
+++ b/glib/guniprop.c
@@ -3,6 +3,8 @@
* Copyright (C) 1999 Tom Tromey
* 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/glib/guri.c b/glib/guri.c
index a698b07ed..5fa668873 100644
--- a/glib/guri.c
+++ b/glib/guri.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright © 2020 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/glib/guri.h b/glib/guri.h
index bfe9399a4..5989eabc4 100644
--- a/glib/guri.h
+++ b/glib/guri.h
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright © 2020 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/glib/guriprivate.h b/glib/guriprivate.h
index c1ade30f2..af39b4068 100644
--- a/glib/guriprivate.h
+++ b/glib/guriprivate.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2020 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/glib/gutf8.c b/glib/gutf8.c
index bb9d6fba0..072d23563 100644
--- a/glib/gutf8.c
+++ b/glib/gutf8.c
@@ -3,6 +3,8 @@
* Copyright (C) 1999 Tom Tromey
* 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/glib/gutils.c b/glib/gutils.c
index 814a42bd5..78ccd6121 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 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/gutils.h b/glib/gutils.h
index 7013d0df7..d50ef709e 100644
--- a/glib/gutils.h
+++ b/glib/gutils.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/gutilsprivate.h b/glib/gutilsprivate.h
index a3996f8b7..77bed4e87 100644
--- a/glib/gutilsprivate.h
+++ b/glib/gutilsprivate.h
@@ -1,6 +1,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/glib/gvalgrind.h b/glib/gvalgrind.h
index 053c75a98..696a0997a 100644
--- a/glib/gvalgrind.h
+++ b/glib/gvalgrind.h
@@ -1,6 +1,8 @@
/*
* Copyright 2018 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/glib/gvariant-core.c b/glib/gvariant-core.c
index a31d396dd..ad0bab5b6 100644
--- a/glib/gvariant-core.c
+++ b/glib/gvariant-core.c
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* 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
diff --git a/glib/gvariant-core.h b/glib/gvariant-core.h
index fc04711ac..a1c34739a 100644
--- a/glib/gvariant-core.h
+++ b/glib/gvariant-core.h
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* 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
diff --git a/glib/gvariant-internal.h b/glib/gvariant-internal.h
index f7536da71..096cd64b3 100644
--- a/glib/gvariant-internal.h
+++ b/glib/gvariant-internal.h
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* Copyright © 2009, 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
diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c
index 1b89259d3..2f2f75ab7 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2009, 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
diff --git a/glib/gvariant-serialiser.c b/glib/gvariant-serialiser.c
index 7b13381b6..3af68b79b 100644
--- a/glib/gvariant-serialiser.c
+++ b/glib/gvariant-serialiser.c
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* 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
diff --git a/glib/gvariant-serialiser.h b/glib/gvariant-serialiser.h
index 859cb7bfe..6ced7e3d6 100644
--- a/glib/gvariant-serialiser.h
+++ b/glib/gvariant-serialiser.h
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* 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
diff --git a/glib/gvariant.c b/glib/gvariant.c
index 6384174ca..ef92bcf9a 100644
--- a/glib/gvariant.c
+++ b/glib/gvariant.c
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* 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
diff --git a/glib/gvariant.h b/glib/gvariant.h
index 7ba586c61..e7087a1f6 100644
--- a/glib/gvariant.h
+++ b/glib/gvariant.h
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* Copyright © 2009, 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
diff --git a/glib/gvarianttype.c b/glib/gvarianttype.c
index cc97235f3..58a4a59c9 100644
--- a/glib/gvarianttype.c
+++ b/glib/gvarianttype.c
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* Copyright © 2009, 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
diff --git a/glib/gvarianttype.h b/glib/gvarianttype.h
index fdc364166..6374957f5 100644
--- a/glib/gvarianttype.h
+++ b/glib/gvarianttype.h
@@ -2,6 +2,8 @@
* Copyright © 2007, 2008 Ryan Lortie
* Copyright © 2009, 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
diff --git a/glib/gvarianttypeinfo.c b/glib/gvarianttypeinfo.c
index 6fdde8f8e..2b310581c 100644
--- a/glib/gvarianttypeinfo.c
+++ b/glib/gvarianttypeinfo.c
@@ -2,6 +2,8 @@
* Copyright © 2008 Ryan Lortie
* 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
diff --git a/glib/gvarianttypeinfo.h b/glib/gvarianttypeinfo.h
index cff0dba6e..1cfdf6f93 100644
--- a/glib/gvarianttypeinfo.h
+++ b/glib/gvarianttypeinfo.h
@@ -2,6 +2,8 @@
* Copyright © 2008 Ryan Lortie
* 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
diff --git a/glib/gversion.c b/glib/gversion.c
index cc29a6742..b12929bbb 100644
--- a/glib/gversion.c
+++ b/glib/gversion.c
@@ -1,6 +1,8 @@
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1998 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/gversion.h b/glib/gversion.h
index 68343f727..d15f54819 100644
--- a/glib/gversion.h
+++ b/glib/gversion.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/gversionmacros.h b/glib/gversionmacros.h
index 143e04824..4ec9e06b6 100644
--- a/glib/gversionmacros.h
+++ b/glib/gversionmacros.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/gwakeup.c b/glib/gwakeup.c
index f1062489c..0f76be62b 100644
--- a/glib/gwakeup.c
+++ b/glib/gwakeup.c
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 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/glib/gwakeup.h b/glib/gwakeup.h
index 64db2bf86..0905fde2f 100644
--- a/glib/gwakeup.h
+++ b/glib/gwakeup.h
@@ -1,6 +1,8 @@
/*
* Copyright © 2011 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/glib/gwin32-private.c b/glib/gwin32-private.c
index 68d4703b5..c863e2806 100644
--- a/glib/gwin32-private.c
+++ b/glib/gwin32-private.c
@@ -2,6 +2,8 @@
*
* Copyright 2019 Руслан Ижбулатов
*
+ * 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/gwin32.c b/glib/gwin32.c
index 0a34ed98d..d1391b1d2 100644
--- a/glib/gwin32.c
+++ b/glib/gwin32.c
@@ -2,6 +2,8 @@
* Copyright (C) 1995-1998 Peter Mattis, Spencer Kimball and Josh MacDonald
* Copyright (C) 1998-1999 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/glib/gwin32.h b/glib/gwin32.h
index 6696afa9a..e38a7f90a 100644
--- a/glib/gwin32.h
+++ b/glib/gwin32.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