On 08.09.2004, at 00:32, Rob Braun wrote:

On Mon, Sep 06, 2004 at 04:31:33PM -0700, Rob Braun wrote:

I've come up with a patch that does this. I've been testing the
patch locally, but have not tested it extensively. I'll test it with
larger dependency chains later, when I get access to better connectivity.
Known issues: it is not controllable by a switch (command line or
otherwise). The plan is to not have this on by default, but use
a switch of some sort to enable it. I'm open to suggestions on how
best to toggle this. Also, it does not run apt-get update from
fink index, so you'll need to do that seperately. It should update
apt-get's notion of reality.

I just tested this on larger sets, and it fails miserably. I have some ideas on how to fix it though, so stay tuned. Any helpful comments/code would be appreciated. ;-)

Here comes a new patch that works reasonable well here. I tested it on a new fink installation by doing

fink -b install svn-client-ssl

and it works fine. I also tried it with different combinations of versions available from local debs, from the bindist and not at all. It didn't fail until now. Your mileage may vary (tm).

What is changed from bbrauns patch:

- Engine.pm is now checking at the biginning of the function 'real_install' if it will later download the deb. If yes, it will not add the build dependencies to the packages that will get installed.

- I added a configure option (-b|--use-binary-dist) to fink, including docu in the manpages.

- In the loop where the deb get downloaded from the binary dist i removed the code for checking for relatives. I am not sure why this was there (bbraun?) but it definitely downloaded unnecessary packages.

- Fixed a bug in the is_aptgetable method in PkgVersion by removing the defined

- Added a few verbosity 3 print outs that should probably be removed again after debugging

Once somebody more experienced with Fink had a look at it i would like to add it to the patch submission tracker.

Thanks,
Chris.


Attachment: fink_apt_get3.patch
Description: Binary data

Reply via email to