[Starkit] filleting tcllib

Steve Blinkhorn steve at prd.co.uk
Wed May 4 13:13:14 CEST 2005


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.

-- 
Steve Blinkhorn <steve at prd.co.uk>


More information about the Starkit mailing list