public inbox for cygwin-licensing@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <me@cgf.cx>
To: cygwin-licensing@cygwin.com
Subject: Re: Including just cygwin1.dll in an archive
Date: Sun, 11 Sep 2005 22:24:00 -0000	[thread overview]
Message-ID: <20050911215945.GB21153@trixie.casa.cgf.cx> (raw)
In-Reply-To: <000501c5b6c8$7eda0920$0400a8c0@nova>

On Sun, Sep 11, 2005 at 09:31:02PM +0930, David Benn wrote:
From the cygwin Licensing terms on the web, it appears to me that I
>cannot distribute an archive that looks like this:
>
>Archive:  scope_dist.zip
>  Length     Date   Time    Name
> --------    ----   ----    ----
>        0  09-10-05 23:43   scope_dist/
>   971080  09-10-05 23:43   scope_dist/cygwin1.dll
>        0  09-10-05 23:43   scope_dist/driver/
>   121158  09-10-05 23:43   scope_dist/driver/ascom.dll
>    22297  09-10-05 23:43   scope_dist/driver/skeleton.dll
>    22706  09-10-05 23:43   scope_dist/scope_client.dll
>    22814  09-10-05 23:43   scope_dist/tests.exe
> --------                   -------
>  1160055                   7 files
>
>for end users, irrespective of whether another archive containing full
>sources, Makefiles etc is separately released. 
>
>The point of contention here is the inclusion of cygwin1.dll. This is an
>*unmodified* cygwin1.dll.

If you distribute a binary then, under the GPL, you must make the source code
available for the binary using the same method.  It doesn't have to be available
in the same archive.

Look at the way the cygwin distribution does it.  The sources are distributed
separately.

If you are actually distributing the cygwin DLL, then you need to also distribute
the sources to the DLL as well.  Again, the source code can be in a different
package.

So, in the above, you'd presumably have to provide the sources for
ascom.dll, skeleton.dll, scope_client.dll, tests.exe, and cygwin1.dll.  The
easiest way to provide the sources to the cygwin DLL is just to use the
cygwin source archives as can be downloaded from the cygwin setup.exe program.

OTOH, we usually advise against people distributing the DLL since it will cause
problems if your archive is extracted into an existing cygwin installation.  It's
usually better to just point people to the cygwin web site and have them install
what is needed*.  In that scenario, you wouldn't have to provide the sources
for the cygwin DLL but you would need to provide sources for everyting else.

>Can someone please advise me or tell me where to find out?
>
>I'd be happy to replace the need for this dll with static linking,
>assuming that's even *possible* under cygwin. If it is, a pointer would
>be appreciated. 

Static linking wouldn't buy you anything.  You'd still need to provide
the source code.

The GPL FAQ is here:  http://www.gnu.org/licenses/gpl-faq.html .  You might
want to familiarize yourself with it.

cgf

*Yes, I understand that this may install more than what you want but you
still have to take the problem of existing cygwin configurations into
account no matter what you do.

  reply	other threads:[~2005-09-11 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 21:49 David Benn
2005-09-11 22:24 ` Christopher Faylor [this message]
2005-09-12 12:13   ` David Benn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050911215945.GB21153@trixie.casa.cgf.cx \
    --to=me@cgf.cx \
    --cc=cygwin-licensing@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).