Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Jaka Kranjc (bc096c5b88969f7d81701db07a35ab900499edb4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Jaka Kranjc (bc096c5b88969f7d81701db07a35ab900499edb4)
  • Date: Sun, 29 Jul 2007 16:21:17 -0500

GIT changes to master z-rejected grimoire by Jaka Kranjc
<lynxlynxlynx AT sourcemage.org>:

ChangeLog | 3 +
z-games/ja2-stracciatella/BUILD | 2 +
z-games/ja2-stracciatella/CONFIGURE | 3 +
z-games/ja2-stracciatella/DEPENDS | 1
z-games/ja2-stracciatella/DETAILS | 16 ++++++++++
z-games/ja2-stracciatella/FINAL | 4 ++
z-games/ja2-stracciatella/HISTORY | 8 +++++
z-games/ja2-stracciatella/INSTALL | 2 +
z-games/ja2-stracciatella/PREPARE | 22
++++++++++++++
z-games/ja2-stracciatella/PRE_BUILD | 12 +++++++
z-games/ja2-stracciatella/make_lowercase_idempotent.patch | 12 +++++++
11 files changed, 85 insertions(+)

New commits:
commit bc096c5b88969f7d81701db07a35ab900499edb4
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

readded ja2s

diff --git a/ChangeLog b/ChangeLog
index ad03854..8339685 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-07-29 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * z-games/ja2-stracciatella: a port of Jagged Alliance 2 to SDL
+
2007-07-22 George Sherwood <george AT beernabeer.com>
* z-http/seamonkey-bin: Created new spell

diff --git a/z-games/ja2-stracciatella/BUILD b/z-games/ja2-stracciatella/BUILD
new file mode 100644
index 0000000..5a74827
--- /dev/null
+++ b/z-games/ja2-stracciatella/BUILD
@@ -0,0 +1,2 @@
+make &&
+make lowercase
diff --git a/z-games/ja2-stracciatella/CONFIGURE
b/z-games/ja2-stracciatella/CONFIGURE
new file mode 100644
index 0000000..4cd65d3
--- /dev/null
+++ b/z-games/ja2-stracciatella/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_string JA2_DATA "What is the path to your ja2 installation? " &&
+config_query_list JA2_LANG "Which language data files will you be using?" \
+ ENGLISH GERMAN POLISH RUSSIAN RUSSIAN_GOLD
diff --git a/z-games/ja2-stracciatella/DEPENDS
b/z-games/ja2-stracciatella/DEPENDS
new file mode 100644
index 0000000..82e443c
--- /dev/null
+++ b/z-games/ja2-stracciatella/DEPENDS
@@ -0,0 +1 @@
+depends sdl
diff --git a/z-games/ja2-stracciatella/DETAILS
b/z-games/ja2-stracciatella/DETAILS
new file mode 100644
index 0000000..1b2538b
--- /dev/null
+++ b/z-games/ja2-stracciatella/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=ja2-stracciatella
+ VERSION=0.5
+ SOURCE="ja2-$VERSION-source.tar.bz2"
+ SOURCE_URL[0]=http://ja2.dragonriders.de/files/$SOURCE
+
SOURCE_HASH=sha512:0a7304542398ee51aa71bc4a50b72aed5fea2501ddb074d8f91d0a108811874c33accdee04cfbe6864943a10d959276fc255d715f0c874fcefa46007104435c8
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/ja2-$VERSION"
+ WEB_SITE="http://ja2.dragonriders.de";
+ LICENSE[0]=SFI-SCLA
+ ENTERED=20070321
+ SHORT="a port of Jagged Alliance 2 to SDL"
+cat << EOF
+ja2-stracciatella is a port of Jagged Alliance 2 to SDL with a few added
+bugfixes.
+
+You need the original data files from either ja2 version.
+EOF
diff --git a/z-games/ja2-stracciatella/FINAL b/z-games/ja2-stracciatella/FINAL
new file mode 100644
index 0000000..0056852
--- /dev/null
+++ b/z-games/ja2-stracciatella/FINAL
@@ -0,0 +1,4 @@
+message "$MESSAGE_COLOR
+Run ja2 once to generate the settings in ~/.ja2;
+Then change the data_dir entry to 'data_dir = $JA2_DATA' in ~/.ja2/ja2.ini
+$DEFAULT_COLOR"
diff --git a/z-games/ja2-stracciatella/HISTORY
b/z-games/ja2-stracciatella/HISTORY
new file mode 100644
index 0000000..8fa0595
--- /dev/null
+++ b/z-games/ja2-stracciatella/HISTORY
@@ -0,0 +1,8 @@
+2007-07-29 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * FINAL, PRE_BUILD, CONFIGURE, make_*.patch, PREPARE: completed and
0.5
+
+2007-03-21 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL, HISTORY: created spell
+
+
+
diff --git a/z-games/ja2-stracciatella/INSTALL
b/z-games/ja2-stracciatella/INSTALL
new file mode 100644
index 0000000..71da0ec
--- /dev/null
+++ b/z-games/ja2-stracciatella/INSTALL
@@ -0,0 +1,2 @@
+make install &&
+mv $INSTALL_ROOT/usr/bin/ja2 $INSTALL_ROOT/usr/games
diff --git a/z-games/ja2-stracciatella/PREPARE
b/z-games/ja2-stracciatella/PREPARE
new file mode 100644
index 0000000..4b3da3f
--- /dev/null
+++ b/z-games/ja2-stracciatella/PREPARE
@@ -0,0 +1,22 @@
+if [[ $JA2_INTRO == 1 ]]; then
+ return 0
+fi &&
+message "$MESSAGE_COLOR
+ja2-stracciatella requires
+an installation of Jagged Alliance 2 performed in Windows
+or
+files from the original Linux version.
+- unpack all the files from /tar on installer CD to \$SGPDATADIR
+- Copy contents of game CD to \$SGPDATADIR
+- Rename "data" to "Data" in \$SGPDATADIR
+- Rename "tilecache" to "TILECACHE" in \$SGPDATADIR/Data
+
+Once you have that set up, you can cast the spell and it will
+lowercase and prepare the files for you.
+$DEFAULT_COLOR" &&
+if query "Are you ready to cast ja2-stracciatella?" n; then
+ persistent_add JA2_INTRO
+ JA2_INTRO=1
+else
+ return 1
+fi
diff --git a/z-games/ja2-stracciatella/PRE_BUILD
b/z-games/ja2-stracciatella/PRE_BUILD
new file mode 100644
index 0000000..a6df0ab
--- /dev/null
+++ b/z-games/ja2-stracciatella/PRE_BUILD
@@ -0,0 +1,12 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p0 < $SPELL_DIRECTORY/make_lowercase_idempotent.patch &&
+#cp config.template config.default &&
+cat << JA2 > config.default
+PREFIX := $INSTALL_ROOT/usr
+MANPREFIX := $INSTALL_ROOT/usr/share
+LNG := $JA2_LANG
+SGPDATADIR := $JA2_DATA
+JA2
+
diff --git a/z-games/ja2-stracciatella/make_lowercase_idempotent.patch
b/z-games/ja2-stracciatella/make_lowercase_idempotent.patch
new file mode 100644
index 0000000..367441e
--- /dev/null
+++ b/z-games/ja2-stracciatella/make_lowercase_idempotent.patch
@@ -0,0 +1,12 @@
+--- Makefile.orig 2007-07-29 19:20:34.000000000 +0200
++++ Makefile 2007-07-29 19:17:23.000000000 +0200
+@@ -473,5 +473,8 @@
+ "$(SGPDATADIR)"/Data/TILECACHE/*.[Jj][Ss][Dd] \
+ "$(SGPDATADIR)"/Data/TILECACHE/*.[Ss][Tt][Ii]; \
+ do \
+- mv "$$i" "`dirname "$$i"`/`basename "$$i" | LANG=C tr '[A-Z]'
'[a-z]'`"; \
++ l="`basename "$$i" | LANG=C tr '[A-Z]' '[a-z]'`"; \
++ if test "`basename "$$i"`" != "$$l"; then \
++ mv -u "$$i" "`dirname "$$i"`"/"$$l"; \
++ fi; \
+ done



  • [SM-Commit] GIT changes to master z-rejected grimoire by Jaka Kranjc (bc096c5b88969f7d81701db07a35ab900499edb4), Jaka Kranjc, 07/29/2007

Archive powered by MHonArc 2.6.24.

Top of Page