From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6071f84396b8f5aa X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.38.134 with SMTP id g6mr2365535pbk.6.1318937055493; Tue, 18 Oct 2011 04:24:15 -0700 (PDT) Path: d5ni26696pbc.0!nntp.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Writing PDF files Date: Tue, 18 Oct 2011 12:24:13 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="26506"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tbS7lrgmGNihDGQ1N5/Nc6EyOGEalJFU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:GGbPZQccEvtyNOG9/TLD/F4tTMM= sha1:J97i0UGraWNuQtBTZVuFdnqKfPc= Xref: news2.google.com comp.lang.ada:14043 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2011-10-18T12:24:13+01:00 List-Id: "Yannick Duchêne (Hibou57)" writes: > Le Tue, 18 Oct 2011 12:03:38 +0200, Yannick Duchêne (Hibou57) > a écrit: >> And according to http://plplot.sourceforge.net/ there already is an >> Ada binding (otherwise, this a C story). > Potentially appealing too, is the license, which is *L*GPL. > > However, it is not clear to me if with LGPL, you are required to > dynamically link only or if you also can use static library link > without fears. I just had a look at the Wikipedia entry, which is no > more clear than my mind: > >> Essentially, if it is a "work that uses the library", then it must be >> possible for the software to be linked with a newer version of the >> LGPL-covered program. The most commonly used method for doing so is >> to use "a suitable shared library mechanism for linking". Alternatively, >> a statically linked library is allowed if either source code or >> linkable object files are provided. > What does that mean ? Which sources are you required to provide ? The > one of the library or the one of the application statically linked to > it ? I don't see those words in COPYING.LIB version 2 as distributed with plplot (and I thought you don't hold with Wikipedia???!). I believe it's generally thought that the LGPL is inappropriate for Ada source code with generics. However, the plplot bindings have no generics, so may be OK. But I think that for statically-linked proprietary executables using plplot you would have to supply at least object code for your proprietary application so that the user could relink with a newer version of plplot. Sounds fraught with difficulty.