velmarin wrote:JuLieN wrote:If Jose doesn't believe me, then maybe he will believe the GNU foundation themselves:
If a program combines public-domain code with GPL-covered code, can I take the public-domain part and use it as public domain code?
You can do that, if you can figure out which part is the public domain part and separate it from the rest. If code was put in the public domain by its developer, it is in the public domain no matter where it has been.
Source:
http://www.gnu.org/licenses/gpl-faq.en. ... ainWithGPL
Code: Select all
Si el código fue puesto en el dominio público por su desarrollador, es de dominio público sin importar dónde ha estado.
Code: Select all
Si le code a été mis dans le domaine public par son développeur, est du domaine public, peu importe d'où vous venez.
Julien, this translates me the browser,
This gives me the reason, and for me it is clear, like water.
Public domain, public domain.
[/code]
Jose, this is my last attempt to make you understand. If you take a public domain source code and make additions to it, you are totally free to place those additions under GPL. The resulting program will have parts that are public-domain, and parts that are covered with GPL.
Here's an example:
HelloLito:
Code: Select all
/* HelloLito is domain public code. Long live the revolution! */
#include <stdio.h>
main()
{
printf("hello, world\n");
}
HelloLito Extreme:
Code: Select all
/* HelloLito is domain public code. Long live the revolution! */
/* HelloLito Extreme is released under GPL */
#include <stdio.h>
main()
{
printf("hello, world\n");
printf("I meant hellolito, world\n");
}
As I... and then the GPL FAQ told you, if you can distinguish in HelloLito Extreme which parts are GPLed (here, the second printf line) and which part are public domain, then you can make a private program with just the public domain parts and your own additions (but then it's simpler to start from HelloLito than from HelloLito Extreme, isn't it?

). But if you start from HelloLito Extreme and keep the GPLed part, then your program will at least have to publish the parts of your program that were derived from the GPL parts of Hellolito Extreme.
For instance, let's imagine that someone decides to make a BouqueLito program:
Case 1: he starts from HelloLito:
Code: Select all
/* BouqueLito is not public domain code. Long live capitalism! */
#include <stdio.h>
main()
{
printf("hello, greedy world\n");
printf("I am the king of the florist!\n");
}
Fine, this is ok: HelloLito was public domain.
Case 2: he starts from HelloLito Extreme:
Code: Select all
/* BouqueLito is not public domain code. Long live capitalism! */
#include <stdio.h>
main()
{
printf("hello, world\n");
printf("I meant Bouquelito, greedy world\n");
printf("I am the king of the florist!\n");
}
Then he'd have to at least publish the part he derived from the GPLed parts of the source program. (Here
printf("I meant Bouquelito, greedy world\n"); )
Then he would have to publish the part of his codes