Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Xorg-modular

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Xorg-modular
  • Date: Wed, 24 May 2006 14:59:32 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 24 May 2006, Jeremy A. Kolb wrote:
On Wed, 24 May 2006, Eric Sandall wrote:
<snip>
What should do it for us? You're not expected to change providers
often (xfree86 -> xorg being an example). What shouldn't prompt every
time you cast a spell? If you mean asking what should provide FOO,
then it does ask every time, but defaults to what has already been
chosen for FOO further up the chain or is already installed or the
first on the list if none of the above (unless you used `sorcery
default add` to set it ;)).

What does 'sorcery default add' do? sorcery --help didn't give me a very
clear description. Maybe it's what I want.

You can add defaults for optional dependencies and providers (e.g. I
always turn linux-pam and arts off and set xorg as the provider of
X11-LIBS, X11-SERVER, and OPENGL, and enable all optional dependencies
on alsa-libs, gtk+2, and openssl).

What I meant was that when you cast a spell that has previously had it's
optional dependencies chosen it prompts you if you would like to continue
using what you selected. Since this rarely ever changes it should only
need to come up the first time you cast the spell, use cast -r, or when
the optional dependency isn't installed.

The problem is that if you cast
xorg-server and something else casts that has an optional depends on xorg
and you aren't there to watch everything scroll by you will miss it and
xorg will be installed which can stomp xorg-modular (this happened to me a
few weeks ago). So maybe in the case where xorg-server has been installed
and xorg has been uninstalled anything that optionally depended upon xorg
should then depend on xorg-server since it's the only spell that fills
that PROVIDES.

That's what `cleanse --prune doit` does...

- -sandalle

- --
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEdNdHHXt9dKjv3WERArpRAJ9c9UPdDrRF03qJzC6S+c9ou1BUSQCgvMkZ
13ord4lK+Dt5swNUHLGoOkM=
=aDVF
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page