building wayland without X

Karshan Sharma sharma34 at
Fri May 20 21:51:14 PDT 2011

So, has anyone worked out a patch to be able to build mesa without x ?
... I was gonna start on that but didnt want to reinvent the wheel.

On Mon, Mar 28, 2011 at 9:07 AM, Tiago Vignatti
<tiago.vignatti at> wrote:
> On 03/28/2011 07:08 AM, ext Karshan Sharma wrote:
>>    I was just wondering if its even possible to build wayland without
>> X right now, since mesa will refuse to build without the X library
>> headers (libX11-dev, which depends on a bunch of other X stuff), even
>> with the --with-x=no option, or am I doing something stupid ?
> for Mesa you will have to opt out xcb dependency from dri2 egl driver
> (egl_dri2), which should be straightforward to patch it. The protocol
> implementation is not using X at all, and the demo compositor (well, you
> shouldn't use it) seems to be a bit tied with X also even if you use only
> drm backend.
> Another bloated dependency in the compositor is gdk-pixbuf, in which I had a
> patch to remove it:
> Cheers,
>     Tiago
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at

More information about the wayland-devel mailing list