I would like to make a suggestion:

Since this is going to add complexity to the fink code (a lot of 
complexity, I might add :-) and we might choose this moment to upgrade 
the .info format.  This will need additional discussion, but I believe 
we have a mostly workable xml format decided (check the list archives).  
I am going to work on fixing up my little XML parser addition to fink so 
that we can do this.  I think that if we do this properly, we can add 
this and variants together with a maximum of shared code.

Create the default variant, then, if necessary, any other variants 
(ignoring variants prefixed by __ )by applying settings over the 
default's.  Then once the user has chosen which variant(s) to build and 
install, create an additional set of variants (again prefixed by __ ).  
Any such __variant would not be allowed to do certain things, and would 
inherit certain dependencies.  Then the package would be built, and the 
seperate __variant installscripts would be run.  Once finished, dpkg 
would be called several times (once for each __v ) to build the packages 
then one last time to install them all.

IMHO,
Kyle Moffett

On Wednesday, February 13, 2002, at 10:49 , David R. Morrison wrote:

> There are now 15 packages which have been converted to the new style of
> pkg and pkg-shlibs; I thank all of you for your contributions to this
> project.
>
> The next step in the project is to develop a system by which both pkg
> and pkg-shlibs will be created from a single .info file (through an
> extension to fink).  Max and I worked out a broad outline of this in
> a discussion here a few weeks ago.  I have created model .info files
> (and .patch files) for all 15 of these packages, and put them in a
> new directory in CVS, /dists/shlibs.  (This directory should be regarded
> as temporary, while we do testing and development of this extension
> to fink.)  There is a README file which describes the format, which
> I reproduce here:


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to