docs: add GTK libraries as normal prerequisite for desktop builds
All checks were successful
GBCI / build (push) Successful in 9s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-02-05 21:39:37 -03:00
parent 8cfb624f2e
commit f68ad31168

View file

@ -57,7 +57,7 @@ cargo --version
#### Linux (Ubuntu/Debian)
**Critical: Install clang linker first** (fixes "linker `clang` not found" error):
**Base dependencies** (required for all builds):
```bash
sudo apt update
@ -72,6 +72,24 @@ sudo apt install -y \
git
```
**Desktop GUI dependencies** (required for Tauri/desktop builds):
```bash
sudo apt install -y \
libglib2.0-dev \
libgtk-3-dev \
libgdk-pixbuf-2.0-dev \
libcairo2-dev \
libpango1.0-dev \
libatk1.0-dev \
libxkbcommon-dev \
libxcb-render0-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev
```
**Note:** Desktop GUI dependencies are only needed if building with `--features desktop`. For minimal builds without desktop GUI, these libraries are not required.
Configure Rust to use clang as the linker:
```bash
@ -85,6 +103,8 @@ EOF
#### Linux (Fedora/RHEL)
**Base dependencies** (required for all builds):
```bash
sudo dnf install -y \
clang \
@ -99,6 +119,22 @@ sudo dnf install -y \
git
```
**Desktop GUI dependencies** (required for Tauri/desktop builds):
```bash
sudo dnf install -y \
glib2-devel \
gtk3-devel \
gdk-pixbuf2-devel \
cairo-devel \
pango-devel \
atk-devel \
libxkbcommon-devel \
libxcb-devel
```
**Note:** Desktop GUI dependencies are only needed if building with `--features desktop`. For minimal builds without desktop GUI, these libraries are not required.
Configure Rust to use clang as the linker:
```bash