diff options
Diffstat (limited to 'Master/source/tlgui/tltcl/tltcl.README')
-rw-r--r-- | Master/source/tlgui/tltcl/tltcl.README | 70 |
1 files changed, 29 insertions, 41 deletions
diff --git a/Master/source/tlgui/tltcl/tltcl.README b/Master/source/tlgui/tltcl/tltcl.README index 4f54395cd9a..5e56317b407 100644 --- a/Master/source/tlgui/tltcl/tltcl.README +++ b/Master/source/tlgui/tltcl/tltcl.README @@ -1,54 +1,42 @@ -tclkit.exe is a single-file Tcl/Tk runtime. The one included in TeX -Live is generated with kitcreator. This program downloads and -compiles tcl, tk and various pieces of infrastructure. +Notes on building Tcl/Tk for TeX Live 2020 -I used kitcreator's README file for guidance in generating -tclkit.exe: +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. -from the root of the unpacked kitcreator archive I first created a -native Linux tclkit: +The Tcl/Tk 8.6.10 sources were downloaded via +http://www.tcl.tk/software/tcltk/download.html -./kitcreator -mv tclkit-8.6.8 tclkit-local +Tcl/Tk was cross-compiled under Ubuntu Linux 18.04 as follows. For +first Tcl, then Tk do: -From this same directory I ran the following script: +- Unpack the source, and run in the win subdirectory: -================ -#!/bin/bash -export TCLKIT=`pwd`/tclkit-local -export CROSS=i686-w64-mingw32 + ./configure --host=i686-w64-mingw32 --enable-embedded-manifest \ + --prefix=<tcltk root> -export CC=${CROSS}-gcc -export CXX=${CROSS}-c++ -export AR=${CROSS}-ar -export RANLIB=${CROSS}-ranlib -export STRIP=${CROSS}-strip -export RC=${CROSS}-windres -./kitcreator --host=${CROSS} +- 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: -mv tclkit-8.6.8 tclkit.exe -================ + <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> -This directory contains the archives of kitcreator and the archives -it downloaded during the build process. + Presumably I could instead have patched wish.exe.manifest.in + _before_ running configure. -The LICENSE file is the one I found in the root of the kitcreator -archive. +- run 'make' and 'make install' -As to the urls of the downloaded files: a command + make + make install -find . -name "build*.sh" -exec grep '^SRCURL=' \{} \; - -generated the following output: - -SRCURL="http://sourceforge.net/projects/incrtcl/files/%5BIncr%20Tcl_Tk%5D-source/Itcl%20${ITCLVERS}/itcl${ITCLVERS}${ITCLVERSEXTRA}.tar.gz/download" -SRCURL="http://prdownloads.sourceforge.net/tcl/tcl${TCLVERS}-src.tar.gz" -SRCURL="http://sourceforge.net/projects/tcl/files/Thread%20Extension/${THREADVERS}/thread${THREADVERS}.tar.gz/download" -SRCURL="http://www.equi4.com/pub/mk/metakit-${MK4VERS}.tar.gz" -SRCURL="http://pkgs.fedoraproject.org/repo/pkgs/metakit/metakit-${MK4VERS}.tar.gz/17330257376eea657827ed632ea62c9e/metakit-${MK4VERS}.tar.gz" -SRCURL="http://prdownloads.sourceforge.net/tcl/tk${TCLVERS}-src.tar.gz" - -The itcl- and thread- packages listed above were not actually downloaded. +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 -November 2018 + +March 2020 |