Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a6cbff08
Commit
a6cbff08
authored
Oct 27, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
parent
fdb73ed4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+6
-2
Mac/BuildScript/issue19373_tk_8_5_15_source.patch
Mac/BuildScript/issue19373_tk_8_5_15_source.patch
+13
-0
No files found.
Mac/BuildScript/build-installer.py
View file @
a6cbff08
...
@@ -215,6 +215,9 @@ def library_recipes():
...
@@ -215,6 +215,9 @@ def library_recipes():
name
=
"Tk 8.5.15"
,
name
=
"Tk 8.5.15"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_5/tk8.5.15-src.tar.gz"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_5/tk8.5.15-src.tar.gz"
,
checksum
=
'55b8e33f903210a4e1c8bce0f820657f'
,
checksum
=
'55b8e33f903210a4e1c8bce0f820657f'
,
patches
=
[
"issue19373_tk_8_5_15_source.patch"
,
],
buildDir
=
"unix"
,
buildDir
=
"unix"
,
configure_pre
=
[
configure_pre
=
[
'--enable-aqua'
,
'--enable-aqua'
,
...
@@ -797,8 +800,6 @@ def buildRecipe(recipe, basedir, archList):
...
@@ -797,8 +800,6 @@ def buildRecipe(recipe, basedir, archList):
workDir
=
extractArchive
(
buildDir
,
sourceArchive
)
workDir
=
extractArchive
(
buildDir
,
sourceArchive
)
os
.
chdir
(
workDir
)
os
.
chdir
(
workDir
)
if
'buildDir'
in
recipe
:
os
.
chdir
(
recipe
[
'buildDir'
])
for
patch
in
recipe
.
get
(
'patches'
,
()):
for
patch
in
recipe
.
get
(
'patches'
,
()):
if
isinstance
(
patch
,
tuple
):
if
isinstance
(
patch
,
tuple
):
...
@@ -825,6 +826,9 @@ def buildRecipe(recipe, basedir, archList):
...
@@ -825,6 +826,9 @@ def buildRecipe(recipe, basedir, archList):
runCommand
(
'sh %s'
%
shellQuote
(
fn
))
runCommand
(
'sh %s'
%
shellQuote
(
fn
))
os
.
unlink
(
fn
)
os
.
unlink
(
fn
)
if
'buildDir'
in
recipe
:
os
.
chdir
(
recipe
[
'buildDir'
])
if
configure
is
not
None
:
if
configure
is
not
None
:
configure_args
=
[
configure_args
=
[
"--prefix=/usr/local"
,
"--prefix=/usr/local"
,
...
...
Mac/BuildScript/issue19373_tk_8_5_15_source.patch
0 → 100644
View file @
a6cbff08
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];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment