Yes, get rid of xorg compilation Wayland
Minimize the installation of CENTOS7
Related tools
Yum install autoconf automake make gcc gcc-c++ libtool Bison flex wget bzip2 Pkgconfig
Adding environment variables
Export wld=/home/
Expexport ld_library_path= $WLD/lib
Export pkg_config_path= $WLD/lib/pkgconfig/: $WLD/share/pkgconfig/
Export path= $WLD/bin: $PATH
Export Aclocal_path= $WLD/share/aclocal
Export aclocal= "Aclocal-i $ACLOCAL _path"
Mkdir-p $ACLOCAL _path
Wanyland related dependencies
Yum Install libffi-devel.x86_64 expat-devel.x86_64
No git download source, the following tar package
Wayland
./configure--prefix= $WLD--disable-documentation
Make
Make check
Make install
Libevdev
./configure--prefix= $WLD--disable-static--disable-documentation
Make
Make install
Mtdev
./configure--prefix= $WLD--disable-static
Make
Make install
Libinput related dependencies
Yum Install systemd-devel.x86_64
./configure--prefix= $WLD--without-libunwind--disable-static
Make
Make install
Libdrm
Sed-e "/pthread-stubs/d"-I. CONFIGURE.AC
Autoreconf-fiv
./configure--prefix=/$WLD--disable-intel--disable-radeon--disable-amdgpu--disable-vmwgfx
Make
Make install
Mesa
./autogen.sh--prefix= $WLD--enable-gles2--disable-gallium-egl \
--WITH-EGL-PLATFORMS=WAYLAND,DRM--ENABLE-GBM--disable-dri3 \
--with-gallium-drivers= "Nouveau"--with-dri-drivers= "nouveau" \
--DISABLE-XVMC--disable-xa--DISABLE-GLX
Make
Make install
Yum Install Wqy-microhei-fonts.noarch Wqy-zenhei-fonts.noarch zlib-devel.x86_64
Libpng
./configure--prefix= $WLD--disable-static
Make
Make install
Harfbuzz
Yum Install glib2-devel.x86_64
./configure--prefix= $WLD
Make
Make install
FreeType
./configure--prefix= $WLD--disable-static
Make
Make install
Fontconfig
./configure--prefix= $WLD--disable-docs
Make
Make install
Cairo
Yum Install libpng-devel.x86_64 pixman-devel.x86_64
./autogen.sh--prefix= $WLD--enable-gl=no--enable-xlib=no--enable-glx=no \
--enable-glesv2--enable-ft=yes--enable-fc=yes--enable-test-surfaces=no \
--disable-static--disable-some-floating-point
Make
Make install
Weston
Yum Install libxkbcommon-devel.x86_64 libjpeg-turbo-devel.x86_64 pam-devel.x86_64
./configure--prefix= $WLD--enable-wayland-compositor--enable-drm-compositor \
--disable-xwayland-test--disable-x11-compositor--disable-xwayland--enable-fbdev-compositor
Make
Make check
sudo make install
Mkdir-p ~/.config
CP Weston.ini ~/.config
Echo $XDG _runtime_dir
sudo groupadd weston-launch
sudo usermod-a-G weston-launch $USER
sudo chown root $WLD/bin/weston-launch
sudo chmod +s $WLD/bin/weston-launch
Compile pure Wayland and Weston on Centos7