Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] xorg-modular check for X11-LIBS

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andraž \"ruskie\" Levstik" <ruskie AT mages.ath.cx>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] xorg-modular check for X11-LIBS
  • Date: Wed, 7 Jun 2006 12:03:44 +0200

OK I've added 2 functions to the FUNCTIONS file which should be
used for checking this from now on.

They are:
check_if_xorg_modular_libs [spellname]
check_if_xorg_modular_server [spellname]

The optional parameter is when a spell needs to check what a diff
spell depends on it it'll default to using $SPELL in case of no
parameter.

These two functions sholud be now used in all the spells that need
to do any such checking.
.. $GRIMOIRE/FUNCTIONS &&
if [[ check_if_xorg_modular_libs ]]; then
add whatever is needed here
fi

or
.. $GRIMOIRE/FUNCTIONS &&
if [[ check_if_xorg_modular_libs sdl ]]; then
add whatever is needed here
fi

This will ensure that we can add//remove/change stuff without
impacting each and every spell that has the check.

I ask that all the ppl that are working on this to use these two functions
and also convert all the old checks.

--
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





Archive powered by MHonArc 2.6.24.

Top of Page