From: Andreas K. <and...@ac...> - 2007-11-13 19:38:10
|
> > Is it true that currently a package can go into tcllib only if all of > its dependencies are either distributed with Tcl (msgcat, http, > registry, etc.) or are also part of tcllib? > > > If that's not correct, what is a counter-example? > >From a quick grep of tcllib/modules/*/*.tcl, I see approx. 128 unique > package requires in tcllib. Many are for other tcllib modules, with some > exceptions that I notice being Thread, Tk, Trf, Trfcrypt, some critcl > stuff, tls, ceptcl. The Tk references are in snit's main1, 1_83, and > 2.tcl files. > The Trf/Trfcrypt references have, at least in the past, > been conditional requires that use Tcl code if the Trf code isn't > present, which I seem to recall is the case for the critcl stuff as > well. The ceptcl code is in dns and ntp/time and is conditionally > included. Correct. All in a 'catch'. > The tls references are in ldap, mime/smtp (conditionally included), > sasl/gtoken, and smtpd (conditionally included). > > I'm not certain about the rest. It looks to be as Don said, depends on Tcllib packages or packages coming with the core, anything else is either caught/conditional, or in the examples. -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com Tel: +1 778-786-1122 |