From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24313 invoked by alias); 16 Feb 2015 17:59:24 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 24294 invoked by uid 10076); 16 Feb 2015 17:59:24 -0000 Date: Mon, 16 Feb 2015 17:59:00 -0000 Message-ID: <20150216175924.24268.qmail@sourceware.org> From: gratz@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup] branch master, updated. release_2.869-11-g77303bc X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 06eb6617d0aa9fdd9fecb760df760e237929ac21 X-Git-Newrev: 77303bce8458d4ad2dd37d1df591140fb5ab98f6 X-SW-Source: 2015-q1/txt/msg00027.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;h=77303bce8458d4ad2dd37d1df591140fb5ab98f6 commit 77303bce8458d4ad2dd37d1df591140fb5ab98f6 Author: Achim Gratz Date: Fri Feb 8 20:49:47 2013 +0100 README: document some recent changes in the build environment * README: Adapt the documentation to the recent changes and some not-so-recent ones. Diff: --- ChangeLog | 5 +++++ README | 47 ++++++++++++++++++++++++++--------------------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index afe5d1a..bbc1def 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2015-02-16 Achim Gratz > + * README: Adapt the documentation to the recent changes and some + not-so-recent ones. + +2015-02-16 Achim Gratz > + * Makefile.am (setup-src): Create file list for archive from git-ls-files instead of cvs and create an XZ compressed archive. diff --git a/README b/README index b1586de..2582c05 100644 --- a/README +++ b/README @@ -4,30 +4,39 @@ for the Cygwin net releases. HOW TO BUILD: ------------- Setup should build out-of-the-box on any Cygwin environment that has all the -required packages installed: - - mingw-gcc-g++ +required packages and their dependencies installed: + - make - - mingw-bzip2 - - mingw-libgcrypt-devel - - mingw-liblzma-devel - - mingw-zlib - - and all packages that are dependencies of the above, i.e. gcc-mingw-core, - mingw-runtime, binutils, w*api, etc. + - mingw64-${arch}-headers + - mingw64-${arch}-gcc-g++ + - mingw64-${arch}-libgcrypt + - mingw64-${arch}-bzip2 + - mingw64-${arch}-xz + - mingw64-${arch}-zlib - upx (optional) -The following additional packages are required if building from CVS, not from -a source tarball, or if you want to make changes to the build system. - - recent autoconf - - recent automake - - recent libtool +The ${arch} needs to be replaced with either "i686" or "x86_64" +depending on the target architecture to build for. The following +additional packages are required if building from Git, or if you want +to make changes to the build system. + + - autoconf + - automake + - libtool - flex - bison Build commands: + 1) Configure using this option $ /path/to/setup/bootstrap.sh - This will automatically rebuild configure files and run configure in the - current directory. + This will automatically rebuild configure files and run configure + in the current directory. If you have installed toolchains for + both i686 and x86_64 architectures, then you need to select for + which architecture you want to build: + $ /path/to/setup/bootstrap.sh --host=i686-w64-mingw32 + $ /path/to/setup/bootstrap.sh --host=x86_64-w64-mingw32 + 2) $ make 3) Wondering why your binary is so much bigger than the official releases? @@ -60,22 +69,19 @@ As much as possible please provide only one goal per patch. WISHLIST: --------- - * Don't downgrade if the curr version is <= installed? * Support rpm/deb files for reading the package from. (To allow the maintainers the use of rpm/deb tools to create packages.) - * Make a librar(y|ies) for setup and cygcheck to use containing + * Make a librar(y|ies) for setup and cygcheck to use containing 1) Something to translate POSIX -> native. Currently called "cygpath" in setup, although this is probably a bad choice of name. 2) Something to return the list of installed packages. 3) Something to return the cygwin mount table. Currently, I have implemented - a lightweight setmntent and getmntent using the code in + a lightweight setmntent and getmntent using the code in 4) Something to parse a tar file name into package/version or alternatively, return that information from 2) 5) Something to return a list of files associated with a package. * Mark versions as prev/curr/test in the GUI when clicking through them. * Make setup.exe available through Add/Remove - * Remove installed packages from Misc when other (non-All) categories are - found. * Local package scan stops updating when it stops being the active window. * Some way to download *all* the source. * Incremental/recoverable download capability. @@ -97,7 +103,6 @@ WISHLIST: * Don't ask about the start menu or desktop options if they already exist. * Save the manual proxy settings so they don't need to be retyped. * Detect files in multiple packages. - * Run a different script after finishing setup. * Show bin and src download size. * Confirm cancellation of setup if in the middle of doing something. * Improve mirror selection UI.