On Wed, Oct 22, 2008 at 8:56 PM, Adeodato Simó <[EMAIL PROTECTED]> wrote:
>
> gitk should really always use the default tk in Debian, otherwise users
> are going to end up with more than one tk installed, which should be
> best avoided.

All three Tcl/Tk versions work good if they are installed simultaneously. So,
there's no reason to install only one of them. Though 8.3 isn't removed from
the archive only because of some weird problem with 8.4 during gcc testing
on hppa architecture, so intalling it isn't desirable.

But 8.4 and 8.5 may be installed together.

>
> Comments:
>
>  * there is a "tk" pacakge, so "Depends: tk (>= 8.4)" would solve the
>    concerns in #456423 that one can't just have tk8.5 installed.
>
>  * however, if one uses "tk" as a dependency, the she-bang line should
>    be /usr/bin/wish, which as mentioned in #438662 could point to 8.3,
>    because the alternatives system is used.

tk depends on tk8.4 and sets an alternative /usr/bin/wish to /usr/bin/wish8.4
with a hign priority. So, if tk package is installed and /usr/bin/wish points
to /usr/bin/wish8.3 then it's a local admin decision and it would be better if
this decision would have a reason behind it.

>
>    (This is one of the reasons why using alternatives for interpreters
>    is a bad idea: it prevents the dependencies at packaging level
>    reflect at the filesystem level, and shit happens. CC'ing the Tcl/Tk
>    maintainers in case they want to express their reasons for doing
>    this.)

The alternatives were introduced long before the default tcl/tk packages
appeared. So, we didn't remove them to make a minimum surprise to
users who upgrade tcl8.x packages.

>  * so, I suggest either that the dependency is brought back to "tk8.4",
>    and be sorry for the guy in #456423, or add a bit of shell magic to
>    gitk to use the first of "wish8.4" and "wish8.5" that is available.
>
>    I don't think a Dependency on "tk8.5" is acceptable, because we have
>    default versions of stuff for a reason.

tk8.4 is the default because we couldn't test all packages depending on
Tcl/Tk in time. It wouldn't be great to release broken things. But if the
package works fine with 8.5 then it's perfectly OK to depend on tk8.5
and use wish8.5 as an interpreter.

After lenny will be released we'll change the default tcl and tk packages
and will encourage maintainers to port their packages to 8.5.

Cheers!
-- 
Sergei Golovan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to