Added the pango dependency.

I'm not sure yet what will be the minimum required version so I used
1.14.8 as shipped with Debian Etch as minimum.  The library isn't used
yet but will be soon. Only added autotools support.

(Also some minor tab->spaces changes in the changelog.)
This commit is contained in:
Mark de Wever 2008-07-06 12:20:54 +00:00
parent b810815212
commit 221196c43c
4 changed files with 20 additions and 6 deletions

View file

@ -10,14 +10,15 @@ Contents:
You'll need to have these libraries (with equivalent devel versions) to build Wesnoth:
boost_iostreams >= 1.33.0
boost_regex >= 1.33.0
libpango >= 1.14.8
libsdl >= 1.2.7
libsdl-image >= 1.2 (with png support)
libsdl-mixer >= 1.2 (with Vorbis support)
libsdl-net
libsdl-ttf >= 2.0.8
libz
boost_iostreams >= 1.33.0
boost_regex >= 1.33.0
There are currently three ways to build wesnoth:
* The old autotools system

View file

@ -47,6 +47,7 @@ Version 1.5.1+svn:
* Missing images are now replaced by a "men-at-work" sign (in debug-mode)
* Better pathfinding: now always prefer straight path and is also more
stable between little mouse's moves.
* added the pango dependency
* Python AI
* get_variable now allows a default value to be passed to the call. If the
key is not found, the default value is returned. This is fully backward
@ -71,14 +72,14 @@ Version 1.5.1+svn:
(memoize pattern) and psyco to speed execution. It uses the new UNSAFE_WPY
tag and is not selectable unless "Only Run Safe Python AIs" is disabled.
This version of bruteforce runs 1x-14x FASTER than the stock python AI;
*heavily* dependent on the map and number of units involved.
*heavily* dependent on the map and number of units involved.
* Per the python API documentation, many functions now return boolean values rather
than ints. Minor modernization effort to use new C-API macros provided via
python 2.4+. This change is fully backward compatible for scripts which properly
treat the return value as a boolean.
* Initial wail directory checkin. It's only a teaser at this point. ;)
* bruteforce_wail.py has been added - showing how easy it is to move a
well writen bot from the wesnoth module to the wail module.
* bruteforce_wail.py has been added - showing how easy it is to move a
well writen bot from the wesnoth module to the wail module.
Version 1.5.1:
* campaigns:

View file

@ -934,6 +934,18 @@ m4_pattern_allow([^BOOST_TEST_DYN_LINK$])
AM_CONDITIONAL([BOOST_TEST_DYN_LINK], [test x"$boost_test_dyn_link" = xyes])
#######################################################################
# Pango support #
#######################################################################
if test "x$game" = "xyes"; then
PKG_CHECK_MODULES(PANGO, pango >= 1.14.8)
CPPFLAGS="$CPPFLAGS $PANGO_CFLAGS"
fi
#######################################################################
# Tune gettext stuff for our needs #
#######################################################################

View file

@ -164,7 +164,7 @@ wesnoth_SOURCES = \
game.cpp \
$(wesnoth_source)
wesnoth_LDADD = $(INTERNALLIBS) $(THELIBS)
wesnoth_LDADD = $(INTERNALLIBS) $(THELIBS) $(PANGO_LIBS)
wesnoth_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
#############################################################################