blocking upgrade of gui-libs/wlroots to current versions 0.16.0:0/16 or 9999:0/9999 Reproducible: Always Steps to Reproduce: # grep "wlroots" <...>/gui-wm/dwl/dwl-*.ebuild dwl-0.3.1.ebuild: gui-libs/wlroots:0/15[X(-)?] dwl-9999.ebuild: gui-libs/wlroots:0/15[X(-)?]
(In reply to Manfred Knick from comment #0) > blocking upgrade of gui-libs/wlroots > to current versions 0.16.0:0/16 or 9999:0/9999 > > Reproducible: Always > > Steps to Reproduce: > # grep "wlroots" <...>/gui-wm/dwl/dwl-*.ebuild > > dwl-0.3.1.ebuild: gui-libs/wlroots:0/15[X(-)?] > dwl-9999.ebuild: gui-libs/wlroots:0/15[X(-)?] Unfortunately, the version of dwl that will be using wlroots 0.16 (dwl version 0.4) is not yet released. Although there is a pre-release 0.4-rc1 and I'll be adding it to GURU soon to fix this bug.
(In reply to Efe İzbudak from comment #1) > ... Although there is a pre-release 0.4-rc1 > and I'll be adding it to GURU soon ... Great! Thanks in advance! I just discovered that this holds for quite the lot of wlroots-based WM - hikari; wayfire; even sway is just catching up with -9999 for -0.16 ! Sorry for not having spotted this situation clearly earlier.
(In reply to Manfred Knick from comment #2) > (In reply to Efe İzbudak from comment #1) > > > ... Although there is a pre-release 0.4-rc1 > > and I'll be adding it to GURU soon ... > Great! Thanks in advance! > > I just discovered that this holds for quite the lot of wlroots-based WM - > hikari; wayfire; even sway is just catching up with -9999 for -0.16 ! > > Sorry for not having spotted this situation clearly earlier. dwl version 0.4-rc2 is added so ~amd64 dwl is not blocking wlroots:0/16 anymore.
[IP-] [ ] dev-libs/wayland-9999:0 [IP-] [ ] gui-libs/egl-wayland-1.1.11-r1:0 gui-libs/wlroots-0.16.0:0/16 emerges fine: [IP-] [ ] gui-libs/wlroots-0.16.0:0/16 gui-wm/dwl-0.4_rc2 fails: dwl.c: In function ‘checkidleinhibitor’: dwl.c:600:21: error: ‘bypass_surface_visibility’ undeclared (...) dwl.c: In function ‘createpointer’: dwl.c:953:84: error: ‘button_map’ undeclared (...) Same results with =gui-wm/dwl-9999:0 Any quick hints / ideas ? Kind regards
(In reply to Manfred Knick from comment #0) > blocking upgrade of gui-libs/wlroots > to current versions 0.16.0:0/16 or 9999:0/9999 > > Reproducible: Always > > Steps to Reproduce: > # grep "wlroots" <...>/gui-wm/dwl/dwl-*.ebuild > > dwl-0.3.1.ebuild: gui-libs/wlroots:0/15[X(-)?] > dwl-9999.ebuild: gui-libs/wlroots:0/15[X(-)?] May I ask what patches you have set up? I remember getting this error before re-basing my patches but I can't remember off the top of my head which one it was.
> gui-wm/dwl-0.4_rc2 fails: > > dwl.c: In function ‘checkidleinhibitor’: > dwl.c:600:21: error: ‘bypass_surface_visibility’ undeclared (...) > > dwl.c: In function ‘createpointer’: > dwl.c:953:84: error: ‘button_map’ undeclared (...) > > > Same results with =gui-wm/dwl-9999:0 > > Any quick hints / ideas ? Please update your config.h, those options were added recently
Ouch ... Sorry. Emerges fine with USE="-X". With USE="-X", it fails linking <-- 'xcb_disconnect' : x86_64-pc-linux-gnu-gcc dwl.o util.o `pkg-config --libs wlroots wayland-server xkbcommon libinput ` ... `pkg-config --cflags wlroots wayland-server xkbcommon libinput ` ... -o dwl /usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: dwl.o: undefined reference to symbol 'xcb_disconnect' /usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libxcb.so.1: error adding symbols: DSO missing from command line # equery list -p x11-libs/libxcb [IP-] [ ] x11-libs/libxcb-1.15-r1:0/1.12 # grep -n xcb_disconnect * dwl.c:2577: xcb_disconnect(xc); # grep -n xcb_disconnect /usr/include/xcb/xcb.h ... 530:void xcb_disconnect(xcb_connection_t *c); ... /var/tmp/portage/gui-wm/dwl-0.4_rc2/work/dwl-0.4-rc2/config.mk : XWAYLAND = XLIBS = # Uncomment to build XWayland support #XWAYLAND = -DXWAYLAND #XLIBS = xcb xcb-icccm Uncommenting these manually, emerge succeeded.
Confirmation - after reboot: Works as expected. Seems like one missing line in src_configure() to add the XLIBS also. Hth Kind regards Manfred
Created attachment 844775 [details, diff] config.mk.patch :: for USE="X" Temporary WORKAROUND: Uncomment XWAYLAND XLIBS in ... / dwl-0.4-rc2 / config.mk c.f. https://github.com/djpohly/dwl/blob/main/config.mk
(In reply to Manfred Knick from comment #8) > Seems like one missing line in src_configure() to add the XLIBS also. src_configure() { use X && append-cppflags -DXWAYLAND use X && append-libs -lxcb -lxcb-icccm <----- tc-export CC } obsoletes the patch for me: ... x86_64-pc-linux-gnu-gcc dwl.o util.o `pkg-config --libs wlroots wayland-server xkbcommon libinput ` -lxcb -lxcb-icccm ... ... [ from /var/tmp/portage/gui-wm/dwl-0.4_rc2/image/temp/build.log ] Hth Thanks
Comment on attachment 844775 [details, diff] config.mk.patch :: for USE="X" C.f. Comment 10
[--O] [ ] gui-wm/dwl-0.3.1:0 [--O] [ ] gui-wm/dwl-0.4_rc2:0 [--O] [ ] gui-wm/dwl-9999:0 All work with updated wlroots. Thanks a lot! Closing this bug.