delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/09:25:38

X-Recipient: archive-cygwin AT delorie DOT 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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=EIWZPb0yIAV4OsySqx/gXZZQ66Z5zBFTN3Qkmf1fntm
gaXUGpeULCY4MRKLMmNpxtwlfm6OuBFjzqunUkUGskrbmZDRb1r0O0OLeCv/UHAz
7xbOrqTZwiqy79qtxh9fl/cqrCAspBVKsE7G8WWUMbeq9SMRg+ZDkR3R74/z4YPM
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=KctP9X/D4ZUc2TAmQj33TM64sZ8=; b=j02gtLgQ+veEcqiZF
Le231WrkcIcMeMbtTkDARK6oj7ugkKx6P+Ao6oHsgP308MCBjFxkSkmsS4R3tS7g
x2ner5VvWNuQqFhfneTXjH7VxrG63lG62nHByd19Y+ky+5/dRJBMCmPgDwDtUTT2
kurWy8nRWsyfjQ0+sue66qE4qY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_NEUTRAL autolearn=no version=3.3.2
X-HELO: bureau94.ns.utoronto.ca
Message-ID: <5277AE3A.2010104@cs.utoronto.ca>
Date: Mon, 04 Nov 2013 09:24:58 -0500
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Optimized Cygwin package
References: <1383561297008-104027 DOT post AT n5 DOT nabble DOT com> <1873370490 DOT 20131104164740 AT mtu-net DOT ru>
In-Reply-To: <1873370490.20131104164740@mtu-net.ru>
X-IsSubscribed: yes

On 04/11/2013 7:47 AM, Andrey Repin wrote:
> Greetings, Kptain!
>
>> Today my Cygwin package is around 1.4Gb.
>> I've tried to restrict amount of package required by distribution, it seems
>> lot of dependencies are required.
>> Does someone know how to restrict and optimize Cygwin packages knowing I'm
>> using it only for this applications?
> Given your list - no.
> Actually, I'm surprised you've managed to wrest it into 1.5Gb.
Something sounds very wrong about that...

>
>>    - gcc
>>    - python
>>    - perl
>>    - mintty
>>    - shell (mainly tcsh)
>>    - doxygen
>>    - make
>>    - tcl
Off the top of my head, I would expect GCC to be ~100MB, python 30-60MB, 
shocked if perl/TCL were each larger than 100MB, mintty is measured in 
kB, most shells and Make are a handful of MB. Doxygen has no strange 
dependencies.

Even assuming maximal package sizes, that's only 400MB. Where exactly 
would you expect the other 1GB come from?

Running 64-bit setup.exe pulls the following default package set 
(package name, compressed size, uncompressed size):

_autorebase-000036-1.tar.bz2 316 158
_update-info-dir-00248-1.tar.bz2 406 415
alternatives-1.3.30c-10.tar.bz2 72K 333k
base-cygwin-3.3-1.tar.bz2 1.8K 4k
base-files-4.1-1.tar.bz2 49K 254k
bash-4.1.11-2.tar.bz2 1.4M 5M
bzip2-1.0.6-2.tar.bz2 44K 136k
coreutils-8.15-3.tar.bz2 3.7M 13M
cygutils-1.4.14-1.tar.bz2 32K 78k
cygwin-1.7.25-1.tar.bz2 2.6M 8M
dash-0.5.7-4.tar.bz2 80K 136k
editrights-1.02-1.tar.bz2 24K 70k
file-5.13-1.tar.bz2 379K 3M
findutils-4.5.11-1.tar.bz2 676K 2M
gawk-4.1.0-1.tar.bz2 1.1M 2M
grep-2.14-3.tar.xz 227K 1M
groff-1.22.2-1.tar.bz2 3.5M 19M
gzip-1.4-1.tar.bz2 129K 256k
hostname-3.13-1.tar.bz2 14K 30k
ipc-utils-1.0-2.tar.bz2 13K 28k
less-458-1.tar.bz2 121K 254k
libattr1-2.4.46-1.tar.bz2 6.7K 16k
libbz2_1-1.0.6-2.tar.bz2 29K 63k
libcrypt0-1.1-1.tar.bz2 3.8K 9k
libdb5.3-5.3.21-1.tar.bz2 904K 2M
libgcc1-4.8.2-1.tar.xz 25K 66k
libgdbm4-1.10-2.tar.bz2 17K 40k
libgmp10-5.1.3-1.tar.xz 194K 442k
libiconv2-1.14-1.tar.bz2 701K 998k
libintl8-0.18.1.1-3.tar.bz2 19K 38k
liblzma5-5.0.4-1.tar.bz2 69K 128k
libmpfr4-3.1.2-1.tar.bz2 143K 319k
libncursesw10-5.9-4.tar.bz2 212K 489k
libpcre1-8.33-1.tar.bz2 92K 289k
libpopt0-1.16-1.tar.bz2 20K 39k
libreadline7-6.2-1.tar.bz2 97K 221k
libssp0-4.8.2-1.tar.xz 3.5K 10k
libstdc++6-4.8.2-1.tar.xz 185K 891k
login-1.10-10.tar.bz2 15K 29k
man-1.6g-2.tar.bz2 245K 397k
mintty-1.2-beta1-1.tar.bz2 108K 188k
perl-5.14.4-1.tar.bz2 15M 41M
rebase-4.4.0.1-1.tar.bz2 202K 591k
run-1.3.0-1.tar.bz2 40K 102k
sed-4.2.2-3.tar.bz2 257K 845k
tar-1.26-1.tar.bz2 856K 2M
terminfo-5.9-4.tar.bz2 212K 1M
texinfo-4.13-1.tar.bz2 555K 1M
tzcode-2013c-1.tar.bz2 520K 2M
vim-minimal-7.3.1314-1.tar.xz 355K 786k
which-2.20-2.tar.bz2 32K 72k
xz-5.0.4-1.tar.bz2 173K 691k
zlib0-1.2.8-1.tar.bz2 45K 79k

That translates to 36MB downloaded, 115MB decompressed, and 134MB installed.

Adding in the missing packages OP mentioned *except* python downloads 
the additional files:
doxygen-1.8.5-1.tar.bz2 4.4M 9M
libcatgets1-1.1-2.tar.bz2 4.4K 13k
make-4.0-2.tar.xz 366K 1M
tcl-8.5.11-1.tar.bz2 2.1M 6M
tcsh-6.18.01-3.tar.bz2 550K 1M

The grand total increases to 44/134/155MB.

Python drags in the kitchen sink, with the dependency chain python -> 
python-tkinter -> tcl-tk -> X:
libexpat1-2.1.0-3.tar.bz2 57K 146k
libffi6-3.0.13-1.tar.bz2 12K 22k
libfontconfig1-2.10.93-1.tar.bz2 131K 284k
libfreetype6-2.4.12-1.tar.bz2 401K 1000k
libopenssl100-1.0.1e-1.tar.bz2 933K 2M
libsqlite3_0-3.7.17-3.tar.bz2 320K 643k
libX11_6-1.6.0-1.tar.bz2 2.5M 26M
libXau6-1.0.8-1.tar.bz2 19K 50k
libxcb1-1.9.1-2.tar.bz2 40K 119k
libXdmcp6-1.1.1-1.tar.bz2 35K 152k
libXext6-1.3.2-1.tar.bz2 267K 1M
libXft2-2.3.1-1.tar.bz2 47K 106k
libXrender1-0.9.8-1.tar.bz2 29K 74k
libXss1-1.2.2-1.tar.bz2 14K 36k
python-2.7.5-3.tar.xz 4.3M 26M
python-tkinter-2.7.5-3.tar.xz 194K 1M
tcl-tix-8.4.3-2.tar.bz2 207K 946k
tcl-tk-8.5.11-1.tar.bz2 5.5M 16M

Even then, though, the grand total only increases to 58/211/239 MB.

I'm coming up short about 1.2GB of packages here...

Note: running in download-packages-only mode pulls down some really 
strange things, and might be (part of) OP's problem. It fails to 
download the core package set (so you can't actually install a working 
cygwin), grabs python3, gcc, make, subversion, and tcsh. It also tries 
to download gcc-debuginfo by default, which is 100MB of .tar.xz 
goodness. I didn't download all of that to see what it decompresses to.

Ryan


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019