sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] Circular dependencies between spells
- From: Jaka Kranjc <jakakranjc AT email.si>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Circular dependencies between spells
- Date: Tue, 26 Aug 2008 11:07:19 +0200
On Tuesday 26 of August 2008 03:27:31 Robin Cook wrote:
> > This can easily be bypassed in the spells themselves...
> >
> > if spell_installed glib2 ; then optional_depends glib2
> > fi
>
> But it still doesn't solve the issue where the user wants the pkgconfig
> to use glib2 so it needs the second cast to build it against the glib2.
The first thing that comes to mind:
1. ask the user if he wants the optional depends via a normal config_query
2a. if he said no, there is no problem
2b. else if glib2 is installed, give him the optional depends
2c. if it isn't, no option, but setup a trigger. Since a reconfigure would be
needed, the script trigger would need to be used (think the recent linux-pam
one)
If we did part of that in a grimoire function, we could get away with uglier
hacks. I don't want people doing them by themselves.
LP
Attachment:
signature.asc
Description: This is a digitally signed message part.
-
[SM-Discuss] Circular dependencies between spells,
Fredrik Carlström, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Robin Cook, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Thomas Orgis, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/26/2008
- Re: [SM-Discuss] Circular dependencies between spells, Thomas Orgis, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Thomas Orgis, 08/26/2008
- Re: [SM-Discuss] Circular dependencies between spells, Jaka Kranjc, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Robin Cook, 08/25/2008
- Re: [SM-Discuss] Circular dependencies between spells, Andraž 'ruskie' Levstik, 08/25/2008
- Re: [SM-Discuss] Circular dependencies between spells, Andraž 'ruskie' Levstik, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
David Kowis, 08/25/2008
- Re: [SM-Discuss] Circular dependencies between spells, flux, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Juan Carlos Torres, 08/25/2008
- Re: [SM-Discuss] Circular dependencies between spells, Andraž 'ruskie' Levstik, 08/26/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
David Kowis, 08/25/2008
-
Re: [SM-Discuss] Circular dependencies between spells,
Andraž 'ruskie' Levstik, 08/25/2008
Archive powered by MHonArc 2.6.24.