Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Florian Franzmann (4e5f7223f3b62c61e5a81e7f34f5fa56e2f1a80e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Florian Franzmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master games grimoire by Florian Franzmann (4e5f7223f3b62c61e5a81e7f34f5fa56e2f1a80e)
  • Date: Sat, 30 Mar 2013 17:53:23 -0500

GIT changes to master games grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:

ChangeLog | 3
games-simulation/dangerdeep/BUILD | 1
games-simulation/dangerdeep/DEPENDS | 15 ++
games-simulation/dangerdeep/DETAILS | 19 +++
games-simulation/dangerdeep/HISTORY | 4
games-simulation/dangerdeep/INSTALL | 3
games-simulation/dangerdeep/PRE_BUILD | 4
games-simulation/dangerdeep/dangerdeep-includes.patch | 100
++++++++++++++++++
8 files changed, 149 insertions(+)

New commits:
commit 4e5f7223f3b62c61e5a81e7f34f5fa56e2f1a80e
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>

games-simulation/dangerdeep: new spell, a WW2 submarine simulation

diff --git a/ChangeLog b/ChangeLog
index a4805fb..453f9b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-03-30 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * games-simulation/dangerdeep: new spell, a WW2 submarine simulation
+
2013-03-16 Javier Vasquez <j.e.vasquez.v AT gmail.com>
* games-cards/pysolfc: new spell, a fork of pysol

diff --git a/games-simulation/dangerdeep/BUILD
b/games-simulation/dangerdeep/BUILD
new file mode 100755
index 0000000..09126f6
--- /dev/null
+++ b/games-simulation/dangerdeep/BUILD
@@ -0,0 +1 @@
+scons -j$MAKE_NJOBS
datadir=${INSTALL_ROOT}/usr/share/games/dangerdeep/${VERSION}
diff --git a/games-simulation/dangerdeep/DEPENDS
b/games-simulation/dangerdeep/DEPENDS
new file mode 100755
index 0000000..c2b914a
--- /dev/null
+++ b/games-simulation/dangerdeep/DEPENDS
@@ -0,0 +1,15 @@
+depends scons &&
+depends OPENGL &&
+depends -sub CXX gcc &&
+depends sdl &&
+depends sdl_image &&
+depends sdl_mixer &&
+depends sdl_net &&
+depends fftw &&
+depends bzip2 &&
+depends libx11 &&
+depends libxext &&
+depends libmad &&
+depends libxcb &&
+depends libxau &&
+depends libxdmcp
diff --git a/games-simulation/dangerdeep/DETAILS
b/games-simulation/dangerdeep/DETAILS
new file mode 100755
index 0000000..3690bd9
--- /dev/null
+++ b/games-simulation/dangerdeep/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=dangerdeep
+ VERSION=0.3.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=$SOURCEFORGE_URL/dangerdeep/danger_from_the_deep-src/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:97d47654d6d3728365ec0f7955f360a35ad105442663f5dd05f0a37ae6ae67216eb33f183df788c3cd0ba9878dbef22d607ddac86bf43159e87ef1c2429b7f87
+ SOURCE2=${SPELL}-data-${VERSION}.zip
+
SOURCE2_URL[0]=$SOURCEFORGE_URL/dangerdeep/danger_from_the_deep-src/${VERSION}/${SOURCE2}
+
SOURCE2_HASH=sha512:c6d7de055abc77c1c61d0f999d885f44121934d66f89c8e4e55231cc20605ef679cd278bebadc879862e3da07d46bae3ab02f97d3ee4179762efd895e8f91b3e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://dangerdeep.sourceforge.net/";
+ LICENSE[0]=GPL
+ ENTERED=20130330
+ SHORT="a World War II submarine simulator"
+cat << EOF
+Danger from the Deep (known as dangerdeep or DftD) is a free (as in free
+speech), Open Source World War II german submarine simulator. This game
+is planned as tactical simulation and will be as realistic as our time and
+knowledge of physics allows.
+EOF
diff --git a/games-simulation/dangerdeep/HISTORY
b/games-simulation/dangerdeep/HISTORY
new file mode 100644
index 0000000..786b602
--- /dev/null
+++ b/games-simulation/dangerdeep/HISTORY
@@ -0,0 +1,4 @@
+2013-03-30 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, dangerdeep-includes.patch, DEPENDS, DETAILS, INSTALL,
+ PRE_BUILD: spell created
+
diff --git a/games-simulation/dangerdeep/INSTALL
b/games-simulation/dangerdeep/INSTALL
new file mode 100755
index 0000000..c0d49a2
--- /dev/null
+++ b/games-simulation/dangerdeep/INSTALL
@@ -0,0 +1,3 @@
+scons installbindir=${INSTALL_ROOT}/usr/games/
datadir=${INSTALL_ROOT}/usr/share/games/dangerdeep/${VERSION} install &&
+mkdir -p ${INSTALL_ROOT}/usr/share/games/dangerdeep/${VERSION} &&
+cp -R ${SOURCE_DIRECTORY}/data/*
${INSTALL_ROOT}/usr/share/games/dangerdeep/${VERSION}/
diff --git a/games-simulation/dangerdeep/PRE_BUILD
b/games-simulation/dangerdeep/PRE_BUILD
new file mode 100755
index 0000000..e57426f
--- /dev/null
+++ b/games-simulation/dangerdeep/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p1 < $SPELL_DIRECTORY/dangerdeep-includes.patch
+unpack_file 2
diff --git a/games-simulation/dangerdeep/dangerdeep-includes.patch
b/games-simulation/dangerdeep/dangerdeep-includes.patch
new file mode 100644
index 0000000..8ba967a
--- /dev/null
+++ b/games-simulation/dangerdeep/dangerdeep-includes.patch
@@ -0,0 +1,100 @@
+diff -Naupr dangerdeep-0.3.0.orig/src/bspline_test.cpp
dangerdeep-0.3.0/src/bspline_test.cpp
+--- dangerdeep-0.3.0.orig/src/bspline_test.cpp 2007-06-11 17:16:23.000000000
+0200
++++ dangerdeep-0.3.0/src/bspline_test.cpp 2013-03-30 15:04:50.897574674
+0100
+@@ -1,5 +1,6 @@
+ // some test code for the 2d bsplines!
+ #include "bspline.h"
++#include <cstdlib>
+ #include <fstream>
+ using namespace std;
+
+diff -Naupr dangerdeep-0.3.0.orig/src/convoy.h dangerdeep-0.3.0/src/convoy.h
+--- dangerdeep-0.3.0.orig/src/convoy.h 2007-06-11 17:16:23.000000000 +0200
++++ dangerdeep-0.3.0/src/convoy.h 2013-03-30 14:34:08.034525855 +0100
+@@ -27,6 +27,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "vector2.h"
+ #include <new>
+ #include <list>
++#include <backward/auto_ptr.h>
+ class ship;
+
+ ///\brief Grouping of ships and other objects with central control.
+diff -Naupr dangerdeep-0.3.0.orig/src/date.cpp dangerdeep-0.3.0/src/date.cpp
+--- dangerdeep-0.3.0.orig/src/date.cpp 2007-06-11 17:16:23.000000000 +0200
++++ dangerdeep-0.3.0/src/date.cpp 2013-03-30 14:59:31.976566226 +0100
+@@ -21,6 +21,8 @@ Foundation, Inc., 59 Temple Place, Suite
+ // subsim (C)+(W) Markus Petermann and Thorsten Jordan. SEE LICENSE
+
+ #include <iomanip>
++#include <cstdlib>
++#include <cstdio>
+ #include "date.h"
+ #include "texts.h"
+
+diff -Naupr dangerdeep-0.3.0.orig/src/faulthandler.h
dangerdeep-0.3.0/src/faulthandler.h
+--- dangerdeep-0.3.0.orig/src/faulthandler.h 2007-06-11 20:29:30.000000000
+0200
++++ dangerdeep-0.3.0/src/faulthandler.h 2013-03-30 14:31:10.138521143
+0100
+@@ -50,6 +50,8 @@ void install_segfault_handler()
+ #include <signal.h>
+ #include <string>
+ #include <sstream>
++#include <unistd.h>
++#include <sys/types.h>
+
+ // Note: use --export-dynamic as linker option or you won't get function
names here.
+
+diff -Naupr dangerdeep-0.3.0.orig/src/filehelper.cpp
dangerdeep-0.3.0/src/filehelper.cpp
+--- dangerdeep-0.3.0.orig/src/filehelper.cpp 2007-06-11 17:16:23.000000000
+0200
++++ dangerdeep-0.3.0/src/filehelper.cpp 2013-03-30 15:00:44.564568149
+0100
+@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "filehelper.h"
+ #include "error.h"
+ #include <vector>
++#include <cstdio>
+ using namespace std;
+
+ #ifdef WIN32
+diff -Naupr dangerdeep-0.3.0.orig/src/ocean_wave_generator.h
dangerdeep-0.3.0/src/ocean_wave_generator.h
+--- dangerdeep-0.3.0.orig/src/ocean_wave_generator.h 2007-06-11
17:16:23.000000000 +0200
++++ dangerdeep-0.3.0/src/ocean_wave_generator.h 2013-03-30
15:04:13.651573688 +0100
+@@ -29,6 +29,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "environment.h"
+ #include <complex>
+ #include <vector>
++#include <cstdlib>
+
+ // use float fftw (faster) or double (default) ?
+ #ifdef WITH_FLOAT_FFTW
+diff -Naupr dangerdeep-0.3.0.orig/src/ptrlist.h
dangerdeep-0.3.0/src/ptrlist.h
+--- dangerdeep-0.3.0.orig/src/ptrlist.h 2007-06-11 17:16:23.000000000
+0200
++++ dangerdeep-0.3.0/src/ptrlist.h 2013-03-30 14:32:37.129523447 +0100
+@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place, Suite
+
+ #include <list>
+ #include <stdexcept>
++#include <backward/auto_ptr.h>
+
+ // same as std::list regarding the interface (partly), but handles pointers.
+ template <class T>
+diff -Naupr dangerdeep-0.3.0.orig/src/ptrvector.h
dangerdeep-0.3.0/src/ptrvector.h
+--- dangerdeep-0.3.0.orig/src/ptrvector.h 2007-06-11 17:16:23.000000000
+0200
++++ dangerdeep-0.3.0/src/ptrvector.h 2013-03-30 14:33:16.263524484 +0100
+@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place, Suite
+
+ #include <vector>
+ #include <stdexcept>
++#include <backward/auto_ptr.h>
+
+ // same as std::vector regarding the interface, but handles pointers.
+ template <class T>
+diff -Naupr dangerdeep-0.3.0.orig/src/widget.cpp
dangerdeep-0.3.0/src/widget.cpp
+--- dangerdeep-0.3.0.orig/src/widget.cpp 2007-06-11 17:16:23.000000000
+0200
++++ dangerdeep-0.3.0/src/widget.cpp 2013-03-30 15:02:12.631570482 +0100
+@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "datadirs.h"
+ #include <set>
+ #include <sstream>
++#include <algorithm>
+ using std::vector;
+ using std::list;
+ using std::string;



  • [SM-Commit] GIT changes to master games grimoire by Florian Franzmann (4e5f7223f3b62c61e5a81e7f34f5fa56e2f1a80e), Florian Franzmann, 03/30/2013

Archive powered by MHonArc 2.6.24.

Top of Page