From 921e6d1245912d85adc20d32c6269ae3fdd20cef Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 2 Dec 2019 14:07:25 +0000 Subject: [PATCH] codegen: Drop gdbus-codegen version and input filename from output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not particularly useful to put the gdbus-codegen version or the name of the input file into the output from `gdbus-codegen`, and it makes the output less reproducible. Drop it. Also clarify the licensing. Signed-off-by: Philip Withnall Helps: #1612 --- gio/gdbus-2.0/codegen/codegen.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gio/gdbus-2.0/codegen/codegen.py b/gio/gdbus-2.0/codegen/codegen.py index 119c97d68..3b3afe611 100644 --- a/gio/gdbus-2.0/codegen/codegen.py +++ b/gio/gdbus-2.0/codegen/codegen.py @@ -29,10 +29,11 @@ from . import dbustypes from .utils import print_error LICENSE_STR = '''/* - * Generated by gdbus-codegen {!s} from {!s}. DO NOT EDIT. + * This file is generated by gdbus-codegen, do not modify it. * * The license of this code is the same as for the D-Bus interface description - * it was derived from. + * it was derived from. Note that it links to GLib, so must comply with the + * LGPL linking clauses. */\n''' def generate_namespace(namespace):