Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/games
In directory vz-cvs-3.sog:/tmp/cvs-serv7531/games
Added Files:
boswars.info warmux-maps.info warmux.info warmux.patch
Log Message:
to 10.7 with now working SDL
--- NEW FILE: warmux-maps.info ---
Package: warmux-maps
Version: 20100501
Revision: 1
Description: Extra maps for WarMUX
License: GPL
Maintainer: Hanspeter Niederstrasser <[email protected]>
Source: http://download.gna.org/warmux/Wormux-BonusMaps-%v.tar.gz
NoSourceDirectory: true
Source-MD5: c6c969dbe3dabdef95fb3a99bb6bbeda
Enhances: warmux (>= 11.01-1)
CompileScript: /usr/bin/true
InstallScript: <<
#!/bin/sh -ev
/bin/mkdir -p %i/share/warmux/map
/usr/bin/find . -type d \! -name "." -print0 | /usr/bin/xargs -J %% -0
/bin/cp -R %% %i/share/warmux/map
### cairo map dir doesn't have proper permissions set
chmod 755 %i/share/warmux/map/cairo
### config.xml files with +x incorrectly set
chmod 644
%i/share/warmux/map/{cairo,christmas,gruyere,minersmayhem}/config.xml
### urbanheights is now included in warmux package
/bin/rm -r %i/share/warmux/map/urbanheights
<<
DocFiles: README
Homepage: http://www.wormux.org/
DescDetail: Extra community-painted maps for WarMUX
--- NEW FILE: warmux.patch ---
diff -ruN -U 8 warmux-11.04-orig/src/game/config.cpp
warmux-11.04/src/game/config.cpp
--- warmux-11.04-orig/src/game/config.cpp 2011-04-18 16:43:40.000000000
-0400
+++ warmux-11.04/src/game/config.cpp 2011-04-30 11:07:29.000000000 -0400
@@ -199,16 +199,17 @@
#else //Neither WIN32, ANDROID or __APPLE__
data_dir = GetEnv(Constants::ENV_DATADIR, INSTALL_DATADIR);
# ifdef ENABLE_NLS
locale_dir = GetEnv(Constants::ENV_LOCALEDIR, INSTALL_LOCALEDIR);
# endif
ttf_filename = GetEnv(Constants::ENV_FONT_PATH, FONT_FILE);
font_dir = GetEnv(Constants::ENV_FONT_PATH, data_dir + PATH_SEPARATOR
"font" PATH_SEPARATOR);
+#endif // __APPLE__, WIN32, ANDROID
// To respect XDG Base Directory Specification from FreeDesktop
// http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
const char * c_config_dir = std::getenv("XDG_CONFIG_HOME");
const char * c_data_dir = std::getenv("XDG_DATA_HOME");
if (c_config_dir == NULL)
@@ -220,17 +221,16 @@
if (c_data_dir == NULL) {
personal_data_dir = GetHome() + "/.local/share";
}
else
personal_data_dir = c_data_dir;
personal_data_dir += "/wormux/";
-#endif
std::string old_dir = GetOldPersonalDir();
if (old_dir != "") {
std::cout << "Moving " << old_dir << " to " << personal_data_dir <<
std::endl;
if (old_dir != personal_data_dir)
Rename(old_dir, personal_data_dir);
}
--- NEW FILE: warmux.info ---
Package: warmux
Version: 11.04
Revision: 2
Maintainer: Hanspeter Niederstrasser <[email protected]>
Source: http://download.gna.org/%N/%N-%v.tar.bz2
Source-MD5: 668cd4c22afde352c566454e65fc4144
BuildDepends: <<
fink (>= 0.24.12),
fribidi,
fribidi-dev,
gettext-tools (>= 0.17),
libcurl4,
libgettext8-dev,
libpng14,
libxml2 (>= 2.7),
pkgconfig,
sdl (>= 1.2.13-1),
sdl-gfx13,
sdl-image,
sdl-mixer,
sdl-net,
sdl-ttf
<<
Depends: <<
fribidi-shlibs,
libcurl4-shlibs,
libgettext8-shlibs,
libpng14-shlibs,
libxml2-shlibs (>= 2.7),
sdl-shlibs (>= 1.2.13-1),
sdl-gfx13-shlibs,
sdl-image-shlibs,
sdl-mixer-shlibs,
sdl-net-shlibs,
sdl-ttf-shlibs,
xdg-base
<<
PatchFile: %n.patch
PatchFile-MD5: 9bbe9aa948200e3dfc79c873579c15a0
PatchScript: <<
%{default_script}
### --as-needed added at the 0.8.5 release. Does not exist on OS X
/usr/bin/perl -pi -e 's|-Wl,--as-needed||g;' src/Makefile.in
tools/list_games/Makefile.in
<<
SetLDFLAGS: -L%p/lib/system-openssl/lib -lintl
ConfigureParams: --with-datadir-name=%p/share/%N --mandir=%p/share/man
--with-localedir-name=%p/share/locale --disable-dependency-tracking
--disable-sdltest --enable-fribidi
GCC: 4.0
CompileScript: <<
./configure %c
/usr/bin/make -w
<<
InstallScript: <<
/usr/bin/make -w -j 1 install DESTDIR=%d || true
/usr/bin/make -w -j 1 install DESTDIR=%d
/usr/bin/strip %i/bin/%n
<<
Docfiles: AUTHORS ChangeLog COPYING INSTALL README TODO
Description: Worms clone
DescDetail: <<
War is declared !
Have the mascots of your favorite free softwares battle in the Warmux
arena. Using dynamite, grenades, baseball bat and others bazookas,...
exterminate your opponent in a 2D toon style scenery and a funny
environment.
Each player controls the team of his choice (penguin, gnu, firefox,
wilber,...) and must destroy his adversary using more or less casual
weapons.
Although a minimum of strategy is required to vanquish, Warmux is
pre-eminently a "convivial mass murder" game where, turn by turn,
each member of each team attempts to produce a maximum of damage to
his opponents.
<<
DescPackaging: <<
InstallScript calls the install script twice because the first run always
fails. We silence the failure with || true and then re-run it. No dire
effects have been noticed from this system.
<<
DescPort: <<
We're not an .app, so use standard config file locations. #if is swallowing
the file location chunk. Move it outside in patch.
<<
License: GPL
Homepage: http://www.wormux.org/
--- NEW FILE: boswars.info ---
Package: boswars
Version: 2.6.1
Revision: 1
Description: Futuristic real time strategy game
License: GPL
Maintainer: Hanspeter Niederstrasser <[email protected]>
Depends: <<
libogg-shlibs,
libpng14-shlibs,
libtheora0-shlibs,
libvorbis0-shlibs,
lua51-shlibs,
sdl-shlibs
<<
BuildDepends: <<
libogg,
libpng14,
libtheora0,
libvorbis0,
lua51-dev,
scons (>= 0.98.1-1),
sdl
<<
BuildConflicts: ccache-default
Source: http://www.boswars.org/dist/releases/%n-%v-src.tar.gz
Source-MD5: 7f0fcf440e8d765c484f09074f993b40
PatchScript: <<
/usr/bin/perl -pi -e 's,/usr/local,%p,g;' SConstruct
### graphic.cpp change not needed on 2.6.1. remove from info file at version
2.7
#/usr/bin/perl -pi -e 's|ow, GLMaxTextureSize|ow, (int)GLMaxTextureSize|g'
engine/video/graphic.cpp
#/usr/bin/perl -pi -e 's|oh, GLMaxTextureSize|oh, (int)GLMaxTextureSize|g'
engine/video/graphic.cpp
echo "#! /bin/sh" > boswars-launcher
echo "PREFIX=%p" >> boswars-launcher
echo "%p/share/%n/boswars-engine -d \$PREFIX/share/boswars/" >>
boswars-launcher
<<
GCC: 4.0
CompileScript: scons
InstallScript: <<
#!/bin/sh -ev
/usr/bin/install -d %i/share/%n
for i in
{campaigns,graphics,intro,languages,maps,patches,scripts,sounds,units} ;
do
/bin/cp -r $i %i/share/%n/$i
done
/usr/bin/install -s -m 755 boswars %i/share/%n/boswars-engine
/usr/bin/install -d %i/bin
/usr/bin/install -m 755 boswars-launcher %i/bin/boswars
<<
DocFiles: doc/*
Homepage: http://www.boswars.org/
DescDetail: <<
Bos Wars is a futuristic real-time strategy game featuring a dynamic
rate-based economy. Resources are continuously produced while also being
consumed by creating buildings and training new units. Bos Wars aims to
create a completely original and fun open source RTS game.
<<
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs