annotate build/linux2-config.py @ 697:ecaa4d98f05f tip

Abstracted the GUI code and refactored the GUIChan-specific code into its own module. * Most of the GUIChan code has been refactored into its own gui/guichan module. However, references to the GuiFont class still persist in the Engine and GuiManager code and these will need further refactoring. * GuiManager is now an abstract base class which specific implementations (e.g. GUIChan) should subclass. * The GUIChan GUI code is now a concrete implementation of GuiManager, most of which is in the new GuiChanGuiManager class. * The GUI code in the Console class has been refactored out of the Console and into the GUIChan module as its own GuiChanConsoleWidget class. The rest of the Console class related to executing commands was left largely unchanged. * Existing client code may need to downcast the GuiManager pointer received from FIFE::Engine::getGuiManager() to GuiChanGuiManager, since not all functionality is represented in the GuiManager abstract base class. Python client code can use the new GuiChanGuiManager.castTo static method for this purpose.
author M. George Hansen <technopolitica@gmail.com>
date Sat, 18 Jun 2011 00:28:40 -1000
parents be625cdff350
children
rev   line source
692
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
1 # -*- coding: utf-8 -*-
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
2
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
3 # ####################################################################
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
4 # Copyright (C) 2005-2010 by the FIFE team
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
5 # http://www.fifengine.net
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
6 # This file is part of FIFE.
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
7 #
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
8 # FIFE is free software; you can redistribute it and/or
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
9 # modify it under the terms of the GNU Lesser General Public
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
10 # License as published by the Free Software Foundation; either
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
11 # version 2.1 of the License, or (at your option) any later version.
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
12 #
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
13 # This library is distributed in the hope that it will be useful,
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
16 # Lesser General Public License for more details.
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
17 #
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
18 # You should have received a copy of the GNU Lesser General Public
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
19 # License along with this library; if not, write to the
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
20 # Free Software Foundation, Inc.,
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
21 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
22 # ####################################################################
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
23
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
24 import sys
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
25 import os
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
26 import platform
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
27
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
28 pythonversion = 'python' + str(os.sys.version_info[0]) + '.' + str(os.sys.version_info[1])
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
29
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
30 def initEnvironment(env):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
31
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
32 rootpath = env.Dir('#.').srcnode().abspath
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
33 extincludepath = os.path.join(rootpath, 'ext', 'install', 'include')
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
34 extlibpath = os.path.join(rootpath, 'ext', 'install', 'lib')
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
35
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
36 env.Append(CPPPATH = [os.path.join('/', 'opt', 'include'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
37 os.path.join('/', 'usr', 'include', 'vorbis'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
38 os.path.join('/', 'usr', 'include', 'SDL'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
39 os.path.join('/', 'usr', 'include', pythonversion),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
40 extincludepath])
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
41
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
42 env.Append(LIBPATH = [os.path.join('/', 'opt', 'lib'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
43 extlibpath])
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
44
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
45 env.AppendENVPath('LD_RUN_PATH', os.path.join('..', '..', '..', extlibpath))
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
46
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
47 env.AppendUnique(CXXFLAGS=["-DPNG_SKIP_SETJMP_CHECK"])
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
48
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
49 return env
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
50
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
51 def addExtras(env, opengl):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
52 env.Append(LIBS = pythonversion)
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
53
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
54 if opengl:
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
55 env.Append(LIBS = ['stdc++', 'GL', 'GLU'])
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
56 env.Append(LIBPATH = os.path.join('/', 'usr', 'X11R6', 'lib'))
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
57
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
58 return env
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
59
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
60 def getRequiredHeaders(opengl):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
61 return None
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
62
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
63 def getRequiredLibs(opengl):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
64 # libs is a list of tuples that have the form:
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
65 # (libname, headers)
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
66 # libname - may be a single library or a tuple of libraries
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
67 # headers - may be a single header or a list of headers
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
68 #
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
69 # This list is somewhat order dependent
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
70 # guichan_sdl - depends on at least the SDL libs and guichan prior in the list
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
71 # guichan_opengl - depends on at least guichan prior in the list
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
72 libs = [('vorbisfile', 'vorbisfile.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
73 ('openal', 'AL/al.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
74 ('SDL', 'SDL.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
75 ('SDL_ttf', 'SDL_ttf.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
76 ('SDL_image', 'SDL_image.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
77 ('guichan', 'guichan.hpp'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
78 ('guichan_sdl', ''),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
79 ('boost_system', ''),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
80 (('boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41', 'boost_filesystem-mt', 'libboost_filesystem-mt'), 'boost/filesystem.hpp'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
81 (('boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41', 'boost_regex-mt', 'libboost_regex-mt'), 'boost/regex.hpp'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
82 ('png', 'png.h'),
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
83 ('Xcursor', '')]
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
84
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
85 if (opengl):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
86 libs.append(('guichan_opengl', ''))
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
87
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
88 return libs
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
89
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
90 def getOptionalLibs(opengl):
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
91 return None
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
92
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
93 # vim: set filetype=python:
be625cdff350 This commit is to back port a fix in 0.3.3 dev branch to the current trunk. Adding boost_system as a required dependency as boost_filesystem is dependent on it. On linux distros with newer versions of gcc FIFE is failing to configure properly without boost_system in the lib list. [t:540]
vtchill@33b003aa-7bff-0310-803a-e67f0ece8222
parents: 681
diff changeset
94