cygport missing features after 0.3.9
cygwin@cwilson.fastmail.fm
cygwin@cwilson.fastmail.fm
Sun Apr 27 16:13:00 GMT 2008
>> Are there any other features you still need?
See attached, against current cygport cvs.
cygport-cvs-topdir.patch:
lib/cvs.cygclass (cvs_fetch): allow cygports to specify
a "-d ${CVS_DIR}" argument by defining the CVS_DIR variable.
Otherwise, the module directory name is used, as previously.
This is useful if the desired source code is not a top-level
module in the cvs repository (e.g. libgeotiff).
cygport-postinst-hook.patch:
bin/cygport.in (__src_prep): (__src_postinst_hook_exec):
call unstable function src_postinst_hook if it is defined.
This can be useful if, for instance, the default docdir
usr/share/doc/${PN}-${PV} is not appropriate, and should
be "corrected" prior to packaging. See the rxvt-unicode-X
cygport for an example.
(main command parsing case statement) [postinst*]: call
__src_postinst_hook_exec after __src_postinst.
(main command parsing case statement) [inst*]: call
__src_postinst_hook_exec after __src_postinst.
(main command parsing case statement) [almostall, all]:
ditto, as part of __stage Installing.
cygport-custom-cmds.patch:
Adds new command line options:
custom-show display a list of all functions callable via customN-*
customN-* where * is the name of an function declared by cygport,
and N is a digit, 0..9, that indicates the number
of additional arguments to remove from the command line,
and pass to the target function as its arguments. That is,
custom0-__show_help
will call __show_help() with no arguments, while
custom1-error "an error message"
will call error() with "an error message" as its argument.
Try experimenting with:
customN-custom_dummy <arg1> <arg2> ... <argN>
Used in conjunction with the (separable) testsuites in the cvs
cygport.
cygport.in (custom_dummy): public N-ary function that prints
all N arguments to stdout. Used for demonstration purposes.
(__custom_dummy_core): private support function for
custom_dummy. N-ary function that simply all N arguments
to stdout.
(__show_help): add documentation for custom-show and customN-*
commands.
(main command parsing case statement) [custom-show]: add new
command. Shows all public functions available in the current
cygport that can be called using the customN-* command.
(main command parsing case statement) [customN-*]: add new
command(s).
--
Chuck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-custom-cmds.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080427/38a13572/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-cvs-topdir.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080427/38a13572/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygport-postinst-hook.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080427/38a13572/attachment-0002.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list