[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFC: flavored provides, i.e. emacs25ish



Right now a tool like dh-elpa, which needs a "viable" flavor of emacsXY
at build time has to do something like this:

  Depends: ... emacs24-nox | emacs24 | emacs24-lucid ...

and if emacs24 ends up staying in stretch, that becomes:

  Depends: ... emacs25-nox | emacs25 | emacs25-lucid
               | emacs24-nox | emacs24 | emacs24-lucid ...

which is immediately incorrect if/when we add a new flavor (say the
emacsXY-min that's been proposed).

So I'm contemplating adding a new provides to all of the Emacs binary
packages (e.g. to emacsXY, emacsXY-nox, and emacsXY-lucid).  For now,
let's call it emacsXYish, and given that, dh-elpa's deps would become:

  Depends: ... emacs25ish | emacs24ish ...

Assuming this is even a good idea, I'd be happy to entertain alternate
names.

And note that this provides would not cross the emacs/xemacs boundary,
i.e. if xemacs wanted to participate, it would provide xemacs25ish, etc.

Though for the moment, we don't need a provides that encompasses both.
If we ever do, it would likely be emacsen25ish, or similar.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


Reply to: