debian/control cleanup

James Vega jamessan at jamessan.com
Fri Mar 24 22:55:57 UTC 2006


On Fri, Mar 24, 2006 at 01:57:56PM -0500, Stefano Zacchiroli wrote:
> On Fri, Mar 24, 2006 at 01:25:30PM -0500, James Vega wrote:
> > 3) vim-common Recommends 'vim | vim-tiny'.  Would it make more sense to
> >    have it Recommend all of the vim variants and for vim-gui-common to
> >    only Recommend the gui variants?
> 
> I remember I implemented that change in the past, before vim-gui-common
> existed, but either I never committed it or it get lost during some
> change ... Another way to say that I agree :-)
> I'm assuming that with "all of the vim variants" you mean "|"-separated
> list of them.

Yup.

> BTW, I don't know how aptitude threat the order in the Recommend field.
> It if care about it, I would go for the same order we use in the
> alternatives priority (i.e. more featureful versions of vim later).

Since it's an OR'ed list, the first package is automatically marked to
be installed (if the option for automatically installing Recommended
packages is set).  Otherwise, it just lists all the Recommended
packages.

> > I've fixed a lot of the alternatives problems I mentioned in my
> > previous email.  Once I get that done, I'll start backporting the
> > changes to our vim6 package.
> 
> Could you please briefly comment on how you solved the alternatives
> problem?

Only the manpages that other packages provide alternatives for (vi, ex,
editor, and view) are handled by alternatives.  The rest are installed
in vim-common and vim-gui-common.  This very much reduces the complexity
of the alternatives handling we have to do (and may be more inline with
how alternatives were initially handled).  Also, all alternatives link
to the variant binary instead of having only the vim alternative link to
the variant binary and all the other alternatives link to the vim
alternative.

I'll be committing things shortly, so you'll be able to see what's
changed if my explanation wasn't clear enough.  :)

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at jamessan.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 199 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060324/c652c773/attachment.pgp


More information about the pkg-vim-maintainers mailing list