GPL question: including a GPL program in a software package

GPL question: including a GPL program in a software package

Post by Jim Cochra » Sat, 19 May 2001 08:40:28



I posted this question in gnu.misc.discuss, but have not yet gotten a
response, so I thought I would try this group, since my software runs on
Linux.  Hopefully it is an appropriate question for this group.

OK, I've just looked through a copy of the GPL.  (I confess that I
didn't read the whole license thoroughly.)  And I am not sure whether
the GPL allows the following: I'm considering including a GPLed program
in a software package I will be releasing.  (The package is free
software (but not GPL), but I may charge for extensions to it in the
future.)  The GPLed program is a Perl script that will be used to
obtain data from a web site needed by my program.  My program, which is
a compiled executable, will probably use a fork and exec to execute the
Perl program and obtain the resulting data (from a file or whatever).
Also, my program will be written so that other scripts or programs can
be used - plugged in - instead of this GPLed Perl program.

My question is - in the above case, if I include the Perl program with the
release of my program, will my program need to be released under the GPL?
Since the Perl script is not a library being used by my program and is not
being extended to create my program's functionality, I would expect that
my program does not need to be GPLed; but I can't tell for sure from the
license.

The clause in the license that appears to apply to this case is:

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

I think the interpretation hinges on what is meant by "contains", which
doesn't appear to be explicitly defined in the license.

If the answer to my question is that my software does indeed need to be
GPLed, what about if I release the software without the Perl program, but
include instructions for users who want to use that program as the "plug-in
data-retrieving script" - that they download it and set it up to work with
my program?

Thanks!
--
Jim Cochrane

 
 
 

GPL question: including a GPL program in a software package

Post by Todd Knar » Sat, 19 May 2001 09:11:14



Quote:> future.)  The GPLed program is a Perl script that will be used to
> obtain data from a web site needed by my program.  My program, which is
> a compiled executable, will probably use a fork and exec to execute the
> Perl program and obtain the resulting data (from a file or whatever).
> Also, my program will be written so that other scripts or programs can
> be used - plugged in - instead of this GPLed Perl program.

I think this is covered explicitly in the GPL: merely including a GPLed
program on the media with yours does not cause your program to be GPLed.
From the sounds of it, the Perl script is an external tool your program
can use and isn't incorporated in your program, and if you don't
incorporate it in your program then the GPL has no effect on your
program.

For safety I'd distribute the script seperately from your program, not
in the same tar file or whatever, just to make the seperation clear.

--
Collin was right. Never give a virus a missile launcher.
                                -- Erk, Reality Check #8

 
 
 

GPL question: including a GPL program in a software package

Post by Jim Cochra » Sat, 19 May 2001 09:55:09





>> future.)  The GPLed program is a Perl script that will be used to
>> obtain data from a web site needed by my program.  My program, which is
>> a compiled executable, will probably use a fork and exec to execute the
>> Perl program and obtain the resulting data (from a file or whatever).
>> Also, my program will be written so that other scripts or programs can
>> be used - plugged in - instead of this GPLed Perl program.

>I think this is covered explicitly in the GPL: merely including a GPLed
>program on the media with yours does not cause your program to be GPLed.
>From the sounds of it, the Perl script is an external tool your program
>can use and isn't incorporated in your program, and if you don't
>incorporate it in your program then the GPL has no effect on your
>program.

That was essentially my interpretation of the license, too, although a
picky person might ask: "What does it mean to incorporate the script into
your program?"

Anyway, I think I'm probably OK, though I wouldn't mind hearing from a
couple other people with knowledge of the GPL.

Quote:

>For safety I'd distribute the script seperately from your program, not
>in the same tar file or whatever, just to make the seperation clear.

That's probably a good idea.  Thanks for the feedback.
--
Jim Cochrane

 
 
 

GPL question: including a GPL program in a software package

Post by John Hasle » Sat, 19 May 2001 09:37:33


Quote:Todd Knarr writes:
> I think this is covered explicitly in the GPL: merely including a GPLed
> program on the media with yours does not cause your program to be GPLed.

Nothing can cause your program to be GPL'd except you GPL'ing it.

Quote:> From the sounds of it, the Perl script is an external tool your program
> can use and isn't incorporated in your program, and if you don't
> incorporate it in your program then the GPL has no effect on your
> program.

Correct.
--
John Hasler

Dancing Horse Hill
Elmwood, WI
 
 
 

GPL question: including a GPL program in a software package

Post by Jim Cochra » Sat, 19 May 2001 12:49:16




Quote:>Todd Knarr writes:
>> I think this is covered explicitly in the GPL: merely including a GPLed
>> program on the media with yours does not cause your program to be GPLed.

>Nothing can cause your program to be GPL'd except you GPL'ing it.

>> From the sounds of it, the Perl script is an external tool your program
>> can use and isn't incorporated in your program, and if you don't
>> incorporate it in your program then the GPL has no effect on your
>> program.

>Correct.

If I include the script in the same tar file or rpm file as my program and
make that file available for downloading, does the GPL still have no effect
on my program, or would that fit the definition of incorporating it into my
program?

Thanks.
--
Jim Cochrane

 
 
 

GPL question: including a GPL program in a software package

Post by Todd Knar » Sat, 19 May 2001 17:57:10



Quote:> If I include the script in the same tar file or rpm file as my program and
> make that file available for downloading, does the GPL still have no effect
> on my program, or would that fit the definition of incorporating it into my
> program?

It wouldn't technically be incorporating it in your program, no. But
it would be ambiguous. If you keep it in a seperate package from your
program, that makes the seperation clear. It can still be on the same
disk, but give it it's own directory or something for clarity.

--
Collin was right. Never give a virus a missile launcher.
                                -- Erk, Reality Check #8

 
 
 

1. GPL GPL?

Hi
   If i want my software obey GPL. What should i do? Just write
something to say "it is a GPL software" in the source code? I think
shouldn't this simple.

   And what is the international organization that handle/create
liscence? If we don't have, how can all the country agree with the
GPL?

thanks

2. Wintroll Alert: FlatFish is Austin Rogers = andante quok = eel_boy

3. Funding GPL projects or funding the GPL?

4. NFS hang

5. Gtk+ is *L*GPL (Was: Qt goes GPL)

6. How to make UPS stop Solaris 2.6 system gracefully.

7. offtpic: GPL driver vs. non GPL driver

8. real free memory

9. Gnu GPL problem: License copyrighted things under GPL???

10. Using GPL'd Linux drivers with non-GPL, binary-only kernel

11. GPL Question - Changing Software Name