[Starkit] filleting tcllib

Arjen Markus arjen.markus at wldelft.nl
Wed May 4 14:35:39 CEST 2005


Steve Blinkhorn wrote:
> 
> Tcllib is now quite big (4.5MB+), and individual packages often have
> significant dependencies.  Including the whole of tcllib in a starkit
> that is going to be downloaded by many users for a single usage
> introduces a significant download penalty, particularly for dialup
> users, but is unlikely to be of concern to those who are downloading
> and installing a conventional Tcl/Tk installation.
> 
> Has anyone given any thought to a method for filleting tcllib, i.e.
> specifying a list of packages known to be required, and ensuring that
> those packages plus all dependencies are extracted and placed
> appropriately in a .vfs tree?   Doing it by hand is moderately
> painful, and I wonder if some clever use of [package ifneeded],
> perhaps grabbing all the pkgIndex.tcl files and programmatically
> rewriting them to replace the "source [file join...." element with a
> "[file copy..." or two might be a way forward.
> 

Most of the time I only need one or two packages and figuring out
which to include has been relatively simple sofar. 

Perhaps rather than a programmatic solution, we should provide 
a chart depicting which packages are required by which others?

Regards,

Arjen



More information about the Starkit mailing list