Repository navigation
02 building and installing build prerequisites
Development status: Polo is under active development. The distribution commands below follow the repository README. They deliberately install both build dependencies and useful runtime programs; not every package is required just to compile the compositor.
Right now we only mapped dependency commands for Fedora 44 and 45, Debian 14, and Ubuntu 26.04/26.10.
Polo's subprojects/weston.wrap pins Weston 16.0.1 and applies Polo-specific patches. You do not need to install a system copy of libweston or Weston to build Polo.
Install the build dependencies and companion runtime programs listed in the README:
sudo dnf install gcc gcc-c++ git meson ninja-build python3 pkgconf-pkg-config \
vala valadoc \
glib2-devel gtk3-devel gtk-layer-shell-devel \
wayland-devel wayland-protocols-devel libxkbcommon-devel \
libinput-devel libevdev-devel libseat-devel systemd-devel \
libdrm-devel mesa-libgbm-devel libglvnd-devel libdisplay-info-devel \
pixman-devel cairo-devel pango-devel lcms2-devel libpng-devel \
libxcb-devel xcb-util-wm-devel xcb-util-errors-devel xcb-util-cursor-devel \
libXcursor-devel xorg-x11-server-Xwayland-devel \
libcanberra-devel pulseaudio-libs-devel libSM-devel libICE-devel \
mate-desktop-devel python3-xlib python3-pyyaml json-glib-devel \
dconf-devel xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-wlr \
grim wl-clipboard slurpInstall the dependencies and runtime companions listed in the README:
sudo apt update
sudo apt install gcc g++ git meson ninja-build python3 pkg-config \
valac valadoc \
libglib2.0-dev libgtk-3-dev libgtk-layer-shell-dev \
libwayland-dev wayland-protocols libxkbcommon-dev \
libinput-dev libevdev-dev libseat-dev libsystemd-dev libudev-dev \
libdrm-dev libgbm-dev libegl-dev libgles-dev libdisplay-info-dev \
libpixman-1-dev libcairo2-dev libpango1.0-dev liblcms2-dev libpng-dev \
libxcb1-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-errors-dev \
libxcb-cursor-dev libxcursor-dev xwayland libdconf-dev \
libcanberra-dev libpulse-dev libsm-dev libice-dev \
libmate-desktop-dev python3-xlib python3-yaml libjson-glib-dev \
xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-wlr \
grim wl-clipboard slurpA full MATE desktop session additionally needs the MATE programs it starts, such as mate-panel, Caja, and mate-settings-daemon. These are separate from the core Polo build dependencies; their installation is not covered here. A display manager such as LightDM is optional for building, but useful for selecting the installed MATE (Polo) session graphically.
git clone https://github.com/KeremSoke/polo.git
cd poloThe Weston subproject is declared in subprojects/weston.wrap, not as a requirement to install the distribution's Weston compositor. Its pinned revision and local patches are applied through Meson's subproject mechanism.
Once prerequisites are installed, continue to Compile Polo:
The main problems so far I had encountered are:
- MATE libraries needs to be at least 1.27
- MATE panel needs to be compiled for full in-process applets and wayland support
- MATE settings daemon needs to be 1.29
- To be able to use volume applet, mate-media needs to be at least 1.29 with wayland=yes.
Building and Installing Polo < You are here currently > Compile Polo