* Gerrit Pape [Wed, 05 Nov 2008 00:41:35 +0000]:
> On Wed, Oct 22, 2008 at 06:56:48PM +0200, Adeodato Sim? 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.
> > 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.
> Hi, gitk works with tcl/tk 8.4 and 8.5, but not 8.3, see #438662 and
> #456423.
> How should the gitk package make clear that it needs at least 8.4 while
> depending on the 'default tk'?
Package: gitk
Depends: tk (>= 8.4)
That makes it "clear", though as commented elsewhere in the bug, the
sysadmin is free to break their system via alternatives.
(But, alas, so they could without alternatives; eg. they could break
Python by installing python -> python2.3 in /usr/local/bin).
HTH,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
In my opinion, the most fruitful and natural play of the mind is in
conversation. I find it sweeter than any other action in life; and if I
were forced to choose, I think I would rather lose my sight than my
hearing and voice.
-- Michel de Montaigne
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]