This is the mail archive of the cygwin-apps 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] |
I've checked in a setup.exe ini file/hint file parser into the cygwin-apps repository: http://cygwin.com/cgi-bin/cvsweb.cgi/genini/?cvsroot=cygwin-apps This is a relatively simple script which will generate a setup.ini file from an input setup.ini script + directories which contain a setup.hint and .tar.bz2 files. It will perform a few simple consistency checks, issue warnings and errors to stderr, and (unless otherwise specified) output a new .ini file to stdout. % genini --help Usage: genini [--okmissing=key ...] [--output=file] [--help] setup.ini [dir ...] Create cygwin setup.ini from setup.ini, setup.hint and tar ball information. --okmissing=key don't warn if key is missing from setup.ini or setup.hint --output=file output setup.ini info to file --help display this message Report bugs to cygwin mailing list. Files on the command line are assumed to be setup.ini files and directories are assumed to be named after a package and hold appropriate setup.hint and tar balls. Example: genini --output=newsetup.ini setup.ini binutils grep Where 'binutils' and 'grep' are directories which contain the appropriate setup.hint and .tar.bz2 files. I wrote most of this last night from scratch in about 1.5 hours. There are undoubtedly bugs but it seems like it is currently useful for checking setup.hint before making a package available for release. There is one thing that this doesn't support and that's '@ packagename' in setup.hint files. But that's an artifact that no one should be using anyway. I'm not quite sure what I want to do with this script yet, but I'll at least entertain bug reports in the cygwin mailing list for a while. cgf
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |