[PATCH wayland-web] Added depencies and bug fixes to build instructions

Pekka Paalanen ppaalanen at gmail.com
Sat May 24 00:56:29 PDT 2014


On Fri, 23 May 2014 11:59:33 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> On 05/22/2014 09:06 AM, Bill Spitzak wrote:
> 
> >> Cairo was included in the guide probably because distributions
> >> had varying configurations wrt. enabling GL or GLESv2 support,
> >> and because the GL/GLESv2 code was new and in development. If
> >> we drop the need for cairo-gl/glesv2, we can drop Cairo and
> >> Pixman from the guide. I'm not sure why Pixman was there,
> >> maybe as a Cairo dependency.
> >
> > I am going to try to do a bisect and find out what version of
> > Cairo fixes the xserver bug. But it should not be in the main
> > instructions.
> 
> What I found out is that if I compile the same version 1.10.2
> that is included with Ubuntu, it works. So bisect did not work
> and something is botched in their distribution. The bug is
> definately in cairo, not pixman, as it is visible even if the git
> pixman is used.

Are you absolutely sure it is not a difference between using
cairo-image and cairo-gl instead?
Does Ubuntu offer cairo-gl in its packages?
What does weston's configure say about cairo?
If you didn't build weston separately for cairo from Ubuntu vs.
git, was cairo-gl support enabled or not in weston?

It is hard to believe cairo-image could be so broken, but for
cairo-gl it is plausible, and that would also explain why the same
version of Cairo built manually works and Ubuntu's version does
not. So the key question is, was Weston build enabling cairo-gl
support or not.

And make sure you don't have old weston pieces like xwayland.so
lying around anywhere, e.g. /usr/local or something.


Thanks,
pq


More information about the wayland-devel mailing list