Index | Thread | Search

From:
"Heppler, J. Scott" <shep971@spectrum.net>
Subject:
Re: tk 8.5 conflicts with tk 8.6 xorriso-tcltk
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Wed, 10 Sep 2025 08:53:46 -0700

Download raw body.

Thread
The xorriso-tcltk GUI was not starting in current.  My initial
troubleshooting search suggested a problem with "wish".

Actually the problem was that installing xorriso-tcltk does not install
xorriso as a runtime dependency.

Thanks for looking into this.

On Sep 10, 2025: 08:51, Stuart Henderson wrote:
>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..
>

-- 
J. Scott Heppler

Penguin Innovations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


NOTICE: This e-mail message and any attachments may
contain legally privileged and confidential information intended
solely for the use of the intended recipients. If you are not an
intended recipient, you are hereby notified that you have
received this message in error and any review, dissemination,
distribution, copying, or other unauthorized use of this email
and any attachment is strictly prohibited. If you have received
this email in error, please notify the sender immediately and
delete the message and any attachments from your system.