Develop on a computer (original) (raw)

Most of the Maynard development can be done on your computer without using a Raspberry Pi.

Install kdewallpapers. For instance, if you are on Debian or Ubuntu, do:

$ sudo apt-get install kdewallpapers

Setup the various paths you will need:

$ cd ... # where you want this stuff to be $ export PREFIX="$PWD/_inst" # where you want the installed stuff to be $ export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

Compile and install wayland:

$ git clone git://anongit.freedesktop.org/wayland/wayland $ cd wayland $ ./autogen.sh --prefix $PREFIX $ make install $ cd ..

Compile and install weston:

$ git clone git://anongit.freedesktop.org/wayland/weston $ cd weston $ ./autogen.sh --prefix $PREFIX --disable-setuid-install $ make install $ cd ..

Configure weston by adding this to ~/.config/weston.ini, making sure to replace $PREFIX with the value set above (as the expanded full path. E.g. /home/user/_inst/libexec/maynard):

[core] modules=shell-helper.so

[shell] client=$PREFIX/libexec/maynard focus-animation=dim-layer animation=zoom

Compile and install maynard:

$ git clone git://github.com/raspberrypi/maynard.git $ cd maynard $ ./autogen.sh --prefix $PREFIX $ make install

Launch maynard:

./maynard