From 03c2a199e9fe2960e2a009522db031d2e577167e Mon Sep 17 00:00:00 2001
From: dongpingx <dongpingx.wu@intel.com>
Date: Wed, 17 Jul 2024 17:24:21 +0800
Subject: [PATCH] doc: update libwebkit2gtk install method & remove unnecessary
 package

1.We updated libwebkit2gtk-4.0-dev install method for Canonical had
removed that package already, but Tauri need it, so we advice the user
to download the dependencies through Ubuntu22.04's repo or adopt our
links directly.

2.remove unnecessary package: libappindicator3-dev, we found it is possible
to build acrn without that dependency, so we remove it now.

Signed-off-by: dongpingx <dongpingx.wu@intel.com>
Tracked-On: #8659
---
 doc/tutorials/acrn_configurator_tool.rst | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/tutorials/acrn_configurator_tool.rst b/doc/tutorials/acrn_configurator_tool.rst
index bb44f87b7..fd6ea66d6 100644
--- a/doc/tutorials/acrn_configurator_tool.rst
+++ b/doc/tutorials/acrn_configurator_tool.rst
@@ -444,16 +444,18 @@ how to build the Debian package from source code.
 
    .. code-block:: bash
 
-      sudo apt install -y libwebkit2gtk-4.0-dev \
-         build-essential \
+      sudo apt install -y build-essential \
          curl \
          wget \
          libssl-dev \
          libgtk-3-dev \
-         libappindicator3-dev \
          librsvg2-dev \
          python3-venv
 
+      cd /tmp/
+      wget http://security.ubuntu.com/ubuntu/pool/main/w/webkit2gtk/libwebkit2gtk-4.0-37_2.44.2-0ubuntu0.22.04.1_amd64.deb http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu70_70.1-2_amd64.deb http://security.ubuntu.com/ubuntu/pool/main/w/webkit2gtk/libjavascriptcoregtk-4.0-18_2.44.2-0ubuntu0.22.04.1_amd64.deb
+      sudo apt install ./libwebkit2gtk-4.0-37_2.44.2-0ubuntu0.22.04.1_amd64.deb ./libicu70_70.1-2_amd64.deb ./libjavascriptcoregtk-4.0-18_2.44.2-0ubuntu0.22.04.1_amd64.deb
+
 #. Install Node.js (npm included) as follows:
 
    a. We recommend using nvm to manage your Node.js runtime. It allows you to