From: <jc...@fe...> - 2003-02-28 15:56:23
|
On Friday 28 February 2003 15:09, Rafael Laboissiere wrote: | * Jo=E3o Cardoso <jc...@fe...> [2003-02-28 14:36]: | > hmm, I was thinking to put the new libraries object files into | > libplplot, to easy the linking of users apps. But if we install | > libnn and libcsa the user can use the libraries independently. What | > do you think about this? | | I would prefer to generate separate shared libraries for nn and csa, | if possible. In this case, there will be separation both in the | source tree and in the final result. OK, but configure should be run only once, checking for Qhull, defining=20 a HAVE_QHULL in config.h, and them making csa and (conditionally) nn.=20 libnn and (conditionally) libcsa and (conditionally) libqhull must then=20 be added to the dependency libs of libplplot, the same that is done=20 with libfreetype(1). Rafael, if you have time, could you setup things for this :-? Then I only have to commit src/plgriddata.c, examples/c/x21c.c, and the=20 changes to nn/delauny.c (and the patch file itself). In my sources, which I don't have at hand, I only use from the original=20 tarball the *.[ch] files plus README, where the license is (2).=20 triangle.* doesn't need (and shouldn't) be committed. | A "bonus track", as you mention, is the fact that users can link | separately with the libraries. For that, I can imagine generating a | Debian package called, say, plplot-nn-csa. | | An aside note: have you came across a "bug" in nnpi.c where hash.c is | included instead of hash.h? I don't have the sources at hand. Also, I worked with nn and csa=20 versions which are not the current ones. Joao (1)-Another point that I have not digged into is the float/double issue.=20 While Qhull can be compiled for both float or double (we can check for=20 this at configure time), nn and csa use doubles; one might have to=20 disable nn/csa if the user wants to compile plplot with floats. (2)- Please take a look at the license. It looks a bit confusing for a=20 civilian. When I ask Pavel (nn/csa author's) for a clarification, he=20 said: >This licence does _not_ explicitely demand > ><BEGIN excerpt from GPL> >b) You must cause any work that you distribute or publish, that in=20 whole=20 >or in part contains or is derived from the Program or any part thereof,=20 >to be licensed as a whole at no charge to all third parties under the=20 >terms of this License.=20 ><END> > >Therefore I would be happy if we quietly implied that "BOTH SOURCE AND=20 >OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE" >refers to the _modified_ code only, not the whole application it is=20 used > in. I _think_ it should be legally safe to use this code in commercial > applications as long as the modified code retains copyright and is=20 made > public. |