blob: 5e56317b407f1002c127f50730fe8e267df49ad8 (
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
|
Notes on building Tcl/Tk for TeX Live 2020
The 2020 edition contains a standard basic Tcl/Tk installation.
However, I was unable this time to create a single-file Tcl/Tk
runtime, as for the 2019 TeX Live edition.
The Tcl/Tk 8.6.10 sources were downloaded via
http://www.tcl.tk/software/tcltk/download.html
Tcl/Tk was cross-compiled under Ubuntu Linux 18.04 as follows. For
first Tcl, then Tk do:
- Unpack the source, and run in the win subdirectory:
./configure --host=i686-w64-mingw32 --enable-embedded-manifest \
--prefix=<tcltk root>
- For Tk, patch the file tk8.6.10/win/win/wish.exe.manifest 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>
Presumably I could instead have patched wish.exe.manifest.in
_before_ running configure.
- run 'make' and 'make install'
make
make install
Portability of the result should be no problem. I removed
sqlite3_analyzer from <tcltk root>/bin and placed the resulting lib-
and bin subdirectories under <TL root>/tlpkg/tltcl.
Siep Kroonenberg
March 2020
|