This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Embedded packaging of cygwin without installation


On Apr 11 22:31, Charles Wilson wrote:

> [Good ol' licensing fine print removed]

>> For me it would be okay, if I could detect if there is a installed cygwin
>> with my needed utils (bash, grep, sed, awk, read...)
>> For now my only idea was to package it with my distribution.
>> So here my new suggestion:
>> 1.    is cygwin installed?
>> 1.1.  yes, setup the environment-variables to use the installed one
>> 1.1.1 are the needed tools installed?
>> 1.1.2 no, run cygwin-setup and preselect the additionally needed tools
>> 1.2.  no, run cygwin-setup with the preselected needed tools
>> Is this possible to realize?
>
> That sounds almost ideal (to me, but I'm no authority). 

Authoritative ACK, including the "almost".

> [...]
>
> (1) (a) Just create a setup.exe-compatible package for your tool
>     (b) create a cygwin "release" directory on a website of your control
>     (c) populate it with all the cygwin packages (including -src) you want 
> to include in your mini-distro PLUS all of the dependencies for those 
> packages
>     (d) create a setup.exe-compatible setup.ini script that describes the 
> packages available on your site (use 'genini')
>     (e) tell people to use setup.exe, with "custom mirror" set to your 
> site, and 'install all'.  (FWIW, this is what I did for an internal 
> customized cygwin distro for my employer)  If they already have cygwin, 
> and/or newer versions of some of your copied packages, they get to keep 
> their newer versions, and just pull in your special package, and any other 
> requirements they don't already have.
>     (f) alternatively, if setup.exe has cmdline args to set a specific 
> mirror choice (I don't know), give your user a batch file that 
> automatically runs setup.exe with --some-option your-mirror.

That's the second best way, really.  The best way is to become a Cygwin
package maintainer for your special packages and put them into the distro.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]