Skip to content

Instantly share code, notes, and snippets.

@colesnicov
Created December 18, 2021 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colesnicov/709971733acad5224f460599f65ca978 to your computer and use it in GitHub Desktop.
Save colesnicov/709971733acad5224f460599f65ca978 to your computer and use it in GitHub Desktop.
weston on rpi2 b

zdroje

Preparations

sudo apt-get install build-essential git python3-pip ninja-build libffi-dev libxml2-dev
sudo pip3 install meson
export WLD=/usr

Wayland

git clone https://gitlab.freedesktop.org/wayland/wayland
cd wayland
meson build/ --prefix=$WLD -Ddocumentation=false -Dtests=false
sudo ninja -C build/ install

Wayland-protocols

git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
cd ../wayland-protocols/
meson build/ --prefix=$WLD -Dtests=false
sudo ninja -C build/ install

Weston

sudo apt install libxkbcommon-dev libpixman-1-dev  libinput-dev libdrm-dev libcairo2-dev  libjpeg-dev libwebp-dev python3-mako libsystemd-dev libdbus-1-dev libpam-dev liblcms2-dev  libgles2-mesa-dev libgbm-dev libva-dev libcolord-dev libpango1.0-dev

git clone https://gitlab.freedesktop.org/wayland/weston.git
cd ../weston/
meson build/ --prefix=$WLD -Dbackend-x11=false -Dxwayland=false -Dtest-junit-xml=false -Dbackend-rdp=false -Dremoting=false -Dpipewire=false -Ddemo-clients=false -Dsimple-clients="damage,im,egl,shm,touch,dmabuf-egl"
sudo ninja -C build/ install

Make to run

sudo groupadd weston-launch
sudo usermod -a -G weston-launch,input pi
weston-launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment