[PATCH web] building: add --with-cairo=gl to weston autogen step

Armin K. krejzi at email.com
Tue Aug 13 08:31:29 PDT 2013


On 13.8.2013 17:00, U. Artie Eoff wrote:
> From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>
>
> The option --with-cairo=[image|gl|glesv2] was added to Weston's
> configure and it defaults to --with-cairo=image.  Since the
> preceding instructions elude to compiling and using cairo-gl,
> Weston needs to be configured to use it.
>

Not related to this patch, but it would be nice if configure detected 
cairo-gl, cairo-glesv2 and then cairo-image, since it is only used as a 
fallback if none of the listed ones is available.

> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
> ---
>   building.html | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/building.html b/building.html
> index 771c659..8ea822a 100644
> --- a/building.html
> +++ b/building.html
> @@ -226,9 +226,14 @@ And optionally, for the pdf viewer:
>   poppler-glib and
>   gio-2.0.</p>
>
> +<p>If you opt to use cairo-gl, then Weston needs to be
> +configured with the option "--with-cairo=gl" to enable it.  Otherwise,
> +Weston will default to cairo-image (software) to render it's demo
> +clients.</p>
> +
>   <pre>    $ git clone git://anongit.freedesktop.org/wayland/weston
>       $ cd weston
> -    $ ./autogen.sh --prefix=$WLD
> +    $ ./autogen.sh --prefix=$WLD --with-cairo=gl
>       $ make
>       $ make install
>   </pre>
>



More information about the wayland-devel mailing list