Commit 76a94391 authored by Martin v. Löwis's avatar Martin v. Löwis

Bump Tk version to 8.4.7. Build into tcltk directory.

parent 0560a635
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="2" Optimization="2"
InlineFunctionExpansion="1" InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\tcl84\include,..\Include,..\PC" AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT" PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT"
StringPooling="TRUE" StringPooling="TRUE"
RuntimeLibrary="2" RuntimeLibrary="2"
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter.pyd" OutputFile="./_tkinter.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="C:\Program Files\Tcl\lib" AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter.pdb" ProgramDatabaseFile=".\./_tkinter.pdb"
SubSystem="2" SubSystem="2"
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..\tcl84\include,..\Include,..\PC" AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;WITH_APPINIT" PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS;WITH_APPINIT"
RuntimeLibrary="3" RuntimeLibrary="3"
UsePrecompiledHeader="2" UsePrecompiledHeader="2"
...@@ -105,11 +105,11 @@ ...@@ -105,11 +105,11 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter_d.pyd" OutputFile="./_tkinter_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="C:\Program Files\Tcl\lib" AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter_d.pdb" ProgramDatabaseFile=".\./_tkinter_d.pdb"
SubSystem="2" SubSystem="2"
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
AdditionalOptions=" /USECL:MS_ITANIUM" AdditionalOptions=" /USECL:MS_ITANIUM"
Optimization="2" Optimization="2"
InlineFunctionExpansion="1" InlineFunctionExpansion="1"
AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\..\tcl84\include,..\Include,..\PC" AdditionalIncludeDirectories="{MSSDKPATH}\include\Win64\atl;{MSSDKPATH}\include\Win64\crt;{MSSDKPATH}\include\Win64\crt\sys;{MSSDKPATH}\include\Win64\mfc;..\..\tcltk\include,..\Include,..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT" PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT"
StringPooling="TRUE" StringPooling="TRUE"
BasicRuntimeChecks="0" BasicRuntimeChecks="0"
...@@ -179,11 +179,11 @@ ...@@ -179,11 +179,11 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\tcl84\lib\tk84.lib ..\..\tcl84\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\tcltk\lib\tk84.lib ..\..\tcltk\lib\tcl84.lib odbccp32.lib"
OutputFile="./_tkinter.pyd" OutputFile="./_tkinter.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="C:\Program Files\Tcl\lib" AdditionalLibraryDirectories=""
GenerateDebugInformation="TRUE" GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./_tkinter.pdb" ProgramDatabaseFile=".\./_tkinter.pdb"
SubSystem="2" SubSystem="2"
......
...@@ -63,7 +63,7 @@ unpack into new subdirectories of dist\. ...@@ -63,7 +63,7 @@ unpack into new subdirectories of dist\.
_tkinter _tkinter
Python wrapper for the Tk windowing system. Requires building Python wrapper for the Tk windowing system. Requires building
Tcl/Tk first. Following are instructions for Tcl/Tk 8.4.5; these Tcl/Tk first. Following are instructions for Tcl/Tk 8.4.7; these
should work for version 8.4.6 too, with suitable substitutions: should work for version 8.4.6 too, with suitable substitutions:
Get source Get source
...@@ -71,11 +71,11 @@ _tkinter ...@@ -71,11 +71,11 @@ _tkinter
Go to Go to
http://prdownloads.sourceforge.net/tcl/ http://prdownloads.sourceforge.net/tcl/
and download and download
tcl845-src.zip tcl847-src.zip
tk845-src.zip tk847-src.zip
Unzip into Unzip into
dist\tcl8.4.5\ dist\tcl8.4.7\
dist\tk8.4.5\ dist\tk8.4.7\
respectively. respectively.
Build Tcl first (done here w/ MSVC 7.1 on Windows XP) Build Tcl first (done here w/ MSVC 7.1 on Windows XP)
...@@ -83,25 +83,25 @@ _tkinter ...@@ -83,25 +83,25 @@ _tkinter
Use "Start -> All Programs -> Microsoft Visual Studio .NET 2003 Use "Start -> All Programs -> Microsoft Visual Studio .NET 2003
-> Visual Studio .NET Tools -> Visual Studio .NET 2003 Command Prompt" -> Visual Studio .NET Tools -> Visual Studio .NET 2003 Command Prompt"
to get a shell window with the correct environment settings to get a shell window with the correct environment settings
cd dist\tcl8.4.5\win cd dist\tcl8.4.7\win
nmake -f makefile.vc nmake -f makefile.vc
nmake -f makefile.vc INSTALLDIR=..\..\tcl84 install nmake -f makefile.vc INSTALLDIR=..\..\tcltk install
XXX Should we compile with OPTS=threads? XXX Should we compile with OPTS=threads?
Optional: run tests, via Optional: run tests, via
nmake -f makefile.vc test nmake -f makefile.vc test
On WinXP Pro, wholly up to date as of 11-Apr-2004: On WinXP Pro, wholly up to date as of 30-Aug-2004:
all.tcl: Total 10564 Passed 9855 Skipped 708 Failed 1 all.tcl: Total 10572 Passed 9869 Skipped 703 Failed 0
Sourced 129 Test Files. Sourced 129 Test Files.
Files with failing tests: httpold.test Files with failing tests: ioCmd.test
Build Tk Build Tk
-------- --------
cd dist\tk8.4.5\win cd dist\tk8.4.7\win
nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7
nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 INSTALLDIR=..\..\tcl84 install nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7 INSTALLDIR=..\..\tcltk install
XXX Should we compile with OPTS=threads? XXX Should we compile with OPTS=threads?
...@@ -109,21 +109,13 @@ _tkinter ...@@ -109,21 +109,13 @@ _tkinter
XXX directory. Is all of that really needed for Python use of Tcl/Tk? XXX directory. Is all of that really needed for Python use of Tcl/Tk?
Optional: run tests, via Optional: run tests, via
nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 test nmake -f makefile.vc TCLDIR=..\..\tcl8.4.7 test
On WinXP Pro, wholly up to date as of 11-Apr-2004:
all.tcl: Total 8327 Passed 6717 Skipped 1579 Failed 31
Sourced 182 Test Files.
Files with failing tests: canvImg.test scale.test scrollbar.test textWind.test winWm.test
Make sure the installer matches
-------------------------------
Ensure that the Wise compiler vrbl _TCLDIR_ is set to the name of
the common Tcl/Tk installation directory (tcl84 for the instructions
above). This is needed so the installer can copy various Tcl/Tk
files into the Python distribution.
On WinXP Pro, wholly up to date as of 30-Aug-2004:
all.tcl: Total 8421 Passed 6826 Skipped 1581 Failed 14
Sourced 91 Test Files.
Files with failing tests: frame.test scrollbar.test textWind.test winDialog.test
winWm.test winfo.test
zlib zlib
Python wrapper for the zlib compression library. Get the source code Python wrapper for the zlib compression library. Get the source code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment