Added iliad package creation script, which simply copies the required files to a...
authorMarijn van Vliet <marijn.vanvliet@med.kuleuven.be>
Mon, 19 Apr 2010 19:16:25 +0000 (19:16 +0000)
committerMarijn van Vliet <marijn.vanvliet@med.kuleuven.be>
Mon, 19 Apr 2010 19:16:25 +0000 (19:16 +0000)
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@241 ddfedd41-794f-dd11-ae45-00112f111e67

iliad/chimara.png [new file with mode: 0644]
iliad/create_iliad_package.sh [new file with mode: 0755]
iliad/iliad_refresh.conf [new file with mode: 0755]
iliad/manifest.xml [new file with mode: 0755]
iliad/run.sh [new file with mode: 0755]
iliad/style.css [new file with mode: 0644]

diff --git a/iliad/chimara.png b/iliad/chimara.png
new file mode 100644 (file)
index 0000000..92a4211
Binary files /dev/null and b/iliad/chimara.png differ
diff --git a/iliad/create_iliad_package.sh b/iliad/create_iliad_package.sh
new file mode 100755 (executable)
index 0000000..8342cb4
--- /dev/null
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+VERSION=0.9
+
+mkdir -p Chimara/chimara
+mkdir -p Chimara/interpreters
+mkdir -p Chimara/games
+
+# Iliad specific files
+cp manifest.xml Chimara/manifest.xml
+cp iliad_refresh.conf Chimara/iliad_refresh.conf
+cp run.sh Chimara/run.sh
+cp style.css Chimara/chimara/style.css
+cp chimara.png Chimara/chimara.png
+
+# Chimara lib and player
+cp ../libchimara/.libs/libchimara.so.0 Chimara/chimara/
+cp ../player/.libs/chimara_iliad Chimara/chimara/chimara
+
+# Interpreters
+cp ../interpreters/frotz/.libs/frotz.so Chimara/interpreters/
+cp ../interpreters/git/.libs/git.so Chimara/interpreters/
+cp ../interpreters/glulxe/.libs/glulxe.so Chimara/interpreters/
+cp ../interpreters/nitfol/.libs/nitfol.so Chimara/interpreters/
+
+# Games
+cp ../tests/anchor.z8 iliad/Chimara/games/
+cp ../tests/CoSv3.blb iliad/Chimara/games/
+
+# Create zip file
+zip -r chimara-${VERSION}.zip Chimara
+
+echo "Iliad package created: chimara-${VERSION}.zip"
diff --git a/iliad/iliad_refresh.conf b/iliad/iliad_refresh.conf
new file mode 100755 (executable)
index 0000000..79a8829
--- /dev/null
@@ -0,0 +1 @@
+Typing 100
diff --git a/iliad/manifest.xml b/iliad/manifest.xml
new file mode 100755 (executable)
index 0000000..64da7e7
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package>
+  <metadata>
+    <dc-metadata>
+      <Title>Chimara</Title>
+      <Description>Interactive Fiction Player</Description>
+         <Date>2009-11-17T15:00:00</Date>
+      <Identifier/>
+      <Language/>
+      <Type/>
+    </dc-metadata>
+    <y-metadata>
+      <startpage>run.sh</startpage>
+      <image>chimara.png</image> 
+      <version>000</version>
+         <ItemSize>2457600</ItemSize>
+    </y-metadata>
+  </metadata>
+</package>
diff --git a/iliad/run.sh b/iliad/run.sh
new file mode 100755 (executable)
index 0000000..a8a4551
--- /dev/null
@@ -0,0 +1,8 @@
+export DISPLAY=:0
+export LD_LIBRARY_PATH=.
+export scriptdir=`/usr/bin/dirname $0`
+cd $scriptdir
+cd chimara
+export HOME=`pwd`
+#./xepdmgr :0 ./iliad ../games/anchor.z8
+./iliad ../games/anchor.z8
diff --git a/iliad/style.css b/iliad/style.css
new file mode 100644 (file)
index 0000000..7f0d1fc
--- /dev/null
@@ -0,0 +1,81 @@
+/* Possible windows:
+ * grid
+ * buffer
+ *
+ * Possible selectors:
+ * normal
+ * emphasized
+ * preformatted
+ * header
+ * subheader
+ * alert
+ * note
+ * block-quote
+ * input
+ * user1
+ * user2
+ * hyperlink
+ *
+ * Possible style hints:
+ * font-family (string)
+ * font-size (float)
+ * font-weight (normal/bold)
+ * font-style (normal/italic)
+ * color (#hex-value)
+ * background-color (#hex-value)
+ * text-align (left/right/center)
+ */
+grid.normal {
+       font-size: 10;
+}
+
+grid.user1 {
+       color: #303030;
+       background-color: #ffffff;
+}
+
+buffer.normal {
+       font-size: 10;
+}
+
+buffer.header {
+       font-size: 14;
+       font-weight: bold;
+       text-align: center;
+}
+
+buffer.subheader {
+       font-size: 12;
+       font-weight: bold;
+}
+
+buffer.alert {
+       color: #aa0000;
+       font-weight: bold;
+}
+
+buffer.note {
+       color: #aaaa00;
+       font-weight: bold;
+}
+
+buffer.block-quote {
+       text-align: center;
+       font-style: italic;
+}
+
+buffer.input {
+       color: #0000aa;
+       font-style: italic;
+}
+
+buffer.user1 {
+}
+
+buffer.user2 {
+}
+
+buffer.pager {
+       color: #ffffff;
+       background-color: #303030;
+}