Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] splitting cvs spells

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Alexander Tsamutali <astsmtl AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] splitting cvs spells
  • Date: Sat, 07 Oct 2006 14:12:53 +0500

> The force_depends would be conditional upon the gtk+ version. So it
> wouldn't force recompilation unless the version is different. "version
> is different" of course could be defined as "major version bump" so
> minor version bumps would not force recompilation. Spells have a pretty
> wide range of freedom over how they use an interface. Please consider
> the possibilities more carefully.

You mean something like:

depends gtk+2
if installed_version gtk+2 <= 2.16 ; then
force_depends gtk+2
fi

Yes that is what i want, but IMHO it would be better to put this code
into sorcery, not in spell.

> Please explain what exactly you want sorcery to do, and how that
> functionality is not currently possible _in_any_way_ with existing
> interfaces sorcery already provides to spells.

I found this draft:
http://wiki.sourcemage.org/Versioning
That is exactly what i want! :-)

--
Alexander Tsamutali




Archive powered by MHonArc 2.6.24.

Top of Page