[Bug 289408] Every vim port flavor links against wayland under the hood

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289408

Adam Weinberger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #1 from Adam Weinberger <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.