From 34050a5c12f4344d38e8203806e82ff7d30bef9f Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 17 Apr 2024 15:33:24 +0100 Subject: [PATCH] codegen: Add license and copyright headers to remaining files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `.flake8` file has a trivial version history, so the copyright is straightforward from that. `meson.build` has a more complex history, but the only significant contributions were from Centricular. From `git log gio/gdbus-2.0/codegen/meson.build`, the other (following) commits are too trivial to be copyrightable: - d10be6102f28e63f5d85c9d8500af28dff2b7ca7 - 30b25a6fd9b48fb94542919288481e0c5f4e77e9 - 95fa229f34f8efdbe44091d1f3f9a87c3139bd52 - 631c3534b784b44578860c1971c4ebd297c40f33 - 00d7568e4f2590af8d7947ca222c9451ada5c2ff - 9734e4854ebeaee684d566daa97cb518c4488b0e - 65be80c3edbcf3f10ae63f529a53ba95dddf6186 - 66e4ba806a8e7c4ad933d3b3c063f45f4ccf4504 - a1c78d63ef758df68d01d43d3be8d7c3cb600bea - a73ca336aa7b0e535338868b296f658a62f0fd77 - 19353017a786e90e00c29890ba6ca2ef88798df4 - b4231844a27352062324a2486f0169315aef5a9c - 4cb945d780d73319b56cac04f4cbb8f609b8cdc0 - 4ce58df8540f25f823418a1d45ddb07ada52ec22 - e2433308c465df3dd6fd6c34b893ca36da050e39 - 013980d8398b1010c0e3414e5d1f06030fa557d2 Both files were contributed while the `COPYING` file for GLib was LGPL-2.1-or-later, so both were previously implicitly licensed as that. Let’s make that explicit. Signed-off-by: Philip Withnall Helps: #1415 --- gio/gdbus-2.0/codegen/.flake8 | 3 +++ gio/gdbus-2.0/codegen/meson.build | 17 +++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gio/gdbus-2.0/codegen/.flake8 b/gio/gdbus-2.0/codegen/.flake8 index 9450a2832..5fe8778a8 100644 --- a/gio/gdbus-2.0/codegen/.flake8 +++ b/gio/gdbus-2.0/codegen/.flake8 @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Emmanuele Bassi +# SPDX-License-Identifier: LGPL-2.1-or-later + [flake8] # We are generating long lines through templates max-line-length = 120 diff --git a/gio/gdbus-2.0/codegen/meson.build b/gio/gdbus-2.0/codegen/meson.build index a8dfd6287..67ea9f2ee 100644 --- a/gio/gdbus-2.0/codegen/meson.build +++ b/gio/gdbus-2.0/codegen/meson.build @@ -1,3 +1,20 @@ +# Copyright 2016, 2017 Centricular +# +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# This library is free software; you can 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 License, or (at your option) any later version. +# +# This library 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. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, see . + gdbus_codegen_files = [ '__init__.py', 'codegen.py',