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

Add wayland-protocols to required dependencies #266

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

gpanders
Copy link
Member

@gpanders gpanders commented Jan 7, 2025

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 2:42pm

* `pkg-config`
* `wayland-protocols` (unless using `-Dgtk-wayland=false`)
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this should be true, but this build option currently doesn't work when I tested it:

$ zig build -Dgtk-wayland=false
...
src/apprt/gtk/wayland.zig:3:25: error: no module named 'wayland' available within module root
const wayland = @import("wayland");

We only add the root module in build.zig when gtk-wayland is true, but it's then used unconditionally (cc @pluiedev).

Copy link
Contributor

Choose a reason for hiding this comment

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

We should fix that, for now I'll merge this.

@mitchellh mitchellh merged commit 4dd0e5e into ghostty-org:main Jan 7, 2025
4 checks passed
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.

2 participants