Re: How to write emacs dependency ?
On Wed, Nov 11, 2009 at 06:51:01PM +0100, Sven Joachim wrote:
> On 2009-11-11 16:43 +0100, Christoph Egger wrote:
> > Depends: emacs21 | emacs22 | emacs23 | xemacs21,
> > gnus | emacs22 | emacs23 | xemacs21
> This does not give you any guarantee that somebody trying to run darcsum
> on emacs21 has the gnus package installed.
It does, let's say you have emacs21 installed but not gnus.
The first clause matches emacs21, so its satisfied.
The second, nothing matches, so you have an unmet dependency.
For instances off emacs22, emacs23 and xemacs21 then whatever is
installed meets both clauses.
> How about simply dropping support for emacs21? It's an obsolete Emacs
> flavor version that has been removed from sid already.
That is possibly the better idea in that case.
Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/ Debian GNU/Linux, software should be Free