sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: "Andraž \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] splitting cvs spells
- Date: Sat, 7 Oct 2006 13:48:10 +0200
Alexander Tsamutali wrote :
> > 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
>
in FUNCTIONS:
version_depends{
if [[ $(installed_version $1) -lt $2 ]]; then
force_depends $1
fi
}
Then in depends:
.. $GRIMOIRE/FUNCTION
depends gtk+2
version_depends gtk+2 2.8.20
This should be all that's needed probable the -lt check needs to be
improved though...
> 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! :-)
>
I belive it was decided long ago that versioning would not supported
other than the multi_version spells.
There was a time when I was thinking of having such versioning as well
since then I found that it's really really a useless thing.
> --
> Alexander Tsamutali
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
>
--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker
Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.
Key id = A7A9E461
Key fingerprint = 757E C16B F5B7 DC27 B003 CCED CF95 3A77 A7A9 E461
-
Re: [SM-Discuss] splitting cvs spells
, (continued)
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
- Re: [SM-Discuss] splitting cvs spells, Andraž "ruskie" Levstik, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Andrew, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Andraž "ruskie" Levstik, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Andrew, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Alexander Tsamutali, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Flavien Bridault, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Andrew, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Andraž "ruskie" Levstik, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Jeremy Blosser, 10/10/2006
-
Re: [SM-Discuss] splitting cvs spells,
Andrew, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Andrew, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Alexander Tsamutali, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Andrew, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Alexander Tsamutali, 10/07/2006
- Re: [SM-Discuss] splitting cvs spells, Andrew, 10/08/2006
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Andraž "ruskie" Levstik, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
-
Re: [SM-Discuss] splitting cvs spells,
Alexander Tsamutali, 10/06/2006
- Re: [SM-Discuss] splitting cvs spells, Andraž "ruskie" Levstik, 10/07/2006
Archive powered by MHonArc 2.6.24.