iraf-community / x11iraf

X11/GUI utilities and applications for IRAF (xgterm, ximtool, xtapemon)
https://iraf-community.github.io/x11iraf
21 stars 8 forks source link

Replace outdated convenience copy of Tcl with system provided one #14

Closed olebole closed 4 years ago

olebole commented 4 years ago

The copy of Tcl that is included in the sources is ~30 years old (7.3) and should not be used anymore. Specifically Linux distributions require to use the actual system provided versions instead of these old libs. However, Tcl changed (unsurprisingly) in an incompatible way in the last 30 years.

This PR removes the Tcl sources and replaces them with linking to the System Tcl. All incompatibilities are removed.

This is mainly stolen from the upcoming Debian package. As for compatibility, it should work with all Tcl8 versions.

On MacOS, there is Tcl 8.5 available.