Re: Contributing code

From: Date: Thu, 28 Nov 2002 05:59:26 +0000
Subject: Re: Contributing code
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11201@lists.php.net to get a copy of this message
On Thu, 2002-11-28 at 01:06, Ian Eure wrote: > On Wednesday 27 November 2002 03:28 pm, Lukas Smith wrote: > >> {snip} > > > > both sound interesting enough .. > > yet this brings up the licensing issue again ... > > > > Stig .. in our last discussion you said something like "lets wait til > > monday" :-) > > > > I for one think that PEAR packages should have similar licenses to what > > PHP runs under. Especially no forcing of opening code that interfaces > > with the package. > > > My interpretation of the GPL is that code which uses shared libraries or other > component-style code designed to be reused and shared (as these are) don't > constitute a derivative work. I'm not sure here. I assume, PHP does include your "shared libraries" during compilation time and not just "link" them, therefore it would then be a violation to the GPL. I have always problems understanding the GPL when it comes to script languages, since there is not much compiling/linking/etc within these (yes there is compiling in PHP, but on a less "obvious" scale than in C et al.) Anyway, just headed over to the GPL-FAQ and there it is: http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL *** You have a GPL'ed program that I'd like to link with my code to build a proprietary program. Does the fact that I link with your program mean I have to GPL my program? Yes *** Therefore the linking argument doesn't count, you would have to LGPL your code, to allow it. In my opinion, we should not ban GPL code from PEAR. It should be the desicion of the Author and one can still ask, if he'd like to move over to a LPGL/PHP/BSD license. If not, better than nothing and maybe someone will write the same functionality non-GPLd some day. chregu > > However, I'm happy to put it under the LGPL if there is a genuine issue with > GPL'd code in PEAR. > > -- > "das ist liebe, das ist hass / mit eifersucht vermahlen" -- christian stocker | bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB

« previous php.pear.dev (#11201) next »