[PATCH wayland-web] raspberrypi: mention Raspbian packages

Daniel Stone daniel at fooishbar.org
Tue Jun 4 12:28:13 PDT 2013


Thanks! For what it's worth, weston-launch isn't actually in the
package you get right now, due to comedy version number mishaps (first
forgetting how Debian deals with date numbering, then the person with
the board I asked to fix it forgetting that it was now 2013 and not
2012), but that'll be fixed tomorrow I expect.

On 4 June 2013 16:52,  <darxus at chaosreigns.com> wrote:
> Thanks, pushed.
>
> On 06/04, ppaalanen at gmail.com wrote:
>> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>>
>> Also mention, that using the user 'pi' should save from pain of setting
>> up permissions for devices. Run apt-get update, too.
>>
>> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>> Cc: Daniel Stone <daniel at fooishbar.org>
>> Cc: Alex Bradbury <asb at asbradbury.org>
>> ---
>>  raspberrypi.html | 34 ++++++++++++++++++++++++++++++++--
>>  1 file changed, 32 insertions(+), 2 deletions(-)
>>
>> diff --git a/raspberrypi.html b/raspberrypi.html
>> index b1c2a87..44d9ce4 100644
>> --- a/raspberrypi.html
>> +++ b/raspberrypi.html
>> @@ -14,7 +14,35 @@
>>
>>  <p>This is a guide for installing Weston into
>>  <a href="http://www.raspberrypi.org/">Raspberry Pi</a>. All commands and
>> -compiling are done directly on the Pi.</p>
>> +compiling are done directly on the Pi. In Raspbian, it is recommended to
>> +run Weston as the user 'pi', as Raspbian seems to allow input device access
>> +mostly for this user while logged in locally (not via ssh).</p>
>> +
>> +<p>However, if you just want to try Weston and not build it, there are
>> +packages.</p>
>> +
>> +<blockquote>
>> +<h3>Raspbian packages</h3>
>> +
>> +<p>There are pre-built Wayland and Weston packages for the
>> +<a href="http://www.raspbian.org/">Raspbian</a> distribution.</p>
>> +
>> +<p>Add the following line to <tt>/etc/apt/sources.list</tt> file:</p>
>> +<pre>    deb http://raspberrypi.collabora.com wheezy rpi
>> +</pre>
>> +<p>Then just issue:</p>
>> +<pre>    sudo apt-get update
>> +    sudo apt-get install weston</pre>
>> +
>> +<p>This will install also a script called <tt>weston-launch</tt>
>> +(not the real <tt>weston-launch</tt> program), which will automatically
>> +set up <tt>XDG_RUNTIME_DIR</tt> for you and run <tt>weston</tt>.
>> +Running Weston with this package is as simple as:</p>
>> +<pre>    weston-launch</pre>
>> +<p>No need to manually set up environment variables. The firmware notes
>> +below are still worth checking, though.</p>
>> +</blockquote>
>> +
>>
>>  <h2>Build dependencies</h2>
>>
>> @@ -138,7 +166,9 @@ 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>
>> +environment set up, and it is useful to have an ssh session open to your
>> +RPi on the first try, in case Weston cannot open any input or output
>> +devices. It is best to try as the user 'pi' on Raspbian.</p>
>>
>>  <h2>Troubleshooting</h2>
>>
>> --
>> 1.8.1.5
>>
>
> --
> "All that is necessary for evil to triumph is for good men to do nothing"
> - War and Peace (film series)
> http://www.ChaosReigns.com
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list