Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22363

Added Files:
        wesnoth.info wesnoth.patch 
Log Message:
meant to commit a long time ago


--- NEW FILE: wesnoth.patch ---
--- wesnoth-1.8.5-orig/configure.ac     2010-09-24 10:37:41.000000000 -0700
+++ wesnoth-1.8.5/configure.ac  2010-10-22 15:08:14.000000000 -0700
@@ -755,6 +755,7 @@
 
 AC_LANG([C])
 AC_MSG_CHECKING([for PNG support in SDL_image])
+if test "x$enable_sdltest" = "xyes" ; then
 
 OLD_CPPFLAGS=$CPPFLAGS
 OLD_CFLAGS=$CFLAGS
@@ -789,11 +790,14 @@
        [AC_MSG_ERROR([*** Either your test image has vanished, or SDL_image 
has no PNG support!])],
        [AC_MSG_RESULT([not tested in cross-compiling])])
 
 CPPFLAGS=$OLD_CPPFLAGS
 CFLAGS=$OLD_CFLAGS
 LIBS=$OLD_LIBS
+else
+       AC_MSG_RESULT([test disabled])
+fi
 
 
 #######################################################################
 # Check for OGG support in SDL_mixer                                  #
 #######################################################################
--- wesnoth-1.8.6-orig/src/gui/auxiliary/event/dispatcher_private.hpp   
2013-08-09 15:05:49.000000000 -0700
+++ wesnoth-1.8.6/src/gui/auxiliary/event/dispatcher_private.hpp        
2013-08-09 15:07:41.000000000 -0700
@@ -319,9 +319,9 @@
                        // MSVC 2008 doesn't like operator() here so changed 
the name.
                        return functor.template oper<item>(event);
                } else {
-                       typedef typename boost::mpl::next<itor>::type itor;
-                       return find<boost::is_same<itor, end>::value>
-                               ::execute((itor*)0, (end*)0, event, functor);
+                       typedef typename boost::mpl::next<itor>::type itor2;
+                       return find<boost::is_same<itor2, end>::value>
+                               ::execute((itor2*)0, (end*)0, event, functor);
                }
     }
 };

--- NEW FILE: wesnoth.info ---
Package: wesnoth
Version: 1.8.6
Revision: 1
Description: Fantasy turn-based strategy game
GCC: 4.0
Source-MD5: f1c3179869b01b61e253e74aeb241034
Source: mirror:sourceforge:wesnoth/wesnoth-%v.tar.bz2
BuildDepends: <<
  autoconf2.6,
  automake1.11,
  sdl,
  sdl-mixer,
  sdl-image,
  sdl-ttf (>= 2.0.6-1017),
  sdl-net,
  sdl-sound,
  cairo,
  fribidi-dev,
  fribidi,
  glib2-dev,
  glitz,
  libpng14,
  lua51-dev (>= 5.1),
  lua51 (>= 5.1),
  freetype219,
  libiconv-dev,
  libgettext8-dev,
  gettext-tools,
  pango1-xft2-ft219-dev,
  boost1.41.cmake,
  fink (>= 0.24.12)
<<
Conflicts: wesnoth-devel, wesnoth-devel-campaign-server, wesnoth-devel-editor, 
wesnoth-devel-server, wesnoth-editor (<= 1.8.4)
Replaces: wesnoth-devel, wesnoth-devel-campaign-server, wesnoth-devel-editor, 
wesnoth-devel-server
Depends: <<
  sdl-mixer-shlibs,
  sdl-shlibs,
  sdl-image-shlibs,
  sdl-ttf-shlibs (>= 2.0.6-1017),
  sdl-net-shlibs,
  sdl-sound-shlibs,
  cairo-shlibs,
  fribidi-shlibs,
  glib2-shlibs,
  libpng14-shlibs,
  lua51-shlibs,
  freetype219-shlibs,
  libiconv,
  libgettext8-shlibs,
  pango1-xft2-ft219-shlibs,
  boost1.41.cmake-shlibs
<<
DocFiles: <<
  ABOUT-NLS
  COPYING
  copyright
  changelog
  players_changelog
<<
ConfigureParams: <<
  --with-libintl-prefix=%p \
  --enable-editor \
  --enable-tools \
  --enable-server \
  --enable-campaign-server \
  --disable-dependency-tracking \
  --without-x \
  --disable-sdltest \
  --with-server-gid=admin \
  --with-server-uid=root \
  --disable-python-install \
  --with-boost=%p \
  --disable-strict-compilation \
  
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
 \
  FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
<<
PatchFile: %n.patch
PatchFile-MD5: 360ae017ab6e4544a5dd67918062dba0
PatchScript: <<
  #!/bin/sh -ev
  %{default_script}
  perl -pi -e 's/-L. -l(wesnoth-core)/lib\1.a/' src/Makefile.am
  # darwin10: msgmerge is screwy, disabling backup avoids permissions issues
  file=po/Makefile.in.in
  sed -i.orig -e '/^MSGMERGE_UPDATE/s|$| --backup=off|' $file
  # x86_64: Carbon API not supported on 64b, conditionally mask out
  file=src/clipboard.cpp
  sed -i.orig -e '/^#ifdef.*__APPLE__/s|.*|#if defined(__APPLE__) \&\& 
\!__LP64__|' $file
  # libpng14 doesn't provide typecast NULL pointers anymore -- trivial patch
  file=src/tools/exploder_utils.cpp
  sed -i.orig -e '/png_voidp_NULL/s|reinterpret_cast|static_cast|' \
        -e 's|png_voidp_NULL|NULL|' \
        -e 's|png_error_ptr_NULL|png_error_ptr(NULL)|g' $file
  sed -i.orig 's|register_vector_property|this->&|g' src/ai/composite/aspect.hpp
  # remove -ansi flag for clang
  darwin_vers=`uname -r | cut -d. -f1`
  test "$darwin_vers" -lt 11 || sed -i.orig -e 's| -ansi||g' configure.ac
<<
CompileScript: <<
  #!/bin/sh -ev
  # configure and Makefile.in aren't distributed with this release, hmmm...
  # oddly, configure is folded into the last line of autogen.sh
  ./autogen.sh %c
  make -k
<<
InstallScript: <<
  make install DESTDIR=%d
  mkdir %i/etc
  touch %i/etc/wesnothd.conf
<<
DescDetail: <<
Battle for Wesnoth is a fantasy turn-based strategy game.
Battle for control of villages, using variety of units 
which have advantages and disadvantages in different types 
of terrains and against different types of attacks. Units 
gain experience and advance levels, and are carried over 
from one scenario to the next.

Features:

* Build a Hero, and lead your army.

* Different races, with distinctive abilities, weapons and spells.

* GNU/Linux, Windows, MacOSX, BeOS, Solaris, FreeBSD and 
  OpenBSD compatible.

The purpose of this package is to track the latest development version of
wesnoth.  The package `wesnoth' tracks the stable branch.      

See %p/share/doc/wesnoth/changelog to find out what's new; the
player's changelog (%p/share/doc/wesnoth/players_changelog) shows
what's new from a player's perspective.
<<
DescPackaging: <<
 dmacks added --disable-sdltest and patched support for it in all
 SDL_* tests so that can build on GUI-less machine.
  dmacks hacked around under-use of libtool in Makefile in order to
 assure that local convenince libs are used in preference to
  installed ones of the same name.
 fang...@users.sourceforge.net is helping maintain.
 bumped libpng3 to libpng14 (1.8.5-2)
<<
License: GPL
Maintainer: Jesse Alama <al...@stanford.edu>
Homepage: http://www.wesnoth.org/
SplitOff: <<
  Package: wesnoth-server
  Description: Battle for Wesnoth multiplayer network daemon
  Depends: %N, daemonic
  Files: <<
    bin/wesnothd:sbin/wesnothd
    etc/wesnothd.conf
    share/man/de/man6/wesnothd.6
    share/man/man6/wesnothd.6 
<<
  ConfFiles: %p/etc/wesnothd.conf
  DaemonicName: wesnothd
  DaemonicFile: <<
<service>
        <description>
                Battle for Wesnoth Multiplayer Server
        </description>
        <message>
                Starting Battle for Wesnoth Multiplayer Server
        </message>
        <daemon name="wesnothd">
                <executable background="true">%p/sbin/wesnothd</executable>
                <parameters>-c %p/etc/wesnothd.conf -d</parameters>
                <configfile>%p/etc/wesnothd.conf</configfile>
        </daemon>
</service>
<<
  PreRmScript: <<
if [ $1 != "upgrade" ]; then
  daemonic remove wesnothd
fi
<<
  PostInstScript: <<
daemonic install wesnothd  
<<
DescUsage: <<
To create a startupitem that starts the wesnoth daemon after restart,
just run, as root, the command 'daemonic enable wesnothd'. To remove
the wesnothd startupitem just run, again as root, the command
'daemonic disable wesnothd'.
<<
<<

SplitOff2: <<
  Package: wesnoth-campaign-server
  Conflicts: wesnoth-campaign-server (>= 1.2.3)
  Replaces: wesnoth-campaign-server (>= 1.2.3)
  Description: Battle for Wesnoth campaign server
  Files: bin/campaignd:sbin/campaignd
<<


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to