Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] dispel of optional dependencies

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jaka Kranjc <lynx AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] dispel of optional dependencies
  • Date: Wed, 18 Apr 2007 18:12:49 +0200

On Wednesday 18 of April 2007 17:30:46 Eric Sandall wrote:
> On Wednesday 18 April 2007 05:09:06 Treeve Jelbert wrote:
> > if spell A has a optional dependency on B, and a TRIGGER
> > 'on_dispel B check_self'
> >
> > the dispel of B then finds problems with A, and tries to recast both B
> > and A.
> >
> > Is there anyway to remove or change the optional dependency so that
> > cast_self does not try to recast B?
>
> cast_self should recast A without B enabled. check_self will see that A was
> last built with B enabled and that B is no longer available and will try to
> fix it.
>
> I believe using --user-deps when dispelling packages like this will fix
> this problem, or change the check_self to a cast_self, but that just works
> around the problem.
>
> -sandalle
Are you sure the installed state has precedence over the last user choice? I
don't think so, I even dispelled librsvg2 then recast vlc and librsvg2
remained an enabled optional, getting queued later on.

If I misread it and you were speaking hipothetically about the future
solution, then what about the problem I mentioned in my mail?

--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: pgpduDNVVfgmF.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page