From 68d8f721f3d171449f3514f4cc63ea2720bd57b5 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 17 Apr 2024 15:31:50 +0100 Subject: [PATCH] codegen: Trivially add SPDX-License-Identifier to codegen Python files The license and copyright are already stated in human-readable form in these files, so this should be uncontroversial. Signed-off-by: Philip Withnall Helps: #1415 --- gio/gdbus-2.0/codegen/__init__.py | 2 ++ gio/gdbus-2.0/codegen/codegen.py | 2 ++ gio/gdbus-2.0/codegen/codegen_docbook.py | 2 ++ gio/gdbus-2.0/codegen/codegen_main.py | 2 ++ gio/gdbus-2.0/codegen/config.py.in | 2 ++ gio/gdbus-2.0/codegen/dbustypes.py | 2 ++ gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 ++ gio/gdbus-2.0/codegen/parser.py | 2 ++ gio/gdbus-2.0/codegen/utils.py | 2 ++ 9 files changed, 18 insertions(+) diff --git a/gio/gdbus-2.0/codegen/__init__.py b/gio/gdbus-2.0/codegen/__init__.py index ed324d7cf..f54f49267 100644 --- a/gio/gdbus-2.0/codegen/__init__.py +++ b/gio/gdbus-2.0/codegen/__init__.py @@ -4,6 +4,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/gdbus-2.0/codegen/codegen.py b/gio/gdbus-2.0/codegen/codegen.py index 2e8ef8e2a..54ae80c9b 100644 --- a/gio/gdbus-2.0/codegen/codegen.py +++ b/gio/gdbus-2.0/codegen/codegen.py @@ -6,6 +6,8 @@ # Copyright (C) 2008-2018 Red Hat, Inc. # Copyright (C) 2018 Iñigo Martínez # +# SPDX-License-Identifier: LGPL-2.1-or-later +# # This library is free software; you can redistribute it and/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/gdbus-2.0/codegen/codegen_docbook.py b/gio/gdbus-2.0/codegen/codegen_docbook.py index 2bffd61f9..b9436c4af 100644 --- a/gio/gdbus-2.0/codegen/codegen_docbook.py +++ b/gio/gdbus-2.0/codegen/codegen_docbook.py @@ -4,6 +4,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/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py index d5353f570..510dd7849 100644 --- a/gio/gdbus-2.0/codegen/codegen_main.py +++ b/gio/gdbus-2.0/codegen/codegen_main.py @@ -6,6 +6,8 @@ # Copyright (C) 2008-2011 Red Hat, Inc. # Copyright (C) 2018 Iñigo Martínez # +# SPDX-License-Identifier: LGPL-2.1-or-later +# # This library is free software; you can redistribute it and/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/gdbus-2.0/codegen/config.py.in b/gio/gdbus-2.0/codegen/config.py.in index 4e6df5a09..aebc424d5 100644 --- a/gio/gdbus-2.0/codegen/config.py.in +++ b/gio/gdbus-2.0/codegen/config.py.in @@ -4,6 +4,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/gdbus-2.0/codegen/dbustypes.py b/gio/gdbus-2.0/codegen/dbustypes.py index e16ea52f9..5b33f07cb 100644 --- a/gio/gdbus-2.0/codegen/dbustypes.py +++ b/gio/gdbus-2.0/codegen/dbustypes.py @@ -4,6 +4,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/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in index 8f9f3108c..877505e12 100755 --- a/gio/gdbus-2.0/codegen/gdbus-codegen.in +++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in @@ -4,6 +4,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/gdbus-2.0/codegen/parser.py b/gio/gdbus-2.0/codegen/parser.py index 207e4d3c9..e8e826e02 100644 --- a/gio/gdbus-2.0/codegen/parser.py +++ b/gio/gdbus-2.0/codegen/parser.py @@ -4,6 +4,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/gdbus-2.0/codegen/utils.py b/gio/gdbus-2.0/codegen/utils.py index 08f1ba973..6399945f2 100644 --- a/gio/gdbus-2.0/codegen/utils.py +++ b/gio/gdbus-2.0/codegen/utils.py @@ -4,6 +4,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