This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH/hack] Running from build dir again



Hi Keith,

I've been looking at this problem from the other end, i.e. fixing IWidgets to
not be so dumb.  But, after some effort I think your current solution/hack is
best.  The long term "clean" solution would seem to center around removing
IWidgets from Insight. (!?)  Otherwise it will involve fixing Iwidgets.

> This gross hack allows insight to run from the build directory again.

Atleast it's not as gross as the Tcl library loader hack...
 
> Recent Tcl/Tk churn has broken this convenience, and, well, as hacky and
> ugly as this is, it fixes it.

Yeah, IWidgets is a bit hacky, we could move the:
  append auto_path $IWIDGETS_LIBRARY
from main.tcl (in Insight) into iwidgets.tcl (IWidgets will always assume
that the scripts it wants is in a "./scripts" directory).

Other than that, there doesn't seem to be much that can be done,

Ian.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]