Am 15.03.2010 um 17:41 schrieb Daniel Macks: [...]
>> >> I am not sure what the best way is to resolve this, but I hope that it can >> be resolved ... one idea that comes to mind is forbidding splitoffs to >> depend on fink-obsolete-packages, i.e. enforcing a policy where either all >> splitoffs (including the master splitoff) in an .info file depend on >> fink-obsolete-packages, or none. In this particular case that would mean >> that the obsolete splitoffs needs to go to separate .info files. That seems >> easy enough to do, however, I am not sure whether this couldn't cause some >> other weird dependency side effects, when upgrading from old package >> versions... > > Lots of weird dependency problems (usually upgrade deadlocks) have > happened when I tried that in some places. That's what I was afraid might be the case... Also, I looked at many of the existing package with a splitoff depending on fink-obsolete-packages (several of mine are included there, too). It's very very convenient to handle it this way, I must say! And the more convenient it is, the more people will make use of this feature, right? To be honest, if I had to convert all my .info files from the "obsolete splitoff" to the "separate .info file for obsolete splitoff" way, I think I'd prefer to drop the dep on "fink-obsolete-packages" (not to mention the issues you just described). [...] >> 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? :) > > Conflicts actually is not parallel to the Depends behavior: Conflicts > is only a runtime thing, not implicitly also included in > BuildConflicts. True enough. Cheers, Max ------------------------------------------------------------------------------ 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
