Categories and basic dependency handling for setup

Robert Collins robert.collins@itdomain.com.au
Tue Jun 12 23:38:00 GMT 2001


This supercedes my prior patch. (laziness here - diff against cvs is
much nicer than forking my sandbox between patches.)

2001-06-13 16:27:00 Robert Collins <rbtcollins@hotmail.com

	* choose.cc: Add "Category" header.
	(paint): Render the category.
	(best_trust): Don't trust non required packages. No category is
considered required. Ignore categories when the ignore_required
parameter is set.
	(create_listview): Calculate "Category" column.
	(do_choose): Log package category.
	(add_required): Ensure that all packages that are required for
package p will be installed.
	(list_click): Use add_required().
	(dialog_cmd): Check add_required() for all packages.
	* ini.h (Package): Add category field.
	(Dependency): New type for storing dependency data.
	(new_requirement): Prototype for function to add a requirement
dependency.
	* inilex.l: Add "category" and "requires" keywords.
	* iniparse.y: Grab category.
	(new_requirement): Add a required package into the required
dependency list for the current package.

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depends.patch
Type: text/x-diff
Size: 11886 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010612/233cf493/attachment.bin>


More information about the Cygwin-patches mailing list