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
7cf3d8e2
Commit
7cf3d8e2
authored
Dec 11, 2018
by
Ned Deily
Committed by
GitHub
Dec 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)
parent
3ec98264
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
27 deletions
+10
-27
Mac/BuildScript/build-installer.py
Mac/BuildScript/build-installer.py
+9
-9
Mac/BuildScript/tk868_on_10_8_10_9.patch
Mac/BuildScript/tk868_on_10_8_10_9.patch
+0
-18
Misc/NEWS.d/next/macOS/2018-12-10-02-44-48.bpo-35402.xzn8qJ.rst
...EWS.d/next/macOS/2018-12-10-02-44-48.bpo-35402.xzn8qJ.rst
+1
-0
No files found.
Mac/BuildScript/build-installer.py
View file @
7cf3d8e2
...
...
@@ -227,9 +227,9 @@ def library_recipes():
if
internalTk
():
result
.
extend
([
dict
(
name
=
"Tcl 8.6.
8
"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.
8
-src.tar.gz"
,
checksum
=
'
81656d3367af032e0ae6157eff134f89
'
,
name
=
"Tcl 8.6.
9
"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl8.6.
9
-src.tar.gz"
,
checksum
=
'
aa0a121d95a0e7b73a036f26028538d4
'
,
buildDir
=
"unix"
,
configure_pre
=
[
'--enable-shared'
,
...
...
@@ -243,12 +243,9 @@ def library_recipes():
},
),
dict
(
name
=
"Tk 8.6.8"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz"
,
checksum
=
'5e0faecba458ee1386078fb228d008ba'
,
patches
=
[
"tk868_on_10_8_10_9.patch"
,
],
name
=
"Tk 8.6.9.1"
,
url
=
"ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.9.1-src.tar.gz"
,
checksum
=
'9efe3976468352dc894dae0c4e785a8e'
,
buildDir
=
"unix"
,
configure_pre
=
[
'--enable-aqua'
,
...
...
@@ -709,6 +706,7 @@ def extractArchive(builddir, archiveName):
work for current Tcl and Tk source releases where the basename of
the archive ends with "-src" but the uncompressed directory does not.
For now, just special case Tcl and Tk tar.gz downloads.
Another special case: the tk8.6.9.1 tarball extracts to tk8.6.9.
"""
curdir
=
os
.
getcwd
()
try
:
...
...
@@ -718,6 +716,8 @@ def extractArchive(builddir, archiveName):
if
((
retval
.
startswith
(
'tcl'
)
or
retval
.
startswith
(
'tk'
))
and
retval
.
endswith
(
'-src'
)):
retval
=
retval
[:
-
4
]
if
retval
==
'tk8.6.9.1'
:
retval
=
'tk8.6.9'
if
os
.
path
.
exists
(
retval
):
shutil
.
rmtree
(
retval
)
fp
=
os
.
popen
(
"tar zxf %s 2>&1"
%
(
shellQuote
(
archiveName
),),
'r'
)
...
...
Mac/BuildScript/tk868_on_10_8_10_9.patch
deleted
100644 → 0
View file @
3ec98264
Fix build failure with +quartz variant on OS X 10.8 and 10.9.
Even though Gestalt was deprecated in OS X 10.8, it should work fine
through OS X 10.9, and its replacement NSOperatingSystemVersion was
not introduced until OS X 10.10.
Patch from MacPorts project and reported upstream:
https://trac.macports.org/ticket/55649
--- tk8.6.8/macosx/tkMacOSXXStubs.c.orig 2017-12-06 09:25:08.000000000 -0600
+++ tk8.6.8-patched/macosx/tkMacOSXXStubs.c 2018-01-06 19:34:17.000000000 -0600
@@ -175,7 +175,7 @@
{
int major, minor, patch;
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
+#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
Gestalt(gestaltSystemVersionMajor, (SInt32*)&major);
Gestalt(gestaltSystemVersionMinor, (SInt32*)&minor);
Gestalt(gestaltSystemVersionBugFix, (SInt32*)&patch);
Misc/NEWS.d/next/macOS/2018-12-10-02-44-48.bpo-35402.xzn8qJ.rst
0 → 100644
View file @
7cf3d8e2
Update macOS installer to use Tcl/Tk 8.6.9.1.
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