Wayland on FreeBSD

Greg V greg at unrelenting.technology
Tue Apr 21 18:11:17 UTC 2020


Apr 21, 2020 7:52:20 PM Tomasz CEDRO <tomek at cedro.info>:

> On Fri, Apr 17, 2020 at 10:34 PM Tomasz CEDRO wrote:
>
> > Time to move from X11 to Wayland :-)
> > Anyone using Wayland with success already?
> > I would like to use Enlightenment (0.23.1) + Wayland.
> >
>
> I have some positive feedback and support offer from Enlightenment /
> EFL team in porting EFL+E components to FreeBSD in general and also to
> run on Wayland :-)
>
> https://phab.enlightenment.org/T8659
>
> @devilhorns (Christopher Michael) writes:
> "I'm glad to see people are porting to *bsd. With regard to eeze using
> udev (and thus not portable), if someone would like to submit patches
> to make eeze use whatever *bsd uses for devices, then that would be
> great !!

We use libudev-devd to basically pretend that we have udev. :)

Nothing special needs to be done in terms of device stuff, just make sure to find libudev using pkg-config.
Also for epoll and a few other linuxy things (timerfd..) we have epoll-shim.

The most interesting thing is session management. We don't have logind or any systemd libraries. We can use ConsoleKit2 (the required patches are still not in upstream ports though, see review D18754) and a direct session (ew, setuid): see wlroots's backend/session/direct-freebsd.c (compare with direct.c in the same directory).

> Anyone interested please feel free to join the effort

I don't have the time and I do not like Enlightenment, but I can answer any questions. Preferably in https://gitter.im/FreeBSDDesktop/Lobby instead of mailing lists.




More information about the freebsd-x11 mailing list