Re: Optimized Cygwin package
Thanks all! Starting from scratch I've been able to generate a package around ONLY 463Mb. It's more correct. K. -- View this message in context: http://cygwin.1069669.n5.nabble.com/Optimized-Cygwin-package-tp104027p104308.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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
Re: Optimized Cygwin package
On 04/11/13 14:24, Ryan Johnson wrote: 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 FYI: The 32-bit version of doxygen is a little more interesting, as it has clang assisted parsing enabled. Hence 32-bit doxygen also pulls in libclang, along with whatever dependencies libclang requires. Dave. -- 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
Re: Optimized Cygwin package
Thanks all for your fast replies! Probably I've missed something after package selection to prevent loader to include useless packages. I'll restart from scratch a new selection expecting to reach something like 400MB. Please note that packages representing biggest size are located from /usr/share folders (total 1.2Gb) Except for some specific C compilations for which some errors could happen, I've observed (for all others apps) when I rename shared folder that most of the time all is working well, But I don't want to work from a package from which potential links may be broken Best Regards, -- View this message in context: http://cygwin.1069669.n5.nabble.com/Optimized-Cygwin-package-tp104027p104051.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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
Re: Optimized Cygwin package
On 04/11/2013 9:24 AM, Ryan Johnson wrote: 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... Heh... just noticed that OP is measuring things in "Gb" (!= "GB"). An odd measure for disk space to be sure, but 229MB does correspond to 1.87Gb. Without python, the installed size drops to 1.05Gb, even including all the other packages the cygwin base-install pulls in. - 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-36-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 -- Problem reports: http://
Re: Optimized Cygwin package
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-36-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
Re: Optimized Cygwin package
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. > - gcc > - python > - perl > - mintty > - shell (mainly tcsh) > - doxygen > - make > - tcl > Could you provide me selection to apply in order to minimize size of final > Cygwin package? > or what to remove from downloaded package. > Most of the time (except for Perl) I'm using standard libraries. -- WBR, Andrey Repin (anrdae...@yandex.ru) 04.11.2013, <16:46> Sorry for my terrible english... -- 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