[glib: 2/5] glib: Add SPDX license headers automatically




commit 70ee43f1e9695b78908e10f7619998052ce62611
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed May 18 09:15:38 2022 +0100

    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

 glib/docs.c                | 2 ++
 glib/galloca.h             | 2 ++
 glib/garcbox.c             | 2 ++
 glib/garray.c              | 2 ++
 glib/garray.h              | 2 ++
 glib/gasyncqueue.c         | 2 ++
 glib/gasyncqueue.h         | 2 ++
 glib/gasyncqueueprivate.h  | 2 ++
 glib/gatomic.c             | 2 ++
 glib/gatomic.h             | 2 ++
 glib/gbacktrace.c          | 2 ++
 glib/gbacktrace.h          | 2 ++
 glib/gbase64.c             | 2 ++
 glib/gbase64.h             | 2 ++
 glib/gbitlock.c            | 2 ++
 glib/gbitlock.h            | 2 ++
 glib/gbookmarkfile.c       | 2 ++
 glib/gbookmarkfile.h       | 2 ++
 glib/gbytes.c              | 2 ++
 glib/gbytes.h              | 2 ++
 glib/gcharset.c            | 2 ++
 glib/gcharset.h            | 2 ++
 glib/gcharsetprivate.h     | 2 ++
 glib/gchecksum.c           | 2 ++
 glib/gchecksum.h           | 2 ++
 glib/gconstructor.h        | 2 ++
 glib/gconvert.c            | 2 ++
 glib/gconvert.h            | 2 ++
 glib/gconvertprivate.h     | 2 ++
 glib/gdataset.c            | 2 ++
 glib/gdataset.h            | 2 ++
 glib/gdatasetprivate.h     | 2 ++
 glib/gdate.c               | 2 ++
 glib/gdate.h               | 2 ++
 glib/gdir.c                | 2 ++
 glib/gdir.h                | 2 ++
 glib/genviron.c            | 2 ++
 glib/genviron.h            | 2 ++
 glib/gerror.c              | 2 ++
 glib/gerror.h              | 2 ++
 glib/gfileutils.c          | 2 ++
 glib/gfileutils.h          | 2 ++
 glib/ggettext.c            | 2 ++
 glib/ggettext.h            | 2 ++
 glib/ghash.c               | 2 ++
 glib/ghash.h               | 2 ++
 glib/ghmac.c               | 2 ++
 glib/ghmac.h               | 2 ++
 glib/ghook.c               | 2 ++
 glib/ghook.h               | 2 ++
 glib/ghostutils.c          | 2 ++
 glib/ghostutils.h          | 2 ++
 glib/gi18n-lib.h           | 2 ++
 glib/gi18n.h               | 2 ++
 glib/giochannel.c          | 2 ++
 glib/giochannel.h          | 2 ++
 glib/giounix.c             | 2 ++
 glib/giowin32.c            | 2 ++
 glib/gkeyfile.c            | 2 ++
 glib/gkeyfile.h            | 2 ++
 glib/glib-autocleanups.h   | 2 ++
 glib/glib-init.c           | 2 ++
 glib/glib-init.h           | 2 ++
 glib/glib-object.h         | 2 ++
 glib/glib-private.c        | 2 ++
 glib/glib-private.h        | 2 ++
 glib/glib-typeof.h         | 2 ++
 glib/glib-unix.c           | 2 ++
 glib/glib-unix.h           | 2 ++
 glib/glib.h                | 2 ++
 glib/glib_trace.h          | 2 ++
 glib/glist.c               | 2 ++
 glib/glist.h               | 2 ++
 glib/gmacros.h             | 2 ++
 glib/gmain-internal.h      | 2 ++
 glib/gmain.c               | 2 ++
 glib/gmain.h               | 2 ++
 glib/gmappedfile.c         | 2 ++
 glib/gmappedfile.h         | 2 ++
 glib/gmarkup.c             | 2 ++
 glib/gmarkup.h             | 2 ++
 glib/gmem.c                | 2 ++
 glib/gmem.h                | 2 ++
 glib/gmessages.c           | 2 ++
 glib/gmessages.h           | 2 ++
 glib/gnode.c               | 2 ++
 glib/gnode.h               | 2 ++
 glib/goption.c             | 2 ++
 glib/goption.h             | 2 ++
 glib/gpattern.c            | 2 ++
 glib/gpattern.h            | 2 ++
 glib/gpoll.c               | 2 ++
 glib/gpoll.h               | 2 ++
 glib/gprimes.c             | 2 ++
 glib/gprimes.h             | 2 ++
 glib/gprintf.c             | 2 ++
 glib/gprintf.h             | 2 ++
 glib/gprintfint.h          | 2 ++
 glib/gqsort.c              | 2 ++
 glib/gqsort.h              | 2 ++
 glib/gquark.c              | 2 ++
 glib/gquark.h              | 2 ++
 glib/gqueue.c              | 2 ++
 glib/gqueue.h              | 2 ++
 glib/grand.c               | 2 ++
 glib/grand.h               | 2 ++
 glib/grcbox.c              | 2 ++
 glib/grcbox.h              | 2 ++
 glib/grcboxprivate.h       | 2 ++
 glib/grefcount.c           | 2 ++
 glib/grefcount.h           | 2 ++
 glib/grefstring.c          | 2 ++
 glib/grefstring.h          | 2 ++
 glib/gregex.c              | 2 ++
 glib/gregex.h              | 2 ++
 glib/gscanner.c            | 2 ++
 glib/gscanner.h            | 2 ++
 glib/gsequence.c           | 2 ++
 glib/gsequence.h           | 2 ++
 glib/gshell.c              | 2 ++
 glib/gshell.h              | 2 ++
 glib/gslice.c              | 2 ++
 glib/gslice.h              | 2 ++
 glib/gslist.c              | 2 ++
 glib/gslist.h              | 2 ++
 glib/gspawn-private.h      | 2 ++
 glib/gspawn-win32-helper.c | 2 ++
 glib/gspawn-win32.c        | 2 ++
 glib/gspawn.c              | 2 ++
 glib/gspawn.h              | 2 ++
 glib/gstdio-private.c      | 2 ++
 glib/gstdio.c              | 2 ++
 glib/gstdio.h              | 2 ++
 glib/gstdioprivate.h       | 2 ++
 glib/gstrfuncs.c           | 2 ++
 glib/gstrfuncs.h           | 2 ++
 glib/gstring.c             | 2 ++
 glib/gstring.h             | 2 ++
 glib/gstringchunk.c        | 2 ++
 glib/gstringchunk.h        | 2 ++
 glib/gstrvbuilder.c        | 2 ++
 glib/gstrvbuilder.h        | 2 ++
 glib/gtester.c             | 2 ++
 glib/gtestutils.c          | 2 ++
 glib/gtestutils.h          | 2 ++
 glib/gthread-posix.c       | 2 ++
 glib/gthread-win32.c       | 2 ++
 glib/gthread.c             | 2 ++
 glib/gthread.h             | 2 ++
 glib/gthreadpool.c         | 2 ++
 glib/gthreadpool.h         | 2 ++
 glib/gthreadprivate.h      | 2 ++
 glib/gtimer.c              | 2 ++
 glib/gtimer.h              | 2 ++
 glib/gtimezone.c           | 2 ++
 glib/gtimezone.h           | 2 ++
 glib/gtrace-private.h      | 2 ++
 glib/gtrace.c              | 2 ++
 glib/gtranslit.c           | 2 ++
 glib/gtrashstack.c         | 2 ++
 glib/gtrashstack.h         | 2 ++
 glib/gtree.c               | 2 ++
 glib/gtree.h               | 2 ++
 glib/gtypes.h              | 2 ++
 glib/gunibreak.c           | 2 ++
 glib/gunicode.h            | 2 ++
 glib/gunicodeprivate.h     | 2 ++
 glib/gunicollate.c         | 2 ++
 glib/gunidecomp.c          | 2 ++
 glib/guniprop.c            | 2 ++
 glib/guri.c                | 2 ++
 glib/guri.h                | 2 ++
 glib/guriprivate.h         | 2 ++
 glib/gutf8.c               | 2 ++
 glib/gutils.c              | 2 ++
 glib/gutils.h              | 2 ++
 glib/gutilsprivate.h       | 2 ++
 glib/gvalgrind.h           | 2 ++
 glib/gvariant-core.c       | 2 ++
 glib/gvariant-core.h       | 2 ++
 glib/gvariant-internal.h   | 2 ++
 glib/gvariant-parser.c     | 2 ++
 glib/gvariant-serialiser.c | 2 ++
 glib/gvariant-serialiser.h | 2 ++
 glib/gvariant.c            | 2 ++
 glib/gvariant.h            | 2 ++
 glib/gvarianttype.c        | 2 ++
 glib/gvarianttype.h        | 2 ++
 glib/gvarianttypeinfo.c    | 2 ++
 glib/gvarianttypeinfo.h    | 2 ++
 glib/gversion.c            | 2 ++
 glib/gversion.h            | 2 ++
 glib/gversionmacros.h      | 2 ++
 glib/gwakeup.c             | 2 ++
 glib/gwakeup.h             | 2 ++
 glib/gwin32-private.c      | 2 ++
 glib/gwin32.c              | 2 ++
 glib/gwin32.h              | 2 ++
 198 files changed, 396 insertions(+)
---
diff --git a/glib/docs.c b/glib/docs.c
index 9d6321b8a4..e1c6212440 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 86f0d7665a..db01fe52e2 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 70aebb6edd..d69e75de18 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 1ab3beeda3..8dfba17b5c 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 67131b5b3b..6225bc283f 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 98c7d8a603..c824751afc 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 73e537b079..b1de117f2d 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 b1622c54c0..e6fd9cddf8 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 0bc67aa35e..b317601b51 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 8b2b880c8d..086aae3682 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 77cef100a5..cb02c8a1b6 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 09b8ccbd3d..11293b318f 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 f2d110e2e9..3c427f8a4a 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 662c597ff9..4cb9ef24c0 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 9384d1a441..81bfb339f3 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 8054bc8ae5..bef2c09263 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 51dfa23d36..5ae1ad6642 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 82ea98d5d0..e401862028 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 a6ca0e300e..e4d269710e 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 37cad861d4..d93498943f 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 09d3fa4cca..573f8c0551 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 82020f6047..144ec7a00d 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 9b1def278e..cddfc591e2 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 29b479bc66..fea7803cd7 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 5bb52d8242..e5c54e7c75 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 c5e0dfaa6e..29509e4a4b 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 4ae0630d5d..829fe38dec 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 be58ecfbe1..81b41c0498 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 5bdc87ff68..1a5504116a 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 796d203d8f..758c032ab3 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 89a34c71af..a85179c60d 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 eb95278f15..f22cf381f9 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 a508c48057..85892ec9b6 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 65fe811fa9..fcf227344d 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 b07eb5c206..c9283dea43 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 8f9d6bd7cc..0d3ee82b30 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 485531ca25..b72871b959 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 c4bf01a5ab..3ac38464d8 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 bd54088721..61817fa7bc 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 33e1d5aa52..1aebfbeb92 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 8681b1326e..4ee16e894f 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 4c96332248..c056dd0341 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 303b9b9b6a..42f3d0e72f 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 036f9d5348..33a1fbe816 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 3d71643c7f..5fb722c04b 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 4e81d62632..cbd2f98bf7 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 16e0e48f2e..7ad28d6f08 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 36e24eb29b..346b45136e 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 00187bf79d..3db220187e 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 83ad1bdefc..1bd858219e 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 24a7d37bbd..db6d68793a 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 59d2d41edc..6f350976f3 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 74e50a3a8c..fe9e79dbd9 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 5f996d24e8..dbb2cb3a56 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 12ca051ad7..6c72667200 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 82743602a7..f6624b9939 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 ad3aba25b3..b6345b6c68 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 7282e1a543..b9b481921e 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 6460970445..b5a2ed5ef7 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 7a1004841a..9d026d681d 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 6457eaff8f..e2e0075e5a 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 e7b4984e6c..00f6c3c66e 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 73e186199d..2ce2f0d46e 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 915a299013..b00392d8c4 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 321efc1d6e..b78f0a22eb 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 39b7c0a8e7..de91227548 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 198901c295..f00e2495df 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 fd799eaf77..f5ca6d8449 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 53f193b879..7cf4f0dc83 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 e72c09da56..cfd28ce0d5 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 fdb8f8c467..caa5e48d4c 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 cb9f5003eb..754a3ec525 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 ddea3cf35b..2a453b79f5 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 d528531f4a..8001a448e8 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 5a01599d93..df9367727e 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 4c1403a955..74568b8a90 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 895814a9ce..2cfa043cc9 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 fb42011b54..16b38b358c 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 8256811e6c..4f5f6981b5 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 cfebed3e24..2f94502166 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 96375b55a1..ae6976b154 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 060e91af9b..f6c806552b 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 d29907a670..bae51fa47b 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 011793556e..97c5b31b1d 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 c7efd53765..119b72e910 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 4becb683d5..b9a68c2f6f 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 693e6154da..94ab99621d 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 6806013a2f..0b3a05e900 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 04638e4a55..3d525a5484 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 8725f509f0..09bdd5ad90 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 2d7f830771..c8ceb84d27 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 bd29ea623d..5afc7596d1 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 2cbd697298..bd72bc4286 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 1f6a315298..cd412540b3 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 0b6ea850db..f35b5fd6f0 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 7a88033517..818a55ad25 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 429de7a24e..78b25202c9 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 9ccf2eb476..cb4b5871b2 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 86580f524e..a5060e4038 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 2ecd75fae0..c04c0381e5 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 2799b7d570..cdd9bdf9aa 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 1822c4bf7b..d0c44039f9 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 d53af7dedc..a5c4f183b5 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 65d609f1ae..c3a28c843d 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 a7f5f43fde..1c56d01956 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 d64e502536..c4ae956aa6 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 68bb73da77..2538157a85 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 0f8b99a809..f101e43a4e 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 73b578d40e..4563db1b00 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 6826a00051..f682de7637 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 599dac978e..88fc716e74 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 56a6181fcf..f201897865 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 c27767c71c..ae7d173fcf 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 1aa8416ff6..2fa0698911 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 b982f6931a..89c8485471 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 5f342183c5..451feb67b0 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 d87b4533ec..bbad353e2c 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 9cf1e8d3e4..ead827d466 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 6dce2f4fba..c1b3404935 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 ed893905ee..82e7bd76e1 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 798dd78084..4084b69cb8 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 4e999202ea..36fa0841f3 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 002410635d..eb6778629d 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 0e76de974f..7d4051c244 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 2494179864..c8e0cf2281 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 16f816c893..400c173cff 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 ee68f8eb74..72b49baf61 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 ffda37f539..3ce21819f4 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 0a2cbe54ae..ed383206d1 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 0bcadf4cdf..e651aa9003 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 6d86ce48c4..d00cfa3bdd 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 45180eba8d..f48263d0a4 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 4af0efdb60..441029848c 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 25f4747167..ecc354adaa 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 9273533098..21ec0b578e 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 2b44c9a55c..37d2728d89 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 0a509e5e5a..6abb70b39e 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 eec4c138fc..17a7e3c2d3 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 feacb154fb..f4cf6cfc98 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 8d445e349c..a79a4cb0b0 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 07030b92ff..5ef7dcc047 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 48aee0128d..c8acbaaddf 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 c48ecaf945..af1f29164c 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 dca4badcfc..09c70d484c 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 29ca76b65f..3369f5fc6e 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 8c403f975a..028a2553ed 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 e7a4cde7b7..8010520500 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 08389468ca..8b3a9ced1e 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 a30815eb89..e96632b91f 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 c7d587a566..bcbb9e2d3e 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 f2501b88ba..921bee4481 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 34ba6126bd..2ae705d4f5 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 c6a11409d5..d2d259918d 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 28794d167e..439ffad980 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 a37dbe2e11..ef0b628904 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 d68a76d3e9..679ed4e954 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 31082c6621..c57f3cbc3f 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 c3c36533d8..0ca1bb418c 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 3cffe1d2d0..c264241cc2 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 e2beaf32f7..f734e24372 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 0730ec296a..81456d397b 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 6ed9175147..bbd609e5b9 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 d1e9107bfb..27c6f29a58 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 fe11ebe6fe..3ea840149a 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 334acd3d42..66c475634d 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 15972a68e6..f2849dd779 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 6334960f3e..9d932aff80 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 3f24f98b1f..dbce0de1d3 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 feaa25c42d..0447c7f14e 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 aac833bc8e..1c4e99b599 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 a698b07ed5..5fa6688734 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 bfe9399a4b..5989eabc49 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 c1ade30f29..af39b4068b 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 bb9d6fba0b..072d23563c 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 814a42bd5b..78ccd61214 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 7013d0df73..d50ef709ec 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 a3996f8b71..77bed4e87b 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 053c75a987..696a0997ad 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 a31d396ddc..ad0bab5b62 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 fc04711aca..a1c34739a3 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 f7536da711..096cd64b3f 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 1b89259d3c..2f2f75ab77 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 7b13381b6f..3af68b79b2 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 859cb7bfe7..6ced7e3d6c 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 6384174ca7..ef92bcf9ac 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 7ba586c611..e7087a1f6a 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 cc97235f39..58a4a59c92 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 fdc3641660..6374957f5f 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 6fdde8f8ee..2b310581c4 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 cff0dba6ee..1cfdf6f93b 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 cc29a67429..b12929bbb4 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 68343f7278..d15f548196 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 143e048241..4ec9e06b6d 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 f1062489c0..0f76be62bd 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 64db2bf86a..0905fde2fe 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 68d4703b5b..c863e2806c 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 0a34ed98d9..d1391b1d2d 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 6696afa9aa..e38a7f90ac 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]