blob: d9c6f33c0352dd5c1335e1fe6dd31acc5a27a855 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Notes on building Tcl/Tk for TeX Live 2023
For 2023, the same recipe applies as for 2022 below, except that
configure is invoked with a --host=x86_64-w64-mingw32 parameter:
Notes on building Tcl/Tk for TeX Live 2022
The 2022 edition contains a subset of a basic Tcl/Tk installation.
The Tcl/Tk 8.6.12 sources were downloaded via
http://www.tcl.tk/software/tcltk/download.html
Tcl/Tk was cross-compiled under ArchLinux (5.16.12-arch1-1) as follows.
First,patch the file tk8.6.12/win/wish.exe.manifest.in for
better HiPDI support by adding a dpiAwareness element; the
asmv3:windowsSettings element in this file becomes:
<asmv3:windowsSettings
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
Create or choose an arbitrary root for the installation. Do for Tcl
and Tk successively:
- Unpack the source, and run in the win subdirectory:
./configure --host=i686-w64-mingw32 --enable-embedded-manifest \
--prefix=<tcltk root>
make
make install
Portability of the result should be no problem.
For a smaller installation, I stripped all the .exe- and .dll files,
and removed all .a files and binsqlite3_analyzer.
In the bin directory, I copied tclsh86.exe and wish86.exe to
tclsh.exe and wish.exe respectively.
I placed just the resulting lib- and bin subdirectories under
<TL root>/tlpkg/tltcl, omitting the include- and share
subdirectories.
For testing, see tlperl.README.
Siep Kroonenberg
March 2022/2023
|