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

Pekka Paalanen ppaalanen at gmail.com
Wed May 21 23:25:40 PDT 2014


On Thu, 22 May 2014 00:18:23 +0200
Thierry Reding <thierry.reding at gmail.com> wrote:

> 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.

To be honest, I'm not familiar with jhbuild. I have seen people mention
it on #wayland, though, and fighting with it. It could be nice - should
it perhaps be checked into git somewhere, so one can keep track of the
changes? Where?

As I personally am on a rolling-release distribution, I don't tend to
see much problems with too old distro packages.


Thanks,
pq


More information about the wayland-devel mailing list