-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plasma-5: 5.16.5 -> 5.17.0 #71232
plasma-5: 5.16.5 -> 5.17.0 #71232
Conversation
I am currently blocked by the plasma startup script which has been completely rewritten in C++ (was previously made in Bash) |
Which component? Can you link the current expression and the patch? Edit: guessing source is old patch is Cc @ttuegel ^ |
It's in this patch And the startup scripts are in |
Although we "patch" the startup scripts, ours versions are essentially a rewrite. Over the years, almost every line of the original script has been replaced. Many, many things are broken in upstream's scripts in ways that are not obvious at first. If we want to patch the new C++ startup files, we will need to go through line by line in comparison with the shell scripts. What a completely useless vanity rewrite. 😠 Unless you can find some new functionality (I looked at the source and I can't): I strongly recommend that, instead of patching upstream's scripts, we delete |
Faster startup due to this rewrite was a headline feature of this release. Not that I’m struggling with the existing startup time, but it is something that I’ve seen users on, eg, Reddit speak about in a positive way. |
I've actually noticed plasma's startuptime regress since using qt wrappers, not sure how that produces an overhead, but if you look at any of the screenshots of the vm tests it rarely draws the desktop upon completion. Not sure if a C++ startup script would assist in that regard. @ttuegel, right it's essentially a rewrite. So the C++ files should probably be substituted with rewritten one's during the build, if that's the route chosen. |
I'm with @ttuegel on this. If the only thing blocking is the start-up, then ideally we (I'm aware that I'm saying "we" without having done any actual work on this) simply release with the old script (assuming it works) and we can then sort out the cpp version later. |
Right, any kind of wrappers make start-up very slow because the shell is quite slow. We could replace Bash with a more minimal shell. (The truth is, it may not be possible to support Qt/KDE without an FHS chroot. 😦) |
c1df5e2
to
e260282
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
FYI, 5.17.4 and frameworks 5.64 are out. |
KDE frameworks 5.64 already got merged in #73304 |
@nyanloutre I had a chance to look at this today. I needed to rebase onto
Have you seen this before? |
@ttuegel hello, I am not sure about this one. Do you have the same problem with the last version of plasma ? (5.17.5) |
No, it seems to be fixed in |
Closing in favor of #79011. I have a newer version with patches for the startup process, but there are a few other unsolved issues. |
Motivation for this change
I am still building and testing, some component might be broken
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @