2021-03-24 17:32:24 +01:00
|
|
|
Index: glib-2.67.2/gio/gdbus-2.0/codegen/codegen.py
|
2018-03-09 11:10:43 +01:00
|
|
|
===================================================================
|
2021-03-24 17:32:24 +01:00
|
|
|
--- glib-2.67.2.orig/gio/gdbus-2.0/codegen/codegen.py
|
|
|
|
+++ glib-2.67.2/gio/gdbus-2.0/codegen/codegen.py
|
|
|
|
@@ -95,8 +95,7 @@ class HeaderCodeGenerator:
|
2018-03-09 11:10:43 +01:00
|
|
|
# ----------------------------------------------------------------------------------------------------
|
2017-06-07 15:34:11 +02:00
|
|
|
|
2018-03-09 11:10:43 +01:00
|
|
|
def generate_header_preamble(self):
|
2021-03-24 17:32:24 +01:00
|
|
|
- basenames = ", ".join(self.input_files_basenames)
|
2018-09-22 00:43:51 +02:00
|
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
2018-03-09 11:10:43 +01:00
|
|
|
+ self.outfile.write(LICENSE_STR)
|
2021-03-24 17:32:24 +01:00
|
|
|
self.outfile.write("\n")
|
2018-03-09 11:10:43 +01:00
|
|
|
|
|
|
|
if self.use_pragma:
|
2021-03-24 17:32:24 +01:00
|
|
|
@@ -1040,8 +1039,7 @@ class InterfaceInfoHeaderCodeGenerator:
|
2018-03-09 11:10:43 +01:00
|
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
|
2020-10-22 10:50:43 +02:00
|
|
|
def generate_header_preamble(self):
|
2021-03-24 17:32:24 +01:00
|
|
|
- basenames = ", ".join(self.input_files_basenames)
|
2018-09-22 00:43:51 +02:00
|
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
2018-03-09 11:10:43 +01:00
|
|
|
+ self.outfile.write(LICENSE_STR)
|
2021-03-24 17:32:24 +01:00
|
|
|
self.outfile.write("\n")
|
2020-10-22 10:50:43 +02:00
|
|
|
|
|
|
|
if self.use_pragma:
|
2021-03-24 17:32:24 +01:00
|
|
|
@@ -1112,8 +1110,7 @@ class InterfaceInfoBodyCodeGenerator:
|
2020-10-22 10:50:43 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
def generate_body_preamble(self):
|
2021-03-24 17:32:24 +01:00
|
|
|
- basenames = ", ".join(self.input_files_basenames)
|
2020-10-22 10:50:43 +02:00
|
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
|
|
+ self.outfile.write(LICENSE_STR)
|
|
|
|
|
|
|
|
if self.symbol_decoration_define is not None:
|
2021-03-24 17:32:24 +01:00
|
|
|
self.outfile.write("\n")
|
|
|
|
@@ -1466,8 +1463,7 @@ class CodeGenerator:
|
2020-10-22 10:50:43 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
def generate_body_preamble(self):
|
2021-03-24 17:32:24 +01:00
|
|
|
- basenames = ", ".join(self.input_files_basenames)
|
2020-10-22 10:50:43 +02:00
|
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
|
|
+ self.outfile.write(LICENSE_STR)
|
|
|
|
if self.symbol_decoration_define is not None:
|
2021-03-24 17:32:24 +01:00
|
|
|
self.outfile.write("\n")
|
|
|
|
self.outfile.write("#define %s\n" % self.symbol_decoration_define)
|