Call Monday 24 Jan 2005
Adam Jackson
ajax@nwnk.net
Tue Jan 25 18:01:40 PST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/release-wranglers/attachments/20050125/964e6bec/attachment.pgp
More information about the release-wranglers
mailing list