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

Pekka Paalanen ppaalanen at gmail.com
Thu May 22 00:01:26 PDT 2014


On Wed, 21 May 2014 12:17:29 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> On 05/21/2014 02:30 AM, Pekka Paalanen wrote:
> 
> > Yeah, nowadays Weston can work with a released version of xkbcommon, so
> > we could remove the git-clone part, and have a link to its home page.
> >
> > Collecting links to depended-on projects' home pages would be nice in
> > the generic guide.
> 
> To be consistent it seems like any package where the necessary version 
> has been "released" should not be listed with build instructions, as it 
> may be possible on somebody's machine to compile without it.

It is a bit fuzzy. It also depends a bit on whether distributions have
had time to pick it up.

> I think the minimal on a fully-up-to-date system is this:
> 
>    wayland (on the assumption that you may want to hack it)
>    mesa (because it depends on wayland)
>    libinput
>    weston
>    xserver (because it depends on wayland)
> 
> Is this correct? Should mesa and xserver even be removed? They probably 
> work even if compiled with an older wayland, right?

It looks about right to me. Mesa should stay, because quite probably
many distributions do not yet enable Wayland support in it, and we
might still get development there. Xserver needs to stay, because 1.16
has not been released yet, it receives active development benefiting
Wayland (glamor), and I assume most distributions are not building the
Xwayland server anyway.

>  From the original build directions this removes drm, libkbdcommon, 
> cairo and pixman, and I think a few others.

Mesa seems to bump its libdrm requirement quite often, but OTOH libdrm
is easy to build, nothing special there. xkbcommon we could drop
especially if it doesn't really need --with-xkb-config-root option
anymore. So pointing to the web pages of libdrm and xkbcommon should
suffice, I think.

It looks like xkbcommon 0.3.0 already uses pkg-config to find the
xkb-config-root path from the xkeyboard-config package, falls back to
$prefix/share/X11/xkb by default. Looks like the guide really does not
need --with-xkb-config-root option.

However, the guide should probably mention xkeyboard-config package. It
is required for xkbcommon (and therefore normals keyboards) to work.
xkeyboard-config has been providing its .pc file since May 2010. Most
people already have xkeyboard-config installed because they have Xorg,
but for an X11-less system it could be missing.

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.


Thanks,
pq


More information about the wayland-devel mailing list