[...] >3) File format to represent splitoffs >------------------------------------- > >A slightly extend version of my original demo. Note that the >Splitoff: field is nonstandard since it mixes the single & multi >line formats.
Peter just suggested how we can do it nicely in a compatible fashion, and even get more flexible. I like his idea: just allow additional "Package" fields inside of splitoff. The other thing is, since we are building splitoffs "at once" anyway, we should probably automatically add the "(= %v-%r)" whenever a splitoff depends on another splitoff or the master. Finally, of course all fields not specified are "inherited" from the master inside splitoffs where it makes sense. This includes Version, Revision, License, Maintainer, Homepage etc. Also maybe DocFiles. Note that Depends/Conflicts/etc. fields (anything related to dependencies) will *not* be inherited as of now. If you think this should be different, say so (with reasons :) Applying all this, the example becomes: Package: foo Version: 1.2.3 Revision: 1 Maintainer: Me Myself <[EMAIL PROTECTED]> Depends: %n-shlibs, bar-shlibs BuildDepends: bar Recommends: %n-bin, %n-docs Source: http://www.example.com/%n-%v.tar.gz SplitOff: << Package: %n-bin Files: %i/bin/* Depends: %n-shlibs Recommends: %n-docs Description: Additional binaries for foo << SplitOff: << Package: %n-shlibs Files: %i/lib/libfoo*.dylib Shlibs: libfoo 1 foo Recommends: %n-bin, %n-docs Description: Shared libraries provided by foo << SplitOff: << Package: %n-docs Files: %i/share/mystuff/* DocFiles: doc/LICENSE doc/README Recommends: %n-bin, %n-shlibs Description: Documentation for foo << DocFiles: LICENSE README Description: Grafels any blorg-barfer known to mankind. License: Funky License Homepage: http://www.example.com Cheers, Max -- ----------------------------------------------- Max Horn Software Developer email: <mailto:[EMAIL PROTECTED]> phone: (+49) 6151-494890 _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel