[Pkg-tcltk-devel] Bug#503113: gitk: should depend on the default tk

Adeodato Simó dato at net.com.org.es
Wed Oct 22 16:56:48 UTC 2008


Package: gitk
Version: 1:1.5.6.5-1
Severity: normal
X-Debbugs-CC: pkg-tcltk-devel at lists.alioth.debian.org

Hello,

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.

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.

    (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.)

  * 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.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                           Listening to: Alejandro Sanz - Corazon partío






More information about the Pkg-tcltk-devel mailing list