Martin Costabel wrote:
>
> The script (6kB) is in my exp directory on cvs, and it is also available
> here: http://perso.wanadoo.fr/costabel/fink-x11-debug
>
> To use it, save it anywhere and
> - either make it executable and run it as "./fink-x11-debug"
> - or run it as "perl fink-x11-debug"
>
> Something like this should probably go into the fink package or it could
> even be merged with the fink-virtual-pkgs script, maybe activated by
> "fink-virtual-pkgs --debug-x11" or something similar.

Hi Martin,

Something like this would be good to get into the main fink distribution.
There are a couple of 'gotchas' if you are going to edit the VirtPackage.pm
file in fink though, the main one is it *must* not print anything on stdout.
Stdout is read by dpkg and assumed to be a tab separated list of packages
that are available on the system. Please be very careful when editing the
`fink-virtual-pkgs` script too, it is executed by apt and dpkg every time
they are run, a mistake could potentially put the user in an unrecoverable
situation. However, neither apt not dpkg call fink-virtual-pkgs with the
--debug flag, so if this flag is specified you can do whatever you want
(well, within reason, no naked ascii art girls please :-) ).

Thanks to both you and Alexander for answering all the questions related to
the auto-detection stuff that was meant to make support easier but hasn't.

Peter
--
Peter O'Gorman - http://www.pogma.com


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to