Skip to content
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

plasma5: load kwayland-integration plugin #139537

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

CertainLach
Copy link
Member

@CertainLach CertainLach commented Sep 26, 2021

Motivation for this change

Fixes: #118650

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
@@ -10,11 +10,5 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ libpthreadstubs libXdmcp qttools qtx11extras ];
propagatedBuildInputs = [ qtbase ];
patches = [
./0001-platform-plugins-path.patch
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to load kwayland-integration as kwindowmanager plugin, but kwayland-integration depends on kwindowmanager

I see no way here to make it pure

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be possible by finding out what parts of kwindowmanager it depends on exactly and splitting that into a separate output. Or maybe it would be possible to set something up with env variables in the NixOS module?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be possible by finding out what parts of kwindowmanager it depends on exactly and splitting that into a separate output

It is pretty much monolithic

Or maybe it would be possible to set something up with env variables in the NixOS module?

Well, it is possible to introduce new env variable in plasma5 nixos module, but this doesn't solve impurity, as environment needs to be propagated :D

@r-rmcgibbo
Copy link

r-rmcgibbo commented Sep 26, 2021

Result of nixpkgs-review pr 139537 at de5ffe5 run on aarch64-linux 1

20 packages failed to build:
730 packages skipped due to time constraints:
  • ajour
  • calamares
  • calligra
  • copyq
  • digikam
  • falkon
  • fcitx5-configtool
  • fcitx5-with-addons
  • gmic-qt-krita
  • heaptrack
  • ...

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


Result of nixpkgs-review pr 139537 at de5ffe5 run on x86_64-linux 1

20 packages failed to build:
769 packages skipped due to time constraints:
  • ajour
  • amarok (amarok-kf5)
  • angelfish
  • bcompare
  • calamares
  • calligra
  • colord-kde
  • copyq
  • digikam
  • falkon
  • ...

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

@samueldr samueldr mentioned this pull request Sep 27, 2021
10 tasks
Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tentatively approving based on outcomes. I don't have the mental model to grok the whole Qt5 and Plasma infra in Nixpkgs to know for sure whether this would or not cause issues with "impurity".

Though about Qt plugin impurities and environment, the ship sailed long ago I think.

@ttuegel
Copy link
Member

ttuegel commented Sep 30, 2021

Though about Qt plugin impurities and environment, the ship sailed long ago I think.

Unfortunately true.

@ttuegel ttuegel merged commit bf84010 into NixOS:master Sep 30, 2021
@CertainLach CertainLach deleted the plasma5-load-kwayland-integration branch September 30, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notifications and other popups are treated like "normal" windows on Plasma Wayland
5 participants