浏览代码

Add Fedora package names to compilation guide

(cherry picked from commit 9e1ee3f2634fdbcb9107c3c57be7eafaf5ff87cd)
Camilla Löwy 4 年之前
父节点
当前提交
1b0eac9c58
共有 1 个文件被更改,包括 15 次插入0 次删除
  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
 @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.