On 13.8.2013 17:59, Eoff, Ullysses A wrote:

-----Original Message-----
From: wayland-devel-bounces+ullysses.a.eoff=intel....@lists.freedesktop.org 
[mailto:wayland-devel-
[email protected]] On Behalf Of Armin K.
Sent: Tuesday, August 13, 2013 8:31 AM
To: [email protected]
Subject: Re: [PATCH web] building: add --with-cairo=gl to weston autogen step

On 13.8.2013 17:00, U. Artie Eoff wrote:
From: "U. Artie Eoff" <[email protected]>

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.


That would certainly make it operate similar to how it used to by default.
I'd be fine with that since we can still choose explicitly.


Ah, right. I didn't see the description of the other patch. Anyways, I think we should have a "configure summary" to print what is(n't) enabled (autodetected or not).

Signed-off-by: U. Artie Eoff <[email protected]>
---
   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>


_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to