Pending patches for generic build script

Yaakov Selkowitz yselkowitz@users.sourceforge.net
Tue Feb 10 06:34:00 GMT 2004


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

Igor and rlc,

Not sure which one (or both) of you is dealing with these, but I've got
one of my own patches for the build script, attached here.

To summarize and explain:

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

* adds functions 'reconf' and 'reinstall', 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 conf or install

* automatic gzip-ing of man files (I just added this one recently,
haven't tested it too much yet)

* /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' (straight from Igor); it would be nice to have
this indented two spaces, like for 'list', but I haven't done that yet

* adds options to call existing functions: 'configure' calls 'conf',
'make' calls 'build' (a typo I've made more than enough times :-),
'test' calls 'check'.

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

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

I know you have a lot of patches to look at now, but there are a few
things here which have been very helpful to me, so I wanted to share
them while the topic is pending.

BTW--and I hope this isn't OT--if you have Qt3 installed from the
KDE-Cygwin project, then you might want to try my port of xxdiff,
available from my sf.net project site:

http://prdownloads.sourceforge.net/cygwin-ports/xxdiff-3.0.2-1.tar.bz2?download
http://prdownloads.sourceforge.net/cygwin-ports/xxdiff-3.0.2-1-src.tar.bz2?download

Drop me a note (offlist of course) if you have any comments on xxdiff.

Thanks for your work!

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

iD8DBQFAKHtppiWmPGlmQSMRAiEcAJ0W/x1/R3yPCPcI7EYK/HUgwbdkkQCgvpYk
F+2/HpqN/kNidSBtPQHDrAg=
=ty5U
-----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/20040210/b097ae4d/attachment.ksh>


More information about the Cygwin-apps mailing list