Code Monkey home page Code Monkey logo

Comments (11)

fernandojsg avatar fernandojsg commented on August 23, 2024

👍 for this request

from jpeglosslessdecoderjs.

rii-mango avatar rii-mango commented on August 23, 2024

The license is LGPL, not GPL. I am not the original author (see Acknowledgements). I made significant modifications, but that isn't enough to change the license, as far as I know.

But my understanding is that a LGPL library is compatible with a MIT project. The main restriction is that the MIT project must be designed to "work with" the library without it being simply merged into the project. With JavaScript, what exactly LGPL means is a little fuzzy, since there's no way to compile a stand-alone library and no concept of "linking" to it.

My take has been to configure it as a dependency: see Daikon which is BSD (similar to MIT) license. Its GitHub project doesn't contain the JPEGLosselessDecoderJS code, rather it's a dependency and NPM installs it.

I would be happy to re-license it as MIT, if I could -- but my understanding is that I can't. My preference is BSD/MIT whenever possible.

from jpeglosslessdecoderjs.

chafey avatar chafey commented on August 23, 2024

Understood - this will unfortunately limit how much use this library gets as many commercial companies prohibit use of GPL and LGPL software in their products. I think the best strategy for cornerstone is to make it so use of this library is optional so it can be excluded by those that can't use LGPL or don't need it. One thing that would help is to publish this library via bower - would that be possible? I am thinking of switching everything over to NPM in the future, but right now bower is what is being used.

from jpeglosslessdecoderjs.

rii-mango avatar rii-mango commented on August 23, 2024

I've sent the original author an email asking if he'd be willing to allow a license change. Either way, I'll look into adding Bower support...

from jpeglosslessdecoderjs.

chafey avatar chafey commented on August 23, 2024

OK great - would you like me to submit a PR with instructions for bower?

from jpeglosslessdecoderjs.

rii-mango avatar rii-mango commented on August 23, 2024

Yes, that would be great.

from jpeglosslessdecoderjs.

rii-mango avatar rii-mango commented on August 23, 2024

The original author approved the change in license from LGPL to MIT. I'll make this change as well as the other requests sometime this week...

from jpeglosslessdecoderjs.

chafey avatar chafey commented on August 23, 2024

Great news! Thank you for looking into this!

from jpeglosslessdecoderjs.

chafey avatar chafey commented on August 23, 2024

Just submitted a PR with bower support. If you don't want to mess with bower, I can just bundle it in with cornerstone since you are going to support MIT. Let me know

from jpeglosslessdecoderjs.

fernandojsg avatar fernandojsg commented on August 23, 2024

That's a really great news! Thank you too

from jpeglosslessdecoderjs.

rii-mango avatar rii-mango commented on August 23, 2024

License has been changed.

from jpeglosslessdecoderjs.

Related Issues (15)

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.