[Python-checkins] cpython (3.3): Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
ned.deily
python-checkins at python.org
Mon Oct 28 03:51:34 CET 2013
http://hg.python.org/cpython/rev/8609f6df9974
changeset: 86697:8609f6df9974
branch: 3.3
parent: 86691:5a8aa1102f82
user: Ned Deily <nad at acm.org>
date: Sun Oct 27 19:49:29 2013 -0700
summary:
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
files:
Mac/BuildScript/build-installer.py | 8 ++++-
Mac/BuildScript/issue19373_tk_8_5_15_source.patch | 13 ++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -215,6 +215,9 @@
name="Tk 8.5.15",
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_5/tk8.5.15-src.tar.gz",
checksum='55b8e33f903210a4e1c8bce0f820657f',
+ patches=[
+ "issue19373_tk_8_5_15_source.patch",
+ ],
buildDir="unix",
configure_pre=[
'--enable-aqua',
@@ -797,8 +800,6 @@
workDir = extractArchive(buildDir, sourceArchive)
os.chdir(workDir)
- if 'buildDir' in recipe:
- os.chdir(recipe['buildDir'])
for patch in recipe.get('patches', ()):
if isinstance(patch, tuple):
@@ -825,6 +826,9 @@
runCommand('sh %s' % shellQuote(fn))
os.unlink(fn)
+ if 'buildDir' in recipe:
+ os.chdir(recipe['buildDir'])
+
if configure is not None:
configure_args = [
"--prefix=/usr/local",
diff --git a/Mac/BuildScript/issue19373_tk_8_5_15_source.patch b/Mac/BuildScript/issue19373_tk_8_5_15_source.patch
new file mode 100644
--- /dev/null
+++ b/Mac/BuildScript/issue19373_tk_8_5_15_source.patch
@@ -0,0 +1,13 @@
+Issue #19373: Patch to Tk 8.5.15 to correct refresh problem on OS x 10.9.
+From upstream checkin https://core.tcl.tk/tk/info/5a5abf71f9
+
+--- tk8.5.15/macosx/tkMacOSXDraw.c 2013-09-16 09:41:21.000000000 -0700
++++ Tk_Source_Code-5a5abf71f9fdb0da/macosx/tkMacOSXDraw.c 2013-10-27 13:27:00.000000000 -0700
+@@ -1688,6 +1688,7 @@
+ {
+ if (dcPtr->context) {
+ CGContextSynchronize(dcPtr->context);
++ [[dcPtr->view window] setViewsNeedDisplay:YES];
+ [[dcPtr->view window] enableFlushWindow];
+ if (dcPtr->focusLocked) {
+ [dcPtr->view unlockFocus];
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list