The Xwayland package is an Xorg server running on top of the wayland server. It has been separated from the main Xorg server package. It allows running X clients inside a wayland session.
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
ダウンロード (HTTP): https://www.x.org/pub/individual/xserver/xwayland-23.2.3.tar.xz
ダウンロード MD5 sum: 5f2effd2dd2433d8a7cdc05f8feadfb9
ダウンロードサイズ: 1.2 MB
必要ディスク容量: 27 MB (add 364 MB for tests)
概算ビルド時間: 0.2 SBU (with parallelism=4; add 1.7 SBU for tests, not including clone time)
libxcvt-0.1.2, Pixman-0.42.2, wayland-protocols-1.32, Xorg アプリケーション (実行時), Xorg フォント (only font-util)
libepoxy-1.5.10, libtirpc-1.3.4, Mesa-23.3.1
git-2.43.0 (to download packages needed for the tests), libgcrypt-1.10.3, Nettle-3.9.1, xmlto-0.0.28, Xorg Legacy Fonts (only bdftopcf, for building fonts required for the tests), rendercheck (for tests), and weston (for tests)
Install xwayland by running the following commands:
sed -i '/install_man/,$d' meson.build && mkdir build && cd build && meson setup --prefix=$XORG_PREFIX \ --buildtype=release \ -Dxkb_output_dir=/var/lib/xkb \ .. && ninja
Building the test framework needs some work. First, weston brings in several dependencies, but the number can be reduced by disabling unneeded features. The meson command for a stripped down build of weston is shown in Upstream continuous integration build.
Running the tests involves downloading two other frameworks, in addition to the mentioned optional dependencies:
mkdir tools &&
pushd tools &&
git clone https://gitlab.freedesktop.org/mesa/piglit.git --depth 1 &&
cat > piglit/piglit.conf << EOF &&
[xts]
path=$(pwd)/xts
EOF
git clone https://gitlab.freedesktop.org/xorg/test/xts --depth 1 &&
export DISPLAY=:22 &&
../hw/vfb/Xvfb $DISPLAY &
VFB_PID=$! &&
cd xts &&
CFLAGS=-fcommon ./autogen.sh &&
make &&
kill $VFB_PID &&
unset DISPLAY VFB_PID &&
popd
Then the tests can be run with:
XTEST_DIR=$(pwd)/tools/xts PIGLIT_DIR=$(pwd)/tools/piglit ninja test
Now, as the root
user:
ninja install
If Xorg-Server-21.1.10 is not installed and
you do not plan to install it later, you can install Xvfb from this package. As the
root
user:
install -vm755 hw/vfb/Xvfb /usr/bin
sed -i '/install_man/,$d' meson.build: Prevents installing a manual page for Xserver, which is also provided by Xorg-Server-21.1.10. Remove this command if Xorg-Server-21.1.10 is not installed and you don't plan to install it later.
--buildtype=release
:
本パッケージの安定版リリース向けに適したビルドタイプを指定します。
デフォルトにしていると、最適化されていないバイナリを生成する場合があるためです。