Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (321ae4a9af4a214510d1a4f22d5f1f7a09cae17c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: flux <flux AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (321ae4a9af4a214510d1a4f22d5f1f7a09cae17c)
  • Date: Tue, 20 Jul 2010 10:24:59 +0900

Andraž 'ruskie' Levstik (ruskie AT codemages.net) wrote [10.07.18 15:13]:
<snip>
> > -depends ncurses "--with-system-ncurses --with-ncurses-libdir=/lib
> > --with-ncurses-include=/usr/include" &&
>
> Dependencies should be explicit not implicit.
>
> > -depends texinfo '--without-texinfo' &&
>
> Dependencies should be explicit not implicit.
</snip>

With regards the statement "dependencies should be explicit not
implicit", to an extent, yes. However, there is a point where explicit
dependencies are unneeded and, in some cases, even a bad idea.

For example, we have very few spells (except for the basesystem profile
spell) which explicitly depend on glibc, gcc, etc., yet in reality all
spells depend on them (at least until we have the option for alternative
compilers and libcs). As ncurses is also a requirement for sorcery
(basesystem), is it necessary that ncurses be an explicit dependency?
I'm not arguing that it shouldn't, just trying to point out that this is
actually a point of confusion, and perhaps we should have some
documentation which makes it clear what spells (if any) can be
implicitly depended upon, and under what circumstances.

In the case of depending on a compiler (like gcc), I don't think that
makes sense on a source-based distro unless a spell really depends on a
specific compiler (like it works only with gcc due to gcc extensions or
something similar).

--
Justin "flux_control" Boffemmyer
Cauldron wizard and general mage
Source Mage GNU/Linux
http://www.sourcemage.org

Attachment: pgpSIDMzlWXKV.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page