Dominique Leuenberger
f166335523
GNOME 40 - here we come OBS-URL: https://build.opensuse.org/request/show/880936 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=450
45 lines
2.1 KiB
Diff
45 lines
2.1 KiB
Diff
Index: glib-2.67.2/gio/gdbus-2.0/codegen/codegen.py
|
|
===================================================================
|
|
--- 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:
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
def generate_header_preamble(self):
|
|
- basenames = ", ".join(self.input_files_basenames)
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
+ self.outfile.write(LICENSE_STR)
|
|
self.outfile.write("\n")
|
|
|
|
if self.use_pragma:
|
|
@@ -1040,8 +1039,7 @@ class InterfaceInfoHeaderCodeGenerator:
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
def generate_header_preamble(self):
|
|
- basenames = ", ".join(self.input_files_basenames)
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
+ self.outfile.write(LICENSE_STR)
|
|
self.outfile.write("\n")
|
|
|
|
if self.use_pragma:
|
|
@@ -1112,8 +1110,7 @@ class InterfaceInfoBodyCodeGenerator:
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
def generate_body_preamble(self):
|
|
- basenames = ", ".join(self.input_files_basenames)
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
+ self.outfile.write(LICENSE_STR)
|
|
|
|
if self.symbol_decoration_define is not None:
|
|
self.outfile.write("\n")
|
|
@@ -1466,8 +1463,7 @@ class CodeGenerator:
|
|
# ----------------------------------------------------------------------------------------------------
|
|
|
|
def generate_body_preamble(self):
|
|
- basenames = ", ".join(self.input_files_basenames)
|
|
- self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
|
|
+ self.outfile.write(LICENSE_STR)
|
|
if self.symbol_decoration_define is not None:
|
|
self.outfile.write("\n")
|
|
self.outfile.write("#define %s\n" % self.symbol_decoration_define)
|