Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:BCI:SLCS:next
glib2
0004-Remove-version-string-from-files-generated...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Remove-version-string-from-files-generated-by-gdbus-.patch of Package glib2
From c8c28472699407e866bef313aab33665ef4d5598 Mon Sep 17 00:00:00 2001 From: Olaf Hering <olaf@aepfle.de> Date: Fri, 23 Feb 2024 11:07:01 +0100 Subject: [PATCH 4/4] Remove version string from files generated by gdbus-codegen --- gio/gdbus-2.0/codegen/codegen.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gio/gdbus-2.0/codegen/codegen.py b/gio/gdbus-2.0/codegen/codegen.py index 2e8ef8e2a..39c1041b5 100644 --- a/gio/gdbus-2.0/codegen/codegen.py +++ b/gio/gdbus-2.0/codegen/codegen.py @@ -98,8 +98,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: @@ -1043,8 +1042,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: @@ -1115,8 +1113,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") @@ -1468,8 +1465,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") -- 2.43.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor