Add Fedora package names to compilation guide

This commit is contained in:
Camilla Löwy 2021-07-18 14:45:12 +02:00
parent ab34cc51c6
commit 9e1ee3f263

View File

@ -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
@endcode
On Fedora and its derivatives you will need the `wayland-devel`,
`libxkbcommon-devel` and `wayland-protocols-devel` packages.
@code{.sh}
sudo dnf install wayland-devel libxkbcommon-devel wayland-protocols-devel
@endcode
On FreeBSD you will need the `wayland`, `libxkbcommon` and `wayland-protocols`
packages.