Wayland is a new compositor for linux. It is still in development version.
Official website : http://wayland.freedesktop.org/
Forum discussion : https://bbs.archlinux.org/viewtopic.php?id=107499
needed PKGBUILD are here : https://gist.github.com/720093
Two other files are needed to build. For cairo:
If you get an error "cairo_gl_surface_create" doesn't exist, use this flag for cairo :
If you get an error "cairo_gl_surface_create" doesn't exist.
Also for mesa you may add those flags to ./configure :
--enable-gles2 --with-dri-drivers=(your dri-driver) --enable-driglx-direct --with-egl-displays="x11 drm"
They come from this thread : http://comments.gmane.org/gmane.comp.video.dri.devel/51319
your dri driver is probably in this list : swrast,radeon,r200,r300,r600,i810,i915,i965,unichrome,mach64,mga,r128,savage,sis,tdfx
$ wayland-system-compositor -a /path/to/backgroundimage.jpg
Then in another VT you can run the demos:
'flower' moves a flower around the screen, testing the frame protocol
'gears' glxgears, but for wayland, currently broken
'image' loads the image files passed on the command line and shows them
'view' does the same for pdf files, but needs file URIs (file:///path/to/pdf)
Add instruction to install qt, gtk ...