Ver Fonte

Add Fedora package names to compilation guide

Camilla Löwy há 4 anos atrás
pai
commit
9e1ee3f263
1 ficheiros alterados com 15 adições e 0 exclusões
  1. 15 0
      docs/compile.dox

+ 15 - 0
docs/compile.dox

@@ -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.