F42 Change Proposal: Tcl/Tk 9.0 (system-wide)

Tcl/Tk 9.0

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Wiki
[Announced]https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/4ULPIHWC3Z7HUNTP2F3AVYXHELVZCWBN/()

:link: Summary

Tcl/Tk rebase to version 9. There are some major incompatibilities and it’s unrealistic to port all depending packages, thus the compat Tcl/Tk 8 packages will be provided.

:link: Owner

:link: Detailed Description

Some packages were already ported to Tcl/Tk 9, but some ports are complicated or there is nobody working/interested in the port at the moment thus it’s unrealistic to port everything into f42. That’s why the compat Tcl/Tk 8 packages will be provided and maintained till there will be packages requiring Tcl/Tk 8. This effort has been announced on the fedora-devel mailing list: Tcl/Tk 9.0.0 rebase - devel - Fedora mailing-lists

Example of the change in the packages SPEC:

Original package, or package building with the Tcl/Tk 9:

… BuildRequires: tcl-devel BuildRequires: tk-devel …

Package switched to the compat Tcl/Tk:

… BuildRequires: tcl8-devel BuildRequires: tk8-devel …

The switch to the rebased Tcl/Tk and the packages built with the compat should happen atomically through the side-tag.

:link: Feedback

There hasn’t been any proposed alternative and no negative feedback yet.

:link: Benefit to Fedora

There are several new features in the Tcl/Tk 9 (details in the #User_Experience). Fedora packages should follow the upstream latest releases.

:link: Scope

:link: Upgrade/compatibility impact

It should seamlessly update. Packages ported to Tcl/Tk 9 will require Tcl/Tk 9 and unported packages will require compat Tcl/Tk 8.

:link: Early Testing (Optional)

Do you require ‘QA Blueprint’ support? N

:link: How To Test

  1. Install Tcl/Tk depending packages, e.g. expect, gitk, …, check the list of packages in the #Dependencies
  2. Check functionality of the package.

:link: User Experience

User experience should improve due to the new features supported by Tcl/Tk 9, e.g.:

  • 64-bit Capacity: Data values larger than 2Gb.
  • Unicode and Encodings: full codepoint range, added encodings, encoding profiles to govern I/O, and more.
  • Access to OS facilities: notifications, print, and tray systems.
  • Scalable Vector Graphics: partial support in images, extensive use to enable scalable widget and theme appearances.
  • Platform Features and Conventions: many improvements, including two-finger gesture support where available.

Full list in: Tcl/Tk 9.0

:link: Dependencies

Some of the packages listed bellow only explictly require the Tcl interpreter and could work with the new Tcl package even without rebuild or compat version. Packages implicitly requiring the Tcl/Tk libraries (i.e. these that will 100 % require port/rebuild or compat version) are included in the Copr: jskarvad/TclTK9.0.0 Copr

blt
brazil
brltty
bwidget
catdoc
cgnslib
classified-ads
deal
eggdrop
emacspeak
environment-modules
eth-tools
expect
fmtools
gcl
gensio
git
git-cola
gpsman
graphviz
gtkwave
hamlib
hfsutils
hping3
html2ps
iaxclient
ifm
insight
irsim
itcl
itk
iwidgets
linsmith
llvm-test-suite
Lmod
magic
maxima
med
memchan
mercurial
mmtests
mpqc
nagelfar
nbdkit
ncid
netgen-mesher
ngspice
ocaml-lablgl
ocaml-labltk
ocaml-ocamlnet
ogdi
opencascade
openmsx
owfs
packmol
pcb
pgplot
pidgin
planets
plplot
postgresql15
postgresql16
pypy
pypy3.10
pypy3.9
PySolFC
python3.10
python3.11
python3.12
python3.13
python3.14
python3.6
python3.8
python3.9
R
remind
rrdtool
R-tkrplot
rubygem-tk
snobol4
sqlite
sqlite2
stk
svxlink
systemtap
tcl-ezsmtp
tcllib
tcl-mysqltcl
tcl-pgtcl
tcl-signal
tcl-snack
tcl-tclreadline
tcl-tcludp
tcl-tclvfs
tcl-tclxml
tcl-thread
tcl-tileqt
tcl-tkpng
tcl-tktreectrl
tcltls tcl-togl
tcl-trf
tclx
tcl-zlib
tdom
texlive-base
tix
tkabber
tkdnd
tkimg
tklib
tktray
torque
usb_modeswitch
uudeview
vim-syntastic
vkeybd
weechat
wordnet
xapian-bindings
xbindkeys
xcircuit
xpa
xschem
x11vnc
yaz
yosys
znc

:link: Contingency Plan

  • Contingency mechanism: Contingency mechanism shouldn’t be needed. In the worst case, use of the compat packages should provide the same user experience as with the previous Fedora release. The hard and dirty way to rollback everything is to drop the compat packages, bump the epoch of the Tcl/Tk, revert it to the version 8 and bump and rebuilt depending packages. This can be done by the feature owner.
  • Contingency deadline: beta freeze
  • Blocks release? No

:link: Documentation

https://www.tcl-lang.org/software/tcltk/9.0.html

:link: Release Notes

Last edited by @amoloney 2024-12-12T16:38:34Z

Last edited by @amoloney 2024-12-12T16:38:34Z

How do you feel about the proposal as written?

  • Strongly in favor
  • In favor, with reservations
  • Neutral
  • Opposed, but could be convinced
  • Strongly opposed
0 voters

If you are in favor but have reservations, or are opposed but something could change your mind, please explain in a reply.

We want everyone to be heard, but many posts repeating the same thing actually makes that harder. If you have something new to say, please say it. If, instead, you find someone has already covered what you’d like to express, please simply give that post a :heart: instead of reiterating. You can even do this by email, by replying with the heart emoji or just “+1”. This will make long topics easier to follow.

Please note that this is an advisory “straw poll” meant to gauge sentiment. It isn’t a vote or a scientific survey. See About the Change Proposals category for more about the Change Process and moderation policy.

The copr has a ton of failures, could you perhaps refresh it and list the packages that fail in the change page?

( note if you didn’t know of it, you can use mass prebuild to automate things a lot. See fberat/mass-prebuild Copr )

OK, I will update it.

After Copr refresh/rebuild it isn’t much better. The Copr repo is just with the Tcl/Tk 9 packages, not with the compat Tcl/Tk 8 packages.

This change proposal has now been submitted to FESCo with ticket #3310 for voting.

To find out more, please visit our Changes Policy documentation.

This change has been accepted by FESCo for Fedora Linux 42. A full list of approved changes to date can be found on the Change Set Page.

To find out more about how our changes policy works, please visit our docs site.