Replace generated dbus source files #19
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BuddiesOfBudgie/budgie-desktop-services!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fossfreedom/budgie-desktop-services:autogendbus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR replaces the in source generated dbus files with files created from the schema XML files.
Thanks for the pull request! Some bits of feedback:
src/dbusto keep the one insrctidier..gitignorein src/dbus/generated. Guessing that was originally added when the idea was maybe to dump it into the SOURCE_DIR but given it's being thrown into the directory generator by cmake, probably okay to not have it?Taskfile.ymlto remove the qdbus-gen task since we'll be using CMake for this.The
.gitignorefile keeps the folder in git, no files means no folder.Tried different ways - there doesnt seem to be a way to get the order of the build correct with a separate src/dbus/CMakeLists.txt - the autogen is the problem. It is run after the compilation starts and I can't find a way to force the autogen files to be done upfront
Done
We've now lost the
dbus/generateddirectory since there's no files in it. Git only keeps directories with files.the generated files are now in the build/src/dbus/generated folder - i.e. only needed for the compilation.
@ -12,6 +12,92 @@ ecm_add_qtwayland_client_protocol(protocols/wlr-output-management-unstable-v1.xml BASENAMEwlr-output-management-unstable-v1)# ============================================================================This all doesn't feel right to me... It seems way too complicated. Maybe see what
plasma-workspacedoes forlibnotificationmanager: https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libnotificationmanager/CMakeLists.txt?ref_type=heads#L55Builds nicely Evan - cheers!
Quick question: Was it intentional to completely remove the Taskfile? I thought the idea was just to remove the one task, not all of them.
Yea only the specific task should've been deleted, not the entire thing.
Also this is gonna be hell to rebase on top of #18, might be easier to have a branch from scratch once it's landed 😁
Pull request closed