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

weston: switch to freerdp3 #392525

Merged
merged 1 commit into from
Mar 24, 2025
Merged

Conversation

LordGrimmauld
Copy link
Contributor

@LordGrimmauld LordGrimmauld commented Mar 23, 2025

freerdp version 2 did get a security release with 2.11.7 last year, but is mostly unmaintained. Weston serves as backend e.g. for sddm and thus is a security-critical component. Moving dependencies to a maintained version should be preferred. Weston has support for both freerdp2 and freerdp3, and will use whichever backend is available [1].

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/89f3a8a71e0cf5ae9a1154cc168be7ebd97a64e7

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

freerdp version 2 did get a security release with 2.11.7 last year, but is mostly unmaintained.
Weston serves as backend e.g. for sddm and thus is a security-critical component.
Moving it to a maintained version should be preferred.
Weston has support for both freerdp2 and freerdp3, and will use whichever backend is available [1].

[1] https://gitlab.freedesktop.org/wayland/weston/-/commit/89f3a8a71e0cf5ae9a1154cc168be7ebd97a64e7
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Mar 23, 2025
@LordGrimmauld
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 392525 --checkout commit


x86_64-linux

✅ 3 packages built:
  • weston
  • xwayland-run
  • xwayland-run.man

@nix-owners nix-owners bot requested review from primeos and alyssais March 23, 2025 21:57
@LordGrimmauld
Copy link
Contributor Author

LordGrimmauld commented Mar 23, 2025

weston is also the last thing using freerdp 2, so after this we can probably drop the freerdp version 2 package and point an alias to freerdp3 (or, better, the other way round, have freerdp3 point to freerdp and rename the freerdp3 package to freerdp)

@alyssais alyssais merged commit 02cbb4c into NixOS:master Mar 24, 2025
34 of 35 checks passed
@alyssais
Copy link
Member

Thanks! Removing it sounds like a good idea.

@LordGrimmauld
Copy link
Contributor Author

Alright, drop of freerdp 2.x: #392754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants