g. weston 编译过程说明
本文记录的是在ubuntu 20.04 环境下,编译weston 的过程,主要步骤是参考weston的官方编译说明:Building Weston (wayland.freedesktop.org)。
使用docker 创建一个干净的编译环境,配置好APT源,安装依赖包:
docker run --name weston-dev -it ubuntu:20.04 bash # 进入容器后 sed -i s/ports.ubuntu.com/mirrors.ustc.edu.cn/g /etc/apt/sources.list sed -i s/'# deb-src'/deb-src/g /etc/apt/sources.list apt update && apt install -y vim git python3-pip pip3 install meson==0.63.0 -i https://mirrors.aliyun.com/pypi/simple apt build-dep weston mkdir /workspaces
编译 wayland:
cd /workspaces git clone https://gitlab.freedesktop.org/wayland/wayland.git cd wayland export WLD=/usr/local meson build/ --prefix=$WLD --buildtype=release -Ddocumentation=false ninja -C build/ install
编译 wayland protocols:
cd /workspaces git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git cd wayland-protocols meson build/ --prefix=$WLD --buildtype=release ninja -C build/ install
编译 drm:
编译 libseat:
编译 weston:
, multiple selections available,
Related content
weston 编译过程说明
weston 编译过程说明
More like this
b. 编译安卓7.1.1系统anbox_arm64-userdebug版本img镜像
b. 编译安卓7.1.1系统anbox_arm64-userdebug版本img镜像
More like this
4.2.4 使用FDE仓库编译waydroid
4.2.4 使用FDE仓库编译waydroid
More like this
4.2.5 使用FDE仓库编译redroid镜像
4.2.5 使用FDE仓库编译redroid镜像
More like this
AOSP镜像和Linux程序编译
AOSP镜像和Linux程序编译
More like this
典型的Wayland client编程实例
典型的Wayland client编程实例
More like this