X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=IiUH6V0sHpSeENIX
	tdqGkiLTuJ9DkcNMvtihj64yvXreJrE8Wrpkm4+44bgZ9vO2BjY4wnixRc3B83YL
	gFErqZqwVsYZc6gIiJJI0KWxUiRrGa2dawQ2mz3ZPMKUGEdmsFDKieX0L8q5MsnQ
	m/yrRJ395PIqP14tP7kp5G+RMb0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=kwFnB3XP7iVDnNwe+VVbch
	TKkIA=; b=PCv06nrd23/ebQ4sWmDZow/GCykXmH4AZK+/LGlhCjig36twZY55Po
	t9EKkPmT+OgFKBbvii6fc/XA9FfXCGYYyu+cG+y2EjFln4L43LWvuRUXMY5SFudz
	4087syqjKQ8SbPZK2zMl+LhGKPMs+hyrpmBNNuakV6MjwSyZgaW2o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*Ad:U*reply-to-list-only-lh, Larry, HContent-type:windows-1252, thirdparty
X-HELO: vms173017pub.verizon.net
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=EdU1O6SC c=1 sm=1 tr=0	a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=N659UExz7-8A:10 a=jFJIQSaiL_oA:10	a=1wEwucdaND4lLRZeAAIA:9 a=pILNOxqGKmIA:10
Reply-to: cygwin@cygwin.com
Subject: Re: redistributing a part of cygwin
References: <56B3592A.9080400@unimi.it> <87k2mktk0b.fsf@Rainer.invalid>
To: cygwin@cygwin.com
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Message-id: <56B412BE.1060708@cygwin.com>
Date: Thu, 04 Feb 2016 22:10:54 -0500
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-version: 1.0
In-reply-to: <87k2mktk0b.fsf@Rainer.invalid>
Content-type: text/plain; charset=windows-1252; format=flowed
Content-transfer-encoding: 7bit

On 02/04/2016 01:20 PM, Achim Gratz wrote:
> Fabio writes:
>> we have compiled a parallel program for Windows using cygwin.
>> In order to make the program work on any computer we have to include
>> in the package some parts of cygwin (some .dll and some .exe).
>
> There's another option: providing a script or instructions on how to
> install Cygwin and avoid the whole binary distribution headache.  In
> that case you'd provide a package repository that can be added to the
> main Cygwin one during installation, in the way Cygwin Ports is doing.

Yeah, that's certainly good advice.  It makes a package out of the original 
program that Cygwin's setup understands and, as a result, the next step of
offering the program as a package to the rest of the Cygwin community
becomes very simple.  If adding the program to the Cygwin distribution
isn't acceptable or possible for any reason, just hosting it in your own
"third-party" repository, as Achim suggests, is a good alternative.  This
still uses Cygwin's setup as the program's installation mechanism and so is
completely compatible with any existing or future Cygwin installation.  It
may not be obvious but that's a big win when it comes to maintaining a
working program and any Cygwin installation.  But if that's not enough to
sway one towards working within the architecture of Cygwin's setup, another
alternative that's arguably easier to do is to use Cygwin's setup with its
command line parameters to install the needed packages.  This could be
invoked from whatever installation method the original program uses.  The
Cygwin packages installed in this way are still 100% compatible with any
current or future Cygwin installation.

Any of these choices are much better and easier to maintain than a
directory somewhere with a copy of a bunch of Cygwin DLLs and the program.
They are definitely worth considering.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

