补充资料。

Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
rick.chan 2024-07-04 13:08:59 +08:00
parent cb726a0f19
commit e5d6ae0e09
1 changed files with 23 additions and 7 deletions

View File

@ -3,9 +3,9 @@
系统Ubuntu 22.04
```bash
apt install libcolord-dev liblcms2-dev libva-dev libinput-dev libdrm-dev libpango1.0-dev libpam0g-dev libgbm-dev freerdp2-dev install libxkbcommon-dev libpixman-1-dev libcairo2-dev libjpeg-dev libwebp-dev libsystemd-dev libdbus-1-dev libseat-dev libx11-xcb-dev libxcb-xkb-dev libxcb-composite0-dev libgstreamer-plugins-base1.0-dev libxml2-dev libxcursor-dev
apt install libcolord-dev liblcms2-dev libva-dev libinput-dev libdrm-dev libpango1.0-dev libpam0g-dev libgbm-dev freerdp2-dev libxkbcommon-dev libpixman-1-dev libcairo2-dev libjpeg-dev libwebp-dev libsystemd-dev libdbus-1-dev libseat-dev libx11-xcb-dev libxcb-xkb-dev libxcb-composite0-dev libgstreamer-plugins-base1.0-dev libxml2-dev libxcursor-dev
apt install meson cmake git graphviz doxygen xsltproc xmlto
apt install meson cmake git graphviz doxygen xsltproc xmlto pkg-config
# apt install libegl-dev libgegl-common libpam0g libgles2 libpipewire-0.2-dev
```
@ -61,15 +61,24 @@ path=/usr/bin/weston-terminal
```
```bash
git clone https://gitlab.freedesktop.org/wayland/wayland.git v1.21.0
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git v1.24
git clone git clone https://gitlab.freedesktop.org/wayland/weston.git v10.0.2
git clone https://gitlab.freedesktop.org/wayland/wayland.git
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
git clone https://gitlab.freedesktop.org/wayland/weston.git
# opengl 源码从 buildroot 中拷贝
```
wayland and wayland-protocols:
wayland:
```bash
git checkout 1.21.0
meson build/ --prefix=/usr
sudo ninja -C build/ install
```
wayland-protocols:
```bash
git checkout 1.24
meson build/ --prefix=/usr
sudo ninja -C build/ install
```
@ -84,7 +93,14 @@ sudo ninja -C build/ install
weston:
```bash
meson build/ --prefix=/usr -Dpipewire=false
git checkout 10.0.2
# meson build/ --prefix=/usr -Dpipewire=false
meson build/ --prefix=/usr -Dpipewire=false -Ddeprecated-wl-shell=true -Dcolor-management-colord=false -Ddoc=false -Dremoting=false -Dtools=calibrator,debug,info,terminal,touch-calibrator -Dlauncher-logind=true -Dimage-jpeg=true -Dimage-webp=true -Ddeprecated-weston-launch=true -Drenderer-gl=true -Dbackend-rdp=true -Dbackend-drm=true -Dbackend-headless=true -Dbackend-wayland=true -Dbackend-drm-screencast-vaapi=true -Dcolor-management-lcms=true -Dsystemd=true -Dtest-junit-xml=true -Dshell-desktop=true -Dshell-fullscreen=true -Dshell-ivi=true -Dsimple-clients=all
sudo ninja -C build/ install
```
启动 westonroot 账户下执行:
```bash
weston --tty=2
```