Missing dependencies for wlroots and Sway

Hi everyone! :smile:

NOOB ALERT!

I’m trying to build wlroots and sway. And hopefully learn to package them for Clear.
It seems I miss some dependencies:

freerdp2
winpr2
xcb-errors
etags
ctags
libelogind

I want to be sure they aren’t already present before building them and/or opening a package-request issue on GitHub.

Do you know if I can find them in any bundle?

time for some trial and error… just a start

rdp
https://clearlinux.org/software/bundle/vnc-server

winpr

xcb
https://xcb.freedesktop.org/dist/

etags / ctags
Xemacs / Emacs

libelogind

First of all, thank you for your response! :smile:

Installing the editors bundle — containing emacs — solved the etags and ctags dependencies, as you pointed out.

I noted I already have freerdp2 and winpr2 on my system:

# ls /usr/lib64 | grep freerdp2
libfreerdp2.so.2
libfreerdp2.so.2.0.0
# ls /usr/lib64 | grep winpr2
libwinpr2.so.2
libwinpr2.so.2.0.0

However they don’t seem to be seen when running a meson build:

Run-time dependency freerdp2 found: NO (tried pkgconfig and cmake)
Run-time dependency winpr2 found: NO (tried pkgconfig and cmake)

Should I set something in the to allow meson to look in those folders?

Yes, you can always revert… also check ownership of the files :wink:

elogind is a replacement for OSs that do not use systemd-logind. Since Clear Linux OS uses systemd-logind, the program should instead link/build against systemd-logind instead.

We won’t merge elogind for that reason - it will conflict and just break things.

1 Like

I’m adding wlroots and sway myself today. The bundle name will be sway and it’ll be completely untested. When it lands, please open tickets if it doesn’t work or needs more integration work.

4 Likes

That’s awesome, thank you! :star_struck:

I’ll install it as soon as it’s upstream! :rocket:

1 Like

Would it be possible to have a wlroots devpkg?
There are many simple wayland compositor like dwl that we can build and run from home.