On Wednesday, 24 September 2025 at 01:38:09 UTC-4 Tony Mechelynck wrote:

On Wed, Sep 24, 2025 at 12:03 AM Foxe Chen <[email protected]> wrote: 
> 
> On Tuesday, 23 September 2025 at 18:01:04 UTC-4 Tony Mechelynck wrote: 
> 
> On Tue, Sep 23, 2025 at 11:54 PM Foxe Chen <[email protected]> wrote: 
> > 
> > 
> > 
> > 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 
> Normally I use -j4 and this is also what I used this time, first for 
> "make" and then for "make reconfig". The issue was present in both 
> cases. 
> 
> Best regards, 
> Tony. 
> 
> 
> Can you try out this patch? 
> 
> Thanks, 
> Foxe 
> 
[...] 

Hm. I'm not sure that I know how to apply it without f**king up my 
repository. Can you try to compile Vim in a shadow repository with the 
following configuration ? 

export CONF_OPT_GUI='--enable-gui=motif' 
export CONF_OPT_MULTIBYTE='--enable-multibyte' 
export CONF_OPT_AUTOSERVE='--enable-autoservername' 
export CONF_OPT_SODIUM='--enable-libsodium' 
export CONF_OPT_FEAT='--with-features=normal' 
export CONF_ARGS2='--with-vim-name=vim-normal' 

If you can't, I'll add the following line then run "make reconfig": 

export CONF_OPT_X='--without-wayland' 

Best regards, 
Tony.

I tried compiling Vim in a shadow repo (make shadow) with that 
configuration, and it compiled without errors. Can you tell me why that 
patch is messing up your repo?

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/8b0ad738-7803-4c7e-8d48-bb4371800597n%40googlegroups.com.

Raspunde prin e-mail lui