Martin Costabel <[EMAIL PROTECTED]> said: > Jean-François Mertens wrote: >> >> On 04 Feb 2005, at 23:03, Ben Hines wrote: >> >>> All of fink needs to be built with this patch before releasing this. >>> We've never audited this policy, my guess is a lot of stuff will break. >> >> If I understand correctly, this means we start implementing Max Horn's >> old proposal >> to really distinguish RunTimeDepends from BuildDepends. >> I fully agree with Ben here _ we have to do it once, but if implemented >> this way it'll >> break about everything, and even by rebuilding once the whole of fink >> with this, we'll >> discover only a very small fraction of the problems _ because we'll have >> tested only one build-path.. >> >> Could we not think of having a script go through all packages, using >> something like >> current show-deps (build-dep part), to complete the BuildDeps of each pkg ? >> Maintainers can afterwards refine the BuiildDeps, and remove anything >> superfluous . > > We could as well start by copying all the contents of all Depends fields > into the BuildDepends fields.
The advantage of show-deps is that it collects all *Depends from the whole family of pkgs (parent+all splitoffs) for you and displays it for any pkg in the family. That's good for end-users so they don't have to check each family member manually, and it's fully parsed for the specific variant chosen. If the fink policy is rewritten, show-deps will be patched into compilance, i.e., the build section will list only BuildDepends. What we'd need for the task as proposed is a text-copy of the raw Depends from the whole family in the BuildDepends of the parent. The "fink" CLI is not suited for this because it always does all %-expansions and variant-conditionals. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel