1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

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 sudo apt install xorg-dev
@endcode @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 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, you have an X server running you should have the headers as well. If not,
install the `xorgproto` package. 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 sudo apt install libwayland-dev libxkbcommon-dev wayland-protocols
@endcode @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` On FreeBSD you will need the `wayland`, `libxkbcommon` and `wayland-protocols`
packages. packages.