Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master games grimoire by Jaka Kranjc (ca822e56d4bfb8ee515905c73d18ed5e23263f72)

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 games grimoire by Jaka Kranjc (ca822e56d4bfb8ee515905c73d18ed5e23263f72)
  • Date: Sun, 29 Jul 2007 14:15:47 -0500

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

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

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

changelog entry for ja2s

commit 5799d872e35292356c8f91f8775388b1e8815040
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

added ja2-stracciatella

diff --git a/ChangeLog b/ChangeLog
index 73ffb14..64aac01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-07-29 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * games-rpg-sp/ja2-stracciatella: a port of Jagged Alliance 2 to SDL
+
2007-07-15 Ethan "eekee" Grammatikidis <eekee57 AT fastmail.fm>
* edutainment/celestia: Removed depreciated spell

diff --git a/games-rpg-sp/ja2-stracciatella/BUILD
b/games-rpg-sp/ja2-stracciatella/BUILD
new file mode 100755
index 0000000..5a74827
--- /dev/null
+++ b/games-rpg-sp/ja2-stracciatella/BUILD
@@ -0,0 +1,2 @@
+make &&
+make lowercase
diff --git a/games-rpg-sp/ja2-stracciatella/CONFIGURE
b/games-rpg-sp/ja2-stracciatella/CONFIGURE
new file mode 100755
index 0000000..4cd65d3
--- /dev/null
+++ b/games-rpg-sp/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/games-rpg-sp/ja2-stracciatella/DEPENDS
b/games-rpg-sp/ja2-stracciatella/DEPENDS
new file mode 100755
index 0000000..82e443c
--- /dev/null
+++ b/games-rpg-sp/ja2-stracciatella/DEPENDS
@@ -0,0 +1 @@
+depends sdl
diff --git a/games-rpg-sp/ja2-stracciatella/DETAILS
b/games-rpg-sp/ja2-stracciatella/DETAILS
new file mode 100755
index 0000000..daa27eb
--- /dev/null
+++ b/games-rpg-sp/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]=free
+ 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/games-rpg-sp/ja2-stracciatella/FINAL
b/games-rpg-sp/ja2-stracciatella/FINAL
new file mode 100755
index 0000000..0056852
--- /dev/null
+++ b/games-rpg-sp/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/games-rpg-sp/ja2-stracciatella/HISTORY
b/games-rpg-sp/ja2-stracciatella/HISTORY
new file mode 100644
index 0000000..8fa0595
--- /dev/null
+++ b/games-rpg-sp/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/games-rpg-sp/ja2-stracciatella/INSTALL
b/games-rpg-sp/ja2-stracciatella/INSTALL
new file mode 100755
index 0000000..71da0ec
--- /dev/null
+++ b/games-rpg-sp/ja2-stracciatella/INSTALL
@@ -0,0 +1,2 @@
+make install &&
+mv $INSTALL_ROOT/usr/bin/ja2 $INSTALL_ROOT/usr/games
diff --git a/games-rpg-sp/ja2-stracciatella/PREPARE
b/games-rpg-sp/ja2-stracciatella/PREPARE
new file mode 100755
index 0000000..4b3da3f
--- /dev/null
+++ b/games-rpg-sp/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/games-rpg-sp/ja2-stracciatella/PRE_BUILD
b/games-rpg-sp/ja2-stracciatella/PRE_BUILD
new file mode 100755
index 0000000..a6df0ab
--- /dev/null
+++ b/games-rpg-sp/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/games-rpg-sp/ja2-stracciatella/make_lowercase_idempotent.patch
b/games-rpg-sp/ja2-stracciatella/make_lowercase_idempotent.patch
new file mode 100644
index 0000000..367441e
--- /dev/null
+++ b/games-rpg-sp/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 games grimoire by Jaka Kranjc (ca822e56d4bfb8ee515905c73d18ed5e23263f72), Jaka Kranjc, 07/29/2007

Archive powered by MHonArc 2.6.24.

Top of Page