[glib: 2/4] Add SPDX license headers for LGPL-2.1-or-later to various files




commit 26409f19cd9460b460a100603147e571ef7ffbca
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Jun 1 12:44:23 2022 +0100

    Add SPDX license headers for LGPL-2.1-or-later to various files
    
    These have all been added manually, as I’ve finished all the files which
    I can automatically detect.
    
    All the license headers in this commit are for LGPL-2.1-or-later, and
    all have been double-checked against the license paragraph in the file
    header.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1415

 gio/gcocoanotificationbackend.m       | 2 ++
 gio/gmenuexporter.c                   | 2 ++
 gio/gmenuexporter.h                   | 2 ++
 gio/gnetworking.h.in                  | 2 ++
 gio/gnextstepsettingsbackend.m        | 2 ++
 gio/gosxappinfo.m                     | 2 ++
 gio/gportalnotificationbackend.c      | 2 ++
 gio/tests/codegen.py                  | 2 ++
 gio/tests/cxx.cpp                     | 2 ++
 gio/tests/gdbus-sessionbus.h          | 2 ++
 gio/tests/gdbus-tests.h               | 2 ++
 gio/tests/gnotification-server.h      | 2 ++
 gio/tests/gtesttlsbackend.h           | 2 ++
 gio/tests/gtlsconsoleinteraction.h    | 2 ++
 gio/tests/mock-resolver.h             | 2 ++
 gio/tests/network-monitor-race.c      | 2 ++
 gio/tests/static-link.py              | 2 ++
 gio/tests/test-io-stream.h            | 2 ++
 gio/tests/test-pipe-unix.h            | 2 ++
 gio/tests/trash.c                     | 2 ++
 glib/deprecated/gcache.c              | 2 ++
 glib/deprecated/gcache.h              | 2 ++
 glib/deprecated/gcompletion.c         | 2 ++
 glib/deprecated/gcompletion.h         | 2 ++
 glib/deprecated/gmain.h               | 2 ++
 glib/deprecated/grel.c                | 2 ++
 glib/deprecated/grel.h                | 2 ++
 glib/deprecated/gthread-deprecated.c  | 2 ++
 glib/deprecated/gthread.h             | 2 ++
 glib/gdatetime.c                      | 2 ++
 glib/gdatetime.h                      | 2 ++
 glib/tests/1bit-mutex.c               | 2 ++
 glib/tests/642026.c                   | 2 ++
 glib/tests/atomic.c                   | 2 ++
 glib/tests/bytes.c                    | 2 ++
 glib/tests/charset.c                  | 2 ++
 glib/tests/cxx.cpp                    | 2 ++
 glib/tests/gdatetime.c                | 2 ++
 glib/tests/gpoll.c                    | 2 ++
 glib/tests/gutils-user-database.c     | 2 ++
 glib/tests/guuid.c                    | 2 ++
 glib/tests/markup-collect.c           | 2 ++
 glib/tests/markup-subparser.c         | 2 ++
 glib/tests/slice-eager-freeing.c      | 2 ++
 glib/tests/slice-glib.c               | 2 ++
 glib/tests/slice-malloc.c             | 2 ++
 glib/tests/slice-memchunk.c           | 2 ++
 glib/tests/slice-slab.c               | 2 ++
 gmodule/gmodule-ar.c                  | 2 ++
 gmodule/gmodule-dl.c                  | 2 ++
 gmodule/gmodule-win32.c               | 2 ++
 gmodule/gmodule.c                     | 2 ++
 gmodule/gmodule.h                     | 2 ++
 gmodule/gmoduleconf.h.in              | 2 ++
 gmodule/tests/cxx.cpp                 | 2 ++
 gmodule/tests/libmoduletestplugin_a.c | 2 ++
 gmodule/tests/libmoduletestplugin_b.c | 2 ++
 gmodule/tests/module-test.c           | 2 ++
 gobject/gatomicarray.c                | 2 ++
 gobject/gatomicarray.h                | 2 ++
 gobject/gbinding.c                    | 2 ++
 gobject/gbinding.h                    | 2 ++
 gobject/gboxed.c                      | 2 ++
 gobject/gboxed.h                      | 2 ++
 gobject/gclosure.c                    | 2 ++
 gobject/gclosure.h                    | 2 ++
 gobject/genums.c                      | 2 ++
 gobject/genums.h                      | 2 ++
 gobject/glib-types.h                  | 2 ++
 gobject/gobject-autocleanups.h        | 2 ++
 gobject/gobject-query.c               | 2 ++
 gobject/gobject.c                     | 2 ++
 gobject/gobject.h                     | 2 ++
 gobject/gobject_trace.h               | 2 ++
 gobject/gobjectnotifyqueue.c          | 2 ++
 gobject/gparam.c                      | 2 ++
 gobject/gparam.h                      | 2 ++
 gobject/gparamspecs.c                 | 2 ++
 gobject/gparamspecs.h                 | 2 ++
 gobject/gsignal.c                     | 2 ++
 gobject/gsignal.h                     | 2 ++
 gobject/gsourceclosure.c              | 2 ++
 gobject/gsourceclosure.h              | 2 ++
 gobject/gtype-private.h               | 2 ++
 gobject/gtype.c                       | 2 ++
 gobject/gtype.h                       | 2 ++
 gobject/gtypemodule.c                 | 2 ++
 gobject/gtypemodule.h                 | 2 ++
 gobject/gtypeplugin.c                 | 2 ++
 gobject/gtypeplugin.h                 | 2 ++
 gobject/gvalue.c                      | 2 ++
 gobject/gvalue.h                      | 2 ++
 gobject/gvaluearray.c                 | 2 ++
 gobject/gvaluearray.h                 | 2 ++
 gobject/gvaluecollector.h             | 2 ++
 gobject/gvaluetransform.c             | 2 ++
 gobject/gvaluetypes.c                 | 2 ++
 gobject/gvaluetypes.h                 | 2 ++
 gobject/tests/cxx.cpp                 | 2 ++
 gobject/tests/genmarshal.py           | 2 ++
 gobject/tests/mkenums.py              | 2 ++
 gobject/tests/qdata.c                 | 2 ++
 gthread/gthread-impl.c                | 2 ++
 103 files changed, 206 insertions(+)
---
diff --git a/gio/gcocoanotificationbackend.m b/gio/gcocoanotificationbackend.m
index 42cf8abcf5..1f5549e0c8 100644
--- a/gio/gcocoanotificationbackend.m
+++ b/gio/gcocoanotificationbackend.m
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2015 Patrick Griffis
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/gmenuexporter.c b/gio/gmenuexporter.c
index a212b29f3e..8d6dfe421f 100644
--- a/gio/gmenuexporter.c
+++ b/gio/gmenuexporter.c
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2011 Canonical Ltd.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  License as published by the Free Software Foundation; either
diff --git a/gio/gmenuexporter.h b/gio/gmenuexporter.h
index 650aaf0ed6..f3991663de 100644
--- a/gio/gmenuexporter.h
+++ b/gio/gmenuexporter.h
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2011 Canonical Ltd.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  License as published by the Free Software Foundation; either
diff --git a/gio/gnetworking.h.in b/gio/gnetworking.h.in
index 2fa95ff65d..96430bdeca 100644
--- a/gio/gnetworking.h.in
+++ b/gio/gnetworking.h.in
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2008-2011 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/gnextstepsettingsbackend.m b/gio/gnextstepsettingsbackend.m
index c09d995b60..9e1862b83d 100644
--- a/gio/gnextstepsettingsbackend.m
+++ b/gio/gnextstepsettingsbackend.m
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2011 William Hua
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/gosxappinfo.m b/gio/gosxappinfo.m
index 03c3737788..8689cecc34 100644
--- a/gio/gosxappinfo.m
+++ b/gio/gosxappinfo.m
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2014 Patrick Griffis
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/gportalnotificationbackend.c b/gio/gportalnotificationbackend.c
index b0d67aa2ae..f82b9250cd 100644
--- a/gio/gportalnotificationbackend.c
+++ b/gio/gportalnotificationbackend.c
@@ -1,6 +1,8 @@
 /*
 * Copyright © 2016 Red Hat, Inc.
 *
+* SPDX-License-Identifier: LGPL-2.1-or-later
+*
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
diff --git a/gio/tests/codegen.py b/gio/tests/codegen.py
index 6ea8e2f83a..76e289a800 100644
--- a/gio/tests/codegen.py
+++ b/gio/tests/codegen.py
@@ -3,6 +3,8 @@
 #
 # Copyright © 2018, 2019 Endless Mobile, Inc.
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
diff --git a/gio/tests/cxx.cpp b/gio/tests/cxx.cpp
index 1f28d0b27a..60d295b196 100644
--- a/gio/tests/cxx.cpp
+++ b/gio/tests/cxx.cpp
@@ -1,4 +1,6 @@
 /* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi google com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gio/tests/gdbus-sessionbus.h b/gio/tests/gdbus-sessionbus.h
index c756237c02..bd6f2a2ad7 100644
--- a/gio/tests/gdbus-sessionbus.h
+++ b/gio/tests/gdbus-sessionbus.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/gdbus-tests.h b/gio/tests/gdbus-tests.h
index eaef23480d..9cca556567 100644
--- a/gio/tests/gdbus-tests.h
+++ b/gio/tests/gdbus-tests.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2008-2009 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/gnotification-server.h b/gio/tests/gnotification-server.h
index d7b69cc1af..207cc8f7af 100644
--- a/gio/tests/gnotification-server.h
+++ b/gio/tests/gnotification-server.h
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2013 Lars Uebernickel
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/gtesttlsbackend.h b/gio/tests/gtesttlsbackend.h
index 07948fddc0..130845700b 100644
--- a/gio/tests/gtesttlsbackend.h
+++ b/gio/tests/gtesttlsbackend.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2011 Collabora Ltd.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/gtlsconsoleinteraction.h b/gio/tests/gtlsconsoleinteraction.h
index 7860ba2e75..b366cf97ee 100644
--- a/gio/tests/gtlsconsoleinteraction.h
+++ b/gio/tests/gtlsconsoleinteraction.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2011 Collabora, Ltd.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/mock-resolver.h b/gio/tests/mock-resolver.h
index 54391d0c0b..97e7b3f688 100644
--- a/gio/tests/mock-resolver.h
+++ b/gio/tests/mock-resolver.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2018 Igalia S.L.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/network-monitor-race.c b/gio/tests/network-monitor-race.c
index 00bd6fa8e9..0b334b9776 100644
--- a/gio/tests/network-monitor-race.c
+++ b/gio/tests/network-monitor-race.c
@@ -1,6 +1,8 @@
 /*
  * Copyright (C) 2018 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as
  * published by the Free Software Foundation; either version 2.1 of the
diff --git a/gio/tests/static-link.py b/gio/tests/static-link.py
index a8bda5bd38..0dba205878 100755
--- a/gio/tests/static-link.py
+++ b/gio/tests/static-link.py
@@ -3,6 +3,8 @@
 
 # Copyright (C) 2018 Collabora Inc.
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
diff --git a/gio/tests/test-io-stream.h b/gio/tests/test-io-stream.h
index 1331c99701..db2f82db93 100644
--- a/gio/tests/test-io-stream.h
+++ b/gio/tests/test-io-stream.h
@@ -3,6 +3,8 @@
  * Copyright © 2008-2010 Red Hat, Inc.
  * Copyright © 2011 Nokia Corporation
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/test-pipe-unix.h b/gio/tests/test-pipe-unix.h
index 3c47c55545..eb876ffe21 100644
--- a/gio/tests/test-pipe-unix.h
+++ b/gio/tests/test-pipe-unix.h
@@ -3,6 +3,8 @@
  * Copyright © 2008-2010 Red Hat, Inc.
  * Copyright © 2011 Nokia Corporation
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gio/tests/trash.c b/gio/tests/trash.c
index b5fa4be921..63b4fee894 100644
--- a/gio/tests/trash.c
+++ b/gio/tests/trash.c
@@ -1,6 +1,8 @@
 /*
  * Copyright (C) 2018 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as
  * published by the Free Software Foundation; either version 2.1 of the
diff --git a/glib/deprecated/gcache.c b/glib/deprecated/gcache.c
index 9e04145be7..fb0bb18493 100644
--- a/glib/deprecated/gcache.c
+++ b/glib/deprecated/gcache.c
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gcache.h b/glib/deprecated/gcache.h
index e1c1f2cde6..201f7cf5e4 100644
--- a/glib/deprecated/gcache.h
+++ b/glib/deprecated/gcache.h
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gcompletion.c b/glib/deprecated/gcompletion.c
index 5f0979bb00..3bc77d3080 100644
--- a/glib/deprecated/gcompletion.c
+++ b/glib/deprecated/gcompletion.c
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gcompletion.h b/glib/deprecated/gcompletion.h
index 2fd1f0393f..2be87d2767 100644
--- a/glib/deprecated/gcompletion.h
+++ b/glib/deprecated/gcompletion.h
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gmain.h b/glib/deprecated/gmain.h
index 5d08eb6b41..ed01f8e5aa 100644
--- a/glib/deprecated/gmain.h
+++ b/glib/deprecated/gmain.h
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/grel.c b/glib/deprecated/grel.c
index b48ec11733..bca82664a9 100644
--- a/glib/deprecated/grel.c
+++ b/glib/deprecated/grel.c
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/grel.h b/glib/deprecated/grel.h
index 3a65240c1f..071e609b45 100644
--- a/glib/deprecated/grel.h
+++ b/glib/deprecated/grel.h
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gthread-deprecated.c b/glib/deprecated/gthread-deprecated.c
index be98a74b63..eb392fd8b7 100644
--- a/glib/deprecated/gthread-deprecated.c
+++ b/glib/deprecated/gthread-deprecated.c
@@ -5,6 +5,8 @@
  * Copyright 1998 Sebastian Wilhelmi; University of Karlsruhe
  *                Owen Taylor
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index 2d490a1107..a36613691b 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index 7d3d272138..64a739faf2 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -6,6 +6,8 @@
  * Copyright © 2010 Codethink Limited
  * Copyright © 2018 Tomasz Miąsko
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as
  * published by the Free Software Foundation; either version 2.1 of the
diff --git a/glib/gdatetime.h b/glib/gdatetime.h
index 4e1afdf9b9..4312433bd0 100644
--- a/glib/gdatetime.h
+++ b/glib/gdatetime.h
@@ -2,6 +2,8 @@
  * Copyright (C) 2009-2010 Christian Hergert <chris dronelabs com>
  * Copyright © 2010 Codethink Limited
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as
  * published by the Free Software Foundation; either version 2.1 of the
diff --git a/glib/tests/1bit-mutex.c b/glib/tests/1bit-mutex.c
index b7b06d7349..607e3b1eb6 100644
--- a/glib/tests/1bit-mutex.c
+++ b/glib/tests/1bit-mutex.c
@@ -2,6 +2,8 @@
  * Copyright © 2008 Ryan Lortie
  * Copyright © 2010 Codethink Limited
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/642026.c b/glib/tests/642026.c
index 6fed6cd08c..b684e8846b 100644
--- a/glib/tests/642026.c
+++ b/glib/tests/642026.c
@@ -2,6 +2,8 @@
  * Author: Simon McVittie <simon mcvittie collabora co uk>
  * Copyright © 2011 Nokia Corporation
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/atomic.c b/glib/tests/atomic.c
index 8bc100f4eb..40d7ed7f0d 100644
--- a/glib/tests/atomic.c
+++ b/glib/tests/atomic.c
@@ -1,6 +1,8 @@
 /*
  * Copyright 2011 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/bytes.c b/glib/tests/bytes.c
index 8178bc2a84..e81a5f40ee 100644
--- a/glib/tests/bytes.c
+++ b/glib/tests/bytes.c
@@ -1,6 +1,8 @@
 /*
  * Copyright 2011 Collabora Ltd.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/charset.c b/glib/tests/charset.c
index 53f12ec725..6cfab2623a 100644
--- a/glib/tests/charset.c
+++ b/glib/tests/charset.c
@@ -1,6 +1,8 @@
 /*
  * Copyright 2018 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/cxx.cpp b/glib/tests/cxx.cpp
index 6426d43a71..3d8d5d200a 100644
--- a/glib/tests/cxx.cpp
+++ b/glib/tests/cxx.cpp
@@ -1,6 +1,8 @@
 /*
  * Copyright 2020 Xavier Claessens
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
index 141263b662..bc9eda8516 100644
--- a/glib/tests/gdatetime.c
+++ b/glib/tests/gdatetime.c
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2009-2010 Christian Hergert <chris dronelabs com>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/gpoll.c b/glib/tests/gpoll.c
index fe7c3951db..de296ca5f4 100644
--- a/glib/tests/gpoll.c
+++ b/glib/tests/gpoll.c
@@ -2,6 +2,8 @@
  *
  * Copyright © 2017 Руслан Ижбулатов <lrn1986 gmail com>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/gutils-user-database.c b/glib/tests/gutils-user-database.c
index 89a0e0b0f4..e3dec640d7 100644
--- a/glib/tests/gutils-user-database.c
+++ b/glib/tests/gutils-user-database.c
@@ -3,6 +3,8 @@
  *
  * Author: Jakub Jelen <jjelen redhat com>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/guuid.c b/glib/tests/guuid.c
index bfe27955b8..d5e1a840de 100644
--- a/glib/tests/guuid.c
+++ b/glib/tests/guuid.c
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2013-2015, 2017 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/markup-collect.c b/glib/tests/markup-collect.c
index 04b814b6cc..82c9e58173 100644
--- a/glib/tests/markup-collect.c
+++ b/glib/tests/markup-collect.c
@@ -1,6 +1,8 @@
 /* 
  * Copyright © 2007 Ryan Lortie
  * 
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/markup-subparser.c b/glib/tests/markup-subparser.c
index 71b9ac6af5..489b68c263 100644
--- a/glib/tests/markup-subparser.c
+++ b/glib/tests/markup-subparser.c
@@ -1,6 +1,8 @@
 /* 
  * Copyright © 2008 Ryan Lortie
  * 
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/slice-eager-freeing.c b/glib/tests/slice-eager-freeing.c
index 2cccd4f10c..f5cd48eeb6 100644
--- a/glib/tests/slice-eager-freeing.c
+++ b/glib/tests/slice-eager-freeing.c
@@ -1,6 +1,8 @@
 /* GLIB sliced memory - fast threaded memory chunk allocator
  * Copyright (C) 2005 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/slice-glib.c b/glib/tests/slice-glib.c
index 5fbcf41f30..4d5ef2e642 100644
--- a/glib/tests/slice-glib.c
+++ b/glib/tests/slice-glib.c
@@ -1,6 +1,8 @@
 /* GLIB sliced memory - fast threaded memory chunk allocator
  * Copyright (C) 2005 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/slice-malloc.c b/glib/tests/slice-malloc.c
index d554e31b09..fc73d3a3b2 100644
--- a/glib/tests/slice-malloc.c
+++ b/glib/tests/slice-malloc.c
@@ -1,6 +1,8 @@
 /* GLIB sliced memory - fast threaded memory chunk allocator
  * Copyright (C) 2005 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/slice-memchunk.c b/glib/tests/slice-memchunk.c
index 0938eb96f8..52ccfa736a 100644
--- a/glib/tests/slice-memchunk.c
+++ b/glib/tests/slice-memchunk.c
@@ -1,6 +1,8 @@
 /* GLIB sliced memory - fast threaded memory chunk allocator
  * Copyright (C) 2005 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/glib/tests/slice-slab.c b/glib/tests/slice-slab.c
index 7c2b1aa20f..7d80a07490 100644
--- a/glib/tests/slice-slab.c
+++ b/glib/tests/slice-slab.c
@@ -1,6 +1,8 @@
 /* GLIB sliced memory - fast threaded memory chunk allocator
  * Copyright (C) 2005 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmodule-ar.c b/gmodule/gmodule-ar.c
index 8c3f150420..a3966decb2 100644
--- a/gmodule/gmodule-ar.c
+++ b/gmodule/gmodule-ar.c
@@ -1,6 +1,8 @@
 /* GMODULE - GLIB wrapper code for dynamic module loading
  * Copyright (C) 1998, 2000 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c
index 26f6ba0293..c1c2fcec27 100644
--- a/gmodule/gmodule-dl.c
+++ b/gmodule/gmodule-dl.c
@@ -1,6 +1,8 @@
 /* GMODULE - GLIB wrapper code for dynamic module loading
  * Copyright (C) 1998, 2000 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmodule-win32.c b/gmodule/gmodule-win32.c
index cb51949616..bea8412713 100644
--- a/gmodule/gmodule-win32.c
+++ b/gmodule/gmodule-win32.c
@@ -4,6 +4,8 @@
  * Win32 GMODULE implementation
  * Copyright (C) 1998 Tor Lillqvist
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index c722c44275..64d4ea8beb 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -1,6 +1,8 @@
 /* GMODULE - GLIB wrapper code for dynamic module loading
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index c5fd03334e..9744890412 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -1,6 +1,8 @@
 /* GMODULE - GLIB wrapper code for dynamic module loading
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/gmoduleconf.h.in b/gmodule/gmoduleconf.h.in
index 39d6707299..1439ace24e 100644
--- a/gmodule/gmoduleconf.h.in
+++ b/gmodule/gmoduleconf.h.in
@@ -1,6 +1,8 @@
 /* GMODULE - GLIB wrapper code for dynamic module loading
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/tests/cxx.cpp b/gmodule/tests/cxx.cpp
index 85242c59a4..a80f643fd1 100644
--- a/gmodule/tests/cxx.cpp
+++ b/gmodule/tests/cxx.cpp
@@ -1,4 +1,6 @@
 /* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi google com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gmodule/tests/libmoduletestplugin_a.c b/gmodule/tests/libmoduletestplugin_a.c
index cb65f1ce17..519eb7b91b 100644
--- a/gmodule/tests/libmoduletestplugin_a.c
+++ b/gmodule/tests/libmoduletestplugin_a.c
@@ -1,6 +1,8 @@
 /* libgplugin_a.c - test plugin for testgmodule
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/tests/libmoduletestplugin_b.c b/gmodule/tests/libmoduletestplugin_b.c
index aee241bcf3..93e819b18f 100644
--- a/gmodule/tests/libmoduletestplugin_b.c
+++ b/gmodule/tests/libmoduletestplugin_b.c
@@ -1,6 +1,8 @@
 /* libgplugin_b.c - test plugin for testgmodule
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gmodule/tests/module-test.c b/gmodule/tests/module-test.c
index e6cd69ac18..112a2013cc 100644
--- a/gmodule/tests/module-test.c
+++ b/gmodule/tests/module-test.c
@@ -1,6 +1,8 @@
 /* module-test.c - test program for GMODULE
  * Copyright (C) 1998 Tim Janik
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gatomicarray.c b/gobject/gatomicarray.c
index 43111e8c7c..de538715e7 100644
--- a/gobject/gatomicarray.c
+++ b/gobject/gatomicarray.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2009 Benjamin Otte <otte gnome org>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gatomicarray.h b/gobject/gatomicarray.h
index 89043c5e43..f7761cc65a 100644
--- a/gobject/gatomicarray.h
+++ b/gobject/gatomicarray.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2009 Benjamin Otte <otte gnome org>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index a0b5de1027..613144b89f 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2010  Intel Corp.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gbinding.h b/gobject/gbinding.h
index 2b25214235..78aa315f37 100644
--- a/gobject/gbinding.h
+++ b/gobject/gbinding.h
@@ -2,6 +2,8 @@
  *
  * Copyright (C) 2010  Intel Corp.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gboxed.c b/gobject/gboxed.c
index 4a26992574..44da11bf61 100644
--- a/gobject/gboxed.c
+++ b/gobject/gboxed.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000-2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gboxed.h b/gobject/gboxed.h
index bcaf0b01a2..c563dccfc5 100644
--- a/gobject/gboxed.h
+++ b/gobject/gboxed.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000-2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gclosure.c b/gobject/gclosure.c
index 85002a2f57..3abec05616 100644
--- a/gobject/gclosure.c
+++ b/gobject/gclosure.c
@@ -2,6 +2,8 @@
  * Copyright (C) 2000-2001 Red Hat, Inc.
  * Copyright (C) 2005 Imendio AB
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gclosure.h b/gobject/gclosure.h
index 98ec49c5a9..330a1cf70e 100644
--- a/gobject/gclosure.h
+++ b/gobject/gclosure.h
@@ -2,6 +2,8 @@
  * Copyright (C) 2000-2001 Red Hat, Inc.
  * Copyright (C) 2005 Imendio AB
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/genums.c b/gobject/genums.c
index 86a8b73f45..1fe7f7211d 100644
--- a/gobject/genums.c
+++ b/gobject/genums.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/genums.h b/gobject/genums.h
index c66ce45c00..0a90012cd0 100644
--- a/gobject/genums.h
+++ b/gobject/genums.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/glib-types.h b/gobject/glib-types.h
index c54eda99cd..e0922b4205 100644
--- a/gobject/glib-types.h
+++ b/gobject/glib-types.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000-2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobject-autocleanups.h b/gobject/gobject-autocleanups.h
index 1613857ecd..bddb3f290a 100644
--- a/gobject/gobject-autocleanups.h
+++ b/gobject/gobject-autocleanups.h
@@ -1,6 +1,8 @@
 /*
  * Copyright © 2015 Canonical Limited
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c
index 5c3c7dc425..ce57aca473 100644
--- a/gobject/gobject-query.c
+++ b/gobject/gobject-query.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 4b437be15f..0cfb359d95 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobject.h b/gobject/gobject.h
index c67794ae50..521e3cc5a6 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobject_trace.h b/gobject/gobject_trace.h
index 261fdac079..b492360fd0 100644
--- a/gobject/gobject_trace.h
+++ b/gobject/gobject_trace.h
@@ -2,6 +2,8 @@
  * 
  * Copyright (C) 2009,2010 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gobjectnotifyqueue.c b/gobject/gobjectnotifyqueue.c
index 1a7d23f266..48d09ec14a 100644
--- a/gobject/gobjectnotifyqueue.c
+++ b/gobject/gobjectnotifyqueue.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gparam.c b/gobject/gparam.c
index 873f2c3c66..14238521b1 100644
--- a/gobject/gparam.c
+++ b/gobject/gparam.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gparam.h b/gobject/gparam.h
index d92d6f237c..cf8e8dd8d2 100644
--- a/gobject/gparam.h
+++ b/gobject/gparam.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gparamspecs.c b/gobject/gparamspecs.c
index 5a54c667d7..8299b605a2 100644
--- a/gobject/gparamspecs.c
+++ b/gobject/gparamspecs.c
@@ -2,6 +2,8 @@
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  * Copyright (C) 2010 Christian Persch
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gparamspecs.h b/gobject/gparamspecs.h
index 78bf6b82bf..250531eed3 100644
--- a/gobject/gparamspecs.h
+++ b/gobject/gparamspecs.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index fb85fd6ba2..2d3cfe4aa8 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000-2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gsignal.h b/gobject/gsignal.h
index 7b3974a8c4..1ea428eef4 100644
--- a/gobject/gsignal.h
+++ b/gobject/gsignal.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000-2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gsourceclosure.c b/gobject/gsourceclosure.c
index d1b1ee4b34..6a42f779cb 100644
--- a/gobject/gsourceclosure.c
+++ b/gobject/gsourceclosure.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gsourceclosure.h b/gobject/gsourceclosure.h
index 4847677033..9a14252505 100644
--- a/gobject/gsourceclosure.h
+++ b/gobject/gsourceclosure.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtype-private.h b/gobject/gtype-private.h
index 2e0afdd5d4..3321fc9b1c 100644
--- a/gobject/gtype-private.h
+++ b/gobject/gtype-private.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtype.c b/gobject/gtype.c
index ded0acee28..177e446918 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 24b507bb46..4a4cbf90c5 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtypemodule.c b/gobject/gtypemodule.c
index 1c2ab43ea9..a95fbbb596 100644
--- a/gobject/gtypemodule.c
+++ b/gobject/gtypemodule.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h
index 400d7f1b05..881a6f66ef 100644
--- a/gobject/gtypemodule.h
+++ b/gobject/gtypemodule.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtypeplugin.c b/gobject/gtypeplugin.c
index 30e38c1a9d..b6f7f32176 100644
--- a/gobject/gtypeplugin.c
+++ b/gobject/gtypeplugin.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gtypeplugin.h b/gobject/gtypeplugin.h
index de114fee2b..92a72421fd 100644
--- a/gobject/gtypeplugin.h
+++ b/gobject/gtypeplugin.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2000 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvalue.c b/gobject/gvalue.c
index 0977550694..d2da4166f4 100644
--- a/gobject/gvalue.c
+++ b/gobject/gvalue.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvalue.h b/gobject/gvalue.h
index 3630c0b537..d7adca2f50 100644
--- a/gobject/gvalue.h
+++ b/gobject/gvalue.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c
index 83e03f7ecf..07b2ffb91e 100644
--- a/gobject/gvaluearray.c
+++ b/gobject/gvaluearray.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluearray.h b/gobject/gvaluearray.h
index dbc6be765d..465565816e 100644
--- a/gobject/gvaluearray.h
+++ b/gobject/gvaluearray.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluecollector.h b/gobject/gvaluecollector.h
index 5846d77a76..7e7ae021b1 100644
--- a/gobject/gvaluecollector.h
+++ b/gobject/gvaluecollector.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1998-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluetransform.c b/gobject/gvaluetransform.c
index a346a54f10..c0592fd7c1 100644
--- a/gobject/gvaluetransform.c
+++ b/gobject/gvaluetransform.c
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 2001 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c
index 60d7b66475..03f713538b 100644
--- a/gobject/gvaluetypes.c
+++ b/gobject/gvaluetypes.c
@@ -2,6 +2,8 @@
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  * Copyright © 2010 Christian Persch
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h
index f37504b3c8..9aa6ba9cdb 100644
--- a/gobject/gvaluetypes.h
+++ b/gobject/gvaluetypes.h
@@ -1,6 +1,8 @@
 /* GObject - GLib Type, Object, Parameter and Signal Library
  * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gobject/tests/cxx.cpp b/gobject/tests/cxx.cpp
index 210c897ee3..18d69f6fc3 100644
--- a/gobject/tests/cxx.cpp
+++ b/gobject/tests/cxx.cpp
@@ -1,4 +1,6 @@
 /* Copyright (C) 2001 Sebastian Wilhelmi <wilhelmi google com>
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
diff --git a/gobject/tests/genmarshal.py b/gobject/tests/genmarshal.py
index 5323cfb9fc..7fe6b3e87a 100644
--- a/gobject/tests/genmarshal.py
+++ b/gobject/tests/genmarshal.py
@@ -3,6 +3,8 @@
 #
 # Copyright © 2019 Endless Mobile, Inc.
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
diff --git a/gobject/tests/mkenums.py b/gobject/tests/mkenums.py
index 0d0c0d0f41..09b7702811 100644
--- a/gobject/tests/mkenums.py
+++ b/gobject/tests/mkenums.py
@@ -3,6 +3,8 @@
 #
 # Copyright © 2018 Endless Mobile, Inc.
 #
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
diff --git a/gobject/tests/qdata.c b/gobject/tests/qdata.c
index 7d46efb153..864f8893c8 100644
--- a/gobject/tests/qdata.c
+++ b/gobject/tests/qdata.c
@@ -1,6 +1,8 @@
 /*
  * Copyright 2012 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index 266dd84a3a..f85da8f820 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -1,6 +1,8 @@
 /* GLIB - Library of useful routines for C programming
  * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * gthread.c: thread related functions
  * Copyright 1998 Sebastian Wilhelmi; University of Karlsruhe
  *


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