From: Andrew S. <str...@as...> - 2004-03-08 22:58:20
|
Hi matplotlib developers, John has rightly directed me to the developers list with the following email. So now, after subscribing, I have a couple of suggestions for the developer of the TkAgg backend. (John Miller?) Begin forwarded message: > From: John Hunter <jdh...@ac...> > Date: Tue Mar 9, 2004 2:52:33 AM Australia/Adelaide > To: Andrew Straw <str...@as...> > Subject: Re: TkAgg backend issues > >>>>>> "Andrew" == Andrew Straw <str...@as...> writes: > > Andrew> Hi John, A couple more quick notes: > > Andrew> 1) It might be very useful to put the following comment in > Andrew> setupext.py in the add_tk_flags section so that idiots > Andrew> like me don't build the TkAgg backend against tk8.4, even > Andrew> though their Tkinter uses 8.3! > > Andrew> # Make sure you use the Tk version given by > Andrew> Tkinter.TkVersion # or else you'll build for a wrong > Andrew> version of the Tcl # interpreter (leading to nasty > Andrew> segfaults). > > Andrew> 2) It's pretty clear that a lot of the TkAgg stuff was > Andrew> taken directly out of PIL. Therefore, we need to live up > Andrew> to their (not very challenging) license conditions: we > Andrew> have to include their copyright notice and their > Andrew> permissions as specified in Imaging-1.1.x/README. > > Looks right to me. Could you email this to the devel list. I don't > maintain the Tk backend so I'd like Todd and the rest of the stsci > crew to take the lead here. > > If it's alright with you, matplotlib-devel is the best place for > patches, comments, etc..., since sometimes other people are working on > similar problems and would like to avail themselves of your work and > comments. > > Thanks! > JDH > |
From: Todd M. <jm...@st...> - 2004-03-08 23:31:28
|
On Mon, 2004-03-08 at 17:41, Andrew Straw wrote: > Hi matplotlib developers, > > John has rightly directed me to the developers list with the following > email. So now, after subscribing, I have a couple of suggestions for > the developer of the TkAgg backend. (John Miller?) I'm *Todd* Miller. My SF login is jaytmiller. > > Begin forwarded message: > > > From: John Hunter <jdh...@ac...> > > Date: Tue Mar 9, 2004 2:52:33 AM Australia/Adelaide > > To: Andrew Straw <str...@as...> > > Subject: Re: TkAgg backend issues > > > >>>>>> "Andrew" == Andrew Straw <str...@as...> writes: > > > > Andrew> Hi John, A couple more quick notes: > > > > Andrew> 1) It might be very useful to put the following comment in > > Andrew> setupext.py in the add_tk_flags section so that idiots > > Andrew> like me don't build the TkAgg backend against tk8.4, even > > Andrew> though their Tkinter uses 8.3! > > > > Andrew> # Make sure you use the Tk version given by > > Andrew> Tkinter.TkVersion # or else you'll build for a wrong > > Andrew> version of the Tcl # interpreter (leading to nasty > > Andrew> segfaults). OK. I added this to setupext.py. Thanks for the suggestion. > > > > Andrew> 2) It's pretty clear that a lot of the TkAgg stuff was > > Andrew> taken directly out of PIL. This was news to me, but Perry confirmed it. > Therefore, we need to live up > > Andrew> to their (not very challenging) license conditions: we > > Andrew> have to include their copyright notice and their > > Andrew> permissions as specified in Imaging-1.1.x/README. > > Here's what I think we have to include: -------------------------------------------------------------------- Software License -------------------------------------------------------------------- The Python Imaging Library is Copyright (c) 1997-2002 by Secret Labs AB Copyright (c) 1995-2002 by Fredrik Lundh By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions: Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Secret Labs AB or the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. JDH... do you have any idea where to put it? Thanks for the feedback, Todd Miller -- Todd Miller <jm...@st...> |
From: John H. <jdh...@ac...> - 2004-03-08 23:52:48
|
>>>>> "Todd" == Todd Miller <jm...@st...> writes: Todd> JDH... do you have any idea where to put it? I created a dir in CVS "license" which contains LICENSE - the matplotlib license LICENSE_PAINT - not really required anymore since font.cpp is no longer used LICENSE_PIL - you can refer to this in the appropriate tkagg src files I also made a committed of couple of minor changes earlier to the tkagg src that Andrew suggested to me that enable it to build cleanly on OS X. With the current CVS setup.py and setupext.py, I can build all the backends on linux, win32 and darwin, which is *a good thing* :-). JDH |
From: Perry G. <pe...@st...> - 2004-03-10 15:59:25
|
> > > Andrew> 2) It's pretty clear that a lot of the TkAgg stuff was > > > Andrew> taken directly out of PIL. > > This was news to me, but Perry confirmed it. > By the way, I'd like to thank Andrew Straw for pointing this out. I originally looked at how PIL handled blitting images to Tkinter as a possible way of doing it for Chaco/Kiva, and it seemed to work fine. But it didn't get used for Chaco/Kiva so it sat there a while (and the license issue "to-do" faded from my memory) until it I realized that it could be used for matplotlib/Tk/agg when I gave it to Todd to use. By then I forgot to mention that it was taken from PIL so I'm glad you noticed that. Perry |