[glib: 1/4] codegen: Drop gdbus-codegen version and input filename from output
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/4] codegen: Drop gdbus-codegen version and input filename from output
- Date: Mon, 2 Dec 2019 15:07:42 +0000 (UTC)
commit 921e6d1245912d85adc20d32c6269ae3fdd20cef
Author: Philip Withnall <withnall endlessm com>
Date: Mon Dec 2 14:07:25 2019 +0000
codegen: Drop gdbus-codegen version and input filename from output
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 <withnall endlessm com>
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):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]