Author: mordante
Date: Sun Jul  6 14:20:54 2008
New Revision: 27775

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27775&view=rev
Log:
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.)

Modified:
    trunk/INSTALL
    trunk/changelog
    trunk/configure.ac
    trunk/src/Makefile.am

Modified: trunk/INSTALL
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/INSTALL?rev=27775&r1=27774&r2=27775&view=diff
==============================================================================
--- trunk/INSTALL (original)
+++ trunk/INSTALL Sun Jul  6 14:20:54 2008
@@ -10,14 +10,15 @@
 
 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

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=27775&r1=27774&r2=27775&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Sun Jul  6 14:20:54 2008
@@ -47,6 +47,7 @@
    * 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 @@
      (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:

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/configure.ac?rev=27775&r1=27774&r2=27775&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Sun Jul  6 14:20:54 2008
@@ -935,6 +935,18 @@
 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                                    #
 #######################################################################
 

Modified: trunk/src/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/Makefile.am?rev=27775&r1=27774&r2=27775&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Sun Jul  6 14:20:54 2008
@@ -164,7 +164,7 @@
        game.cpp \
        $(wesnoth_source)
        
-wesnoth_LDADD = $(INTERNALLIBS) $(THELIBS)
+wesnoth_LDADD = $(INTERNALLIBS) $(THELIBS) $(PANGO_LIBS)
 wesnoth_DEPENDENCIES=libwesnoth-core.a libwesnoth.a
 
 #############################################################################


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to