Skip to Content.
Sympa Menu

sm-commit - PERFORCE change 80332 by Andraž "ruskie" Levstik for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Perforce Review Daemon <p4review AT smee.org>
  • To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "vladimir_marek" <vlmarek AT volny.cz>
  • Subject: PERFORCE change 80332 by Andraž "ruskie" Levstik for review
  • Date: Wed, 7 Jun 2006 11:05:01 +0100 (BST)

Change 80332 by andraž_levstik AT omega.mages.ath.cx on 2006/06/07 11:01:52

Added the -modular checking stuff to all the other grimoires

Affected files ...

... //sgl/grimoires/games-devel/FUNCTIONS#2 edit
... //sgl/grimoires/games/ChangeLog#53 edit
... //sgl/grimoires/games/FUNCTIONS#21 edit
... //sgl/grimoires/z-rejected/ChangeLog#36 edit
... //sgl/grimoires/z-rejected/FUNCTIONS#10 edit

Differences ...

==== //sgl/grimoires/games-devel/FUNCTIONS#2 (xtext) ====

@@ -284,3 +284,30 @@
real_default_pre_install &&
games_create_base_dirs
}
+#
+## Function to check if we're using xorg-modular libs or not
+#
+
+function check_if_xorg_modular_libs()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-server"
]] ||
+ [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-libs"
]]
+ then
+ return 0
+ fi
+ return 1
+}
+
+#
+## Function to check if we're using xorg-modular server or not
+#
+
+function check_if_xorg_modular_server()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-server"
]] ||
+ then
+ return 0
+ fi
+ return 1
+}
+

==== //sgl/grimoires/games/ChangeLog#53 (text) ====

@@ -1,3 +1,6 @@
+2006-06-07 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * FUNCTIONS: added functions to check for xorg-modular stuff
+
2006-05-22 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* games-ggz: use the same FUNCTIONS file as games-libs


==== //sgl/grimoires/games/FUNCTIONS#21 (xtext) ====

@@ -219,3 +219,28 @@
CXXFLAGS=${CXXFLAGS/-DPIC}
fi
}
+#
+## Function to check if we're using xorg-modular libs or not
+#
+function check_if_xorg_modular_libs()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-server"
]] ||
+ [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-libs"
]]
+ then
+ return 0
+ fi
+ return 1
+}
+
+#
+## Function to check if we're using xorg-modular server or not
+#
+
+function check_if_xorg_modular_server()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" ==
"xorg-server" ]] ||
+ then
+ return 0
+ fi
+ return 1
+}

==== //sgl/grimoires/z-rejected/ChangeLog#36 (text) ====

@@ -1,3 +1,6 @@
+2006-06-07 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * FUNCTIONS: added functions to check for xorg-modular stuff
+
2006-04-18 Pieter Lenaerts <e-type AT sourcemage.org>
* z-editors/pico moved in from devel/editors


==== //sgl/grimoires/z-rejected/FUNCTIONS#10 (xtext) ====

@@ -443,3 +443,30 @@
CXXFLAGS=${CXXFLAGS/-DPIC}
fi
}
+#
+## Function to check if we're using xorg-modular libs or not
+#
+
+function check_if_xorg_modular_libs()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-server"
]] ||
+ [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-libs"
]]
+ then
+ return 0
+ fi
+ return 1
+}
+
+#
+## Function to check if we're using xorg-modular server or not
+#
+
+function check_if_xorg_modular_server()
+{
+ if [[ "$(get_spell_provider ${1:-$SPELL} X11-LIBS)" == "xorg-server"
]] ||
+ then
+ return 0
+ fi
+ return 1
+}
+



  • PERFORCE change 80332 by Andraž "ruskie" Levstik for review, Perforce Review Daemon, 06/07/2006

Archive powered by MHonArc 2.6.24.

Top of Page