Package: tkcon Version: 2:2.7.11-1 Severity: wishlist Tags: upstream patch Dear Maintainer,
'tkcon' is great for working interactively with TclTk (unlike e.g. `wish` or `tclsh`). Unfortunately, it doesn't work with TclTk-9.x, due to a versioned import of Tk. The fix is simple: instead of having `package require Tk 8.4`, a simple `package require Tk` suffices and allows me to hack away with wish9.0! the attached patch is against the upstream repository, but should be easy enough to apply :-) gmdfasr IOhannes -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.11.10-amd64 (SMP w/24 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tkcon depends on: ii tk 8.6.14 tkcon recommends no packages. tkcon suggests no packages. -- no debconf information
>From 55e4887f86475f2004c7f412fd98118c9d0cd944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= <zmoel...@iem.at> Date: Tue, 21 Jan 2025 09:01:42 +0100 Subject: [PATCH] Drop versioned dependency on Tk>=8.4 So tkcon is usable with TclTk-9 --- tkcon.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tkcon.tcl b/tkcon.tcl index a33397a..494779f 100755 --- a/tkcon.tcl +++ b/tkcon.tcl @@ -57,7 +57,7 @@ exec wish "$0" ${1+"$@"} if {$tcl_version < 8.4} { return -code error "tkcon requires at least Tcl/Tk 8.4" } else { - package require Tk 8.4 + package require Tk } # We need to load some package to get what's available, and we -- 2.45.2