Do I have to open source my project if I use a piece of code licensed under GPL as a part of my project? [closed] - open-source

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
If there is a javascript library that is licensed under a Copyleft license like the GPL, what must I do to use it? Would I have to make my whole website open source just because I used that javascript library?

It seems that this is still a matter of debate. The stance taken by the Free Software Foundation, which holds all of the GPL copyrights and enforces them, is that any code that links with GPL code, whether statically or dynamically, must also be under the GPL. So in this case, yes you would have to open source your project - but only if you were to distribute it at all. Nothing is forcing you to distribute your code.
So I would agree that you're ok with using it. Personally, I wouldn't use any GPL code in a website that sells anything as part of a for-profit company, even though it's probably legal too (it's likely considered the "output" of the code). The realm of free software licenses in regards to web code is still not completely clear, so I try to follow the spirit of the rules when I can.

I'm not a lawyer so take my advice with the grains kilotonne of salt it deserves. From the GPL:
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.
...
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.
So I would take this to mean, no, only the used library has to stay under the GPL as per the license. The license stipulates it must be displayed and unchanged, that is all.

Related

What and when do I have to disclose, if I use open source software for a totally different use? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
If I make a (web-based if it matters) game and have the inventory portion of it from an open source inventory program, what do I disclose?
I would say part X came from open source, or I just "hacked" then inventory system and put my game as a front end.
I just don't know where I put that on my website, or do I wait until someone asks? Does this mean my part of the software is also open source? What am I supposed to do?
I'm not sure how to ask it. I want to do the right thing and all.
It depends on the license that the open source inventory program is under. Have you looked into that yet?
This is a good place to start for comparisons:
http://en.wikipedia.org/wiki/Comparison_of_free_software_licenses
You have not asked much specific with your question. The general answer is: It depends.
On what does it depend you might then ask yourself. It depends on the usage terms of the software you make use of.
You only have shared so far that the software is "open source". That term does not say much. It could mean you refer to an OSI certified Opensourcetm license, however, you wrote "open source" which might be a different term. Probably you have picked something from github (compare: Can I use the code in a Github project which does not have a license specified?) ?
So unless you do not share which kind of license that is you talk about not much could be said:
If it is a permissive Free Software license, your code can normally stay under it's own license.
If it is a copyleft Free Software license, your code normally is being licensed under the same license.
If it is a compromise license, it depends on the type of work and way of interaction / derivation / usage / packaging.
In any case it always depends on
the concrete licenses for all works in question.
the concrete type of work and way of combining it with your work.
if you plan to go conform with the licensing or you want to exploit it.
You have not specified much of both, so no better suggestion can be given. Also take note that IANAL and this is only some personal opinion of a layman.
And do not wait until someone does something. You should be the active party to find out. That works best by contacting the original author of that component, tell her what you want to do with it and keep the written allowance you get from her with your records. Especially as you are unsure. And the original author has enough power to allow you things even apart from the public visible license btw..

Which OSS license fit for "Keep my part open always" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I want the license be general permissive, but:
You can embed my software in your software, but the source code of my part must be distributed with your product, and keep the license of my part unchanged.
You can change and rename my software, but the history part of the change log must be preserved.
You can using my software in your web service, but there must be a source code download link (of my part) somewhere obvious to see in the web page.
Well, there maybe not an exactly equivalent license, but which license seems most fit do you think?
I don't think a generally used license with all these conditions exists.
Sounds like you want elements of both:
The LGPL - which satisfies 1 and generally has the "my part must be open" philosophy
The Affero GPL, which requires sharing code if the software is used over a network (your point 3)
My advice however would be to select a commonly used license that is closest to what you want. Go to http://opensource.org/licenses/category and check out the "Licenses that are popular and widely used or with strong communities"
I'd guess LGPL would be the best fit (it doesn't satisfy your web-service requirements, but that's an uncommon requirement and hard to enforce anyway). LGPL is an excellent choice for libraries where you want the code of the library itself to stay open but don't mind the library being used in a generally permissive way.

Should I use opensource software in my commerical app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
This is a point that has always confused me about open source software. Normally, I write everything from scratch. What I'm trying to find out is what licenses allows me to do this?
Stay away from the GPL (LGPL is okay) and you won't have any problems. If you want to include GPLed packages in your application, things get tricky. BSD and MIT style licenses will get you the fewest obligations. In general, find the software package you want to use and read the license. They're usually pretty straightforward about what is and is not acceptable to do.
Why would you want to do more work? Of course you should. All you have to do is redistribute the OS technology source with your app (I am not a lawyer, but thats how I understand it).
The assumes
1) You are talking about an established open source solution, like hibernate, that you can reasonably assume works well.
2) The product you are developing is not using the open source technology as the 'secret sauce' that is going to make you money. Else you might have to open source that special part of your app.
If the software actually fits what you're trying to do, then yes it does cut down on development time. If the software mostly fits what you're trying to do you may end up spending more time trying to work with it rather than solving the problem it's meant to solve.
I am not a lawyer, so be sure to run a license past legal council if in doubt
As far as licensing goes, there are a number of licenses that allow you to incorporate the software into your commercial application. Most of the time as long as the license isn't a Copyleft type license (i.e. GPL) you can distribute the software as is. If you have to make changes that get distributed with your application, some licenses will requires the source also be distributed with it and an indication of what's different from the core project.

Picking an appropriate license [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I'm working on a web based ladder system for a game. It is very game specific and I want to make the project open source so the community can give back, contribute and make the experience better for everyone. However at the same time I don't want people to re-use the code/implement the code on separate sites because the purpose of the website/project is to unify the community under one roof. So my question is: what is the best license to use to make that possible?
... I don't want people to re-use the code/implement the code on separate sites ...
This really misses the point of Free Software, or as the FSF puts it, it's open source but not really Free Software. Despite my tone, I'm not here to lecture you, I'm simply pointing out that people are not likely to help if the project has this kind of restriction.
However, if you change that to:
... I don't want people to re-use the code/implement the code on separate sites without contributing any modifications they make back to the project ...
Then the GNU Affero General Public License might be appropriate; it prevents people from modifying your website unless they publish their changes under the same license.
If you still insist on your original restriction, then no open source license will help you, since most of them are about being Free Software, not just open source. You're going to have to write your own license, or modify an existing one.

LGPL License Question [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Lets say that I am writing a program that supports plugins and I write one plugin that has a reference to a assembly(.net) that is licensed under LGPL, must I now make the whole project open source and under LGPL?
The main difference between the LGPL and the GPL is that the LGPL does not impose any licensing requirements between modules that can be interchanged by the end user.
So as long as the end user can substitute a different but compatible version of the third party assembly, and as long as you obey the other requirements of the LGPL (like giving appropriate attribution if you're distributing that third party assembly) you can license your stuff however you like.
That depends on the nature of the reference. If "having a reference" is similar to "linking a library", you are not forced to license your software under the LGPL. That is where the LGPL and the GPL differ.
Consulting a lawyer is the only way to get complete, accurate advice of this nature.
That being said, you should be fine, provided you leave the LGPL code in the indepdendant, .NET assembly. If you use the code directly within your project, you may run into other issues, but as long as the .NET assembly is left as-is, and just used by your project, you shouldn't have to open up your code (although you do need to follow the other restrictions of LGPL - mainly distributing the appropriate license files, providing access to the code for the assembly, and using proper attribution).
Sorry this thread is very old. But still couldn't find it very clear. So here is my answere
When a library or framework is LGPL , you are free to use the libraries in your commercial project (Yes. you can sell it). You don't need to make your code opensource.
You have to make the code opensource only if:
1. you change the code of library/framework. or
2. You link the libraries statically. (If you link dynamically there is no need to worry about. In windows you can use .dll files to link dynamically)