Wayland Display Server (part 3, libxkbcommon, cairo, libunwind)

There isn't a whole lot left to do, just three more libraries.

Compiling libxkbcommon

$ git clone git://github.com/xkbcommon/libxkbcommon
$ cd libxkbcommon/
$ ./autogen.sh --prefix=$WLD --with-xkb-config-root=/usr/share/X11/xkb

Right off the bat, it tries to be confusing. It's missing xorg-macros, and apt-cache shows you actually need to install xutils-dev

$ sudo apt-get install xutils-dev

Surprisingly, that was all this one needed. Finish up with the normal make && make install.

$ make
$ sudo make install

Compiling cairo

$ git clone git://anongit.freedesktop.org/pixman
$ cd pixman
$ ./autogen.sh --prefix=$WLD

This one actually worked completely trivially, just finish it up with a make && make install

$ make
$ sudo make install

Now for cairo itself.

$ git clone git://anongit.freedesktop.org/cairo $ cd cairo $ ./autogen.sh --prefix=$WLD --enable-gl --enable-xcb

First up, libpng

$ sudo apt-get install libpng12-dev

After that, it finished up nicely.

$ make
$ sudo make install

Compiling libunwind

Last one, libunwind. This one starts out a little differently, using autoreconf and ./configure instead of ./autogen.sh. There's also what I think is a typo on their site, they have ./configure using $installdir. I assume it's supposed to be $WLD.

$ git clone git://git.sv.gnu.org/libunwind
$ cd libunwind
$ autoreconf -i
$ ./configure --prefix=$WLD

This one was also a breeze, just finish it up with make && make install, and you're done!

$ make
$ sudo make install