Slashdot Mirror


LGPL is Viral for Java

carlfish writes "According to this post to POI-dev, Dave Turner (Mr License) of the FSF has decreed that the steps required to use an LGPL'd Java library will actually infect client code with substantial GNU-ness via Section 6 of the LGPL. (The "Lesser" GPL is supposed to protect only the Library, without infecting code using the library) This, as you might imagine, puts a few LGPL Java projects that previously thought they were embeddable without being viral in a bit of a bind. Various weblogs have further coverage." Update: 07/18 02:44 GMT by CN : The FSF's Executive Director, Brad Kuhn adds "LGPL's S. 6 allows you to make new works that link with the LGPL'ed code, and license them any way you see fit. Only the LGPL'ed code itself must remain Free. Such 'client code' can even be proprietary; it need not be LGPL'ed."

108 of 717 comments (clear)

  1. great, microsoft succeed again by Anonymous Coward · · Score: 5, Insightful

    they coined the term "viral" with respect to software licenses, and now everyone's using it.

    good stuff. :\

    1. Re:great, microsoft succeed again by TheRaven64 · · Score: 3, Informative
      [microsoft] coined the term "viral" with respect to software licenses, and now everyone's using it.

      Are you sure? My 1992 copy of the New Hacker's Dictionary contains a reference to the `General Public Virus', and I don't recall MS even having heard of the GPL back then...

      --
      I am TheRaven on Soylent News
  2. GPL model by jinglecat · · Score: 3, Funny

    I know a way they can handle their GPL model..

    Just ask SCO!

    "If it is not OUR's then it must be Viral"

  3. LGPL: Lesser General Public License by jbuilder · · Score: 2, Informative

    I have had physical relations with other humans and even *I* know what this is. It's the GNU Lesser General Public Licnese...

    You can read about here: http://www.gnu.org/copyleft/lesser.html

    Now if you'll excuse me I need to go back to my mundane life of co-mingling with other humans...

    Oh and they're female in case you're wondering...

    --
    Polymorphism -- It's what you make of it.
  4. No problem. by Blackknight · · Score: 4, Insightful

    Just switch to the BSD license, like the Vorbis project did.

    1. Re:No problem. by keesh · · Score: 5, Insightful

      I am a Java developer, and I have used the LGPL on work (and also used work that has been LGPL'ed).

      My intent in using the LGPL is pretty simple: If you want to use my library, go ahead. If you make changes to my library, those have to be released back into the wild, so the library can be improved by everyone's improvements. I'm not a 'Free Software' zealot -- I'm an open-source pragmatist.

      If the LGPL does not meet this intent with Java, then we should find or write a license that has this intent. Perhaps one of the ones at Creative Commons would work...

    2. Re:No problem. by Michael's+a+Jerk! · · Score: 5, Insightful

      Perhaps you need to make an effort to understand the reasons people
      refer to the GPL as viral.

      If I spend years writing a program using no code other than my own, I
      can release it under any license I want. If I incorporate BSD licensed
      code into my program, I can still use any license I want, so long as I
      preserve copyright notices. If, however, I want to include GPLed code in
      my program, the GPL forces me to release my program under the GPL. It
      has *infected* my program. This is where the term `viral' originates
      with regard to the GPL.

      The BSD license does not affect code and cannot affect code since it
      can always be placed under another license. If someone makes proprietary
      enhancements to my BSD licensed code on his own time with his own money,
      the only code that has been infected with a non-free virus is his. My
      code is still perfectly free. I can give it to whoever I want and it
      is still as free as ever. The only thing I can't do is give away the
      other person's proprietary enhancements made with his own time and his
      own money and which could possibly completely overshadow the features
      provided by my small amount of code.

      Although the BSD license encourages the reuse of code for *any* purpose,
      including in projects released under non-free licenses like the GPL or one
      of the dozens of proprietary software licenses, doing it to piss people
      off will not get you very far, and it will make you look foolhardy,
      especially in the eyes of the people who wrote the free software (free
      for *any* purpose) that you would be making non-free. I guess you think
      no one understands the BSD license.

      All in all, a fine spirit to take in the name of free software....

      --

      I'm not Seth.

    3. Re:No problem. by SuperDuG · · Score: 4, Insightful
      I know the other comment-replies to this post have been marked -1 for one reason or the other, but in all honesty I couldn't agree with you more.

      In all honest the BSD license is the "Ultimate Opensource Freedom". You release your code in hopes of the good will of future coders seeing your code. You bank on the fact that if you had the heart to release it to the public that future developers may feel the same way. But you also realize that they may not even explore your code if it has a license that forces them to release their code.

      So corperate america is willing to take a look at the possibility if their hands aren't tied. Eventually it's the hope that they will see the benifit of the source being released in the first place and let their modifications benifit the whole as well, possibly a little later after there has been a corner on the market from the secondary developers.

      Perfect example? Macintosh OS X and FreeBSD. Apple saw that the FreeBSD system was solid and they added to it to make it a system they thought was overly viable for them and then later released an entire project (darwin) back under the BSD code it was incepted with.

      So is BSD dying? Who knows, it's a wonder what exactly BSD code is doing right now as there is no obligation for the developers to release their modifications source. It's like a behind the scenes world where everyone uses the stuff but no one admits it. But yet we still see great projects come out of it, anyone ever used OS X?

      --
      Ignore the "p2p is theft" trolls, they're just uninformed
    4. Re:No problem. by plague3106 · · Score: 2, Insightful

      Who knows, it's a wonder what exactly BSD code is doing right now as there is no obligation for the developers to release their modifications source.

      Which is why i don't like the BSD license. Code released under it is essentally ending up as work done for free for corporations. So while the code may now be better, it doesn't benifit everyone, it simply benifits the company.

    5. Re:No problem. by jrockway · · Score: 2, Insightful

      I was just about to post something like this. The spirit of the LGPL is that you can use the library for your whatever-liscensed program, but if you change the library then you show the world your changes. If Java happens to use some strange library/package/class loading system that makes the LGPL incompatible, the LGPL can be fixed.

      We should worry about intent, not physical locading of the class into memory.

      --
      My other car is first.
  5. The GPL is not viral. by oGMo · · Score: 5, Insightful

    Please read that again. And again, until you get it. The GPL is not viral. It's pretty simple, really. If you're going to use [L]GPL'd code, follow the terms of the license, or don't use it.

    You have a choice. The [L]GPL is not a little bug trying to worm its way into your code. If you chose to use GPL code, then you follow the terms, or don't use the code. It's simple.

    If you find some really neat library under the [L]GPL that you want to use, and you don't want to follow the terms, well: tough luck. Offer to compensate the author; perhaps he or she will license it to you differently. Otherwise, write your own code.

    --

    Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    1. Re:The GPL is not viral. by The+Bungi · · Score: 3, Insightful
      And again, until you get it

      Sorry, but that's like saying cholera is not bad as long as I don't catch it.

      The term "viral" pisses people like you off because it's convenient to think that it's a term invented solely for the purpose of turning people off from using it, and that's not the case. In cases like this one (and many others that I won't dredge up right now) the adjective is perfectly applicable - it implies a lack of knowledge as to how the license works and how to use it, but it doesn't make it any less "viral". It was used in ignorance, and now the folks that assumed they were OK find themselves "infected". That's what viral means. It doesn't mean that the license in and of itself is evil or incorrect or otherwise wrong.

    2. Re:The GPL is not viral. by TheAJofOZ · · Score: 2, Interesting
      Please read that again. And again, until you get it. The GPL is not viral. It's pretty simple, really. If you're going to use [L]GPL'd code, follow the terms of the license, or don't use it.

      I think you missed the point. The LGPL does not do what it was designed to do and what most programmers who use it think it does with their code. That's a problem, it's not a complaint that you can't use the code for whatever you like, it's a complaint that you can't use the code in the way that the original author (and copyright holder) intended you to be able to.

    3. Re:The GPL is not viral. by William+Tanksley · · Score: 2, Insightful

      Nonsense. The GPL is intended to do exactly what you say it doesn't: it's intended to make all software free. It's a tool intended to destroy copyright from within.

      Saying that it's viral is mere shorthand for that, and you obviously know that (since you define viral in that way).

      Now, your prescription to deal with the viralness is quite on-target -- money talks, and coding your own dang solution also works. But this doesn't change the facts about how the GPL works, and how it's intended to work.

      Grin... To stretch the analogy, suppose someone claimed that the common cold wasn't viral because you could avoid it by wearing a mask, washing your hands, and staying out of public. I know, it's a stretched analogy...

      -Billy

    4. Re:The GPL is not viral. by p3d0 · · Score: 2, Insightful
      Have we hit your pet peeve here?

      Obviously if you don't use GPL'ed code, then you have no problem. Equally obviously, then, that can't be what people are talking about when they say it's viral.

      The GPL has the property that, if you derive a project from code covered by it, your own code must also be covered by it. Most licenses don't have that property. So, if your 10,000 LOC project has 50 LOC covered by the GPL, you must license the whole thing under the GPL (in which case the GPL has effectively transmitted itself to other code) or remove those 50 LOC (thereby innoculating your project).

      If you object to the term "viral" being applied to this situation, so be it, but I think it's an apt description, and it's exactly the effect that I think Stallman intended. Regardless, you need to take a deep breath and relax a bit.

      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    5. Re:The GPL is not viral. by alienw · · Score: 4, Insightful

      What are you smoking? I want some of that.

      The GPL is a tool to make YOUR software free, not someone else's software. It's not designed to "destroy copyright from within". If you think so, you are a retarded assmonkey who needs to shut up and read what Richard Stallman has to say about the goals of the FSF and the GPL.

      Unlike certain EULAs and NDAs, the GPL is not viral. Looking at GPL'd code is permitted, no strings attached. You just can't copy GPL-licensed code into your program unless it's also GPL-licensed. I don't see how this is viral.

    6. Re:The GPL is not viral. by oGMo · · Score: 2, Insightful
      Nonsense. The GPL is intended to do exactly what you say it doesn't: it's intended to make all software free. It's a tool intended to destroy copyright from within.

      Yes, basically, and no, I didn't say it wasn't.

      Saying that it's viral is mere shorthand for that, and you obviously know that (since you define viral in that way).

      Precisely wrong. The idea is to provide a great deal of high-quality software that's Free(tm) such that's it's easier (and perhaps cheaper) just to write more Free(tm) software than it is to write proprietary alternatives.

      There's still nothing forcing you to write free software. You can go out and rewrite everything yourself. But that doesn't mean it's easy, and really: why should it be? Why should those who write free software make life easier for those who write proprietary software?

      That's right, they shouldn't. But no one is stopping you from writing the proprietary software. (They're not making it harder, either. If that free software wasn't there, you'd still have to write your own.)

      Grin... To stretch the analogy, suppose someone claimed that the common cold wasn't viral because you could avoid it by wearing a mask, washing your hands, and staying out of public. I know, it's a stretched analogy...

      Yes, this analogy falls far short. The GPL is much more like peer pressure. It's easier and more fun to go along with it, but if you make up your mind not to, there's nothing stopping you.

      --

      Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    7. Re:The GPL is not viral. by WatertonMan · · Score: 3, Interesting
      It's a tool intended to destroy copyright from within.

      Your complaints against the word "viral" would hold a lot more if you didn't then go and describe the GPL using language that describes how viruses work and kill things. . .

      Yeah, unintentional, I know. But that's why people use the word "viral." It is these subtle things most people aren't that familiar with that makes GPL so insidious. Perhaps Slashdot readers are familiar with the endless debates over GPL. However not everyone is. When some manager finds these things out.

      I agree with those who say it is the users duty to read the license restrictions. But realize that those who then reject GPL software likely are doing it because they don't want this "anti-copyright" virus. If some do and see some benefit from the virus, more power to them. Lots of things that are negative to some are positive to others.

      The virus metaphor is so apt because what uses the GPL code is "contaminated" in a way that most libraries don't do. I'm all for open software, but prefer licenses like BSD's which doesn't have these hidden anti-capitalist or anti-copyright policies.

    8. Re:The GPL is not viral. by Rutulian · · Score: 2, Informative

      Nonsense. The GPL is intended to do exactly what you say it doesn't: it's intended to make all software free. It's a tool intended to destroy copyright from within.

      BS. The GPL is intended to force a give some take some trade agreement on people who use free software. If you want to make your job easier by using somebody else's code, then the GPL forces you to do a favor in turn by making your code available to make somebody else's job easier (if you want to distribute it, that is).

      It is not intended to destroy copyright (or intellectual property), it uses copyright. Without copyright there is no way it could exist. It doesn't "infect" people. And you can't "catch" it unless you want it. So aside from the idea that the license forces itself onto developers who want to distribute derivatives of GPL'd code, the term "viral" is not an accurate description. It is propaganda invented by Microsoft during their FUD campaign. All licenses have terms (BSD license included: you have to include the copyright statement). The GPL license just has more stringent terms when it comes to distribution.

    9. Re:The GPL is not viral. by fanatic · · Score: 4, Insightful

      The GPL is intended to do exactly what you say it doesn't: it's intended to make all software free. It's a tool intended to destroy copyright from within.

      That's right. GPL'd code reaches up, grabs you by the throat and makes you insert it into your project.

      Oh, you mean it doesn't?

      Then, it must, by itself, open your code in your favorite editor, and type itself into your code?

      Oh, it doesn't?

      Gee then you must be a fucking dumbshit, since your code got the GPL-ness in it because you included GPL code in your code. Because that's the only way it can happen.

      CHrist, how many times does it have to be said? If you don't wnat your code GPL'd, don't use GPL'd code in your code. Even a moron like you should be able to undestand that.

      Now this issue of using the LPGL .jars, it looks to me like you escape your whole work being LGPL' if you "b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with." So, if you dind't actually incorporate the libraries into your code, ocne again you are OK.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    10. Re:The GPL is not viral. by alienw · · Score: 2, Insightful

      Stallman's goals are the erradication of all commercial software.

      Can you quote him on that? I always thought he was encouraging software to be free, not eradicaing any commercial programs. How can you 'eradicate' commercial software, anyway? I don't think Stallman is trying to get laws passed that prohibit charging money for software.

      So that "information can be free".

      Stallman was talking about software, not 'information'. Again, can you cite a source for that "quote"?

      Do you contend that?

      Yes, see above.

      If not then I think a good case can be made that the GPL is his way of extending and embracing the very thing he wants to disappear.

      How in the hell does the GPL 'extend' and 'embrace' commercial software? You are now contradicting your previous statement.

      It's a tribute to the quality of open source software that he even remotely has a chance to do that, of course. If that wasn't the case then nobody would even bother listening to him.

      I think the reason the quality is so good is because people listen to him. You have cause and effect reversed.

      BTW, "assmonkey" is right up there with "fucktard" in the list of colorful adjectives used by low-IQ Slashdot posters who can't come up with something intelligent to say if their lives depended on it.

      I personally think that 'assmonkey', like 'fucktard', is an accurate description of most Slashdot posters. Also, very nice selective quoting there. I'm impressed by your mad skillz, Mr. High-IQ Slashdot Poster. But next time, try to use a small amount of logic in your post. You would certainly sound quite a bit smarter than you do now.

    11. Re:The GPL is not viral. by dinotrac · · Score: 2, Insightful

      Before you go calling people names, you might want to find out what it is you're talking about.

      1. The GPL does not prevent you from copying GPL'd code into a non-GPL'd program. You are completely free to do that. The GPL prevents you from distributing that code as part of a non-GPL'd program. A company, for example, could create their own proprietary software based in part on GPL'd code and distribute it throughout, but not outside of, the organization.

      2. Like it or not, viral is not an unreasonable way to describe the GPL.

      Consider the program in point 1.

      After using that program internally for some time, the company sees an opportunity outside of the company.
      At that point, the GPL, springs out of its dormant state and infects the rest of the program. It doesn't actually GPL the rest of the code (contrary to Microsoft hyperbole). What it does is revoke all rights to the GPL'd code, resulting in a derivatvie work that cannot legally be used or distributed.

      This is neither good nor evil. It's the mechanism by which the GPL is able to do the things it does.
      It is, however, something that developers need to be aware of and plan for accordingly.

    12. Re:The GPL is not viral. by aug24 · · Score: 2, Interesting
      that's like saying cholera is not bad as long as I don't catch it

      Balls. [There's good logic for you ;-)]

      If you are a professional developer and you come across some neat free code that you decide to use, but you don't fully read and understand the license terms, then you are a total moron.

      To continue your analogy, that's like saying "I decided to drink the water from the river, but no-one told me that I could catch cholera". Ah, bloody diddums.

      J.

      --
      You're only jealous cos the little penguins are talking to me.
    13. Re:The GPL is not viral. by Minna+Kirai · · Score: 3, Interesting

      The GPL is a tool to make YOUR software free, not someone else's software. It's not designed to "destroy copyright from within". If you think so, you are a retarded assmonkey who needs to shut up and read what Richard Stallman has to say about the goals of the FSF and the GPL.

      It is intended to make all software free. That is the goal of the FSF and the GPL. Eric Raymond of the Open Source Initiative takes a more moderate view, and explains that some categories of software should not be free... but that's not the GPL's goal.

      By use of the GPL, RMS hoped to make all software Free by providing quality GPL code as an incentive for new programs to be GPLed too. Otherwise, they'd be missing out on many cheaply available features. The idea was that GPL use would snowball- at some point, when the preponderance of useful libraries are GPLed, then creating a non-GPL program that can't use them would be an exercise in futile money-wasting.

      RMS doesn't like the LGPL for this reason- he does not want people to be able to link to Free libraries without Freeing up their code. That's why he renamed it from "Library GPL" to "Lesser GPL"- to emphasize disapproval.

      The word "viral" to describe the GPL is of course incorrect- unless one also agrees that the copyright system is viral itself (according to the legal definition of a derived work, which are "infected" with the copyright of the previous author).

  6. Re:Huh? by jedidiah · · Score: 3, Funny

    I can see how you could be confused since commercial licensing issues are only relevant to those that don't live in momma's basement.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  7. It means what it means by waterbear · · Score: 2, Insightful

    It's worth pointing out that no-one (except a court) is really in a position to 'decree' what the LGPL clause 6 means if it really is a close call on more than one interpretation. If it turns out to be ambiguous or contentious, the best move could be to debate a clarification and campaign for the adoption of that instead.

  8. OK, so we need a new license by bokmann · · Score: 4, Insightful

    I am a Java developer, and I have used the LGPL on work (and also used work that HAS been LGPLed).

    My intent in using the LGPL is pretty simple: If you want to use my library, go ahead. If you make CHANGES to my library, those have to be released back into the wild, so the library can be improved by everyone's improvements. I'm not a 'Free Software' zealot - I'm an open-source pragmatist.

    If the LGPL does not meet this intent with Java, then we should find or write a license that has this intent. Perhaps one of the ones at Creative Commons would work...

  9. the slashdot story is mis-interpreting the post by Anonymous Coward · · Score: 4, Insightful

    The post states that you cannot import or "lift" any lgpl code * code * code into another project unless that project becomes lgpl'd also. This is correct; however, the resulting lgpl'd library (binary) can be called / used by a non-lgpl'd project. It is really not that confusing.

    1. Re:the slashdot story is mis-interpreting the post by MisterFancypants · · Score: 3, Insightful
      The post states that you cannot import or "lift" any lgpl code * code * code into another project unless that project becomes lgpl'd also. This is correct; however, the resulting lgpl'd library (binary) can be called / used by a non-lgpl'd project. It is really not that confusing.

      You are absolutely wrong. What they are really saying is that the LGPL works virtually the same as the GPL when it comes to Java code because Java code doesn't use early linking, everything is bound at runtime, thus there is no clear separation between one LGPL library and other libraries used by an application, or between the LGPL library and the application itself.

      If you follow this to its logical conclusion (which I haven't seen done in by the 'FSF-license guy') what you wind up with is the fact that you just cannot use the LGPL license with Java at all since the LGPL license conflicts with Java's own base set of libraries, which are shared source, but not free software in the *GPL sense.

    2. Re:the slashdot story is mis-interpreting the post by bwt · · Score: 4, Insightful

      But there is a clear distinction. The LGPL library is loaded from one jar on the classpath at runtime and the rest of the code is loaded from somewhere else. They're clearly separable. If you modify anything in the LGPL jar (or class) and distribute it, you must include full source to everything packaged in that jar, but if you don't do that you are fine, even if you're dealing with full GPL java code.

      The JVM plays the same role as bash does: it loads separately packaged programs into memory, and handles messages being sent back and forth, none of which implicates any right held by the copyright holder of either. I my propietary class calls your GPL'd or LGPL'd class, so what!? How is that different than my proprietary bash script calling grep? As long as I don't modify or distribute your code, or copy parts of it into mine, I don't need a licence.

      If you say the method calls are me copying your code, I'll argue back that public method names are a fair use for interoperability.

    3. Re:the slashdot story is mis-interpreting the post by jrumney · · Score: 2, Interesting
      The only comment from "the FSF-license guy" in he linked article is:
      This sort of linking falls under section 6 of the LGPL.

      6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications

      Someone has misinterpreted the comment to mean the opposite and we now have articles being printed left right and center spreading FUD about the LGPL and Java. Thanks a lot Slashdot, Microsoft couldn't have done it better.

  10. The GPL is like a Vaccine by Michael's+a+Jerk! · · Score: 3, Insightful


    This viral stuff is backwards. I think the BSD license is actually more
    viral than the GPL. Here's why:

    If I decide to write a program and contribute it to free software, the
    GPL assures me that it will stay free software forever. I'd be bothered
    if somebody made it non-free, effectively stealing my work for their
    own remuneration. The GPL is effectively a vaccine against that.

    The BSD license lets people apply almost any license to my software,
    including most non-free licenses. If I wrote work under the BSD license,
    someone could modify it and sell the result with no source code, and
    I'd have no recourse at all. Anyone who wants can infect my BSD software
    with the non-free license virus.

    So, which license is more viral? It sounds to me as if the GPL is getting
    a bum rap here.

    By the way, the BSD license allows you to apply the GPL to a modified
    BSD work. I've thought about organizing a GPL-ed thread derived from the
    body of existing BSD-licensed work, just to illustrate a lesson about
    the BSD license. That would really piss people off, but it would be legal.

    --

    I'm not Seth.

    1. Re:The GPL is like a Vaccine by pstreck · · Score: 4, Funny

      It all depends on which side of the coin you're looking at. Commercial software venders see the GPL'ed code as a risk to their IP. Alas, viral is a bad word to describe this any ways. Recursive licensing sounds better :)

      --

      Later,
      Phil
    2. Re:The GPL is like a Vaccine by mjmalone · · Score: 4, Informative

      Ok, I'm not quite sure you understand what they mean by "viral" here. I think what they are saying is that code written that includes the LGPL'd Java libraries inherets the LGPL. So basically, if you include one of these libraries your code MUST be LGPL'd. This is obviously a problem.

    3. Re:The GPL is like a Vaccine by William+Tanksley · · Score: 4, Interesting

      If I decide to write a program and contribute it to free software, the GPL assures me that it will stay free software forever.

      Nope; if every copy disappears or becomes useless it's not free software (perhaps it's free, but it's arguably not software). That happens all the time with many different programs -- although by definition few of us have heard of them. (There's a LOT of them on Sourceforge right now.)

      Neither BSD nor GPL protects against that -- although the BSD license does have the possibility of attracting more users and developers due to the fact that it can be used as part of proprietary work. The only problem is that these developers can be invisible, never releasing their improvements; but that's a problem with not understanding the benefits and uses of open source.

      The BSD license lets people apply almost any license to my software, including most non-free licenses.

      Nope! It lets people apply almost any license to _derivative works_ of your work (including the trivial derivative work of simple redistribution). Your original work is yours until your copyright expires; they can't take it from you.

      Some of these pro-GPL arguments are as bad as the RIAA. "Help! They're STEALING OUR CODE!!!" At least you're not as bad as SCO: "We own all licensing rights for all derived works, but WE get to decide what's derived."

      I've thought about organizing a GPL-ed thread derived from the body of existing BSD-licensed work, just to illustrate a lesson about the BSD license. That would really piss people off, but it would be legal.

      The price of freedom is having to put up with knaves.

      Frankly, I'd be pissed if you forked my project, but it would be the needless fork that pissed me off, not the license (that doesn't apply to me because I'm BSD).

      Anyone who was pissed off would probably be so because you substituted a less freely usable license for a more free one.

      -Billy

    4. Re:The GPL is like a Vaccine by JonMartin · · Score: 5, Insightful
      This viral stuff is backwards. I think the BSD license is actually more viral than the GPL. Here's why:
      If I decide to write a program and contribute it to free software, the GPL assures me that it will stay free software forever. I'd be bothered if somebody made it non-free, effectively stealing my work for their own remuneration.

      No dumbass, they can't steal your code if it is BSD licensed. What are they going to do, break into your house and remove the source from your HD? And do the same to every person who downloaded it? Repeat after me: YOU CANNOT STEAL WHAT IS FREE. As long as someone out there has a copy of your BSD code it will always be free.

      The next point is that if someone copies your free BSD code and charges money for it they are NOT MAKING MONEY OFF OF YOUR CODE. Your code is FREE remember? They are making money off of whatever they added to your code (be it more code or a service contract or shiny packaging). If Microsoft takes your free BSD code, adds one line to it and charges $100 for it they are charging $100 for that one line of their code.

      The BSD license lets people apply almost any license to my software, including most non-free licenses. If I wrote work under the BSD license, someone could modify it and sell the result with no source code, and I'd have no recourse at all.

      Why would you want recourse? How have they wronged you? You released your code under a free license, and people are using your code. Hooray! Wasn't that the point of releasing your code?

      Anyone who wants can infect my BSD software with the non-free license virus.

      How can they "infect" your code? You still have your code sitting on your harddrive. What they have done is create an entirely new "thing" out of your code and their code.

      By the way, the BSD license allows you to apply the GPL to a modified BSD work.

      Correct. Isn't that nice and free of them?

      I've thought about organizing a GPL-ed thread derived from the body of existing BSD-licensed work, just to illustrate a lesson about the BSD license. That would really piss people off, but it would be legal.

      Perfectly legal. That's the point of the BSD license: allow as many people as possible to use the code for whatever purpose they imagine. I doubt the authors of the BSDed code would be bothered at all. They will probably be happy it is being used - that is why they released it under the BSD license.

      --
      Serve Gonk.
    5. Re:The GPL is like a Vaccine by JonMartin · · Score: 4, Insightful
      You ever get the sense that some of the people who post about the GPL have absolutely no idea what they're talking about?

      I'm convinced that the vast majority of people who release code under GPL have a hero fantasy in which Microsoft gets caught stealing their GPLed code and is thus forced to release the source for Windows, destroying them and sending Bill to the poorhouse. Then our brave coder will become a geek folk hero, showered with adoration for all time. I can see them on Letterman now: "Aw shucks, Dave, I just like writing code. I didn't plan on changing the world."

      A very small group don't have this fantasy but foolishly believe that the GPL helps "free software" (whatever the hell that means).

      An even smaller group understands what the GPL is actually for. These are the diehard RMS zealots who think nobody should be allowed to keep code private.

      --
      Serve Gonk.
    6. Re:The GPL is like a Vaccine by Breakfast+Pants · · Score: 5, Insightful

      You forgot the group that wants to release their code but they also want the assurance that anyone making additions shares back.

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    7. Re:The GPL is like a Vaccine by Osty · · Score: 2, Insightful

      You think the choice is between releasing as non-free and not releasing at all. The choice, for many, is probably between releasing as non-free and releasing as Free. Certainly forcing it to be released as Free would be more viral.

      I think the better assumption is the first one. Perhaps you've not worked in the professional world, but any firm that would be inclined to choose BSD over GPL because of GPL's "Free"ness would certainly choose not to release over releasing as GPL. However, that's still missing the point. In a world where no BSD licensed code exists, the code consumers you're talking about would sooner write the functionality themselves and put a correspondingly higher price tag on their work to make up for the development costs than they would choose to use GPLed code.


      Of course there are exceptions, but in most cases those exceptions are not people whose livelihood depends on selling software. For example, a hardware and service provider like TiVO has no problem using GPLed code, because they don't make their money off of the software. A company like Oracle, however, would not because they make their money off of selling their software as well as service contracts. They'll support GPLed code like Linux, but they won't incorporate that into their own product.

    8. Re:The GPL is like a Vaccine by NullAndVoid · · Score: 2, Informative

      Someone tell me the difference between a BSD license and just putting your code into the public domain, 'cause I would really like to know what that difference is.

      BSD style licenses require evil companies to give credit to the original copyright owner.

      --


      -- Sigs are for losers
    9. Re:The GPL is like a Vaccine by FooBarWidget · · Score: 2, Informative

      Uhm no. Read the GPL. You are allowed to have private code. You, only have to release the code if you distribute the binaries. If you don't distribute binaries and keep everything in-house, you won't have to release the source code either.

    10. Re:The GPL is like a Vaccine by FooBarWidget · · Score: 2, Insightful

      "Frankly, I'd be pissed if you forked my project,"

      The only one you should be pissed on is yourself. If you chose to release your project as open source and someone forks it and you don't like it, then it's entirely your fault.

    11. Re:The GPL is like a Vaccine by Directrix1 · · Score: 2, Interesting

      Heres how you avoid the viral GPL situation. The process:
      1. Recognize the need for a GPL'd library
      2. Write generic interfaces for the type of external functionality you need in your classes, and write code for your new classes to interact with those generic interfaces.
      3. Create wrapper classes for the GPL'd code implementing those generic interfaces, and distribute as a seperate GPL'd plugin.
      Done. Whats so hard about that people? I am currently writing some remote authentication code using a GPL'd SASL library. No problems, its a seperate GPL'd plugin library which implements the interfaces my classes need. At no point in my non-GPL'd code do I import it, so at no point do I have to relicense. Oooh, hard. BTW, the rest of my code is Apache licensed, I'm not just trying to rip off the open source world :-P.

      --
      Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
    12. Re:The GPL is like a Vaccine by civilizedINTENSITY · · Score: 2, Informative

      They were specific that the restriction is *not* that the code would have to be LGPLed, but rather that section 6 would be in effect. Section 6 does not LGPL the code. Section 6 does place restrictions. Not the same thing. What appears relevant (besides user notification...) is "distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications."

      David Turner summarizes, "Section 6 of the LGPL is not the same hereditary thing as section 2 of the GPL -- what it says is that your program, which links against the library, does not need to be licensed under the LGPL. But you do have some obligations -- you need to allow people to relink your code with new versions of the library, for example."

  11. obWhore by dspeyer · · Score: 2, Insightful
    The site's awfully slow already; I suspect it's going down soon, so here's the content:

    Subject: Re: [Followup] RE: Possibly Include HTMLParser Jar in contribcode?
    From: "Andrew C. Oliver" <acoliver <at> apache.org>
    Date: Wed, 16 Jul 2003 08:12:12 -0400
    Newsgroups: gmane.comp.jakarta.poi.devel

    You cannot. Though the FSF has stated that the Apache interpretation was correct and that importing classes from LGPL jar files in Java does indeed cause the "viral clause" to apply to Java.

    Please stop saying "lift the code" or other things that imply violating the copyright.

    Under no circumstances can any LGPL code be used as it would require us to LGPL our code per section 6 of the LGPL license and the statement I received from the Free Software Foundation's Dave Turner (the man behind licensing <at> fsf.org):

    " Me:

    Brett Smith referred me to you regarding a question regarding the Lesser Gnu Public License (LGPL) in regards to Java. It is the interpretation of most of the open/free software communities that the use of a "jar" file by a piece of software linked via a Java "import" statement does not bind the linking work under the terms of the LGPL. The Apache Software Foundation, presently takes a more conservative view and thus projects of the ASF are not allowed to link/distribute LGPL programs into Java projects of the foundation.
    DT: This sort of linking falls under section 6 of the LGPL. "

    In short, Sam was right, I was wrong.

    -Andy

    On 7/16/03 4:55 AM, "EPugh <at> upstate.com" <EPugh <at> upstate.com> wrote:

    Sorry I haven't been on the list more, been traveling the last week. At any rate, Andy, did you ever get a resolution to including the HTMLParser Jar?

    Should I just submit a code change the mimics the code that I need from HTMLParser, I mean, it is just a long list of values being populated into a Map! That is all I really want, versus sophisticated translation of character set logic or something...

    Thanks for your efforts... eric

    --
    Andrew C. Oliver
    http://www.superlinksoftware.com/poi.jsp
    Custom enhancements and Commercial Implementation for Jakarta POI

    http://jakarta.apache.org/poi
    For Java and Excel, Got POI?


  12. Viral? Infected? by foolip · · Score: 2, Interesting

    Please, why do we need to hear these words in relation to the (L)GPL? Apart from the fact that they have a very negative tone, they don't even properly describe the nature of the GPL.

    There are few ways you could _accidently_ end up in a situation where your code is in violation of the GPL (i.e. a situation where you are required to release your code under the GPL or remove GPLd parts of it). Of course, if you don't know what you're doing you could use for example GNU readline for your program and not discover until the end of development that you are required to distribute your program (a derivative work in legal code) under the terms of the GPL, but since when does negligence make something viral?

    If something were viral, you could end up "catching" it even if you didn't want to, but the only way to get yourself into a situation where your code must be distributed under the GPL is if you want that to happen, or if you don't bother checking the terms of use+distribution of the software you're using.

    A better word might be "self-propagating". Technically it is of course developers using GPLd code who propagate the license, but that's just semantics.

    As you know, there are _no_ restrictions of using GPLd software, so there's no risk of "infection" there.

    [end rant mode]

    I'm not saying here that everyone who doesn't understand the GPL is an idiot and deserves to have their code affected, only that viral is an inappropriate word.

    As for the LGPL+Java thing, well my post has nothing to do with it :)

  13. The phrase in question seems to be: by adamy · · Score: 3, Insightful


    b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with.

    So what you should do as a LGPL library developer is:

    1. Define interfaces for all the objects.
    2. But these into their own Jar files. Tag these as the interface.
    3. Both the Implementing Jar and the calling program refer to eah other through the interfaces only. Somewhere in the interface Jar is a Factory the various implementations can regster themselve with to provide dynamic loading.

    This is how Databse and Cryptography stuff works in Java. If it can't be done this way, it is probably not a library.

    Note that doing:

    List l = new LGPLList(); is probably Illegal but

    List l = (List) Class.forName("org.gnu.LGPLList").newINstance();

    Is probably OK. Note that I say probably. I'm not a lawyer, nor do I play one on TV.

    --
    Open Source Identity Management: FreeIPA.org
    1. Re:The phrase in question seems to be: by pohl · · Score: 2, Interesting

      Strange. This entire panic appears to have been created by an overly-literal interpretation of the word "interface" in the LGPL...as if it must be what Java programmer's think of as interfaces (method signatures without implementation). I'm willing to bet dollars-to-donughts that this is not what was intended in the context of the LGPL, and that any method-signature-compatible and namespace-compatible concrete classes would count as being "interface-compatible".

      --

      The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

    2. Re:The phrase in question seems to be: by pldms · · Score: 2, Insightful

      Is probably OK. Note that I say probably. I'm not a lawyer, nor do I play one on TV.

      Neither am I (or do I) :-)

      I think you might be wrong about this. The second condition is fine - you don't need interfaces. For example I could write my own javax.swing.* classes (just give me a while :-). That satisfies 2) since "the modified version is interface-compatible with the version that the work was made with."

      1) is, I suspect, the contentious part. Each instance of a java executable has a copy of the classes in memory. No sharing, IIRC. Although the linking mechanism is dynamic, it isn't shared, which is what the text is trying to define.

      But I may be very wrong about all of this, so take my words with the appropriate quantity of salt.

      --
      Slashdot looked deep within my soul and assigned
      me a number based on the order in which I joined
    3. Re:The phrase in question seems to be: by pldms · · Score: 2, Informative

      Isn't the issue that for security reasons java requires the exact version of the jar linked against to be present and fails if you compile your own modified version?

      No, you can drop in updated jars (pace usual API compatibility issues). You might be thinking of serialisation issues that can crop up (but even then they can be worked around).

      --
      Slashdot looked deep within my soul and assigned
      me a number based on the order in which I joined
    4. Re:The phrase in question seems to be: by bwt · · Score: 3, Insightful

      I'm really baffled by what the issue is. It appears to me that the LGPL works just fine for Java.

      Suppose I write a libarary in Java and place it under the LGPL. I also create a jar file for it. You write some code which uses my library and includes some import statements that name a package in my jar. You compile your stuff into a separate package jar. You distribute your jar which contains none of my code source or bytecode other than calls to public methods. I don't see any reason to think the LGPL places any requirements on your jar.

      Java's built in class loader seems ideal as a "suitable shared library mechanism". So long as the LGPL library is on the classpath, it will get loaded at run time, as modified or not, and it will work so long as the public method signitures don't change. This is what the LGPL means when it uses "interface" -- it is NOT talking about a declared interface in the Java sense, but simply the public method calls treated as an API.

      The difference between the standard contstructor form and the Class.forName form seems like a distinction without a difference to me. Both use whatever library class is on the classpath at runtime and don't depend on it being unmodified aside from the method signatures.

      I'm baffled by this article and the claim that the LGPL is problematic in Java. It seems to me that so long as you distribute your code which uses an LGPL class or jar without including your own copy of that LGPL libary, you are fine. Heck, you could even distribute the LGPL library as long as you do it in a separate download.

      In fact, I would go one further. Even if the class you are using was full GPL, how does my program care so long as I don't distribute your code? Because of OO encapsilation, my code does not depend on anything other than the public methods I call, and I'm not sure an API can be copyrighted, or if it can that interoperability is not a fair use. What right of yours would I be violating? I'm not distributing a derivitive of your code (unless you think like SCO), nor modifying it. The only thing that I copy is API call signatures. So what?

    5. Re:The phrase in question seems to be: by MassacrE · · Score: 2, Informative

      There are effects on your own code, or rather 'responsibilities':
      - you must allow for reverse-engineering in your license
      - you must allow linking against other versions of the library

      The problem is that these clauses are considered viral. Apache gives these rights, but doesn't require transferrance of these rights for projects which use Apache code. Once an Apache project uses LGPL code, those using the Apache project have to make these provisions in their products.

  14. What about Perl/Python modules? by avida · · Score: 2, Interesting

    So does that mean if I have a Perl or Python module under the LGPL that is used/imported into a project, the LGPL applies?

  15. The issue is late-binding. by carlfish · · Score: 4, Informative

    The general "nerd on the street" understanding of the LGPL is that so long as you don't make any changes to an LGPL Library, then making use of that library doesn't place your own code under any further obligation.

    Section 6 contradicts that understanding. However, Java programmers have generally believed that Section 6 does not apply to them, because Java is a late-binding language. The LGPL talks about "linking executables", but Java doesn't perform the linking step until runtime, supposedly freeing Java of the Section 6 responsibilities to give an offer (valid for three years) to distribute the LGPL'd library source themselves, plus anything you would need to make the app work with a modified version of the library.

    The advice that Section 6 actually _Does_ apply to late-binding languages places a significant burden on projects making use of LGPL'd libraries that until now they didn't think they had to meet.

    --
    The more I learn about the Internet, the more amazed I am that it works at all.
    1. Re:The issue is late-binding. by MisterFancypants · · Score: 2, Interesting
      No, I think the argument is that a (L)GPL body of code can link with a proprietary body of code, but vice versa is not the case.

      Ah but my point is that if their interpretation of the rules for Java is correct, there IS NO vice versa. Because everything is late-bound. If everything is runtime-bound, how do you specify what 'direction' the linking is going?

    2. Re:The issue is late-binding. by hummassa · · Score: 2, Insightful

      Linking is a step done by the final user, who executes the program/applet.

      --
      It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  16. Big difference between GPL and LGPL by IntelliTubbie · · Score: 4, Insightful

    You have a choice. The [L]GPL is not a little bug trying to worm its way into your code. If you chose to use GPL code, then you follow the terms, or don't use the code. It's simple.

    You seem to miss the entire point of the LGPL. The whole point is that you should be able to use LGPL code in a non-LGPL project. To quote from the website:

    "The choice of license makes a big difference: using the Library GPL permits use of the library in proprietary programs; using the ordinary GPL for a library makes it available only for free programs."

    So whereas the GPL is intended to be somewhat "viral" -- i.e. software using GPL code must also be GPL -- the LGPL is not supposed to. This is why the viral-ness of the LGPL is news, since it's contrary to much of the community's understanding and intent regarding the use of LGPL code.

    Cheers,
    IT

    --

    Power corrupts. PowerPoint corrupts absolutely.

  17. And I suspect most of us feel the same way... by sterno · · Score: 4, Insightful

    The problem here is that the technicality of this section of the LGPL and the FSF's interpretation of it are not in sync with 98% of the people using and releasing code under the LGPL. I've used LGPL code and seeing as the jars were libraries it didn't even occurr to me that this would be an issue.

    This causes uncertainty over the nature of LGPL software right now. Would a court of law agree with this interpretation? Now I'm left with an odd decision. Do I gut my code under the presumption that this FSF lawyer is right, or do I take my chances that a court will interpret this as the vast majority of the community has.

    Open source software lives by the certainty of the licensing it uses. If we can't trust the interpretation of the licenses, then we can't feel confident in working with this code. The FSF is risking a serious blow to the open source community.

    --
    This sig has been temporarily disconnected or is no longer in service
    1. Re:And I suspect most of us feel the same way... by steve_l · · Score: 2, Interesting

      The apache interpretation has always been: every java app is a jar', so every app is a library, so for java, LGPL has the same semantics as GPL.

      We now have official confirmation that this is the case, even if that is not what people who released LGPL java code intended. Maybe those people need to rerelease their code as GPL to formalise the outcome.

      The effective result is that Apache Java projects are forbidden from linking to LGPL libraries, so we either go without the code or reimplement it -a loss either way.

    2. Re:And I suspect most of us feel the same way... by BZ · · Score: 2, Interesting

      Sure. And here is why it's a problem.

      Mozilla's license is a GPL/MPL/LGPL trilicence. This means you can use any Mozilla code under any of those licenses. The MPL allows withholding modifications.

      Now khtml is LGPL -- a stricter license than the above (for obvious reasons). So khtml may borrow any Mozilla code it wants to (and Safari has), while the converse is emphatically not true. So we get the sort of 1-way sharing of code that the GPL is trying to prevent... but in the direction _opposite_ the one the GPL is trying to prevent.

      And that makes GPL just as bad as the commercial licenses, in this respect.

    3. Re:And I suspect most of us feel the same way... by NullAndVoid · · Score: 2, Informative

      I believe the issue is that Apache wants to make sure downstream distributors aren't forced to comply with more restrictive licenses than the ASL.

      If I create a product based on Apache products that need to include LGPL code, I have to worry about whether my code has to be released under LGPL or else force my end users to download and install separate packages to make my product work.

      Apache doesn't want to pass the buck by not distributing LGPL code, but requiring its end users to use it themselves. Avoiding LGPL dependencies altogether is the cleanest way to ensure that the benefits of the Apache license are passed down to its users.

      Note that this isn't a feature of the Apache license, but an Apache policy. So downstream users are free to use GPL if they like, whereas GPL users aren't free to use the ASL license.

      --


      -- Sigs are for losers
    4. Re:And I suspect most of us feel the same way... by Planesdragon · · Score: 2, Interesting

      If one of us is a zealot, I think it's the one attacking the GPL because it doesn't let him horde other people's work.

      Sheesh. I'm not a coder, I'm a /.er. It's possible to not toe the FSF party line and still support OSS, believe it or not.

      Let's say that I write a program, and I give you a copy--this is copyright law, and you don't have the authority to make any copies not necessary for your own use of the program. (backups, quotations, whathaveyou.)

      Now, let's say that I tell you "you can distribute that software or make derivitive works based on it." I've now given you something of value. Woot. Go sharing.

      However, I _also_ say "If you give that software to anyone else, you have to follow this license. By doing this, I have taken something of value from you--a promise to behave a certain way.

      Are you better off than you were before we started out this transaction? YES! Do you have every liberty that you had before we did our transaction? YES!. Did this transaction involve taking one of your liberties away? YES.

      This is a semantics argument. That's all. Don't get your panties in a knot that I'm not adding "Gnu" when I say "Linux." The FSF's tendancy to do that banishes them to the political corner reserved for ecoterrorists, liberterians, and other zealots.

      You should realize that there isn't a difference between "contract" and "license." Both define a transaction wherein something of value is exchanged for something else of value. If I give you one million dollars but stipulate that you have to buy every homeless man you meet a dinner, I've offered a contract wherein I give up my posession of one million dollars (a thing of value) and you give up your liberty to not buy homeless men dinner (a thing of value.)

      If I form a PAC that goes around saying that all homeless men should always be bought dinner, it doesn't somehow magically make your thing of value value-less. In a like vein, the FSF's widely stated belief that all source code should be free for all to do what they wish with does not somehow make the right to not distribute the source code of your own innovations a thing of value.

      Heck, the GPL also requires you to identify your changes--a small thing, and a very reasonable thing, but still a thing of value.

      I like the GPL. It's good to have someone standing up for community-made software. It's great to have bundles of free software that are out there for the use and the taking.

      But the GPL is a contract, and contracts have, as a matter of law, consideration (things of value) exchanged between both parties. They're not fundamental rights that are exchanged--but, when dealing with capital-R rights, not even a dreaded EULA can squash them.

  18. Viral... by en4ca · · Score: 2, Funny

    Did anyone else read this as LGPL is Vital for Java. Guess thats what happens when you're half asleep

  19. FSF's interpretation are not very relevant by reynaert · · Score: 3, Insightful
    The FSF's interpretation of the LGPL only applies to software owned by the FSF. If I had a different interpretation of the LGPL (which is certainly possible -- many parts are quite vague), that interpretation would apply to my software, and the FSF can do nothing about it.

    One example of one such non-standard interpretation is the "Lisp LGPL", used by Franz for their open source libraries. Parts of the LGPL don't make much sense for non-C-like languages such as Common Lisp, so they added a preample which explains their interpretation.

    Another real-world example is Pine. Early versions of Pine had a BSD-like license, which allows "modification and distribution". The University of Waterloo interpreted this to mean that you could modify Pine, or distribute an unmodified Pine, but not distribute a modified Pine. This was contrary to everybody else's interpretation, but they owned the copyright so they got to decide. (More recent versions have a different license).

    1. Re:FSF's interpretation are not very relevant by prizog · · Score: 2, Informative

      Technically, when you "LGPL" your code, you sign away license rights for that software release to the FSF. That is why if someone violates the license of your GPL'ed program, the FSF can step in (with their lawyers) to defend your licensing rights.

      That's not true. FSF can only enforce the (L)GPL for programs on which FSF holds copyright.

    2. Re:FSF's interpretation are not very relevant by alienw · · Score: 4, Informative

      Technically, when you "LGPL" your code, you sign away license rights for that software release to the FSF. That is why if someone violates the license of your GPL'ed program, the FSF can step in (with their lawyers) to defend your licensing rights. You are still the program's copyright owner, and you can reissue your program under another license if you like (though you can't "retract" your original release).

      Pretty much everything in that paragraph is WRONG. First, unless you EXPLICITLY re-assign your copyright rights to the FSF, they do not own the copyright and cannot defend your rights. That certainly does not happen automatically. Unless your software says "copyright (C) 2003, the Free Software Foundation", it's not theirs and they cannot enforce your copyright.

      Second, if you do re-assign the rights to the FSF, you are no longer the owner and may not reissue the program under any other license. You would only have the rights afforded to you by the GPL.

      Third, you may not modify the LGPL or the GPL in any way. It violates the FSF's copyright and is not allowed. Read the license -- "Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed." (emphasis mine, obviously).

    3. Re:FSF's interpretation are not very relevant by ajs · · Score: 3, Insightful

      There's a flaw in your logic. You cannot retro-actively interpret a license. The license is an agreement. If you then decide that the agreement "really means" something other than what I think it means, we have a dispute. We can settle it between us by altering the agreement to be clear on the point, or either one of us can take the matter to court for resolution. This happens all the time. What you meant for the agreement to say is beside the point unless we had some form of verbal or implied understanding at the time.

      If, for example, SCO got to tell IBM, "well, our interpretation of the license for UNIX means that you can't put code from Sequent into Linux," then IBM would be quite unhappy about the results.

      I think the point of confusion here is history. Long ago, Linus made a big splash when he stated his interpretation of the GPL for purposes of binary-only drivers. A lot of folks walked away from that assuming that that meant he had the ability to retro-actively interpret ambiguity in the GPL.

      That was not at all the case. What Linus was doing was essentially making a promise to holders of this ambiguous license (and the GPL *is* ambiguous on that point, IMHO) that he was interpreting the license in the most liberal possible way, and thus no one need fear that he would sue them over it.

      He could still sue, of course, but his public statements would weigh heavily against the outcome (the scary part for businesses is that you still run into litigation risk regardless of the fact that the cards are stacked in your favor).

      On the other hand, if Linus had said, "I'm interpreting the GPL to mean that you can't link your binary-only driver into Linux without creating a derived work which may only be distributed under the terms of the GPL," then the ambiguity would still remain, and no one would be sure if Linus was right or wrong about that until precident was set in court (which it probably has in other contexts outside of the GPL, but I'm not at all sure about that).

      The same thing happens if I say, "I interpret the GPL to mean that you [can/cannot] distribute my software on DVD media." My interpretation is just that, and does not affect you at all. You might, of course, think to yourself, "hmm... this guy is interpretting the GPL in exactly the same way a first-class nut-case would... perhaps I should use some other software."

      That's fine, you can feel that way, and I would not blame you in the slightest. But that social dynamic does not change the essence of the GPL, nor our agreement as stated in the GPL.

  20. Not his call by Otter · · Score: 3, Insightful
    Dave Turner (Mr License) of the FSF has decreed that the steps required to use an LGPL'd Java library will actually infect client code with substantial GNU-ness via Section 6 of the LGPL.

    We get statements like that all the time from the FSF and there's no validity to them.

    The FSF writes their licenses. Any subsequent ambiguities are to be decided in court. There is no basis for post-facto "decrees" about what a document is supposed to mean -- the author has the opportunity to write it to cover whatever case, and has the responsibility to make his intentions clear then.

  21. What about languages that don't compile? by JanusFury · · Score: 3, Interesting

    What about languages like PHP where the application is never compiled? The only way to use someone else's PHP is to #include it into your application - merge the code into your application.

    Seems to me like the [L]GPL is sorely lacking in many areas - I'm developing a library and application in it, and it's very confusing to me to have to understand how to combine code that is not mine with code that is, without violating the license. I can't possibly write everything myself, and I want to be able to collaborate with other people... but any code of mine that is LGPL, can only be used in LGPL applications, and any code of mine that is GPL can only be used in GPL applications. And if my friend wrote a function that is GPL, I can't use it in my LGPL library without making it GPL, even if he wants me to! (He has to relicense his code under the LGPL for me if I actually am going to use it!)

    I don't know if that's Viral or not, but it sure sucks.

    --
    using namespace slashdot;
    troll::post();
  22. Misleading article by timsuth · · Score: 5, Informative

    This slashdot article is misleading. It gives the impression that if your Java code uses an LGPL library then you must provide your source code, permit changes/redistribution etc.

    This is not the case. What the FSF guy way saying is "With respect to the LGPL, 'import' in Java is equivalent to linking in C." This means that if you make changes to an LGPL library you use via import in Java, you must make the changes to the LGPL library available to others. This is exactly the same situation which applies in the C world.

    The reason the Apache people don't want to use the LGPL (for any language) is that they want their libraries to be under a more permissive license which allows the libraries to be modified without requiring the users to make the changes available.

    Some people were suggesting that there was a loophole in the LGPL which meant that they could 'import' a library in Java and avoid having to make changes to the LGPL library available.

    The "news" is that the loophole does not exist - the LGPL applies to Java in the same way as it does in C.

    1. Re:Misleading article by AKAImBatman · · Score: 3, Interesting

      I said it before and I'll say it again: The "import" statement is a language construct ONLY. No actual linking is done by using it.

      Check my history for the last message I posted on this.

    2. Re:Misleading article by CustomDesigned · · Score: 4, Interesting
      The 'import' statement in Java doesn't actually link anything - it is just a namespace declaration. However, when you refer at compile time to methods, fields, and constants in another class, the compiler actually reads in that class and does the equivalent of '#include done right'. This makes Java code that directly refers at compile time to LGPL code a derivative work.

      However, you can use a plugin model to use an LGPL library without directly importing it. You write an interface that your code imports, and write an implementation that imports both your interface and the LGPL library. The implementation of your plugin interface is now LGPL, inherited from the LGPL library. However, your code that that simply imports the interface is not LGPL.

      If you are wondering how the implementation class every gets instantiated without refering to it at compile time, then you are not an experienced Java programmer :-) The answer is that your factory class reads a config file to get the name of the implementation class, and then loads it via Class.forName() (or one of the more complex ClassLoader APIs).

      Now, your application has avoided becoming LGPL (except for the small class that implements the plugin API). Furthermore, you are conforming to the spirit of the LGPL because users of your application can easily adapt any future version of the LGPL library - or even their own innovation implementation - using your plugin API, and the working source you provide to 'plugin' the LGPL library.

      For illustration, suppose there is an LGPL library to translate any text from one language to another. It provides a Translator class (sorry, Slashdot doesn't seem to let me indent the code):

      /* LGPL license */
      package fsf.goodies;
      import java.util.Locale;
      public class C3P0 {
      public String translate(String msg,Locale src,Locale dst) {
      /* magic AI code here */
      }
      }
      Now, you want to use this in your BSD license UberChat application. You can't just use Translator, because then your app would need to be LGPL as well. Instead, you define an interface:
      /* BSD license */
      package org.bsd.uberchat;

      import java.util.Locale;

      public interface Translator {
      String translate(String msg,Locale src,Locale dst);
      }
      Then, you make a plugin that implements the Translator interface. Your plug in is LGPL because it uses the LGPL library.
      /* LGPL */
      import fsf.goodies.C3P0;
      public class C3P0Plugin implements Translator {
      /* in this trivial example (except for C3P0, that is), nothing more is required. In real life, you might need to massage arguments and do other processsing to match the interface with the implementation. */
      }
      Finally, you need a factory class to obtain a Translator instance:
      package org.bsd.uberchat;

      public class TranslatorFactory {
      /* Actually, there are more exceptions that needs to be handled in a real factory class. */
      static public Translator getTranslator() {
      Config config = new Config("uberchat");
      String cname = config.getString("translator");
      Object trans = Class.forName(cname);
      if (trans instanceof Translator)
      return (Translator)trans;
      throw new RuntimeException("translator plugin does not implement the proper interface");
      }
      }
      Finally, using the plugin is simple:
      package org.bsd.uberchat;
      import java.util.Locale;

      public class Foo {
      static public void main(String[] argv) {
      Translator t = TranslatorFactory.getTranslator();
      String msg = t.translate(argv[0],Locale.US,Local.GERMAN);
      &nbs p; System.out.println(msg);
      }
      }
      And, while none of this is tested, presumably with "fsf.goodies.C3P0" as the value of the "translator" property in your configuration framework (now included with Java 1.4), running
      java org.bsd.Foo "Good Day!"
      should result in an output of:
      Guten Tag!
    3. Re:Misleading article by jemfinch · · Score: 2, Informative

      Now, you want to use this in your BSD license UberChat application. You can't just use Translator, because then your app would need to be LGPL as well.


      This is where you're wrong. You can always link (2-clause) BSD licensed code with code of any other license, including the (L)GPL, without relicensing the BSD code. It's not like you link with the (L)GPL and suddenly your code is required to be less free -- your code can be released under whatever freer than the (L)GPL license you prefer, and linking with some form of the GPL won't change that.

      The (L)GPL may suddenly say that your code must be licensed under the same license, but all that means is that there's now an implicit double license in place. With your code, people can now choose between your freer BSD license, or the (possibly viral) (L)GPL license. I don't think the common choice is hard to predict...

      Jeremy
  23. Yes, that David Turner by prizog · · Score: 5, Informative

    Hi. I'm that David Turner who is quoted. I'm not the David Turner who works for Microsoft, and I do not hack on Freetype.

    First, I'm upset that CowboyNeal didn't contact me -- as the article says, I work at the Free Software Foundation, and you can find our phone number on our web page by searching for "s" on Google and clicking "I Feel Lucky."

    Now, if you read section 6 of the LGPL, it's not the same hereditary [1] thing as section 2 of the GPL -- what it says is that your program, which links against the library, does not need to be licensed under the LGPL. But you do have some obligations -- you need to allow people to relink your code with new versions of the library.

    [1] I think hereditary is a much better analogy than viral, and I thank the person who came up with it and whose name I forget.

    1. Re:Yes, that David Turner by donutello · · Score: 2, Funny

      you can find our phone number on our web page by searching for "s" on Google and clicking "I Feel Lucky."


      It's almost scary how non-obvious that is.

      --
      Mmmm.. Donuts
    2. Re:Yes, that David Turner by prizog · · Score: 3, Informative

      The problem is that CowboyNeal didn't call me first.

      As a result, the article gives the wrong impression -- it implies that the LGPL is broken with respect to Java. In fact, it is not. Section 6 works for Java in the more-or-less the same way it works for C.

    3. Re:Yes, that David Turner by prizog · · Score: 3, Informative


      I cite the greater good that this will hopefully increase awareness of the obligations created under the LGPL.

      Instead, you have confused the issue further.

      Most people believe that using an LGPL library does not place any additional obligations on the person using it, so long as they don't modify the library itself. Section 6 contradicts that popular belief.

      I agree that this is a common false belief. However, Section 6 is far from secret, and anyone who distributes software should read the license before doing so.

      Similarly, people might quite reasonably believe that using a late-binding language is a way out of being considered "linked" to the library.

      FSF has always had the same views on this -- it's not really a surprise.

    4. Re:Yes, that David Turner by prizog · · Score: 5, Informative

      Oh, wait, now I actually read your post, and realize that you are still completely confused. Sorry.

      Let me make it clear: Section 6 is not what you think it is.

      You think section 6 says:

      You must cause any work that you distribute or publish, that links to the Library, to be licensed as a whole at no charge to all third parties under the terms of this License.

      Section 6 actually says: ...distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.

      Note that this does not require the provision of source code, nor does it require allowing the original program or modifications thereof to be distributed.

    5. Re:Yes, that David Turner by prizog · · Score: 4, Informative

      1. Make sure your licensing follows the simple requirements in the 1st para of section 6.

      2. Provide the LGPL library in a separate jar, and allow that jar to be replaced by newer versions of the library. This is only one of the possible ways to comply, but it's certainly the easiest.

      3. Make available the source code for the LGPL library.

    6. Re:Yes, that David Turner by axxackall · · Score: 2, Funny
      I'd like to know how they arranged that!

      Google used some GPL code right behind the button "I am feeling lucky". So the button, using the GPL code, is infexted and behave accordingly. It's a perfect illustration that the viral nature of GPL is not bad - it's rather very useful.

      --

      Less is more !
    7. Re:Yes, that David Turner by prizog · · Score: 2, Funny

      With a hex editor.

      The LGPL isn't the GPL. If you want the GPL, you know where to find it.

  24. Solution.... by theendlessnow · · Score: 2, Funny

    Run Windows Update.... it now has an antivirus patch which removes all GPL and LGPL software from your system. Ain't that nice and tidy!!

  25. Courts interpretations might be -- litigated? by swb · · Score: 2, Insightful

    Has the GPL or the LGPL ever been litigated? With the opportunity for interpretation being what it is, you would think someone would push the envelope and wind up in court. Have they?

  26. Bunch of Crap! by OYAHHH · · Score: 4, Informative

    This material should be considered akin to shouting fire in a crowded theatre when there isn't a spark around for miles.

    Anybody who works regularly with Java will understand the mechanics of how professionals work with provided libraries and that those same mechanisms fit perfectly with the requirements of Section 6, Part B of the LGPL.

    It's pretty obvious that the writer doesn't understand Java programming or Java systems configuration.

    To explain how Java works, basically if you want to utilize a third party library all you need to do is:

    1. Distribute Sun's (or a suitable facimile) Java Runtime Environment to your target clients.

    Note that the standard JRE comes with a ../lib/ext directory just for the explicit purpose of dropping in your libraries and any third party libraries.

    BTW, once in the ../lib/ext directory the library is effectively shared for any Java program utilizing this particular JRE installation.

    2. Put your own libraries in the ../lib/ext directory.

    3. Put the third party library in the ../lib/ext directory.

    4. Run your Java program. Note how long it takes to "load up".

    My guess is that one of the things the JRE is doing is reading those libraries to "know what it has available" and storing that info in some sort of a hashtable.

    5. During your program's execution create a object from the third party library.

    Note, that the Java interpreter merely looks up the class in the hash via an internal call that anybody can duplicate. But why when all you are duplicating what is already built-in the Java interpreter.

    If some client/end-user wants to substitute in a modified version of the third party library then there is nothing stopping them.

    They can drop in a modified or a substitute library just so long as the class names and method names, etc.. stay the same.

    Whether the program continues to work is a totally different matter.

    But the key point is is that the entire process is all dynamic. And from one run of the program to another run nothing guarantees the calling program that the third party library is actually the one that was originally installed.

    --
    Caution: Contents under pressure
  27. Please, people by Fnkmaster · · Score: 4, Informative
    Go back and read the LGPL again. The terms in Section 5/6 are not the terms commonly used with Java, sure, but the intent is pretty much crystal clear. If you use material from header files (read: interfaces or general class descriptions - the stuff that goes in header files in the C world) to make calls into the classes falls outside the scope of the license. The LGPL is no more or less befuddling with respect to Java then it is with respect to other languages. Likewise, the relationship elucidated between your object code and the LGPLed object code, whether it be in JAR or DLL format, isn't terribly different. If you contain or reuse too much of a library in your code, there's always a fuzzy, slippery slope of what constitutes a derived work. Again, this is really no different from the way the LPGL would apply to C/C++.


    So Section 5 applies just as it does with non-Java code. Likewise, Section 6 is pretty darned clear. Section 6b still applied for Java - Java runtime linking meets all the requirements of 6b. What's the big deal? As long as the LGPLed library (or it's "modified form" you distribute under your own terms, per section 6) is distributed in a separate JAR, it can be replaced by another, recompiled version of the JAR. You can change one line of code, and recompile the original library to a JAR file, distribute it under your own terms, just provide source for your "modified" version of the library, and you have complied with section 6. Voila. There's no need to jump through these hoops though, section 5 still applies, let's not get our panties in a bunch, the sky has not fallen.

  28. ouch... my head is spinning by archen · · Score: 2, Funny

    You know all this license stuff is way to much for a simple coder like me. I can now see where the BSD license is coming from:

    "Here, just take the god damn code. If it breaks I don't care!"

  29. Re:Why I don't use the LPGL for Java by rking · · Score: 2, Interesting

    You don't gain anything by GPLing your software except for the satisfaction that no one will probably ever make a profit off of it.

    If the program's useful then there's every chance that people will profit off of it. To suggest otherwise is just silly. Companies large and small all over the world use GPLd software in their businesses. The GPL does not seek to prevent this.

  30. Re: New license - JLGPL ? by jswitte · · Score: 3, Insightful

    Open source software lives by the certainty of the licensing it uses. If we can't trust the interpretation of the licenses, then we can't feel confident in working with this code. The FSF is risking a serious blow to the open source community.

    So why not just draft your own license that's basically the LGPL, except that it is built specifically so that it will work as most people expect it to with Java libraries (and maybe other languages, like Objective-C libraries)?

    Make sure that the license is compatible (as much as possible without destroying the intended modification for Java code) with the FSF's LGPL, GPL, etc licensees. Then find some way (I have no idea how to do this) to get people to know about this. Maybe bribe on of the Slashdot webmasters to put it on..

  31. Fear by gtshafted · · Score: 2, Interesting
    I work for a large consulting company and one of our clients is a large telecom company in the south. This company is very much against open source, due to unfounded paranoia and misinformation.

    They think 1) open source code's quality is much less than commercial closed source code
    2) the open source code has malicious intentionally hidden 'backdoors' and 'viruses' and 3) that open source could threaten our projects from a legal standpoint (intellectual property etc)

    Recently our company has been making small strides in changing our client's attitude. News like this kills our efforts (giving more power to ignorant people against open source) and only slows down open source's adoption...

    Hell, I can't use anything from Apache - like Struts or anything else from Jakarta! Reading some of the posts (and my initial reaction to the main one) it sounds like many people are happy because of this... well for me this sucks!

  32. Re:Almost.. by Anonymous+Canard · · Score: 2, Insightful
    This pisses me off. OK, so it does not say you have to distribute your code. But it does say you must permit modification [for personal use] of the work and you must permit reverse engineering for debugging the modifications the other user decided to do.

    Those are both fair uses. The LGPL does not permit users to link with LGPL'd code if their license explicitly prohibits fair use -- in fact it goes out of its way to ensure that linked LGPL code can be replaced with other linked LGPL code.

    --

    --
    BitTorrent in C -- LibBT
    http://www.sf.net/projects/libbt
  33. connotation by Kunta+Kinte · · Score: 4, Insightful
    ...That's what viral means. It doesn't mean that the license in and of itself is evil or incorrect or otherwise wrong....

    I'm not a GPL fantic or anything but...

    GPL backers typically don't like the adjective "viral" to be used to describe their work because it has a negative connotation. ie. The set of associations implied by a word in addition to its literal meaning. ( dictionary.com ) To me, that position is very understandable.

    There's always more than one way to say what you mean. You can call someone "Stubborn" or you can call them "Strong willed", almost the same thing? Marketing, politicials use this type of thing very often.

    In fact 'viral', as an adjective is, I'd say, blatantly demeaning. There is absolutely nothing good about a virus, and that connotation sticks with the adjective.

    Would you tell your girlfriend "your love for her is spreading through your system like ebola"? or I love you like flies like sh**?

    Both those statements I believe express great unyeilding passion. But it may not go over that way.

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  34. "Import" is syntactic sugar - nothing more by Milo77 · · Score: 2, Informative

    Import is provided so you don't have type out whole package names. It is a common misconception that it has something to do with linking. Everyone keeps saying things like "if you use import then...blah blah", but you don't have to use import - ever. You can just always use the fully qualified name: like "foo.myclass". Or you can say "import foo;" and simply refer to "myclass". That's it - no magic - it is more like a preprocessor. What about using reflection? hehe...

  35. That's not what Mr Turner said by p3d0 · · Score: 3, Informative
    I quote Mr Turner's statement in its entirety:
    DT: This sort of linking falls under section 6 of the LGPL.
    He does not answer in the affirmative, nor in the negative. He merely points at section 6. He does not even offer any interpretation.

    How could this be construed as saying that "LGPL is Viral for Java"?

    Maybe there's more to it in that one link that's Slashdotted.

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  36. we gotta break FSF by Rock+Ridge · · Score: 2, Funny

    There is the Free Software Foundation. When will we have a Freer Software Foundation? Then when will we have the Freest Software Foundation? Rise up! Revolt! Distribute gcc, et al., with the GPL removed. Go ahead!

    1. Re:we gotta break FSF by Arandir · · Score: 2, Insightful

      I would do that, except that the FSF doesn't believe in freedom. The freest you can get source code is the public domain, but the FSF does not want you to release code under the public domain, particularly their specially copyrighted stuff.

      In fact, the FSF doesn't even want to achieve their goals. You see, if they got their stated wishes, and all copyright laws were rescinded, the whole concept of copyleft would instantly evaporate. You would no longer be required to distribute the sources to gcc on demand to those you gave the binaries to. You could link to libreadline without placing your application under the GPL.

      It's sort of like an organization arguing against land ownership, who came up with a boilerplate deed called "propertyleft" that attempts to abolish the building of fences. But if they ever got their way, their deeds would be meaningless and people would be free to build fences all over the place, including on land that was previously owned by the Free Property Foundation.

      --
      A Government Is a Body of People, Usually Notably Ungoverned
  37. Okay, let's hash this out then... by Otto · · Score: 4, Insightful

    Okay, if I make a piece of java code, like a class, and provide methods to use that class, and wrap this up in a jar file and say it's now under LGPL, then here's what somebody should be able to do (IMO):

    1. Create java code which uses my library (jar file) with the library as a separate jar file (ie., none of my code is in their code, they're just calling methods and classes from my code).

    2. Not have any requirements placed upon their code at all in any way.

    As I see it, this is exactly what the LGPL does. Section 6 never comes into play whatsoever, because their code falls into section 5. They haven't actually combined my code into theirs, it's totally separate, sitting right in that jar file (aka library).

    Granted, if they modify my code and distribute the modified version, then they must distribute the modifications they made to my code as well. That's what the LGPL is for in the first place.

    But I fail to see how section 6 applies in any way whatsoever. None of my LGPL'd code is included in their code in any way. It's separated because it's in a separate jar file.

    Lookie here:
    5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.

    To me, this exactly describes someone calling classes or other code that resides in my jar file. They're not copying the code into their own jar, they're linking to it. But let's look at section 6:

    6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library...

    This never happens if done properly. My jar is sitting alone, their jar is sitting alone. At runtime, their jar loads, says to the java interpreter "hey, make a class from that other jar", then my jar loads and a class gets created.

    So, am I wrong here? I see no normal situation in which section 6 would ever apply to Java libraries, unless someone was straight up ripping my classes off and including them in their own jar file along with their own code.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
    1. Re:Okay, let's hash this out then... by Yaztromo · · Score: 2, Insightful

      Distributing a jar, along with some code which will end up calling code from that jar, is linking to that jar. The actual bindings are resolved at runtime (although as I understand it, the jar needs to be present at compile time too), but it's still linking.

      If you use this as your definition of "linking", then "linking" loses all purpose and meaning.

      According to your definition, it appears that any two binaries loaded in memory, where on calls the other, are "linked", regardless of wether or not the code is mingled in its distribution.

      Thus, if my shell script calls on "grep", that's considered "linking", because a call interface is constructed between the two pieces of code, and the logical execution of the program flows from my code to "grep" and then back to my code.

      I think you have a terrible definition of "linking" that doesn't coincide with that of anyone in the computer industry.

      Yaz.

  38. Clarification from FSF on Section 6 of LGPL by bkuhn · · Score: 4, Informative

    LGPL's Section 6 allows you to make new works that link with the LGPL'ed code, and license those new works any way you see fit. Only the LGPL'ed code itself must remain Free. Such 'client code' (as mentioned in the story posting) can even be proprietary; it need not be LGPL'ed. LGPL's Section 6 does place some requirements on what you do, but that is only to make sure that people can effectively exercise their freedoms to copy, modify, and redistribute the LGPL'ed code.

    -- Bradley M. Kuhn, Executive Director, Free Software Foundation

    1. Re:Clarification from FSF on Section 6 of LGPL by mabhatter654 · · Score: 2, Informative

      I think the issue is that in java you can use OOP to overload all the classes in a LGPL lib to do your own bidding. Then you can wrap up that LGPL .jar in another .jar for your project. At that point you've effectively rewritten the lib but are trying to bury the evidence in your .jar bytecode file. All the FSF is saying is that you can't bury stuff like that...you have to use proper calls--or make darn sure your overloading is version independant! You have to keep the LGPL .jar seperate from the rest of the program. The only issue with java is that it allows you many more ways to cheat...they're just clarifying their position on "cheating"

  39. You are not correct by michaelggreer · · Score: 2, Informative

    Turner explained himself further in subsequent posts. You simply need to follow the rules for LGPL in Java as in C (ie, package your app so that the LGPL library can be replaced simply). You state that:
    the LGPL works virtually the same as the GPL for Java code.
    Certainly you can use the LGPL for C. Therefore, what is in fact true is that
    the LGPL works virtually the same for Java as for C.

  40. Java OOPness is the real issue by mabhatter654 · · Score: 2, Interesting
    Because Java makes such extensive use of OOP priciples, it would be possible to "rewrite" entire libraries by operator overloading the entire class. You'd be changing their libraries but claim you're not technically breaking the rules of LGPL. The FSF says you need to maintain a clear distinction between the seperate file. You should be able to drop-in-replace any newer version...again, if you're following the rules then you're OK. This really only applies to a small number of rules lawyers attempting to "play" the rules.

    Note: this was also an issue in the design of the 2.5 kernel with driver developers "overwriting" large portions of the kernel in their closed drivers by calling a lib properly but then "redirecting" all the stuff internally to their own stuff. [a certian GPU developer may get bit by this]

  41. Re:Why I don't use the LPGL for Java by Yaztromo · · Score: 2, Insightful

    I say, "I use the GPL to encourage open source development. If I were to use the LGPL, then you could use my libraries without giving me the source to your program.".

    They still can -- the GPL only requires a party to provide their changes to your code _if_ they redistribute the code. And then, they only have to provide it to the people they redistribute the binaries to.

    You may never see their changes if they don't redistribute your code, or if they decide to redistribute it only to those people they've redistributed their binaries to (which doesn't have to be publically online -- they could do it via postal mail if they wanted to).

    You've chosen a bad reason to not use the LGPL license...

    Yaz.

  42. A minor modification would address the issue by msobkow · · Score: 2, Insightful

    As I understand it, the Java issue seems to be almost identical to the static linking problem.

    While I label a lot of my code as LGPL, I have absolutely no problem with static linking the code. I don't see how a few linker options are relevant to licensing of source code.

    This has always been a nitpick that has baffled me about the GPL and LGPL. Why does everyone have such an issue with static linking? Static linking doesn't change the code I release, and nor should the implementation of byte code loaders and Java runtimes.

    --
    I do not fail; I succeed at finding out what does not work.
  43. Oops, revision! by Otto · · Score: 2, Insightful

    Let me rephrase that last statement:

    In other words, by your definition, it's utterly impossible for anyone making code that uses any LGPL library of any type to create one distribution file that includes both the code and the LGPL'd library, without getting the most definitely undesirable stigma of section 6 attached to the code.

    The whole point of the LGPL is to create libraries that are open source but which can be used by closed source programs, requiring only that any modifications to the *library* be distributed back into open source. Your definition requires more than that, and thus the LGPL doesn't do what everybody has thought it did for the past X years.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  44. Wrong by GreyWizard · · Score: 2, Insightful

    If, however, I want to include GPLed code in my program, the GPL forces me to release my program under the GPL. It has *infected* my program.

    Wrong. You have infected your program by including the GPL covered code. No one held a gun to your head and demanded that you include it, nor did the code sneak in through an open window and jump into your source repository. That was your choice. Calling it viral is ungracious at best.

    [...] under non-free licenses like the GPL [...]

    That you prefer the BSD terms to those of the GPL does not make the latter non-free in any meaningful sense and your claim to that effect is nothing more than religious zealotry. Learn to accept that not everyone will genuflect at your church and get over yourself.

    --
    Not all those who wander are lost.
  45. This is a farce by Srin+Tuar · · Score: 2, Interesting


    Anyone who was pissed off would probably be so because you substituted a less freely usable license for a more free one.



    A BSD licensed piece of code is only more freely usable from one persons point of view: the next developer.

    Once he commercializes it, it will certainly become less freely usable to the end users who ultimately receive it.

    So in the balance, BSD code is LESS freely usable than GPL. The GPL is the same free to everyone. There are tons of BSD bits that are free to almost nobody.

    Its your prerogative to license things as you like, but dont say its "freer as BSD" because its just not true, unless you dont care one whit for the end users of a commercialized version.

    1. Re:This is a farce by tetra103 · · Score: 3, Insightful
      But it IS true. The end users have more choices than they had if the original code had been under GPL: they could choose the original, any open forks off of it, AND the proprietary fork.

      You are so dead on with this comment and it's the one thing that all GPL zealots don't seem to get. Just because you release some code for free, be it BSD or public domain or whatever, and some commercial entity hyjaks the code, how did your initial contribution become "less free?". Everyone can still use YOUR free code. In fact, another commercial corp can hyjak your code again and be a competitor to the first commercial hyjak. Who cares? YOUR CODE IS STILL FREE!

      Don't get me wrong, I like the GPL as well, but I see the GPL as applying Intellectual Proprety Rights to free code. Whereas the motive may be good, the purpose is to limit it's useability. Sure you can say GPL is more free because it virally mandates that all derived works must be free, hence this increases the overall amount of free code availible on the net. That's great and you'll save the world by putting a few commercial programmers out of a job. BSD code can be said to be more free because you can do whatever the hell you want to do with it. A larger audience can use it and hence more free.

      It depends on your perspective, but I like the BSD definition of free and it's more meaniful. In regards to protecting a personal free project from being hyjaked, the GPL is a good vehicle. Just don't lie and think you're doing a better service to the world because you use GPL. People who use GPL do it for themselves and no one else.

  46. Irrelevant by msobkow · · Score: 2, Interesting

    My point is that it's my source code I want kept free and up to date.

    I don't care if you use some of it, all of it, or none of it. I don't care what compiler you use, how you link the code, or what kind of applications you are building.

    If print media comparisons are the problem, then software should be under a seperate set of laws. Software is not print media.

    Source code is more like a blueprint or a recipie. It would be absurd for me to post a recipie for everyone to use, then complain about the way people were eating the food their chef produced. The chef's preparations are analagous to compiling the code, while linking is whether the consumer chooses to eat with their fingers, a knife and fork, chopsticks, etc.

    My only legitimate cause for complaint is if they change the recipie, don't tell anyone what they changed, and either claim it as their own or fail to let others know it's not quite the same (don't publish changes.)

    Static linking is a very common QA requirement for production applications. Trying to ban static linking is just plain ignorant, and there is no way you can convince me otherwise.

    --
    I do not fail; I succeed at finding out what does not work.