> the "When adding" refers to the old version of the guide. This
> is about migrating from a old build where the configure flags
> were different.  That's what the "if you installed it before"
> meant. Granted, is not too clearly written. I guess we could now
> remove these leftovers.

That's what I suspected but I wasn't sure.


> I see we also need to fix that build guide. Your problem comes
> from --with-cairo-glesv2, which before just silently fell back to
> cairo-image, but now triggers an error.
>
> --with-cairo-glesv2 should simply be removed from the configure line.

Sadly, that fix was not obvious to me. Removing the flag solved the
problem, thanks a lot!

In the attached patch I removed the flag and tried to make the text less
confusing.


Kind regards,

Silvan

>From 72a2436d1876267d8516a40b3e7efb2f158695e6 Mon Sep 17 00:00:00 2001
From: Silvan Jegen <[email protected]>
Date: Mon, 16 Sep 2013 18:00:49 +0200
Subject: [PATCH] Building: update the Raspberry Pi weston section

Update the Weston autogen.sh flags and make the accompanying text less
confusing.
---
 raspberrypi.html | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/raspberrypi.html b/raspberrypi.html
index 44d9ce4..c65d918 100644
--- a/raspberrypi.html
+++ b/raspberrypi.html
@@ -146,24 +146,24 @@ contains similar files for Android, and will not work.</p>
 <pre>    $ git clone git://anongit.freedesktop.org/wayland/weston
     $ cd weston
 
-    $ ./autogen.sh --prefix=$WLD \
-    --disable-setuid-install --with-cairo-glesv2 \
+    $ ./autogen.sh --prefix=$WLD --disable-setuid-install \
     --disable-x11-compositor --disable-drm-compositor \
     --disable-fbdev-compositor --disable-wayland-compositor \
-    --disable-weston-launch --disable-simple-egl-clients \
-    --disable-egl --disable-libunwind --disable-colord \
-    --disable-resize-optimization --disable-xwayland-test \
+    --disable-weston-launch --disable-simple-egl-clients --disable-egl \
+    --disable-libunwind --disable-colord --disable-resize-optimization \
+    --disable-xwayland-test \
     WESTON_NATIVE_BACKEND="rpi-backend.so"
 
     $ make
     $ make install
 </pre>
 
-<p>When adding <tt>--disable-wayland-compositor</tt> you can remove the
-dummy <tt>wayland-egl.pc</tt> pkg-config file, if you installed it before.
-This makes sure, that toytoolkit (Weston demo programs) does not use Cairo
-EGL. EGL does not work for clients due to EGL Wayland platform being
-unimplemented on Raspberry Pi.</p>
+<p>If you decide to use the <tt>--disable-wayland-compositor</tt>
+flag supplied above you can remove the dummy <tt>wayland-egl.pc</tt>
+pkg-config file which you may have installed from following an older
+version of this guide. This flag makes sure, that toytoolkit (Weston
+demo programs) does not use Cairo EGL. EGL does not work for clients due
+to the EGL Wayland platform being unimplemented on the Raspberry Pi.</p>
 
 <p>Weston should work by running <tt>weston</tt>. Remember to have the
 environment set up, and it is useful to have an ssh session open to your
-- 
1.8.4

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

Reply via email to