<div dir="ltr"><div>It's # yum install 'pkgconfig(foo)'; not # yum install 'pkg-config(foo)'<br><br></div>The inconsistent hyphenation is annoying.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 22, 2014 at 6:15 AM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote:<br>
> On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote:<br>
> > On Thu, 22 May 2014 00:18:23 +0200<br>
> > Thierry Reding <<a href="mailto:thierry.reding@gmail.com">thierry.reding@gmail.com</a>> wrote:<br>
> ><br>
> > > On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote:<br>
> > > > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak <<a href="mailto:spitzak@gmail.com">spitzak@gmail.com</a>> wrote:<br>
> > > [...]<br>
> > > > > I have to tell you that such one-line-at-a-time cut & paste is<br>
> > > > > unbelievably tedious, and my biggest screwups when trying this on a<br>
> > > > > second machine was when I missed the slight variations in the autogen<br>
> > > > > lines because I was using uparrow to re-run the commands from the last<br>
> > > > > repository. That convinced me to remove the $ signs, although I agree<br>
> > > > > with you that it is not as nice looking.<br>
> > > ><br>
> > > > They are not meant to be copied repeatedly. Even basic common sense<br>
> > > > says, that if you end up copying them more than once, it would probably<br>
> > > > be worth to save them in a script.<br>
> > > ><br>
> > > > If you manually do those commands every single time you open a new<br>
> > > > terminal to work in, you are bound to miss something.<br>
> > > ><br>
> > > > The commands are an example. They are the foundation on which you can<br>
> > > > write your own environment setup.<br>
> > > ><br>
> > > > OTOH, git-clone is ran only once. 'make' and 'make install' come from<br>
> > > > the spine. <a href="http://autogen.sh/configure" target="_blank">autogen.sh/configure</a> arguments are better saved in a script<br>
> > > > if there are many of them like for Mesa, but you can always see them in<br>
> > > > 'head config.log', too.<br>
> > ><br>
> > > Would it be an option to provide a jhbuild script that can be used to<br>
> > > automatically build everything from source? That should at least remove<br>
> > > any ambiguities or distribution specifics and should always work. Doing<br>
> > > so has two advantages: it is a script and therefore can save everybody<br>
> > > from a lot of typing (or copy/pasting) and it documents the origin and<br>
> > > exact command sequences required to build from source.<br>
> > ><br>
> > > If not everything is to be built from source there is apparently also a<br>
> > > way to specify dependencies (via pkg-config files!) that are assumed to<br>
> > > be installed by the distribution.<br>
> > ><br>
> > > I think back in the early days many people used jhbuild to build modular<br>
> > > X, though its usage seems to have declined. But perhaps that's just<br>
> > > because its so common that nobody considers it worth mentioning anymore<br>
> > > or X has stabilized to a point where building everything from source is<br>
> > > no longer required.<br>
<br>
</div></div>we haven't had huge changes that required everyone to rebuild everything<br>
regularly - most people get by only updating their specific module set. I<br>
think that contributes most to the decline of jhbuild.<br>
<div class=""><br>
> > To be honest, I'm not familiar with jhbuild. I have seen people mention<br>
> > it on #wayland, though, and fighting with it.<br>
><br>
> > It could be nice - should it perhaps be checked into git somewhere, so one<br>
> > can keep track of the changes?<br>
><br>
> Yes, I think it should definitely be checked in somewhere so people can<br>
> easily keep their copy up-to-date.<br>
><br>
> > Where?<br>
><br>
> Good question. Neither the wayland nor the weston repository look like<br>
> they'd be a good fit. Perhaps it could be a separate repository? Or<br>
> perhaps make it part of wayland-web? That sounds like a bad choice at<br>
> first, but it would put the jhbuild scripts close to the building guide<br>
> and therefore may have advantages.<br>
<br>
</div>the jhbuild script is an xml module file and a jhbuildrc, since you're<br>
hosting them somewhere anyway the web project should be good enough.<br>
<br>
for examples see<br>
<a href="http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules" target="_blank">http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules</a><br>
and <a href="http://cgit.freedesktop.org/xorg/util/modular/tree/jhbuildrc" target="_blank">http://cgit.freedesktop.org/xorg/util/modular/tree/jhbuildrc</a><br>
<br>
An example with version information is here:<br>
<a href="http://cgit.freedesktop.org/xorg/util/modular/tree/xorg-7.6.modules" target="_blank">http://cgit.freedesktop.org/xorg/util/modular/tree/xorg-7.6.modules</a><br>
so you can decide that some combination is useful for a 1.5 release and keep<br>
those together.<br>
<br>
fwiw, jhbuild is convenient. I use it regularly to build gnome or parts of<br>
it and especially for multi-repository projects that I only work on<br>
rarely and/or irregularly it is very helpful.<br>
<br>
the build instructions are then: clone jhbuild, make install it, run<br>
jhbuild build, wait and hope.<br>
<br>
Cheers,<br>
   Peter<br>
<div class="im HOEnZb"><br>
><br>
> > As I personally am on a rolling-release distribution, I don't tend to<br>
> > see much problems with too old distro packages.<br>
><br>
> So am I, and I usually build distributions from scratch anyway so I<br>
> already have a set of scripts to build everything anyway.<br>
><br>
> But there are evidently people who are in a different situation and it<br>
> may be helpful to have some automatic build that they can run if they<br>
> encounter bugs and need to test patches.<br>
><br>
> Thierry<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>