Update to wormux 0.8.4, this release fixes various bugs, updates

some translations and sounds, and most of all adds a dedicated
network game server. See website for hints on how to use/configure it.
Remove now unneeded build_dep on automake-1.9.
This commit is contained in:
landry 2009-07-21 19:16:49 +00:00
parent 7b684cd978
commit 0c1feaee00
6 changed files with 63 additions and 21 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.11 2009/04/26 12:31:49 landry Exp $
# $OpenBSD: Makefile,v 1.12 2009/07/21 19:16:49 landry Exp $
COMMENT= free software clone of Worms(R) game concept
DISTNAME= wormux-0.8.3
DISTNAME= wormux-0.8.4
CATEGORIES= games
HOMEPAGE= http://wormux.org
@ -26,14 +26,12 @@ LIB_DEPENDS= SDL_gfx::devel/sdl-gfx \
curl.>=5::net/curl \
xml2::textproc/libxml
BUILD_DEPENDS= ::devel/automake/1.9
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-fake:
# the provided script is broken
cp ${LOCALBASE}/share/automake-1.9/install-sh ${WRKSRC}
post-extract:
rm -Rf ${WRKSRC}/data/locale
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (wormux-0.8.3.tar.bz2) = xCNahErZ9zN/Go2ixcG4IA==
RMD160 (wormux-0.8.3.tar.bz2) = 1FlACA9WWfjRVEvNnyZ9uiMoETs=
SHA1 (wormux-0.8.3.tar.bz2) = E9M7QkwVSDbNbmRMKz8WoIQhZCI=
SHA256 (wormux-0.8.3.tar.bz2) = DG/DzOFRZ0gV+n2tOsf4QnwJMu2zDqvJ7vHXo9O5di4=
SIZE (wormux-0.8.3.tar.bz2) = 51332954
MD5 (wormux-0.8.4.tar.bz2) = Cu0xZ5lyMXPy1uJCrzEjgg==
RMD160 (wormux-0.8.4.tar.bz2) = IIa6yAwgzXoYVqEwcRZPApSMsLI=
SHA1 (wormux-0.8.4.tar.bz2) = aVcqdOqQXWXmY4DPql7N2A0FZpE=
SHA256 (wormux-0.8.4.tar.bz2) = TlIoZmpi9vn2FgBIkc1NmjcKwvlWMiu2c/kBTkHZRcQ=
SIZE (wormux-0.8.4.tar.bz2) = 52814016

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-lib_wormux_net_network_cpp,v 1.1 2009/07/21 19:16:49 landry Exp $
--- lib/wormux/net/network.cpp.orig Wed Jul 15 20:22:41 2009
+++ lib/wormux/net/network.cpp Wed Jul 15 20:24:13 2009
@@ -23,6 +23,7 @@
#ifdef WIN32
# include <winsock2.h>
#else
+# include <sys/types.h>
# include <sys/socket.h>
# include <netdb.h>
# include <netinet/in.h>

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_interface_interface_cpp,v 1.1 2009/04/26 12:31:49 landry Exp $
--- src/interface/interface.cpp.orig Sun Apr 26 12:07:20 2009
+++ src/interface/interface.cpp Sun Apr 26 12:11:48 2009
@@ -359,7 +359,8 @@ void Interface::DrawMapPreview()
$OpenBSD: patch-src_interface_interface_cpp,v 1.2 2009/07/21 19:16:49 landry Exp $
--- src/interface/interface.cpp.orig Sat Jul 4 23:16:39 2009
+++ src/interface/interface.cpp Wed Jul 15 20:17:46 2009
@@ -358,7 +358,8 @@ void Interface::DrawMapPreview()
Rectanglei water(0, rect_preview.GetSizeY()-h, rect_preview.GetSizeX(), h);
@ -11,7 +11,7 @@ $OpenBSD: patch-src_interface_interface_cpp,v 1.1 2009/04/26 12:31:49 landry Exp
// Draw box with color according to water type
water_surf.BoxColor(water, water_color);
@@ -400,7 +401,8 @@ void Interface::DrawMapPreview()
@@ -399,7 +400,8 @@ void Interface::DrawMapPreview()
void Interface::GenerateStyledBox(Surface & source)
{

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-tools_servers_index_server_net_data_cpp,v 1.1 2009/07/21 19:16:49 landry Exp $
We don't #define MSG_NOSIGNAL
--- tools/servers/index_server/net_data.cpp.orig Wed Jul 15 20:42:01 2009
+++ tools/servers/index_server/net_data.cpp Wed Jul 15 20:42:27 2009
@@ -247,7 +247,7 @@ bool NetData::SendInt(const int &nbr)
unsigned int u_nbr = *((unsigned int*)&nbr);
packet = htonl(u_nbr);
- if ( send(fd, &packet, sizeof(packet), MSG_NOSIGNAL) != sizeof(packet) ) {
+ if ( send(fd, &packet, sizeof(packet), 0) != sizeof(packet) ) {
PRINT_ERROR;
return false;
}
@@ -262,7 +262,7 @@ bool NetData::SendStr(const std::string &full_str)
if (!SendInt((int)full_str.size()))
return false;
- if ( send(fd, full_str.c_str(), full_str.size(), MSG_NOSIGNAL) != ssize_t(full_str.size()) ) {
+ if ( send(fd, full_str.c_str(), full_str.size(), 0) != ssize_t(full_str.size()) ) {
PRINT_ERROR;
return false;
}

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.6 2009/04/26 12:31:49 landry Exp $
@comment $OpenBSD: PLIST,v 1.7 2009/07/21 19:16:49 landry Exp $
@bin bin/wormux
@bin bin/wormux-index-server
@bin bin/wormux-server
@man man/man6/wormux.6
share/applications/wormux.desktop
share/locale/bg/LC_MESSAGES/wormux.mo
@ -28,6 +30,7 @@ share/locale/it/LC_MESSAGES/wormux.mo
share/locale/lv/LC_MESSAGES/wormux.mo
share/locale/nb/LC_MESSAGES/wormux.mo
share/locale/nl/LC_MESSAGES/wormux.mo
share/locale/nn/LC_MESSAGES/wormux.mo
share/locale/pl/LC_MESSAGES/wormux.mo
share/locale/pt/LC_MESSAGES/wormux.mo
share/locale/pt_BR/LC_MESSAGES/wormux.mo
@ -707,9 +710,7 @@ share/wormux/game_mode/classic.xml
share/wormux/game_mode/classic_objects.xml
share/wormux/game_mode/game_mode.dtd
share/wormux/game_mode/objects.dtd
share/wormux/game_mode/objects.xml
share/wormux/game_mode/rope_objects.xml
share/wormux/game_mode/rope_objects.xml~
share/wormux/game_mode/skin_viewer.xml~
share/wormux/game_mode/unlimited.xml
share/wormux/game_mode/unlimited_objects.xml
share/wormux/gfx/
@ -869,6 +870,11 @@ share/wormux/map/electronik/background.png
share/wormux/map/electronik/config.xml
share/wormux/map/electronik/preview.jpg
share/wormux/map/electronik/sky.jpg
share/wormux/map/frog/
share/wormux/map/frog/config.xml
share/wormux/map/frog/map.png
share/wormux/map/frog/preview.jpg
share/wormux/map/frog/sky.jpg
share/wormux/map/funkyIsland/
share/wormux/map/funkyIsland/clouds.png
share/wormux/map/funkyIsland/config.xml
@ -1178,7 +1184,9 @@ share/wormux/sound/default/weapons/airhammer_selected.ogg
share/wormux/sound/default/weapons/airhammer_used.ogg
share/wormux/sound/default/weapons/anvil_collision.ogg
share/wormux/sound/default/weapons/anvil_fall.ogg
share/wormux/sound/default/weapons/auto_rocket_flying.ogg
share/wormux/sound/default/weapons/baseball.ogg
share/wormux/sound/default/weapons/blowtorch.ogg
share/wormux/sound/default/weapons/cluzooka_hit.ogg
share/wormux/sound/default/weapons/cluzooka_shot.ogg
share/wormux/sound/default/weapons/construct.ogg
@ -1186,6 +1194,7 @@ share/wormux/sound/default/weapons/disco_grenade_music.ogg
share/wormux/sound/default/weapons/dynamite_exp.ogg
share/wormux/sound/default/weapons/dynamite_fuze.ogg
share/wormux/sound/default/weapons/embers.ogg
share/wormux/sound/default/weapons/embers2.ogg
share/wormux/sound/default/weapons/explosion.ogg
share/wormux/sound/default/weapons/explosion2.ogg
share/wormux/sound/default/weapons/explosion3.ogg
@ -1209,6 +1218,8 @@ share/wormux/sound/default/weapons/ricoche1.ogg
share/wormux/sound/default/weapons/ricoche2.ogg
share/wormux/sound/default/weapons/ricoche3.ogg
share/wormux/sound/default/weapons/riot_bomb_exp.ogg
share/wormux/sound/default/weapons/riot_flying.ogg
share/wormux/sound/default/weapons/rocket_flying.ogg
share/wormux/sound/default/weapons/shotgun.ogg
share/wormux/sound/default/weapons/slap.ogg
share/wormux/sound/default/weapons/suicide.ogg