Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: tk 8.5 conflicts with tk 8.6 xorriso-tcltk
To:
"Heppler, J. Scott" <shep971@spectrum.net>
Cc:
ports@openbsd.org, Stuart Cassoff <stwo@users.sourceforge.net>
Date:
Wed, 10 Sep 2025 08:51:57 +0100

Download raw body.

Thread
cc'ing stu@ (maintainer for Tcl/Tk)

On 2025/09/09 14:54, Heppler, J. Scott wrote:
> The optical disk burner front end, xorriso-tcltk needs a tk shell
> providing /usr/local/bin/wish and the present Makefile lists
> Run dependencies

I don't see the conflict?

$ pkg_info|grep -e ^tk -e ^tcl
tcl-8.5.19p6        Tool Command Language
tcl-8.6.16          Tool Command Language
tk-8.5.19p2         graphical toolkit for Tcl
tk-8.6.16           graphical toolkit for Tcl

Our Tcl/Tk packages only provide binaries which include version numbers,
there's no package providing /usr/local/bin/wish, and other ports use
patches/sed/.. to set #! lines correctly. That's done for xorriso-tcltk:

$ head -1 /usr/local/bin/xorriso-tcltk 
#!/usr/local/bin/wish8.5 

>     tcl->=8.5,<8.6:lang/tcl/8.5
> 
> cad/opencascade is dependent on tcl/8.6
> 
> Would anyone have objections to upgrading the tcl/tk version to 8.6 in
> xorriso-tcltk?

unless there's a special reason for using a different Tcl/Tk version
(i.e. some software requires a newer or older version), the normal
approach in ports is to use the default version specified in
lang/tcl/tcl.port.mk / x11/tk/tk.port.mk. I wonder if we're anywhere
near flipping the default to 8.6 though..