Pending patches for generic build script

Yaakov Selkowitz yselkowitz@users.sourceforge.net
Wed Feb 11 14:58:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Igor Pechtchanski wrote:

| Thanks for the patch.  Some of it intersects with my and others' fixes (I
| planned to integrate patches in chronological order), but most of it is
| original and sounds very useful.  It's on my queue.  I'll use this message
| as a sort of a ChangeLog -- please let me know if you'd rather construct
| your own ChangeLog entries.

OK, they say release and release often, right? :-)  This patch is "take
two" for me and should replace my previous patch.

My revised "ChangeLog" follows.  Thanks!

Yaakov


* provides variables for multiple binary packages, meaning that only the
'pkg' section has to be modified when this is necessary

* adds function 'reconf', mainly for package makers using the script to
drive the initial build process, when they realize that changes need to
be made and want to get a clean configure again.

* 'install' first clears the instdir, useful when changes need to be
made to install paths, etc.; this provides a clean install always

* automatic gzip-ing of man and info files (still experimental).

* adds to and alphabetizes the standard text doc list, making it easier
(and less common) to add to this list as necessary for an individual package

* /etc/postinstall created only if there's a postinstall.sh

* slightly modified 'list' output, which indents two spaces and prints
the leading slash, for use in the Cygwin README.

* adds function 'depend' which lists the package dependencies of the
executable and libraries, indented two spaces for use in the Cygwin README.

* adds options to call existing functions: 'configure' calls 'conf',
'make' calls 'build', 'test' calls 'check'.

* adds option 'first' (never figured out what else to call it), which
calls 'mkdirs' 'spkg' and 'finish'.  I use it after patching the src
tree to create the -src tarball, which afterwards I call 'all' to build
the binary package in one step.

* some substitution of "&& \" instead of "; \", and other code cleanup.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAKkMWpiWmPGlmQSMRAraFAJ933PvgVGQ1Q4W5Jni1bO3ka4pA7ACg539i
lTxb+HdOLj1v4H7r/3bahpA=
=4MN0
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: generic-build-script.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20040211/cfd3b222/attachment.ksh>


More information about the Cygwin-apps mailing list