From 1b0eac9c5871b2e2e0945725008a20ec0bda3840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Sun, 18 Jul 2021 14:45:12 +0200 Subject: [PATCH] Add Fedora package names to compilation guide (cherry picked from commit 9e1ee3f2634fdbcb9107c3c57be7eafaf5ff87cd) --- docs/compile.dox | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/compile.dox b/docs/compile.dox index 2fe50e50..afd63fae 100644 --- a/docs/compile.dox +++ b/docs/compile.dox @@ -52,6 +52,14 @@ development packages for all of X11. sudo apt install xorg-dev @endcode +On Fedora and its derivatives the X11 extension packages `libXcursor-devel`, +`libXi-devel`, `libXinerama-devel` and `libXrandr-devel` required by GLFW pull +in all its other dependencies. + +@code{.sh} +sudo dnf install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel +@endcode + On FreeBSD the X11 headers are installed along the end-user X11 packages, so if you have an X server running you should have the headers as well. If not, install the `xorgproto` package. @@ -79,6 +87,13 @@ On Debian and derivates like Ubuntu you will need the `libwayland-dev`, sudo apt install libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules @endcode +On Fedora and its derivatives you will need the `wayland-devel`, +`libxkbcommon-devel`, `wayland-protocols-devel` and `extra-cmake-modules` packages. + +@code{.sh} +sudo dnf install wayland-devel libxkbcommon-devel wayland-protocols-devel extra-cmake-modules +@endcode + On FreeBSD you will need the `wayland`, `libxkbcommon`, `wayland-protocols` and `kf5-extra-cmake-modules` packages.