On Tue, Mar 16, 2010 at 11:43:31AM +0100, Max Horn wrote:
> Am 15.03.2010 um 17:41 schrieb Daniel Macks:
> >>Max:
> >>
> >> The other alternative would be to implement the ancient idea of an 
> >> "RuntimeDepends" (or "InstallDepends", or whatever) field. I.e. a field 
> >> which is kind of the  complement of BuildDepends: Any dependencies 
> >> declared in it only count when installing the package, but do *not* count 
> >> towards build dependencies. 
> >> Then, fink-obsolete-packages could be a RuntimeDepends. I vaguely recall 
> >> that in the past, we had other cases which might benefit from such a field 
> >> (and the analogous RuntimeConflicts / InstallConflicts field), although 
> >> the details elude me right now.
> >> It would be quite easy to add this field, but the fact that it doesn't yet 
> >> exists might indicate that it's a bad idea for some reason I am not seeing 
> >> right now, or that it's simply not useful enough to warrant adding it (and 
> >> thus bloating the .info syntax further).
> > 
> > I still love this feature idea--always seemed like a very rare need to
> > have it though (this is one of the few I can think of where we have a
> > runtime requirement that isn't also a buildtime one). There are some
> > hooks in the engine already for it (related feature: actual Shlibs
> > dependency support), but I assume that because it hasn't been used
> > other things have been changed and may need hacking to respect it.
> 
> So... if somebody were to write a patch which adds RuntimeDepends, it would 
> have a fair chance of being accepted?
> Of course, in order to use the field, one would have to also add a Depends on 
> the appropriate fink version, and hence wait some time till that version is 
> available everywhere, but you gotta start it at some point, right? :)

Right. There's a generic validator test for this sort of thing too
("require a dependency on a certain minimum fink if some condition is
met") so it will be easy (assuming maintainers run val:) to make sure
the dep is set if the feature is used. Analogous example: PatchFile.

dan

-- 
Daniel Macks
[email protected]
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to