[PATCH 2/4] Building: Building mesa with wayland egl-platforms

Sedat Dilek sedat.dilek at googlemail.com
Thu Feb 17 04:29:47 PST 2011


Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com>
---
 building.html |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/building.html b/building.html
index 4147d90..5c4aa25 100644
--- a/building.html
+++ b/building.html
@@ -72,28 +72,36 @@ There now exists two repositories:
     $ make install
 </pre>
 
-<h2>Building mesa without Wayland EGL platform</h2>
+<h2>Building mesa with wayland egl-platforms</h2>
 
 <p>Wayland uses the mesa EGL stack, and all extensions required to run
 EGL on KMS are now upstream on the master branch.  You'll need to pull
 it from git, because 7.10 does not include required commits related to
 BGRA8888 and wayland-egl.  First build it without the Wayland EGL
 platform, because the libraries that requires are not yet installed.
-For this you'll also need a development package for libdrm.</p>
+</p>
 
+<p>Before building mesa, you might need a development version of libdrm.</p>
 <pre>    
     $ git clone git://anongit.freedesktop.org/git/mesa/drm
     $ cd drm
     $ ./autogen.sh --prefix=$INSTALL_PATH --enable-nouveau-experimental-api
     $ make &amp;&amp; make install
+</pre>
 
+<p>Build mesa with wayland egl-platforms:</p>
+<pre>
     $ git clone git://anongit.freedesktop.org/mesa/mesa
     $ cd mesa
-    $ ./autogen.sh --prefix=$INSTALL_PATH --enable-egl --enable-gles2    \
-      --enable-gallium-nouveau --with-state-trackers=glx,dri,egl         \
-      --with-egl-platforms=drm --enable-gles-overlay                     \
-      --enable-gallium-r600 --with-dri-drivers=i915,i965                 \
-      --disable-gallium-{i915,i965}
+    $ ./autogen.sh --prefix=$INSTALL_PATH \
+      --with-dri-drivers=i915,i965 \
+      --with-state-trackers=glx,dri,egl \
+      --with-egl-platforms=drm,wayland \
+      --enable-egl \
+      --enable-gles-overlay --enable-gles2 \
+      --disable-gallium-{i915,i965} \
+      --enable-gallium-r600 \
+      --enable-gallium-nouveau
     $ make &amp;&amp; make install
 </pre>
 
-- 
1.7.4.1



More information about the wayland-devel mailing list