On Apr 6, 2006, at 2:54 AM, Daniel Macks wrote:
Yeah, but neither works for other tree than the one I am using right
now, do they?

By "other tree", you mean in the Distribution sense (can't check 10.3
from a 10.4-transitional machine; can't check intel from a powerpc
machine) right? The --trees flag *overrides* Trees in fink.conf.

No, it doesn't. It *selects a subset* of the Trees in fink.conf. You can't use it to include a tree that's not in your fink.conf. (It's a design choice so that --exclude-trees makes sense.)

So anyways, what Max is really asking is about Distributions. And unfortunately, there's no good way to check if a package's deps would be satisfied in another Distribution. This is because the "virtual packages"--representing the kernel, gcc, X11, perl, etc--are all different, and fink has no way to know what versions of those you would have on another Distribution.

Fink can already read the .info files from another distro, if you play some tricks like changing when %p/fink/dists points. So if we want to test what would happen on another distro, we could put together some code to make Fink::VirtPackage pretend that a certain set of virtual packages are present. (We could also do this to Fink::Status, to pretend that a different set of packages are installed.) Then just generate for each Distribution what we'd like these sets of packages to be.

Max, would you like to help implement this? Dan, any thoughts?

Dave

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to