[Starkit] Re: starpack as cgi
Daniel A. Steffen
steffen at ics.mq.edu.au
Fri Sep 30 22:38:04 CEST 2005
JC, All,
I promised Steve Landers to build 8.4 and 8.5 OS X tclkits based on the
latest CVS sources and came across a problem with the following tclkit
source change:
On 25/08/2005, at 21:09, Jean-Claude Wippler wrote:
> On Jul 25, 2005, at 17:31, David Welton wrote:
>> Instead of fiddling with Tcl (which might well take years to be fixed)
>> I hacked at tclkit to come up with the attached patch. It takes a
>> look at argv0 if tclExecutableName is NULL. Seems to work for what I
>> need.
>
> Thank you. I'm adopting your changes to kitInit.c and pwb.c - they
> will be in the upcoming 8.4.11 tclkit builds. Not sure about 8.5x
> since the startup logic has changed slightly, but we can go into that
> later.
indeed this change breaks tclkit 8.5 builds, since it uses the global
tclExecutableName var which no longer exists in 8.5. I haven't looked
an alternate solution and have just removed that patch from my tclkit85
sources for now.
Also, genkit85 did not have my recent genkit changes for aqua support,
I've now synced those in.
Additionally I reverted part of the latest metakit commit that was
causing problems (as detailed in separate mail), and included a number
of tk aqua 8.5 changes that I have not committed yet. All other sources
are from CVS HEAD of their resp projects.
My patches as well as OSX binaries (both aqua and X11) for latest
8.4.11 and 8.5a4 are at:
http://rutherglen.ics.mq.edu.au/~steffen/tcltk/tclkit/
for ref, this also contains the 8.5 runtime.kit produced by my distro
makefile from HEAD library code, it is significantly bigger than
tk/tars85/runtime.kit since it includes lib/tcl8.5/msgs and
lib/tcl8.5/tzdata, which add about 400K and bring the size of the 8.5
tclkit OSX binaries to 2Mb.
The main included tk aqua 8.5 changes are menu related: the patch
enables the standard application carbon event handler and lets it deal
with menu tracking and apple event handling. It also enables running of
the tcl event loop during menu tracking so that e.g. [after] can fire.
Other menu code changes fix old API use that could lead to problems
with full unicode menu titles. I still need to finish some related
changes and do more testing before I commit this, so I'd welcome
testing of the 8.5 aqua tclkit, particularly for any new menu problems.
Cheers,
Daniel
--
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen at maths.mq.edu.au>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/>
More information about the Starkit
mailing list