Skip to content

Fix building without systemd + minor clippy - #228

Merged
jacobgkau merged 1 commit into
pop-os:masterfrom
joshuamegnauth54:systemd-guarding
Oct 5, 2026
Merged

jacobgkau merged 1 commit into
pop-os:masterfrom
joshuamegnauth54:systemd-guarding

Conversation

@joshuamegnauth54

@joshuamegnauth54 joshuamegnauth54 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Some of the feature gates were out of date for builds precluding systemd, logind, or both. I also cleaned up the systemd/logind gates in general as well as fixed a few very minor clippy lints.

  • I have disclosed use of any AI generated code in my commit messages.
    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • I understand these changes in full and will be able to respond to review comments.
  • My change is accurately described in the commit message.
  • My contribution is tested and working as described.
  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

@joshuamegnauth54 joshuamegnauth54 changed the title Fix no systemd build Fix building without systemd + minor clippy Sep 18, 2026
@joshuamegnauth54
joshuamegnauth54 marked this pull request as ready for review September 18, 2026 13:46
wash2 pushed a commit to pop-os/iced that referenced this pull request Oct 1, 2026
Some of the Linux feature gates should be `free_unix` which covers Linux
and most of the BSDs. The old feature gates improperly gated some X11
and Wayland paths to Linux only. This caused the FreeBSD (and other BSD)
builds to fail even though there isn't anything Linux specific about the
code.

This is a step towards porting COSMIC to FreeBSD.

Related:
* pop-os/cosmic-session#228
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298649
wash2
wash2 previously approved these changes Oct 1, 2026
@joshuamegnauth54

Copy link
Copy Markdown
Contributor Author

Force pushed to fix merge conflict. 😁

wash2
wash2 previously approved these changes Oct 2, 2026
@jacobgkau

Copy link
Copy Markdown
Member

Sorry, it appears #225 caused another conflict.

Some of the feature gates were out of date for builds precluding
systemd, logind, or both. I also cleaned up the systemd/logind gates in
general as well as fixed a few very minor clippy lints.
@joshuamegnauth54

Copy link
Copy Markdown
Contributor Author

Rebased and re-built on Linux and FreeBSD 15.1.

@jacobgkau jacobgkau self-assigned this Oct 5, 2026

@jacobgkau jacobgkau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No regressions with the Pop!_OS build.

@jacobgkau
jacobgkau merged commit 8b6cd49 into pop-os:master Oct 5, 2026
7 checks passed
@joshuamegnauth54
joshuamegnauth54 deleted the systemd-guarding branch October 6, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants