On Tuesday, 23 September 2025 at 16:30:21 UTC-4 Tony Mechelynck wrote:

On Tue, Sep 23, 2025 at 10:04 PM Christian Brabandt <[email protected]> 
wrote: 
> 
> Hi Tony, 
> 
> On Di, 23 Sep 2025, Tony Mechelynck wrote: 
> 
> > On Mon, Sep 22, 2025 at 9:15 PM Christian Brabandt <[email protected]> 
wrote: 
> > > 
> > > patch 9.1.1784: Wayland code can be improved 
> > > 
> > > Commit: 
https://github.com/vim/vim/commit/368710abcfaadc8370a07cdd58303f2704f10282 
> > > Author: Foxe Chen <[email protected]> 
> > > Date: Mon Sep 22 19:06:58 2025 +0000 
> > > 
> > > patch 9.1.1784: Wayland code can be improved 
> > > 
> > > Problem: Wayland code can be improved 
> > > Solution: Refactor Wayland Clipboard code (Foxe Chen). 
> > > 
> > > This the second attempt to refactor the Wayland code base: 
> > > - Move clipboard code from wayland.c to clipboard.c 
> > [...] 
> > 
> > Build failure in clipboard.c in Normal build with Motif GUI *only* 
> > (not in Huge with GTK3 GUI, and not in Tiny which has -wayland). 
> > 
> > In file included from clipboard.c:36: 
> > wayland.h:17:10: fatal error: wayland-client.h: No such file or 
directory 
> > 17 | #include <wayland-client.h> 
> > | ^~~~~~~~~~~~~~~~~~ 
> > compilation terminated. 
> > make: *** [Makefile:3238: objects/clipboard.o] Error 1 
> 
> does patch v9.1.1786 fixes it for you again? 
> 
> Thanks, 
> Christian 

No, it doesn't, not even if I use "make reconfig". I notice that 
unlike at patch 9.1.1784, at patch 9.1.1786 configure is not run 
automatically by make (for any featureset) and the clipboard.c compile 
line (for Normal with Motif) is still 

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2 
-fno-strength-reduce -Wall -Wno-deprecated-declarations -D_REENTRANT 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/clipboard.o 
clipboard.c 


with no "wayland" includes — indeed no includes at all other than -I. 
-Iproto 

Best regards, 
Tony. 


Does running make -j2 (parallel build) fix the issue?

Thanks,
Foxe 

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/ade45a54-6690-4277-9159-1ea0c6e8ccb1n%40googlegroups.com.

Raspunde prin e-mail lui