R
R
Reisende2016-07-15 12:10:20
Programming
Reisende, 2016-07-15 12:10:20

Is it possible to open only part of the code when using a library licensed under the GNU GPL?

My program uses a library licensed under the GNU GPL to parse an audio recording. This output is then used for other purposes. The program code itself with the license does not change in any way. Question: can I open only this part with a license, but not the whole source?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
none7, 2016-07-15
@none7

Proprietary software, in principle, cannot be distributed along with GPL code. Even if it comes in a separate executable file. With the LGPL, you can still dynamically link without changing, and only BSD, MIT, Apache are completely free in this regard.

Z
Zr, 2016-07-15
@Zr

> My program uses a library licensed under the GNU GPL to analyze an audio recording. This output is then used for other purposes. The program code itself with the license does not change in any way. Question: can I open only this part with a license, but not the whole source?
YANNP.
> The program code itself with the license does not change in any way.
What program? What other license? Relative to what does not change?
> Question: can I open
What to do? Did you mean "liberate"?
> only this part with the license, but not all source code?
Which "this part"? You didn't mention any parts.
Without a full understanding of the structure of the program, you will receive a specific answer, and not a general one, as given in the FAQ under GNU licenses, which you, of course, have already read, no one will give. If it is so difficult to formulate it in words, draw something.
I emphasize that it is not so much important here what the program does, but how the program is arranged - as soon as you
read the comments on the GNU licenses and the FAQ on them, then you understand that if the part for (for example) data preprocessing is compiled (to link) with the part for your "analysis" together, then there is no chance to escape from strong copyleft.
But if they are two self-sufficient programs that sequentially process the same data, then there is, but this must be done correctly. Many, however, will consider this not entirely fair, namely, a game of the letter of the rules against their spirit.
But by the way, before you think about how to reshape the structure of the program, running from copyleft; you did not specify - the owners of these secret libraries do not sell exceptions from this very copyleft ? Even if they do not advertise this, maybe it is worth writing and asking - what if they agree?
Actually, if you didn’t encrypt, but said which libraries you are talking about, according to the history of their writing, you could figure out whether there is an opportunity to buy an exception there or not.
Plus, it would be nice to understand what the question is generally caused by. You are trying with all your might to take away the right of your future users to freely use your program, right? For what purpose?

A
Andryukha, 2016-07-17
@syrov

if the program is on the server, then there is such a possibility:
https://blog.codecentric.de/en/2012/05/using-gpl-l...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question