Code Monkey home page Code Monkey logo

Comments (10)

ffissore avatar ffissore commented on August 29, 2024

Let's start with the usual IANAL: "I Am Not A Lawyer"

The GPL viral effect triggers only when you distribute your work. Web sites (and network servers in general) that provide your service are not distributing your software. That's a problem FSF has solved introducing the AGPL (see http://www.gnu.org/licenses/quick-guide-gplv3.html#new-compatible-licenses)

BSD is compatible with GPLv3 (according to the previous graph) and the latter does not require you to change the license of the former.

So: GPL does not imposes itself on your BSD licensed code. You don't have to release your website under the GPLv3, you can keep it BSD.

from presentz.js.

jace avatar jace commented on August 29, 2024

Thanks for clarifying this. I haven't read the GPLv3 carefully, but my understanding is that the key difference from GPLv2 is with regard to binary linking.

GPLv2 required that if your code linked to a GPL-licensed library in a way that the library was a required dependency, your code was considered derivative and therefore had to be GPL-licensed as well. The GPLv2 defined a "link" as an explicit binary link, which doesn't apply to dynamic languages, and therefore made the GPLv2's "virality" ineffective for web-oriented languages.

My understanding is that GPLv3 amended this bit of legalese, bringing dynamic linking into the fold. This means if make a call to your JS function, my code must be GPLv3 as well. (This is different from the problem AGPL solves, which is with regard to distribution of modified versions.)

Maybe I should just read the GPLv3 carefully. Doing that now.

from presentz.js.

ffissore avatar ffissore commented on August 29, 2024

I'm too reading it. For example this makes my first assumption wrong

To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

As presentz.js doesn't run on the server, users do not "merely interact with it through a computer network" but are receiving a copy, so it's distribution (in the GPLv2 sense).

So, contrary to what I thought, probably you can't make something BSD with something GPL, even if is a js lib or a web site.

from presentz.js.

ffissore avatar ffissore commented on August 29, 2024

After reading this http://www.pps.univ-paris-diderot.fr/~smimram/ocamlgpl.html ("If I make a program using a GPL library" paragraph) I realized that, despite the whole product being GPLed in the end, your source can still be BSD licensed, and people using your single files (that is: everything except what's GPL) are still subject to the BSD terms.

from presentz.js.

jace avatar jace commented on August 29, 2024

From what I can make out:

  1. GPLv3 no longer explicitly defines how linking works. It's up to a court of law to decide that.
  2. The FAQ states in multiple locations that if a non-GPL program depends on a GPL-licensed library, the whole software becomes licensed under the GPL.

http://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem
http://www.gnu.org/licenses/gpl-faq.html#MereAggregation
http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL
http://www.gnu.org/licenses/gpl-faq.html#LinkingWithGPL

The last FAQ entry is worrisome because I do not want to explicitly prohibit my code from being used to make proprietary derivates, but any dependency on Presentz.js will effectively enforce the GPL on downstream versions.

I urge you to consider licensing Presentz.js under the LGPL or a permissive open source license that will not cause such headaches. The LGPL especially will ensure Presentz.js itself remains open.

from presentz.js.

jace avatar jace commented on August 29, 2024

I completely forgot that Presentz.js runs on the client, not the server. Now I'm confused over exactly what GPL licensing means in this case, since browsers only deal with source (even if minified).

from presentz.js.

jace avatar jace commented on August 29, 2024

Incidentally, this is where I'm intending to use Presentz.js: https://github.com/hasgeek/hasgeek.tv

It's a website for videos from our conferences and should up in about a week at http://hasgeek.tv.

from presentz.js.

ffissore avatar ffissore commented on August 29, 2024

I've just pushed version 1.1.1 that changes the license from GPL to LGPL

from presentz.js.

jace avatar jace commented on August 29, 2024

Thank you!

from presentz.js.

nanodeath avatar nanodeath commented on August 29, 2024

What's the reason for not going with a BSD/MIT/liberal license? It's JavaScript...pretty uncommon to put restrictive licenses on JS, I think.

from presentz.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.