[Patches] [ python-Patches-409044 ] Update tcl/tk/tix versions

noreply@sourceforge.net noreply@sourceforge.net
Sun, 18 Mar 2001 02:58:30 -0800


Patches item #409044, was updated on 2001-03-15 22:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=409044&group_id=5470

Category: Tkinter
Group: None
Status: Open
Priority: 5
Submitted By: Internet Discovery (idiscovery)
Assigned to: Nobody/Anonymous (nobody)
Summary: Update tcl/tk/tix versions

Initial Comment:
A small patch to Modules/Setup.dist to
update the Tix version to the current tix8.1.8.2
library.

Also, it may be important when adding Tcl extensions
like Tix to define -L/usr/local/lib *before*
any possible libraries like -ltix8.1.8.2. Linux
will silently pick up other installed versions of
the -l libraries defpending on the ld.so settings.

The attached context diff is against 2.1b1, but it
should apply to any 2.x version.



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2001-03-18 02:58

Message:
Logged In: YES 
user_id=21627

I believe Tix integration should not rely on static linkage
anymore. Instead, you should do

  self.tk.eval("package require Tix") 

and rely on Tix being loaded as a dynamic Tk extension. If
you agree, I'd rather encourage ripping out the Tix
"support" in setup.py, Setup, and all other locations.

Are you using a wrapper module Tix.py? If so, *that* would
be a good addition, and it would also be the place where
dynamic loading of Tix is attempted.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=409044&group_id=5470