From 452f22a126b71f05b997a5530fc837b9348bfdba Mon Sep 17 00:00:00 2001 From: das Date: Mon, 20 May 2002 12:30:14 +0000 Subject: * mac/tkMacInit.c: * mac/tkMacTclCode.r: include msgcat package in resources as bgerror depends on it. Restores ability of mac static build to run standalone (except for encoding file issues). --- ChangeLog | 5 +++++ mac/tkMacInit.c | 3 ++- mac/tkMacTclCode.r | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1734e06..c1a6130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ 2002-05-20 Daniel Steffen * mac/tkMacInit.c: + * mac/tkMacTclCode.r: include msgcat package in resources + as bgerror depends on it. Restores ability of mac static + build to run standalone (except for encoding file issues). + + * mac/tkMacInit.c: * library/console.tcl: * library/tk.tcl: fix tk.tcl not sourcing library files that define bindings at startup on mac. (independent of diff --git a/mac/tkMacInit.c b/mac/tkMacInit.c index 7ca7667..e40a55a 100644 --- a/mac/tkMacInit.c +++ b/mac/tkMacInit.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacInit.c,v 1.9 2002/05/20 10:21:31 das Exp $ + * RCS: @(#) $Id: tkMacInit.c,v 1.10 2002/05/20 12:30:16 das Exp $ */ #include @@ -80,6 +80,7 @@ sourcePath focus\n\ sourcePath optMenu\n\ sourcePath palette\n\ sourcePath tearoff\n\ +if {[catch {package require msgcat}]} {sourcePath msgcat}\n\ sourcePath bgerror\n\ sourcePath msgbox\n\ sourcePath comdlg\n\ diff --git a/mac/tkMacTclCode.r b/mac/tkMacTclCode.r index 52d9e86..adbd0f6 100644 --- a/mac/tkMacTclCode.r +++ b/mac/tkMacTclCode.r @@ -67,3 +67,5 @@ read 'TEXT' (TK_LIBRARY_RESOURCES+18, "spinbox", purgeable) "::library:spinbox.tcl"; read 'TEXT' (TK_LIBRARY_RESOURCES+19, "panedwindow", purgeable) "::library:panedwindow.tcl"; +read 'TEXT' (TK_LIBRARY_RESOURCES+20, "msgcat", purgeable) + ":::tcl:library:msgcat:msgcat.tcl"; -- cgit v0.12