PhotoCraft: An open-source, photo editor written by scratch in pure Rust
fix(docs): Linux build prerequisites only name Debian packages (#2437)
Erica Franco31def413cc7c
diff --git a/book/src/getting-started/building.md b/book/src/getting-started/building.mdindex 83edc917a..d32307a4f 100644--- a/book/src/getting-started/building.md+++ b/book/src/getting-started/building.md@@ -2,6 +2,10 @@PhotoCraft uses the Rust workspace at the repository root. Install the stable Rust toolchain, clone the repository, and run commands from that root.+On Linux, install the windowing, GL and GTK development packages first. The development guide's+[Prerequisites](https://github.com/storytold/photocraft/blob/main/docs/development.md#prerequisites)+list them for Debian/Ubuntu, Fedora, Arch and openSUSE.+```shcargo build --workspacecargo run --release -p photocraft -- image.psddiff --git a/docs/development.md b/docs/development.mdindex 7d2f09bf0..3b69f0d03 100644--- a/docs/development.md+++ b/docs/development.md@@ -3,7 +3,11 @@## Prerequisites- Rust stable (1.95+). Add the web target with `rustup target add wasm32-unknown-unknown`.-- macOS, Windows or Linux. Linux needs `libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libgtk-3-dev`.+- macOS, Windows or Linux. On Linux, install the windowing, GL and GTK development packages:+ - Debian/Ubuntu: `sudo apt install libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libgtk-3-dev`+ - Fedora/RHEL: `sudo dnf install libxkbcommon-devel wayland-devel libX11-devel libXrandr-devel libXi-devel mesa-libGL-devel gtk3-devel`+ - Arch: `sudo pacman -S libxkbcommon wayland libx11 libxrandr libxi mesa gtk3`+ - openSUSE: `sudo zypper install libxkbcommon-devel wayland-devel libX11-devel libXrandr-devel libXi-devel Mesa-libGL-devel gtk3-devel`### Windows source builds