[Image-SIG] Bug#41690: Ok, it now depends, but it shouldn't

Lalo Martins lalo@webcom.com
Sat, 14 Aug 1999 11:30:05 -0300

On Sat, Aug 14, 1999 at 04:13:51PM +0200, Fredrik Lundh wrote:
> Matthias Klose <doko@cs.tu-berlin.de> wrote:
> > For the beta of pil I sent a patch, which enables the dynamic loading
> > of the TK library (if the TK installation is properly made). Is there
> > a reason that this kind of configuration is not supported by PIL?
> > I received a suggestion of a Debian user, who uses this package in
> > this way.
> PIL 1.0 can hook itself into Tk in two different
> ways:
> 1) link _tkinter with the tkImaging module (old style)
> 2) link _imaging with the same module (new style)
> in both cases, tkImaging needs access to the under-
> lying Tcl/Tk libraries, so (2) only works well if you're
> using shared libraries.

I think that's fine. But why is (2) better than (1)? For me,
looks like (1) is the reasonable solution.

Then again, you mention not wanting to modify Tkinter. But if
such a modification would be an improvement, it would be better
for everyone, wouldn't it? If it is at least minimally useful to
other users of Tkinter besides PIL, it should be done.

      I am Lalo of deB-org. You will be freed.
                 Resistance is futile.

http://www.webcom.com/lalo      mailto:lalo@webcom.com
                 pgp key in the web page

Debian GNU/Linux       --        http://www.debian.org