[PATCH wayland-web 1/2] Building rpi: remove the dummy wayland-egl.pc

Pekka Paalanen ppaalanen at gmail.com
Tue Nov 13 00:29:13 PST 2012


It's probably more clear to not provide wayland-egl.pc at all, since it
would be a complete lie. No EGL Wayland client can work.

This requires also --disable-wayland-compositor, but the Wayland backend
is an EGL Wayland client, so it cannot work anyway. Reduces the build
time a bit, too.

Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
 raspberrypi.html |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/raspberrypi.html b/raspberrypi.html
index 40a79ae..5e8885c 100644
--- a/raspberrypi.html
+++ b/raspberrypi.html
@@ -87,7 +87,7 @@ and make sure you take the <em>raspberrypi</em> branch. The master branch
 contains similar files for Android, and will not work.</p>
 
 <p>Copy the .pc files into <tt>$WLD/share/pkgconfig/</tt>:</p>
-<pre>    $ cp bcm_host.pc egl.pc glesv2.pc wayland-egl.pc $WLD/share/pkgconfig/
+<pre>    $ cp bcm_host.pc egl.pc glesv2.pc $WLD/share/pkgconfig/
 </pre>
 
 <h2>Wayland libraries</h2>
@@ -120,14 +120,24 @@ contains similar files for Android, and will not work.</p>
 <p>Weston is configured slightly differently compared to the normal build:</p>
 <pre>    $ git clone git://anongit.freedesktop.org/wayland/weston
     $ cd weston
-    $ ./autogen.sh --prefix=$WLD --disable-setuid-install \
-    --with-cairo-glesv2 --disable-x11-compositor --disable-drm-compositor \
-    --disable-android-compositor --disable-weston-launch \
-    --disable-simple-egl-clients WESTON_NATIVE_BACKEND="rpi-backend.so"
+
+    $ ./autogen.sh --prefix=$WLD \
+    --disable-setuid-install --with-cairo-glesv2 \
+    --disable-x11-compositor --disable-drm-compositor \
+    --disable-android-compositor --disable-wayland-compositor \
+    --disable-weston-launch --disable-simple-egl-clients \
+    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>Weston should work by running <tt>weston</tt>. Remember to have the
 environment set up.</p>
 
-- 
1.7.8.6



More information about the wayland-devel mailing list