From 46582446866b51d9f99dcbf5e3d1eaa7911f14e9 Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Thu, 15 Jul 2021 10:03:56 -0400 Subject: [PATCH] [doc] build: Revise client build dependencies for B4 --- doc/build.rst | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/doc/build.rst b/doc/build.rst index 51e405a6..d5ca67e2 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -59,14 +59,12 @@ Required Dependencies - libgl-dev - libfontconfig1-dev - libgmp-dev -- libsdl2-dev -- libsdl2-ttf-dev - libspice-protocol-dev - make - nettle-dev - pkg-config -.. _may_be_disabled: +.. _client_deps_may_be_disabled: May be disabled <<<<<<<<<<<<<<< @@ -83,6 +81,7 @@ feature is disabled when running :ref:`cmake `. - libx11-dev - libxfixes-dev - libxi-dev + - libxinerama-dev - libxss-dev - Disable with ``cmake -DENABLE_WAYLAND=no ..`` @@ -91,11 +90,33 @@ feature is disabled when running :ref:`cmake `. - libwayland-dev - wayland-protocols -You can fetch these dependencies on Debian systems with the following command: +.. _client_deps_deprecated: + +Deprecated +<<<<<<<<<< + +These dependencies may be used, but are not required, and will be removed +in the future. + +- Enable with ``cmake -DENABLE_SDL=yes ..`` + + - libsdl2-dev + - libsdl2-ttf-dev + +.. _client_fetching_with_apt: + +Fetching with APT +^^^^^^^^^^^^^^^^^ + +You can fetch these dependencies with the following command: ``apt-get install binutils-dev cmake fonts-freefont-ttf libfontconfig1-dev -libsdl2-dev libsdl2-ttf-dev libspice-protocol-dev libx11-dev nettle-dev -wayland-protocols`` +libegl-dev libspice-protocol-dev nettle-dev libx11-dev libxi-dev libxinerama-dev +libxss-dev libwayland-dev wayland-protocols`` + +You may omit some dependencies, if you disable the feature which requires them +when running :ref:`cmake `. +(See :ref:`client_deps_may_be_disabled`) .. _client_building: