>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
>>>> "R" == rendhalver
<rendhalver(a)xemacs.org> writes:
R> ok what do we need to do to make the
dependancy database better
Stephen> Have one ...
R> what files does the current one live in ??
Stephen> ... ./*-packages/*/Makefile.
Stephen> I'm _not_ joking.
Stephen> If you do a search on "dependency" and "python" in
XEmacs beta a
Stephen> couple years back, somebody (I think it was Charles Waldman) had a
Stephen> script which checked the dependencies. It wasn't close to perfect,
Stephen> but at least it would give you some idea.
ok will have a look
Stephen> I think that the basic things to do would be (1) make World, so you
Stephen> have all the auto-autoloads files, then (2) grep for provides and
Stephen> requires to link up the dependencies, and (3) grep for all the
Stephen> autoloaded functions, and link up those dependencies. Maybe you
Stephen> should also annotate links for macros and libraries defining macros,
Stephen> because those are the ones that are really troublesome (compiled code
Stephen> can't contain calls to macros, because they are open-coded).
sounds like a job for a perl script
Stephen> Once we've got the graph database, it should be relatively cheap
Stephen> (time-wise) to update, package by package.
we could stick the update mecanism in the build process, yes?
--
XEmacs Advocate | Do not try the patience of Wizards,
FreeBSD Devote | for they are subtle and quick to anger.
Perl Hacker | - Elric (Technomage) , Babylon 5.
Apache God | <mailto:rendhalver at xemacs.org> <GnuPG KeyID: AE51D190>