Xlibe: an Xlib/X11 compatibility layer for Haiku

What about that GTK port that I saw screenshots of a while ago?

That was the work of @3dEyes (screenshots in this old thread) and it was an experiment that did not go as far as you might think. He commented about it on a ticket in HaikuPorts a few months ago:

In that same thread (where we were discussing XSDL, or the possibility even of writing an SDL backend for GTK, so that other obscure OSes could benefit too), I commented at the time that

I actually talked with one of the SDL developers about potentially trying to start some kind of campaign to collect funds for them to do such a port after these discussions, but that never materialized.

So, that is how we got where we are now: porting GTK directly is just not feasible or worth the time, the SDL backend idea was interesting but nothing much came of it, which leads us to: the only reasonable way to port GTK is to get X11 or Wayland. Seeing Tk have Xlib implementations outside of Linux, as well as seeing some other experiments about Xlib on top of SDL2, as well as the older “BeXlib” project from 2003 which I started this work off it, was enough for me to guess that a full enough version of Xlib-on-Haiku to run GTK on was at least theoretically possible, and so here we are.

8 Likes