summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2021-12-16 19:17:12 +0100
committer Willy Sudiarto Raharjo2021-12-27 10:20:26 +0100
commit30d5a1ac9e82bb2daa1de5badadc1820c44a122f (patch)
tree4ad54f4934b77151eeda24877e442bcaf45dbb5c
parented9683c825bf1d2691db487d21acdbbba7699560 (diff)
downloadslackbuilds-30d5a1ac9e82bb2daa1de5badadc1820c44a122f.tar.gz
games/steem: Removed (dead project; use hatari instead).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/steem/README19
-rw-r--r--games/steem/doinst.sh3
-rw-r--r--games/steem/slack-desc19
-rw-r--r--games/steem/steem.6218
-rw-r--r--games/steem/steem.SlackBuild115
-rw-r--r--games/steem/steem.desktop10
-rw-r--r--games/steem/steem.info12
-rw-r--r--games/steem/steem.pdf.xzbin257948 -> 0 bytes
-rw-r--r--games/steem/steem.pngbin599 -> 0 bytes
-rw-r--r--games/steem/steem.pod113
-rw-r--r--games/steem/steem.sh45
11 files changed, 0 insertions, 554 deletions
diff --git a/games/steem/README b/games/steem/README
deleted file mode 100644
index fe40ce9d68..0000000000
--- a/games/steem/README
+++ /dev/null
@@ -1,19 +0,0 @@
-Steem is a Freeware Atari STE emulator for Windows and Linux. It runs
-almost every ST program ever made without any problems. Steem is designed
-to be easy to use and has many unique features. Whether you want to run
-great old games, use MIDI apps just like you did on the ST or you have
-some other, more sinister motive, Steem is the emulator for you!
-
-*** Note to first-time users: Press the Pause/Break key to release the
-*** mouse cursor!
-
-Steem is binary-only software, no source available. Package includes
-the emulator binary and UK TOS images. Optionally, you may include the
-US TOS images. To do this, grab them from here:
-
-http://steem.atari.st/tos_us.zip (md5sum: bf250988783a0d468711a1057215fd73)
-
-Place the file "tos_us.zip" in the SlackBuild's directory before building.
-
-The file steem.pdf (installed in the doc dir) was converted from the
-CHM version of the steem manual, by Jacek Bogucki.
diff --git a/games/steem/doinst.sh b/games/steem/doinst.sh
deleted file mode 100644
index 140e332222..0000000000
--- a/games/steem/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
diff --git a/games/steem/slack-desc b/games/steem/slack-desc
deleted file mode 100644
index df5f6f4d8f..0000000000
--- a/games/steem/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-steem: steem (Freeware Atari STE Emulator)
-steem:
-steem: Steem is a Freeware Atari STE emulator for Windows and Linux. It
-steem: runs almost every ST program ever made without any problems. Steem
-steem: is designed to be easy to use and has many unique features. Whether
-steem: you want to run great old games, use MIDI apps just like you did on
-steem: the ST or you have some other, more sinister motive, Steem is the
-steem: emulator for you!
-steem:
-steem:
-steem:
diff --git a/games/steem/steem.6 b/games/steem/steem.6
deleted file mode 100644
index c72d46446e..0000000000
--- a/games/steem/steem.6
+++ /dev/null
@@ -1,218 +0,0 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
-.\"
-.\" Standard preamble:
-.\" ========================================================================
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Vb \" Begin verbatim text
-.ft CW
-.nf
-.ne \\$1
-..
-.de Ve \" End verbatim text
-.ft R
-.fi
-..
-.\" Set up some character translations and predefined strings. \*(-- will
-.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote. \*(C+ will
-.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
-.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
-.\" nothing in troff, for use with C<>.
-.tr \(*W-
-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
-.ie n \{\
-. ds -- \(*W-
-. ds PI pi
-. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
-. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
-. ds L" ""
-. ds R" ""
-. ds C` ""
-. ds C' ""
-'br\}
-.el\{\
-. ds -- \|\(em\|
-. ds PI \(*p
-. ds L" ``
-. ds R" ''
-. ds C`
-. ds C'
-'br\}
-.\"
-.\" Escape single quotes in literal strings from groff's Unicode transform.
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\"
-.\" If the F register is turned on, we'll generate index entries on stderr for
-.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
-.\" entries marked with X<> in POD. Of course, you'll have to process the
-.\" output yourself in some meaningful fashion.
-.\"
-.\" Avoid warning from groff about undefined register 'F'.
-.de IX
-..
-.nr rF 0
-.if \n(.g .if rF .nr rF 1
-.if (\n(rF:(\n(.g==0)) \{
-. if \nF \{
-. de IX
-. tm Index:\\$1\t\\n%\t"\\$2"
-..
-. if !\nF==2 \{
-. nr % 0
-. nr F 2
-. \}
-. \}
-.\}
-.rr rF
-.\"
-.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
-.\" Fear. Run. Save yourself. No user-serviceable parts.
-. \" fudge factors for nroff and troff
-.if n \{\
-. ds #H 0
-. ds #V .8m
-. ds #F .3m
-. ds #[ \f1
-. ds #] \fP
-.\}
-.if t \{\
-. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
-. ds #V .6m
-. ds #F 0
-. ds #[ \&
-. ds #] \&
-.\}
-. \" simple accents for nroff and troff
-.if n \{\
-. ds ' \&
-. ds ` \&
-. ds ^ \&
-. ds , \&
-. ds ~ ~
-. ds /
-.\}
-.if t \{\
-. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
-. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
-. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
-. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
-. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
-. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
-.\}
-. \" troff and (daisy-wheel) nroff accents
-.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
-.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
-.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
-.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
-.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
-.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
-.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
-.ds ae a\h'-(\w'a'u*4/10)'e
-.ds Ae A\h'-(\w'A'u*4/10)'E
-. \" corrections for vroff
-.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
-.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
-. \" for low resolution devices (crt and lpr)
-.if \n(.H>23 .if \n(.V>19 \
-\{\
-. ds : e
-. ds 8 ss
-. ds o a
-. ds d- d\h'-1'\(ga
-. ds D- D\h'-1'\(hy
-. ds th \o'bp'
-. ds Th \o'LP'
-. ds ae ae
-. ds Ae AE
-.\}
-.rm #[ #] #H #V #F C
-.\" ========================================================================
-.\"
-.IX Title "STEEM 6"
-.TH STEEM 6 "2014-11-12" "3.2" "SlackBuilds.org"
-.\" For nroff, turn off justification. Always turn off hyphenation; it makes
-.\" way too many mistakes in technical documents.
-.if n .ad l
-.nh
-.SH "NAME"
-steem \- the Atari STE emulator for Linux/X11
-.SH "SYNOPSIS"
-.IX Header "SYNOPSIS"
-steem [options] [disk_image_a [disk_image_b]] [cartridge] [tos_image]
-.PP
-steem [options] [state_file]
-.SH "DESCRIPTION"
-.IX Header "DESCRIPTION"
-Steem is a Freeware Atari \s-1ST/STE\s0 emulator for Windows and Linux.
-.SH "OPTIONS"
-.IX Header "OPTIONS"
-.SS "Image Files"
-.IX Subsection "Image Files"
-.IP "\fB[disk_image_a], [disk_image_b]\fR" 4
-.IX Item "[disk_image_a], [disk_image_b]"
-Optional disk images to be used for the \s-1ST\s0's A: and B: drives. File types supported are
-\&\s-1ST/MSA/DIM/STT/ZIP/RAR.\s0 If 2 disks are specified, the first will be \s-1ST\s0 drive A: and the second drive B:.
-.IP "\fB[cartridge]\fR" 4
-.IX Item "[cartridge]"
-Optional name of a cartridge image (.STC) to be loaded.
-.IP "\fB[state_file]\fR" 4
-.IX Item "[state_file]"
-state file: previously saved state file (.STS) to load. If none is specified, Steem will
-load \*(L"auto.sts\*(R" provided the relevant option is checked in the Options dialog.
-.IP "\fB[tos_image]\fR" 4
-.IX Item "[tos_image]"
-\&\s-1TOS\s0 image file to use. By default, this is set in steem.ini and does not need setting on the
-command line. For most games and applications, the \s-1TOS\s0 image should be the \s-1UK\s0 v1.02 image
-(tos102.img).
-.SS "Switches"
-.IX Subsection "Switches"
-Options are case-independent and can be prefixed by \-, \-\-, / or nothing.
-.IP "\fB\s-1NOSHM\s0\fR" 4
-.IX Item "NOSHM"
-disable use of Shared Memory.
-.IP "\fB\s-1NOSOUND\s0\fR" 4
-.IX Item "NOSOUND"
-no sound output.
-.IP "\fBSOF=<n\fR>" 4
-.IX Item "SOF=<n>"
-set sound output frequency to <n> Hz.
-.IP "\fBPABUFSIZE=<n\fR>" 4
-.IX Item "PABUFSIZE=<n>"
-set PortAudio buffer size to <n> samples.
-.IP "\fBFONT=<string\fR>" 4
-.IX Item "FONT=<string>"
-use a different font.
-.IP "\fB\s-1HELP\s0\fR" 4
-.IX Item "HELP"
-print help message and quit.
-.IP "\fBINI=<file\fR>" 4
-.IX Item "INI=<file>"
-use <file> instead of steem.ini to initialise options.
-.IP "\fBTRANS=<file\fR>" 4
-.IX Item "TRANS=<file>"
-use <file> instead of searching for Translate.txt or Translate_*.txt to translate the \s-1GUI\s0
-text.
-.PP
-All of these options (except INI= and TRANS=) can be changed from the \s-1GUI\s0 once steem is running. It
-is easiest just to run steem and play with the \s-1GUI.\s0
-.SH "FILES"
-.IX Header "FILES"
-.IP "\fB/usr/bin/steem\fR" 4
-.IX Item "/usr/bin/steem"
-Shell script wrapper that sets up the environment for the actual steem binary.
-.IP "\fB/usr/libexec/steem\fR" 4
-.IX Item "/usr/libexec/steem"
-Actual steem binary. Don't run directly, as it doesn't behave in a very Linux-friendly way.
-.IP "\fB~/.steem/\fR" 4
-.IX Item "~/.steem/"
-Directory steem executes in. Contains steem.ini and all save-state files, including auto.sts.
-.SH "AUTHORS"
-.IX Header "AUTHORS"
-Steem was written by Anthony and Russell Hayward.
-.PP
-This man page and the steem wrapper script were written by B. Watson, for the SlackBuilds.org
-project (but may be used by anyone)
diff --git a/games/steem/steem.SlackBuild b/games/steem/steem.SlackBuild
deleted file mode 100644
index 57312a37a5..0000000000
--- a/games/steem/steem.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for steem
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# 20180123 bkw:
-# - BUILD=3
-# - 4 years now and open source steem still fails to build.
-# - Allow building a (fake) x86_64 package on 64-bit, since the
-# binary is fully static and runs fine on 64-bit. This is
-# how it should have been from day one, sorry about that.
-
-# 20141112 bkw:
-# - binary in /usr/games, not /usr/bin
-# - rewrite man page as pod, move to man6
-# - get giant steem.pdf.xz out of the SBo tarball, move to my host
-# This will be the last submission for the old binary-only
-# steem for linux. Will be working on building the open source
-# steem in the near future.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=steem
-VERSION=${VERSION:-3.2}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-# Binary-only package, ARCH is a lie, but set it to
-# what tools like sbopkg will expect.
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-SRCVER=${VERSION/./_}
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/x${PRGNAM}_v${SRCVER}-i486.tar.gz
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/games $PKG/usr/share/$PRGNAM/patches \
- $PKG/usr/libexec $PKG/usr/share/$PRGNAM/tos \
- $PKG/usr/man/man6 $PKG/usr/doc/$PRGNAM-$VERSION
-
-# binary's already stripped
-install -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM.bin
-install -m0755 $CWD/$PRGNAM.sh $PKG/usr/games/$PRGNAM
-
-cp -r patches/* $PKG/usr/share/$PRGNAM/patches
-
-unzip -LL $CWD/tos_uk.zip
-if [ -e $CWD/tos_us.zip ]; then
- unzip -LL $CWD/tos_us.zip
-fi
-
-cp tos*.img $PKG/usr/share/$PRGNAM/tos
-
-cp -a *.txt FAQ README win32.help $PRGNAM.new $PKG/usr/doc/$PRGNAM-$VERSION
-
-# CRLF's suck..
-sed -i 's/\r//g' $PKG/usr/doc/$PRGNAM-$VERSION/*
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# Man page created from the --help output
-gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
-
-# pdf doc was created by running chm2pdf on the chm help downloaded from
-# the original site.
-xzcat $CWD/$PRGNAM.pdf.xz > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.pdf
-
-# icon converted from the windows icon using wrestool on steem.exe
-mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-
-# .desktop written for this build
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/steem/steem.desktop b/games/steem/steem.desktop
deleted file mode 100644
index d0d9fa2686..0000000000
--- a/games/steem/steem.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=STeem
-GenericName=Atari ST Emulator
-Type=Application
-Exec=steem
-Icon=steem
-Terminal=false
-StartupNotify=false
-Categories=Game;Emulator;
diff --git a/games/steem/steem.info b/games/steem/steem.info
deleted file mode 100644
index b2880d71bd..0000000000
--- a/games/steem/steem.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="steem"
-VERSION="3.2"
-HOMEPAGE="http://steem.atari.st/"
-DOWNLOAD="http://steem.atari.st/xsteem_v3_2-i486.tar.gz \
- http://steem.atari.st/tos_uk.zip"
-MD5SUM="7beb9c1faf78ffbd7e50ebf13dc991af \
- 51778c08eaabe70020b30bf87b04ec7f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/games/steem/steem.pdf.xz b/games/steem/steem.pdf.xz
deleted file mode 100644
index 45497a31fe..0000000000
--- a/games/steem/steem.pdf.xz
+++ /dev/null
Binary files differ
diff --git a/games/steem/steem.png b/games/steem/steem.png
deleted file mode 100644
index b63b0baa75..0000000000
--- a/games/steem/steem.png
+++ /dev/null
Binary files differ
diff --git a/games/steem/steem.pod b/games/steem/steem.pod
deleted file mode 100644
index 854101a540..0000000000
--- a/games/steem/steem.pod
+++ /dev/null
@@ -1,113 +0,0 @@
-# pod source for steem.6, convert with:
-# pod2man --stderr -s6 -cSlackBuilds.org -r3.2 steem.pod > steem.6
-
-=head1 NAME
-
-steem - the Atari STE emulator for Linux/X11
-
-=head1 SYNOPSIS
-
-steem [options] [disk_image_a [disk_image_b]] [cartridge] [tos_image]
-
-steem [options] [state_file]
-
-=head1 DESCRIPTION
-
-Steem is a Freeware Atari ST/STE emulator for Windows and Linux.
-
-=head1 OPTIONS
-
-=head2 Image Files
-
-=over 4
-
-=item B<[disk_image_a], [disk_image_b]>
-
-Optional disk images to be used for the ST's A: and B: drives. File types supported are
-ST/MSA/DIM/STT/ZIP/RAR. If 2 disks are specified, the first will be ST drive A: and the second drive B:.
-
-=item B<[cartridge]>
-
-Optional name of a cartridge image (.STC) to be loaded.
-
-=item B<[state_file]>
-
-state file: previously saved state file (.STS) to load. If none is specified, Steem will
-load "auto.sts" provided the relevant option is checked in the Options dialog.
-
-=item B<[tos_image]>
-
-TOS image file to use. By default, this is set in steem.ini and does not need setting on the
-command line. For most games and applications, the TOS image should be the UK v1.02 image
-(tos102.img).
-
-=back
-
-=head2 Switches
-
-Options are case-independent and can be prefixed by -, --, / or nothing.
-
-=over 4
-
-=item B<NOSHM>
-
-disable use of Shared Memory.
-
-=item B<NOSOUND>
-
-no sound output.
-
-=item B<SOF=<n>>
-
-set sound output frequency to <n> Hz.
-
-=item B<PABUFSIZE=<n>>
-
-set PortAudio buffer size to <n> samples.
-
-=item B<FONT=<string>>
-
-use a different font.
-
-=item B<HELP>
-
-print help message and quit.
-
-=item B<INI=<file>>
-
-use <file> instead of steem.ini to initialise options.
-
-=item B<TRANS=<file>>
-
-use <file> instead of searching for Translate.txt or Translate_*.txt to translate the GUI
-text.
-
-=back
-
-All of these options (except INI= and TRANS=) can be changed from the GUI once steem is running. It
-is easiest just to run steem and play with the GUI.
-
-=head1 FILES
-
-=over 4
-
-=item B</usr/bin/steem>
-
-Shell script wrapper that sets up the environment for the actual steem binary.
-
-=item B</usr/libexec/steem>
-
-Actual steem binary. Don't run directly, as it doesn't behave in a very Linux-friendly way.
-
-=item B<~/.steem/>
-
-Directory steem executes in. Contains steem.ini and all save-state files, including auto.sts.
-
-=back
-
-=head1 AUTHORS
-
-Steem was written by Anthony and Russell Hayward.
-
-This man page and the steem wrapper script were written by B. Watson, for the SlackBuilds.org
-project (but may be used by anyone)
diff --git a/games/steem/steem.sh b/games/steem/steem.sh
deleted file mode 100644
index 6786153020..0000000000
--- a/games/steem/steem.sh
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-# Wrapper script for steem. It's a windows app ported to linux, which
-# *insists* on being able to write to the directory where the binary
-# lives (even just running "steem --help" segfaults if there's no write
-# permission!)
-# This script makes it behave in a more unix-friendly way.
-
-# TODO: find a better way to do this.
-# Currently, the script at least handles spaces and punctuation
-# in the filenames... but it's kinda ugly the way it works.
-# ...especially the "echo exec ... | exec sh"
-
-ARGS=
-
-if [ ! -d ~/.steem ]; then
- mkdir -p ~/.steem
- ln -s /usr/share/steem/patches ~/.steem/patches
- ln -s /usr/share/steem/tos ~/.steem/tos
- ln -s /usr/libexec/steem.bin ~/.steem
- cat <<EOF > ~/.steem/steem.ini
-[Machine]
-ROM_File=$HOME/.steem/tos/tos102.img
-
-[Main]
-DebugBuild=0
-
-[Update]
-CurrentVersion=3.2
-EOF
-fi
-
-while [ -n "$1" ]; do
- if [ -e "$1" ]; then
- ARG="$( readlink -f "$1" )"
- else
- ARG="$1"
- fi
- echo $ARG
- ARGS="$ARGS '$( echo "$ARG" | sed "s/'/'\\\\''/g" )'"
- shift
-done
-
-cd ~/.steem
-echo exec ./steem.bin $ARGS | exec sh