[Patches] [ python-Patches-462258 ] tkinter without X11 patch
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 18 Sep 2001 13:32:35 -0700
Patches item #462258, was opened at 2001-09-17 08:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=462258&group_id=5470
Category: Distutils and setup.py
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jason Tishler (jlt63)
Assigned to: A.M. Kuchling (akuchling)
Summary: tkinter without X11 patch
Initial Comment:
This patch is a follow up to patch #443669. It prevents the attempt to build
the tkinter module unless the X header files can be found. I developed this
patch with Cygwin in mind but it should work for other platforms too. I tested
this patch on Red Hat 7.1 without any ill effects. However, if one is concerned
about breaking other Unix platforms, then the following guard:
if platform == 'cygwin'
can be added. I'm willing to redo the patch, if this is deemed necessary.
To apply the patch, use the following procedure:
$ # save the patch to /tmp/tkinter.patch
$ # change directory to the top of the Python source tree
$ patch </tmp/tkinter.patch
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2001-09-18 13:32
Message:
Logged In: YES
user_id=11375
Checked in to revision 1.57 of setup.py.
----------------------------------------------------------------------
Comment By: Jason Tishler (jlt63)
Date: 2001-09-18 13:00
Message:
Logged In: YES
user_id=86216
This version of the patch includes the requested Cygwin guard.
----------------------------------------------------------------------
Comment By: A.M. Kuchling (akuchling)
Date: 2001-09-17 09:08
Message:
Logged In: YES
user_id=11375
I think I'd prefer this patch with the platform=='cygwin'
guard.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=462258&group_id=5470