Use of precompiled headers #17

Closed
opened 2025-11-28 12:21:47 +01:00 by fossfreedom · 6 comments
Owner

From a review by Debian,

The use of precompiled headers stored in the source itself causes licensing questions - who's license is it because its not actually fully fleshed out in the source file. At the moment the tooling I've used thinks the license is

"Files: src/dbus/generated/*
Copyright: The Qt Company Ltd. and other contributors.
License: MPL-2.0"

I've added the MPL-2.0 License here since the tooling didn't know.

"Could the src/dbus/generated/* files be generated ... by the upstream build system (for
everyone [i.e. during the build itself]) instead of being generated by Taskfile.yml and checked in to
git."

From a review by Debian, The use of precompiled headers stored in the source itself causes licensing questions - who's license is it because its not actually fully fleshed out in the source file. At the moment the tooling I've used thinks the license is "Files: src/dbus/generated/* Copyright: The Qt Company Ltd. and other contributors. License: MPL-2.0" I've added the MPL-2.0 License here since the tooling didn't know. "Could the src/dbus/generated/* files be generated ... by the upstream build system (for everyone [i.e. during the build itself]) instead of being generated by Taskfile.yml and checked in to git."
Owner

Generated files don't hold the Qt Company copyright, they are either copyright-free or have ours.

Generated files don't hold the Qt Company copyright, they are either copyright-free or have ours.
Owner

The tooling is confused because there's a notice in the header about what tool made it and who owns the copyright of the tool. Just ignore it for debian/copyright purposes.

The tooling is confused because there's a notice in the header about what tool made it and who owns the copyright of the tool. Just ignore it for `debian/copyright` purposes.
Author
Owner

The generated files specifically have a copyright statement - we can't assume otherwise. I can only assume Debian takes a literal interpretation here given that its in the source. https://forge.moderndesktop.dev/BuddiesOfBudgie/budgie-desktop-services/src/branch/main/src/dbus/generated/BatchSystemAdaptorGen.h

The generated files specifically have a copyright statement - we can't assume otherwise. I can only assume Debian takes a literal interpretation here given that its in the source. https://forge.moderndesktop.dev/BuddiesOfBudgie/budgie-desktop-services/src/branch/main/src/dbus/generated/BatchSystemAdaptorGen.h
Author
Owner

random google led me to this - dunno if it helps https://forum.qt.io/topic/48426/reference-generated-dbus-interface-files - went over my head.

random google led me to this - dunno if it helps https://forum.qt.io/topic/48426/reference-generated-dbus-interface-files - went over my head.
Owner

@fossfreedom wrote in #17 (comment):

The generated files specifically have a copyright statement - we can't assume otherwise. I can only assume Debian takes a literal interpretation here given that its in the source. https://forge.moderndesktop.dev/BuddiesOfBudgie/budgie-desktop-services/src/branch/main/src/dbus/generated/BatchSystemAdaptorGen.h

No? The exact statement in the header is about the tool used to make it, not the file itself.

@fossfreedom wrote in https://forge.moderndesktop.dev/BuddiesOfBudgie/budgie-desktop-services/issues/17#issuecomment-71: > The generated files specifically have a copyright statement - we can't assume otherwise. I can only assume Debian takes a literal interpretation here given that its in the source. https://forge.moderndesktop.dev/BuddiesOfBudgie/budgie-desktop-services/src/branch/main/src/dbus/generated/BatchSystemAdaptorGen.h No? The exact statement in the header is about the tool used to make it, not the file itself.
Owner

Yes the header is generated by qdbusxml2cpp as noted by Neal. It is explaining the copyright owner of the tool, it is not communicating any other copyright.

Yes the header is generated by qdbusxml2cpp as noted by Neal. It is explaining the copyright owner of the tool, it is not communicating any other copyright.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BuddiesOfBudgie/budgie-desktop-services#17
No description provided.