The general usage is:
git clone https://github.com/WayfireWM/wf-install cd wf-install ./install.sh --prefix /opt/wayfire --stream 0.7.x
The last script will download all necessary components and install them to the given prefix.
If you want to build the latest versions, use
For Wayfire and wf-shell, default configuration files will also be installed to
The script also has a few other options, which you can see by calling
The following is a list of dependencies needed on Ubuntu, similar lists are required on other distributions.
sudo apt install git meson python3-pip pkg-config libwayland-dev autoconf libtool libffi-dev libxml2-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libinput-dev libxkbcommon-dev libpixman-1-dev xutils-dev xcb-proto python3-xcbgen libcairo2-dev libglm-dev libjpeg-dev libgtkmm-3.0-dev xwayland libdrm-dev libgirepository1.0-dev libsystemd-dev policykit-1 libx11-xcb-dev libxcb-xinput-dev libxcb-composite0-dev xwayland libasound2-dev libpulse-dev
update_build.sh is a script similar to
install.sh, but assumes you have already built and installed Wayfire.
It will simply update the downloaded code, recompile and install it to the same prefix as configured with
./update_build.sh . 0.7.x
The first parameter is the toplevel directory where you started the build (i.e the folder with
wcm source), and the second one is the version of Wayfire to build.