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

Thierry Reding thierry.reding at gmail.com
Wed May 21 15:18:23 PDT 2014


On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote:
> On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak <spitzak at gmail.com> wrote:
[...]
> > I have to tell you that such one-line-at-a-time cut & paste is 
> > unbelievably tedious, and my biggest screwups when trying this on a 
> > second machine was when I missed the slight variations in the autogen 
> > lines because I was using uparrow to re-run the commands from the last 
> > repository. That convinced me to remove the $ signs, although I agree 
> > with you that it is not as nice looking.
> 
> They are not meant to be copied repeatedly. Even basic common sense
> says, that if you end up copying them more than once, it would probably
> be worth to save them in a script.
> 
> If you manually do those commands every single time you open a new
> terminal to work in, you are bound to miss something.
> 
> The commands are an example. They are the foundation on which you can
> write your own environment setup.
> 
> OTOH, git-clone is ran only once. 'make' and 'make install' come from
> the spine. autogen.sh/configure arguments are better saved in a script
> if there are many of them like for Mesa, but you can always see them in
> 'head config.log', too.

Would it be an option to provide a jhbuild script that can be used to
automatically build everything from source? That should at least remove
any ambiguities or distribution specifics and should always work. Doing
so has two advantages: it is a script and therefore can save everybody
from a lot of typing (or copy/pasting) and it documents the origin and
exact command sequences required to build from source.

If not everything is to be built from source there is apparently also a
way to specify dependencies (via pkg-config files!) that are assumed to
be installed by the distribution.

I think back in the early days many people used jhbuild to build modular
X, though its usage seems to have declined. But perhaps that's just
because its so common that nobody considers it worth mentioning anymore
or X has stabilized to a point where building everything from source is
no longer required.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140522/7cb1555d/attachment-0001.sig>


More information about the wayland-devel mailing list