Wayland Display Server (part 4, weston)

Weston is the reference implementation of a Wayland Compositor. It's sort of like window managers are for X, and it's what you'll be staring at and interacting with while playing with Wayland. I don't know of any other compositors yet.

Compiling weston

$ git clone git://anongit.freedesktop.org/wayland/weston
$ cd weston
Before running anything, I'm installing a pdf reader which Wayland's building page says is optional.

$ sudo apt-get install libpoppler-glib-dev libgio2.0-cil-dev Time to dive into configuring it. $ ./autogen.sh --prefix=$WLD

Missing xcursor, so installing libxcursor-dev.

$ sudo apt-get install libxcursor-dev

Same problem, mtdev this time.

$ sudo apt-get install libmtdev-dev

And again, libjpeg

$ sudo apt-get install libjpeg-dev

The next error is a little tricky. It's looking for pam, which there are a lot of packages for. Tab completion will just get you lost, but apt-cache search libpam-dev will point you to libpam0g-dev, whose description sounds correct.

$ sudo apt-get install libpam0g-dev

The next one is much easier, it wants colord.

$ sudo apt-get install libcolord-dev

That was all that was needed for configuring weston, compiling and installing it is pretty straightforward like the rest.

$ make

For now, I've hit a dead end. It's claiming I missed cairo-gl somewhere along the way, but I can't figure out why. For now, I just grabbed weston off apt-get. Hopefully I'll get back to this, or maybe you'll have better luck. I'd like to be able to run the newest version of weston, or compile my own versions.