Re: Call Monday 24 Jan 2005

Adam Jackson <[email protected]> Tue, 25 Jan 2005 21:01:40 -0500
Newsgroups gmane.comp.freedesktop.release-wranglers
Message-ID <[email protected]>
On Tuesday 25 January 2005 20:44, Torrey Lyons wrote:
> At 7:35 PM -0500 1/25/05, Adam Jackson wrote:
> >  > And what about the old behaiour to build everything for
> >>
> >>  developers that they can do testing ?
> >
> >As a developer, I want the world to build as little as possible, because
> > at any given moment I care only about the one piece I'm working on.  If I
> > really want to build everything in the world:
> >
> >cd ${xapps}
> >for i in */
> >do
> >  pushd $i
> >  make
> >  sudo make install
> >  popd
> >done
> >
> >It's _trivial_.
>
> You have some good arguments, but this is disingenuous. There are
> dependencies between the parts of xc which are not trivial. Recursing
> "make;sudo make install" through all parts of xlibs, xapps, etc. will
> not account for these dependencies. As far as I can tell these
> dependencies are only embodied in the Imakefiles.

I can express these dependencies in a top-level totally portable [1] Makefile 
without much hassle.  Would that be good enough?

xapps was - admittedly - carefully chosen for this example because there 
aren't really any dependencies between the X applications.  The libs have a 
resolvable order though [2], and for the server it basically looks like

1: server
2: extensions
3: drivers

So then, SDK before libs and server, libs before apps.

I will make sure there is a distro-independent way to bootstrap the world.

- ajax

[1] - portable here defined as the common subset of syntax between BSD and GNU 
make and assuming a posix system.
[2] - http://www.freedesktop.org/wiki/Software/Xserver/InstallGuide for 
example

_______________________________________________
release-wranglers mailing list
release-wranglers-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/release-wranglers
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBB9voHW4otUKDs0NMRApNhAJ90Rlqtp2iT+LG8BezBM6/lpB2ifwCguQmK
zmDLWzXgzrbCnqmQz1DfU3o=
=DGUU
-----END PGP SIGNATURE-----