Mention Wayland build requirements in documentation
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Mon, 14 Dec 2015 16:22:51 +0000 (16:22 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Mon, 14 Dec 2015 16:22:51 +0000 (16:22 +0000)
Following https://github.com/dcnieho/FreeGLUT/issues/38 ;
mention Wayland support in README, Wayland build
instructions and requirements in README.cmake.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>

(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)

(cherry picked from commit 18773bcc818714436e3aeb6229b2f84125d6edc4)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1780 7f0cb862-5218-0410-a997-914c9d46530a

AUTHORS
README
README.cmake

diff --git a/AUTHORS b/AUTHORS
index ec86e1e..6af14c8 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -32,6 +32,9 @@ John Tsiombikas <nuclear@member.fsf.org>
 Sylvain Beucler
     support for Android, X11/EGL, OpenGL(ES) 2.x, misc fixes
 
+Manuel Bachmann
+    support for Wayland
+
 Diederick C. Niehorster
 Chris Marshall
 Clive McCarthy
diff --git a/README b/README
index fb94976..2ad197d 100644 (file)
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ PORTS
 =====
 
 Currently supported platforms:
- - UNIX systems with X11 (such as GNU/Linux, FreeBSD, etc)
+ - UNIX systems with X11 and Wayland (such as GNU/Linux, FreeBSD, etc)
  - MS Windows
  - MacOS X with XQuartz (no native Cocoa support yet)
  - Android (NDK)
index ffd387e..4b3962d 100644 (file)
@@ -40,10 +40,14 @@ How to build freeglut on UNIX
 - Make sure you have the basics for compiling code, such as C compiler\r
   (e.g., GCC) and the make package.\r
 - Also make sure you have packages installed that provide the relevant\r
-  header files for x11 (including xrandr) and opengl (e.g.,\r
-  libgl1-mesa-dev, libx11-dev and libxrandr-dev on Debian/Ubuntu).\r
-- Install XInput: libxi-dev / libXi-devel\r
-- Run 'cmake .' in the freeglut directory to generate the makefile.\r
+  header files for opengl (e.g., libgl1-mesa-dev on Debian/Ubuntu) and\r
+  the chosen backend :\r
+  - X11: x11 (e.g., libx11-dev, libxrandr-devel on Debian/Ubuntu) and\r
+  XInput (libxi-dev / libXi-devel)\r
+  - Wayland: wayland (e.g., libwayland-dev and libegl1-mesa-dev on\r
+  Debian/Ubuntu) and xkbcommon (libxkbcommon-dev /libxkbcommon-devel)\r
+- Run 'cmake .' (or 'cmake . -DFREEGLUT_WAYLAND=ON' for Wayland) in the\r
+  freeglut directory to generate the makefile.\r
 - Run 'make' to build, and 'make install' to install freeglut.\r
 - If you wish to change any build options run 'ccmake .'\r
 \r
@@ -59,6 +63,8 @@ FREEGLUT_BUILD_SHARED_LIBS  [ON, OFF] Build freeglut as a shared library
 FREEGLUT_BUILD_STATIC_LIBS  [ON, OFF] Build freeglut as a static library\r
 FREEGLUT_GLES               [ON, OFF] Link with GLEs libraries instead\r
                             of OpenGL\r
+FREEGLUT_WAYLAND            [ON, OFF] Link with Wayland libraries instead\r
+                            of X11\r
 FREEGLUT_PRINT_ERRORS       [ON, OFF] Controls whether errors are\r
                             default handled or not when user does not\r
                             provide an error callback\r