[Bug 289408] Every vim port flavor links against wayland under the hood
Date: Tue, 09 Sep 2025 16:17:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289408
Adam Weinberger <adamw@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
--- Comment #1 from Adam Weinberger <adamw@FreeBSD.org> ---
Great catch!
Unfortunately, there's a bit of a complication. The problem here is that gtk3
(and libxkbcommon, which vim also links against) supports wayland, but it's
*optional* for both of them.
Your patch handles all the other flavors, but it leaves a potentially
undeclared wayland dependency for the gtk3 flavor. That means that we can't
just add --with-wayland for gtk3, because we need to declare that dep too.
That leaves us with two options:
1. Make wayland a hard dep for the gtk3 flavor
2. Add a wayland OPTION for the gtk3 flavor
To complicate things: if gtk30 was configured with WAYLAND on, then vim will
link against wayland regardless of --without-wayland. So, vim-gtk3's WAYLAND
option is only usable to disable wayland IF gtk30 was built without WAYLAND
too.
Honestly, at this point I think I'll just go with #1. I'm sure there are people
who don't want wayland on their system, but I'd rather force the dep on them
than give them a switch that doesn't always work.
--
You are receiving this mail because:
You are on the CC list for the bug.