From 32b0dd24e3dae4a4ad967e8646f2cc049740ff7a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 2 Nov 2022 12:34:19 +0000 Subject: [PATCH] Add a SPDX LicenseRef for the license historically used for tests Some of GLib's unit tests are under an apparently GLib-specific permissive license, vaguely similar to the BSD/MIT family but with the GPL's lack-of-warranty wording. This is not on SPDX's list of well-known licenses, so we need to use a custom license name prefixed with LicenseRef if we want to represent this in SPDX/REUSE syntax. Most of the newer tests seem to be licensed under LGPL-2.1-or-later instead. Signed-off-by: Simon McVittie --- LICENSES/LicenseRef-old-glib-tests.txt | 16 ++++++++++++++++ gio/tests/async-close-output-stream.c | 2 ++ gio/tests/async-splice-output-stream.c | 2 ++ gio/tests/buffered-input-stream.c | 2 ++ gio/tests/converter-stream.c | 2 ++ gio/tests/credentials.c | 2 ++ gio/tests/data-input-stream.c | 2 ++ gio/tests/data-output-stream.c | 2 ++ gio/tests/g-file-info-filesystem-readonly.c | 2 ++ gio/tests/g-file-info.c | 2 ++ gio/tests/g-file.c | 2 ++ gio/tests/g-icon.c | 2 ++ gio/tests/giomodule.c | 2 ++ gio/tests/inet-address.c | 2 ++ gio/tests/io-stream.c | 2 ++ gio/tests/live-g-file.c | 2 ++ gio/tests/memory-input-stream.c | 2 ++ gio/tests/memory-output-stream.c | 2 ++ gio/tests/permission.c | 2 ++ gio/tests/srvtarget.c | 2 ++ gio/tests/thumbnail-verification.c | 2 ++ gio/tests/unix-streams.c | 2 ++ gio/tests/vfs.c | 2 ++ gio/tests/win32-appinfo.c | 2 ++ gio/tests/win32-streams.c | 2 ++ glib/tests/asyncqueue.c | 2 ++ glib/tests/cond.c | 2 ++ glib/tests/fileutils.c | 2 ++ glib/tests/hook.c | 2 ++ glib/tests/mainloop.c | 2 ++ glib/tests/markup.c | 2 ++ glib/tests/mem-overflow.c | 2 ++ glib/tests/mutex.c | 2 ++ glib/tests/once.c | 2 ++ glib/tests/onceinit.c | 2 ++ glib/tests/option-argv0.c | 2 ++ glib/tests/option-context.c | 2 ++ glib/tests/private.c | 2 ++ glib/tests/protocol.c | 2 ++ glib/tests/rand.c | 2 ++ glib/tests/rec-mutex.c | 2 ++ glib/tests/rwlock.c | 2 ++ glib/tests/slice-known-pages.c | 2 ++ glib/tests/spawn-multithreaded.c | 2 ++ glib/tests/spawn-singlethread.c | 2 ++ glib/tests/strfuncs.c | 2 ++ glib/tests/string.c | 2 ++ glib/tests/strvbuilder.c | 2 ++ glib/tests/test-printf.c | 2 ++ glib/tests/test-spawn-echo.c | 2 ++ glib/tests/test-spawn-sleep.c | 2 ++ glib/tests/testing.c | 2 ++ glib/tests/thread-pool.c | 2 ++ glib/tests/thread.c | 2 ++ glib/tests/timer.c | 2 ++ glib/tests/unicode.c | 2 ++ glib/tests/unix.c | 2 ++ glib/tests/utf8-misc.c | 2 ++ glib/tests/utils.c | 2 ++ glib/tests/win32.c | 2 ++ gobject/tests/autoptr.c | 2 ++ gobject/tests/closure-refcount.c | 2 ++ gobject/tests/dynamictests.c | 2 ++ gobject/tests/notify-init.c | 2 ++ gobject/tests/notify-init2.c | 2 ++ gobject/tests/threadtests.c | 2 ++ 66 files changed, 146 insertions(+) create mode 100644 LICENSES/LicenseRef-old-glib-tests.txt diff --git a/LICENSES/LicenseRef-old-glib-tests.txt b/LICENSES/LicenseRef-old-glib-tests.txt new file mode 100644 index 000000000..d78b44306 --- /dev/null +++ b/LICENSES/LicenseRef-old-glib-tests.txt @@ -0,0 +1,16 @@ +This work is provided "as is"; redistribution and modification +in whole or in part, in any medium, physical or electronic is +permitted without restriction. + +This work is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +In no event shall the authors or contributors be liable for any +direct, indirect, incidental, special, exemplary, or consequential +damages (including, but not limited to, procurement of substitute +goods or services; loss of use, data, or profits; or business +interruption) however caused and on any theory of liability, whether +in contract, strict liability, or tort (including negligence or +otherwise) arising in any way out of the use of this software, even +if advised of the possibility of such damage. diff --git a/gio/tests/async-close-output-stream.c b/gio/tests/async-close-output-stream.c index a14c413c2..801df9e31 100644 --- a/gio/tests/async-close-output-stream.c +++ b/gio/tests/async-close-output-stream.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Authors: Jesse van den Kieboom * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/async-splice-output-stream.c b/gio/tests/async-splice-output-stream.c index 3ac03ae67..ec0d8aa10 100644 --- a/gio/tests/async-splice-output-stream.c +++ b/gio/tests/async-splice-output-stream.c @@ -3,6 +3,8 @@ * Authors: Xavier Claessens * Mike Ruprecht * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/buffered-input-stream.c b/gio/tests/buffered-input-stream.c index ee084b3b7..321654d70 100644 --- a/gio/tests/buffered-input-stream.c +++ b/gio/tests/buffered-input-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/converter-stream.c b/gio/tests/converter-stream.c index b146cf43f..761be0c67 100644 --- a/gio/tests/converter-stream.c +++ b/gio/tests/converter-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2009 Red Hat, Inc. * Authors: Alexander Larsson * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/credentials.c b/gio/tests/credentials.c index 070019f1c..eac056546 100644 --- a/gio/tests/credentials.c +++ b/gio/tests/credentials.c @@ -2,6 +2,8 @@ * * Copyright © 2012 Collabora Ltd. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/data-input-stream.c b/gio/tests/data-input-stream.c index 0d59cac25..280c93fac 100644 --- a/gio/tests/data-input-stream.c +++ b/gio/tests/data-input-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Tomas Bzatek * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/data-output-stream.c b/gio/tests/data-output-stream.c index 0872edf9c..0b324794d 100644 --- a/gio/tests/data-output-stream.c +++ b/gio/tests/data-output-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Tomas Bzatek * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/g-file-info-filesystem-readonly.c b/gio/tests/g-file-info-filesystem-readonly.c index ddf99da1e..af2069dc7 100644 --- a/gio/tests/g-file-info-filesystem-readonly.c +++ b/gio/tests/g-file-info-filesystem-readonly.c @@ -1,6 +1,8 @@ /* Testcase for bug in GIO function g_file_query_filesystem_info() * Author: Nelson Benítez León * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/g-file-info.c b/gio/tests/g-file-info.c index c9b12b031..f19271c64 100644 --- a/gio/tests/g-file-info.c +++ b/gio/tests/g-file-info.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Tomas Bzatek * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/g-file.c b/gio/tests/g-file.c index 8669e3aaf..33cf122fa 100644 --- a/gio/tests/g-file.c +++ b/gio/tests/g-file.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Tomas Bzatek * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/g-icon.c b/gio/tests/g-icon.c index 13985d6a1..0d0848b85 100644 --- a/gio/tests/g-icon.c +++ b/gio/tests/g-icon.c @@ -2,6 +2,8 @@ * * Copyright (C) 2008 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/giomodule.c b/gio/tests/giomodule.c index 39b254358..349cec83d 100644 --- a/gio/tests/giomodule.c +++ b/gio/tests/giomodule.c @@ -2,6 +2,8 @@ * Copyright (C) 2013 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/inet-address.c b/gio/tests/inet-address.c index cae200417..5c663fd67 100644 --- a/gio/tests/inet-address.c +++ b/gio/tests/inet-address.c @@ -2,6 +2,8 @@ * Copyright (C) 2012 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/io-stream.c b/gio/tests/io-stream.c index 90c735790..6b5c006f1 100644 --- a/gio/tests/io-stream.c +++ b/gio/tests/io-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2010 Collabora Ltd. * Authors: Xavier Claessens * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/live-g-file.c b/gio/tests/live-g-file.c index 9e2cc0c27..c114f1fe0 100644 --- a/gio/tests/live-g-file.c +++ b/gio/tests/live-g-file.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Authors: Tomas Bzatek * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/memory-input-stream.c b/gio/tests/memory-input-stream.c index 2bf3d4564..871777cd2 100644 --- a/gio/tests/memory-input-stream.c +++ b/gio/tests/memory-input-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2007 Imendio AB * Authors: Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/memory-output-stream.c b/gio/tests/memory-output-stream.c index ec1644ed8..a517cb964 100644 --- a/gio/tests/memory-output-stream.c +++ b/gio/tests/memory-output-stream.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Red Hat, Inc. * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/permission.c b/gio/tests/permission.c index 14094a0b5..a541b699f 100644 --- a/gio/tests/permission.c +++ b/gio/tests/permission.c @@ -2,6 +2,8 @@ * Copyright (C) 2012 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/srvtarget.c b/gio/tests/srvtarget.c index 84f803ee7..bc5fb51d9 100644 --- a/gio/tests/srvtarget.c +++ b/gio/tests/srvtarget.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2009 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/thumbnail-verification.c b/gio/tests/thumbnail-verification.c index f439c8b06..1c65b80fd 100644 --- a/gio/tests/thumbnail-verification.c +++ b/gio/tests/thumbnail-verification.c @@ -2,6 +2,8 @@ * * Copyright (C) 2013 Collabora, Ltd. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/unix-streams.c b/gio/tests/unix-streams.c index 1fa66c354..40f34ce28 100644 --- a/gio/tests/unix-streams.c +++ b/gio/tests/unix-streams.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2008 Red Hat, Inc * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/vfs.c b/gio/tests/vfs.c index b8a850dec..edfa1b7ee 100644 --- a/gio/tests/vfs.c +++ b/gio/tests/vfs.c @@ -3,6 +3,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/win32-appinfo.c b/gio/tests/win32-appinfo.c index 8402a202e..cfbcbf60c 100644 --- a/gio/tests/win32-appinfo.c +++ b/gio/tests/win32-appinfo.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2019 Руслан Ижбулатов * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gio/tests/win32-streams.c b/gio/tests/win32-streams.c index 9c32a56b2..aea660dfc 100644 --- a/gio/tests/win32-streams.c +++ b/gio/tests/win32-streams.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2008 Red Hat, Inc * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/asyncqueue.c b/glib/tests/asyncqueue.c index 6a6f9488c..b75db7cc4 100644 --- a/glib/tests/asyncqueue.c +++ b/glib/tests/asyncqueue.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/cond.c b/glib/tests/cond.c index b179b3dee..6c9120013 100644 --- a/glib/tests/cond.c +++ b/glib/tests/cond.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/fileutils.c b/glib/tests/fileutils.c index 69cd35477..52f6f36d8 100644 --- a/glib/tests/fileutils.c +++ b/glib/tests/fileutils.c @@ -1,6 +1,8 @@ /* Unit tests for gfileutils * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/hook.c b/glib/tests/hook.c index dd9e333ca..5b9d5442b 100644 --- a/glib/tests/hook.c +++ b/glib/tests/hook.c @@ -1,6 +1,8 @@ /* Unit tests for hook lists * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c index c18da94fc..9904da833 100644 --- a/glib/tests/mainloop.c +++ b/glib/tests/mainloop.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/markup.c b/glib/tests/markup.c index f0f3cfe0b..8533f0619 100644 --- a/glib/tests/markup.c +++ b/glib/tests/markup.c @@ -1,6 +1,8 @@ /* Unit tests for GMarkup * Copyright (C) 2013 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/mem-overflow.c b/glib/tests/mem-overflow.c index 66a005684..f19534102 100644 --- a/glib/tests/mem-overflow.c +++ b/glib/tests/mem-overflow.c @@ -1,6 +1,8 @@ /* Unit tests for g * Copyright (C) 2010 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/mutex.c b/glib/tests/mutex.c index cce4c593f..7aeb4a561 100644 --- a/glib/tests/mutex.c +++ b/glib/tests/mutex.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/once.c b/glib/tests/once.c index d0aeccb74..0bcaea488 100644 --- a/glib/tests/once.c +++ b/glib/tests/once.c @@ -3,6 +3,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/onceinit.c b/glib/tests/onceinit.c index c58ca026c..af0be84a0 100644 --- a/glib/tests/onceinit.c +++ b/glib/tests/onceinit.c @@ -1,6 +1,8 @@ /* g_once_init_*() test * Copyright (C) 2007 Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/option-argv0.c b/glib/tests/option-argv0.c index a18e68676..736a992e5 100644 --- a/glib/tests/option-argv0.c +++ b/glib/tests/option-argv0.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c index 0fdb67c9a..c9148de9f 100644 --- a/glib/tests/option-context.c +++ b/glib/tests/option-context.c @@ -2,6 +2,8 @@ * Copyright (C) 2007 Openismus GmbH * Authors: Mathias Hasselmann * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/private.c b/glib/tests/private.c index 6ecf1a8bc..37f7761a0 100644 --- a/glib/tests/private.c +++ b/glib/tests/private.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/protocol.c b/glib/tests/protocol.c index b03aaf97b..4773b3ba8 100644 --- a/glib/tests/protocol.c +++ b/glib/tests/protocol.c @@ -2,6 +2,8 @@ * * Copyright (C) 2010 Sven Herzberg * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/rand.c b/glib/tests/rand.c index 37f4ddd41..63c578967 100644 --- a/glib/tests/rand.c +++ b/glib/tests/rand.c @@ -1,6 +1,8 @@ /* Unit tests for grand * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/rec-mutex.c b/glib/tests/rec-mutex.c index de925f329..d7cd62431 100644 --- a/glib/tests/rec-mutex.c +++ b/glib/tests/rec-mutex.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/rwlock.c b/glib/tests/rwlock.c index 6c0b281f7..1e76644e1 100644 --- a/glib/tests/rwlock.c +++ b/glib/tests/rwlock.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/slice-known-pages.c b/glib/tests/slice-known-pages.c index ee856068b..c2c1821f8 100644 --- a/glib/tests/slice-known-pages.c +++ b/glib/tests/slice-known-pages.c @@ -1,6 +1,8 @@ /* slice-known-pages.c - test GSlice across known pages * Copyright (C) 2007 Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/spawn-multithreaded.c b/glib/tests/spawn-multithreaded.c index 9e399b43d..39e3e1463 100644 --- a/glib/tests/spawn-multithreaded.c +++ b/glib/tests/spawn-multithreaded.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/spawn-singlethread.c b/glib/tests/spawn-singlethread.c index 3ece69dc9..8ac7164a2 100644 --- a/glib/tests/spawn-singlethread.c +++ b/glib/tests/spawn-singlethread.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/strfuncs.c b/glib/tests/strfuncs.c index cc7d9c211..8fec5dd61 100644 --- a/glib/tests/strfuncs.c +++ b/glib/tests/strfuncs.c @@ -1,6 +1,8 @@ /* Unit tests for gstrfuncs * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/string.c b/glib/tests/string.c index 0ea9f7bbb..286608636 100644 --- a/glib/tests/string.c +++ b/glib/tests/string.c @@ -1,6 +1,8 @@ /* Unit tests for gstring * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/strvbuilder.c b/glib/tests/strvbuilder.c index 904af0e71..595a6845e 100644 --- a/glib/tests/strvbuilder.c +++ b/glib/tests/strvbuilder.c @@ -2,6 +2,8 @@ * Copyright © 2020 Canonical Ltd. * Copyright © 2021 Alexandros Theodotou * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/test-printf.c b/glib/tests/test-printf.c index d7f5b9e64..5b80c04d2 100644 --- a/glib/tests/test-printf.c +++ b/glib/tests/test-printf.c @@ -1,6 +1,8 @@ /* Unit tests for gprintf * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/test-spawn-echo.c b/glib/tests/test-spawn-echo.c index cb387ba84..fb35f7bf2 100644 --- a/glib/tests/test-spawn-echo.c +++ b/glib/tests/test-spawn-echo.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/test-spawn-sleep.c b/glib/tests/test-spawn-sleep.c index 34dfd5bd9..a6d418b62 100644 --- a/glib/tests/test-spawn-sleep.c +++ b/glib/tests/test-spawn-sleep.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2022 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/testing.c b/glib/tests/testing.c index 60fdb4ccd..24e8d08e4 100644 --- a/glib/tests/testing.c +++ b/glib/tests/testing.c @@ -2,6 +2,8 @@ * Copyright (C) 2007 Imendio AB * Authors: Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/thread-pool.c b/glib/tests/thread-pool.c index 23ee27ee3..36e499403 100644 --- a/glib/tests/thread-pool.c +++ b/glib/tests/thread-pool.c @@ -1,6 +1,8 @@ /* Unit tests for GThreadPool * Copyright (C) 2020 Sebastian Dröge * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/thread.c b/glib/tests/thread.c index 14f571076..18bbde871 100644 --- a/glib/tests/thread.c +++ b/glib/tests/thread.c @@ -2,6 +2,8 @@ * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/timer.c b/glib/tests/timer.c index 42ed5a92c..3a2d1019c 100644 --- a/glib/tests/timer.c +++ b/glib/tests/timer.c @@ -1,6 +1,8 @@ /* Unit tests for GTimer * Copyright (C) 2013 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/unicode.c b/glib/tests/unicode.c index c2158914b..d4955c6d1 100644 --- a/glib/tests/unicode.c +++ b/glib/tests/unicode.c @@ -2,6 +2,8 @@ * Copyright (C) 2010 Red Hat, Inc. * Copyright (C) 2011 Google, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/unix.c b/glib/tests/unix.c index 2112cab6b..57c5843c9 100644 --- a/glib/tests/unix.c +++ b/glib/tests/unix.c @@ -1,6 +1,8 @@ /* * Copyright (C) 2011 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/utf8-misc.c b/glib/tests/utf8-misc.c index c13729422..7a1ed6465 100644 --- a/glib/tests/utf8-misc.c +++ b/glib/tests/utf8-misc.c @@ -1,6 +1,8 @@ /* Unit tests for utilities * Copyright (C) 2010 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/utils.c b/glib/tests/utils.c index fbeb90d9c..2e3a0a4b2 100644 --- a/glib/tests/utils.c +++ b/glib/tests/utils.c @@ -1,6 +1,8 @@ /* Unit tests for utilities * Copyright (C) 2010 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/glib/tests/win32.c b/glib/tests/win32.c index 31816574d..748692d65 100644 --- a/glib/tests/win32.c +++ b/glib/tests/win32.c @@ -1,6 +1,8 @@ /* Unit test for VEH on Windows * Copyright (C) 2019 Руслан Ижбулатов * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gobject/tests/autoptr.c b/gobject/tests/autoptr.c index ec3c89ebc..d1433460d 100644 --- a/gobject/tests/autoptr.c +++ b/gobject/tests/autoptr.c @@ -2,6 +2,8 @@ * Copyright (C) 2018 Canonical Ltd * Authors: Marco Trevisan * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gobject/tests/closure-refcount.c b/gobject/tests/closure-refcount.c index 5a920054c..574a5ec6f 100644 --- a/gobject/tests/closure-refcount.c +++ b/gobject/tests/closure-refcount.c @@ -1,4 +1,6 @@ /* Copyright (C) 2005 Imendio AB + * + * SPDX-License-Identifier: LicenseRef-old-glib-tests * * This software is provided "as is"; redistribution and modification * is permitted, provided that the following disclaimer is retained. diff --git a/gobject/tests/dynamictests.c b/gobject/tests/dynamictests.c index 06e1e01c1..14346705a 100644 --- a/gobject/tests/dynamictests.c +++ b/gobject/tests/dynamictests.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Imendio AB * Authors: Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gobject/tests/notify-init.c b/gobject/tests/notify-init.c index 17500cbe9..3773372a1 100644 --- a/gobject/tests/notify-init.c +++ b/gobject/tests/notify-init.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2022 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gobject/tests/notify-init2.c b/gobject/tests/notify-init2.c index c3ebae002..04ccd865c 100644 --- a/gobject/tests/notify-init2.c +++ b/gobject/tests/notify-init2.c @@ -1,6 +1,8 @@ /* GLib testing framework examples and tests * Copyright (C) 2022 Red Hat, Inc. * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. diff --git a/gobject/tests/threadtests.c b/gobject/tests/threadtests.c index 3b485eb52..dee4d6e2d 100644 --- a/gobject/tests/threadtests.c +++ b/gobject/tests/threadtests.c @@ -2,6 +2,8 @@ * Copyright (C) 2008 Imendio AB * Authors: Tim Janik * + * SPDX-License-Identifier: LicenseRef-old-glib-tests + * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction.