On Fri, 25 Feb 2011 21:01:11 -0500, Jonathan Yu wrote: > > I'd prefer to have the rules written down before using them; could > > you provide the wording as a patch to policy.pod? > Certainly: Thanks for your work! > +=head1 Package Naming Policy General side remark: maybe add a reference to Debian Perl Policy "4.2 Module Package Names" somewhere? > +=head2 Libraries > + > +Suppose there is a hypothetical package called I<Widget::Factory>, which is > +a library that exposes an interface for other Perl programs. This package > +also contains a well-known application called I<widgetmaker>. In this case, > +we should: > + > +=over 4 > + > +=item 1. > + > +Have a source package called I<libwidget-factory-perl> > + > +=item 2. > + > +Produce a single binary package: B<libwidget-factory-perl> > + > +=item 3. > + > +Set up the B<libwidget-factory-perl> binary package so that it also: > + > + Provides: widgetmaker > + > +=back > + > +Some consideration is required when there are reverse dependencies on the > +application component of a package, since a virtual package (via Provides) > +will not allow for a version dependency to be specified. In this case, we > +can opt instead to: > + > +=over 4 > + > +=item 1. > + > +Produce a source package called I<libwidget-factory-perl> > + > +=item 2. > + > +Produce two binary packages: B<libwidget-factory-perl> and B<widgetmaker> > + > +=back Hm. I have to admit I'm not entirely happy with this wording; what I'm missing is some kind of rule when to choose option lib+provides and when lib+app. (Besides that there won't be any rdeps for the virtual package until we add a Provides :)) Maybe it boils down to "use common sense to decide between the two options" but something that leads to more predictability might be nice. -- But maybe it's just me ... Cheers, gregor -- .''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Rolling Stones: Nexttoyou
Attachment:
signature.asc
Description: Digital signature