Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Building on archlinux requires wlroots-git #9

Closed
ntegan opened this issue Jun 15, 2020 · 3 comments
Closed

Building on archlinux requires wlroots-git #9

ntegan opened this issue Jun 15, 2020 · 3 comments
Labels
A: maintenance Code upkeep, style or clarity fixes, documentation B: resolved

Comments

@ntegan
Copy link

ntegan commented Jun 15, 2020

Couldn't build on archlinux, wlroots and wayland-protocols installed.
Had to

find . | xargs -I{} sed -i 's/wlr_seat_pointer_notify_clear_focus/wlr_seat_pointer_clear_focus/g' {}

to fix this error

ntegan@tpp51 ~/dwl (git)-[master] % make
cp config.def.h config.h
/usr/bin/wayland-scanner server-header \
        //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h
cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement -I/usr/include/libdrm -I/usr/include/pixman-1      -c -o dwl.o dwl.c
dwl.c: In function ‘focusclient’:
dwl.c:601:3: error: implicit declaration of function ‘wlr_seat_pointer_notify_clear_focus’; did you mean ‘wlr_seat_pointer_clear_focus’? [-Werror=implicit-function-declaration]
  601 |   wlr_seat_pointer_notify_clear_focus(seat);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   wlr_seat_pointer_clear_focus
cc1: all warnings being treated as errors
make: *** [<builtin>: dwl.o] Error 1
@djpohly
Copy link
Owner

djpohly commented Jun 15, 2020

Try wlroots-git?

@ntegan
Copy link
Author

ntegan commented Jun 15, 2020

Ah yes, that worked.
Now I get a nice blank grey screen, not sure what to do with it.

Are the tags supposed to be in top left like dwm?

Ooh if I try to shift-alt-enter and create a terminal i get nothing, but when I exit with shift-alt-q, I see an error in my terminal from which I launched dwl.

dwl: execvp alacritty failed: no such file or dir

Trying to install alacritty-git now.

Ah, I changed terminal to wterm and I get a nice half-working terminal now!

pretty cool. can probably delete this issue

@djpohly
Copy link
Owner

djpohly commented Jun 15, 2020

Yeah - dwl is still in an early state, and support for status bars and such is still forthcoming (see the list in the README), but many things do already work. I'll be sure to mention the wlroots-git dependency. Thanks for bringing that up!

@djpohly djpohly changed the title Building on archlinux Building on archlinux requires wlroots-git Jun 15, 2020
@djpohly djpohly added A: bug Something isn't working A: maintenance Code upkeep, style or clarity fixes, documentation B: resolved and removed A: bug Something isn't working labels Jul 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: maintenance Code upkeep, style or clarity fixes, documentation B: resolved
Projects
None yet
Development

No branches or pull requests

2 participants