On Tue, Jul 06, 2004 at 12:15:38PM -0400, Benjamin Reed wrote:
> Mich?le Garoche wrote:
> >Le 5 juil. 2004, ? 19:33, Daniel Macks a ?crit :
> >>
> >>1. When the files are not found, generate a package for system-foo
> >> that has a CompileScript that gives a verbose message about where 
> >>to download whatever-is-needed and then fails. That way 'fink 
> >>insall bar' where "bar:BuildDepends:x11-dev" will give the usual 
> >>"do you want xfree86-dev or system-xfree86-dev" instead of assuming
> >> (usually incorrectly) to use the fink package, and then when user 
> >>picks the system- one will get an error message about having to 
> >>install X11User.pkg.
> 
> I've been changing VirtPackage.pm to show the 'status' field as "purge 
> ok not-installed" just like debian packages, for virtuals whose 
> dependencies aren't met.
[...]
> I'll keep tinkering on this, but I'm basically making it so they show up 
> in the package list, but as uninstalled, with a package DescDetail 
> saying how to download them.

Yup, that's the kind of thing I was envisioning.

> I'm now having to go in and look at other guts 
> in Fink and fix them, because it turns out they were treating the 
> package query from VirtPackage.pm wrong, but it always worked out (by 
> pure chance) because things that are in VirtPackage.pm don't also exist 
> in the dpkg database.

I had fixed that in the virt_always_exists branch of VirtPackage.pm in
preparation for implementing it. Didn't carry through because then I
figured I'd ask on -devel if this was a good approach:)

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to