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

Re: Library depending on -data packages



On Mon, 21 Mar 2011 at 12:10:16 -0500, Jonathan Nieder wrote:
> Simon McVittie wrote:
> > The existence of openarena-data is an implementation detail of openarena,
> > so it has this relationship:
> >
> >        /--->--- Depends -->---\
> >     openarena           openarena-data
> >        \---<-- Recommends --<--/

(It's actually a recommendation of openarena|openarena-server, with >=
versioning, but that's probably not important here.)

> That Recommends should be an Enhances.  openarena-data continues to provide
> OpenArena game data, regardless of whether openarena is installed (unless I
> am missing something, ianal, etc etc).

openarena crashes on startup unless you have openarena-data, so, Depends
in that direction. You can't play the game as intended without the
levels/models/textures.

In my opinion, installations of openarena-data should have the OA launcher
scripts and engine, client and/or server, "in all but unusual situations" -
in principle I might want to install openarena-data just so I can look at it,
but in practice I probably want to play (or serve) the game? Or are you saying
that things with special::auto-inst-parts should never have even a weakened
dependency on the package of which they're an implementation detail?

If the Recommends was an Enhances, it'd seem rather redundant, since Enhances
is a "reverse Suggests", openarena already Depends on openarena-data and
Depends is stronger than Suggests?

In situations where the data and the engine have a many-to-many relationship
(the various Doom engines, each of which can play Doom, Doom II, FreeDoom or
FreeDM), I agree that that Recommends might be too strong.

    S


Reply to: