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

Re: RFC: flavored provides, i.e. emacs25ish



On 2016-11-01 17:36 -0500, Rob Browning wrote:

> Sven Joachim <svenjoac@gmx.de> writes:
>
>> I have. ;-)
>>
>> ,----
>> | $ apt-cache show emacs25-nox | grep ^Provides:
>> | Provides: editor, emacs25, emacsen, info-browser, mail-reader, news-reader
>> `----
>
> Heh, well that's a touch embarrassing.
>
> Perhaps I was remembering something that's long been obviated, or just
> misremebering entirely.
>
> Oh, maybe I was just conflating the rule (there was one, right?) that
> prevented a binary package from replacing a virtual package (i.e. we had
> to wait for a while before we could have emacs-defaults provide an emacs
> package).
>
> Regardless, it sounds like maybe dh-elpa can just depend on emacs25 and
> forget about it?  I'm guessing any variant should be fine for its
> build-time needs.

It should probably use the -nox flavor as first preferred alternative,
since otherwise apt will install the real emacs25 package with all its
additional dependencies which you want to avoid in a build chroot.

Cheers,
       Sven


Reply to: