[PATCH] Update build instructions

Kristian Høgsberg krh at bitplanet.net
Sun Jan 23 16:57:20 PST 2011


On Sun, Jan 23, 2011 at 7:15 PM,  <Darxus at chaosreigns.com> wrote:
> ---
>  building.html |  129 +++++++++++++++++++++++++++++++++++++++-----------------
>  1 files changed, 90 insertions(+), 39 deletions(-)
>
> diff --git a/building.html b/building.html
> index c43bef5..58930e0 100644
> --- a/building.html
> +++ b/building.html
> @@ -8,7 +8,7 @@
>  </head>
>
>  <body>
> -<h1><img src="wayland.png"></h1>
> +<h1><img src="wayland.png" alt="wayland logo"></h1>
>
>  <p>The instructions below assume some familiarity with git and
>  building and running experimental software.  And be prepared that this
> @@ -36,33 +36,58 @@ the intel driver does at this point.</p>
>  EGL on KMS are now upstream on the master branch.  The 7.9 release of
>  mesa has all these extensions, but for the shm buffer feature you'll
>  need the GL_EXT_texture_format_BGRA8888 extension from mesa
> -master:</p>
> +master.  With nouveau, you'll need a development package for libdrm.</p>
> +
> +<pre>    $ git clone git://anongit.freedesktop.org/git/mesa/drm
> +    $ cd drm
> +    $ ./autogen.sh --prefix=$HOME/install --enable-nouveau-experimental-api
> +    $ make &amp;&amp; make install
>
> -<pre>
>     $ git clone git://anongit.freedesktop.org/mesa/mesa
>     $ cd mesa
> -    $ ./configure --prefix=$HOME/install  --enable-egl --enable-gles2 --disable-gallium-egl
> -    $ make && make install
> +    $ ./autogen.sh --prefix=$HOME/install --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}
> +    $ make &amp;&amp; make install

We can't use --enable-gles-overlay and I don't want to recommend
gallium egl either.  Can you check that --with-state-trackers=glx,dri
instead and adding --disable-gallium-egl works?

Kristian


More information about the wayland-devel mailing list