diff options
author | B. Watson <yalhcru@gmail.com> | 2014-11-13 19:41:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-11-13 19:41:59 +0700 |
commit | 929059b9234da60752a34b58a3ba50038f00e4ac (patch) | |
tree | 53fa586b474b441a1d46970e8f57a30aa06b863e /games/steem | |
parent | aa9197be95965b1c605c50529324f95547c41def (diff) |
games/steem: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/steem')
-rw-r--r-- | games/steem/README | 3 | ||||
-rw-r--r-- | games/steem/doinst.sh | 6 | ||||
-rw-r--r-- | games/steem/steem.1 | 74 | ||||
-rw-r--r-- | games/steem/steem.6 | 218 | ||||
-rw-r--r-- | games/steem/steem.SlackBuild | 25 | ||||
-rw-r--r-- | games/steem/steem.info | 8 | ||||
-rw-r--r-- | games/steem/steem.pod | 113 |
7 files changed, 355 insertions, 92 deletions
diff --git a/games/steem/README b/games/steem/README index 6792b737f6ba..fe40ce9d6897 100644 --- a/games/steem/README +++ b/games/steem/README @@ -14,3 +14,6 @@ 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 index 1103a0f26832..140e33222297 100644 --- a/games/steem/doinst.sh +++ b/games/steem/doinst.sh @@ -1,9 +1,3 @@ -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi diff --git a/games/steem/steem.1 b/games/steem/steem.1 deleted file mode 100644 index dff864dacdec..000000000000 --- a/games/steem/steem.1 +++ /dev/null @@ -1,74 +0,0 @@ -.TH STEEM "6" "May 2009" "STeem 3.2" "SlackBuilds.org" -.SH NAME -steem - the Atari STE emulator for Linux/X11 -.SH SYNOPSIS -.B steem [options] [disk_image_a [disk_image_b]] [cartridge] [tos_image] -.PP -.B steem [options] [state_file] -.SH DESCRIPTION -Steem is a Freeware Atari ST/STE emulator for Windows and Linux. -.SH OPTIONS -.SS Image Files -.TP -\fI[disk_image_a]\fR, \fI[disk_image_b]\fR -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:. -.TP -\fI[cartridge]\fR -Optional name of a cartridge image (.STC) to be loaded. -.TP -\fI[state_file]\fR -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. -.TP -\fI[tos_image]\fR -TOS image file to use. By default, this is set in \fIsteem.ini\fR 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). -.SS Switches -Options are case-independent and can be prefixed by -, --, / or nothing. -.TP -\fBNOSHM\fR -disable use of Shared Memory. -.TP -\fBNOSOUND\fR -no sound output. -.TP -\fBSOF=<n>\fR -set sound output frequency to <n> Hz. -.TP -\fBPABUFSIZE=<n>\fR -set PortAudio buffer size to <n> samples. -.TP -\fBFONT=<string>\fR -use a different font. -.TP -\fBHELP\fR -print help message and quit. -.TP -\fBINI=<file>\fR -use <file> instead of steem.ini to initialise options. -.TP -\fBTRANS=<file>\fR -use <file> instead of searching for Translate.txt or Translate_*.txt to translate the GUI text. -.PP -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. -.SH FILES -.TP -\fI/usr/bin/steem\fR -Shell script wrapper that sets up the environment for the actual steem binary. -.TP -\fI/usr/libexec/steem\fR -Actual steem binary. Don't run directly, as it doesn't behave in a very Linux\-friendly way. -.TP -\fI~/.steem/\fR -Directory steem executes in. Contains \fIsteem.ini\fR and all save\-state files, -including \fIauto.sts\fR. -.SH 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.6 b/games/steem/steem.6 new file mode 100644 index 000000000000..c72d46446eb6 --- /dev/null +++ b/games/steem/steem.6 @@ -0,0 +1,218 @@ +.\" 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 index 148bc90b448e..ff2595127a4b 100644 --- a/games/steem/steem.SlackBuild +++ b/games/steem/steem.SlackBuild @@ -6,9 +6,17 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 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. + PRGNAM=steem VERSION=${VERSION:-3.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Binary-only package, hard-coded ARCH @@ -37,14 +45,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - -mkdir -p $PKG/usr/bin $PKG/usr/share/$PRGNAM/patches \ +mkdir -p $PKG/usr/games $PKG/usr/share/$PRGNAM/patches \ $PKG/usr/libexec $PKG/usr/share/$PRGNAM/tos \ - $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION + $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/bin/$PRGNAM +install -m0755 $CWD/$PRGNAM.sh $PKG/usr/games/$PRGNAM cp -r patches/* $PKG/usr/share/$PRGNAM/patches @@ -55,9 +62,7 @@ fi cp tos*.img $PKG/usr/share/$PRGNAM/tos -cp -a \ - *.txt FAQ README win32.help $PRGNAM.new \ - $PKG/usr/doc/$PRGNAM-$VERSION +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/* @@ -65,7 +70,7 @@ 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.1 > $PKG/usr/man/man1/$PRGNAM.1.gz +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. @@ -74,6 +79,8 @@ 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 diff --git a/games/steem/steem.info b/games/steem/steem.info index 18c840f17d0d..e9284ac859bc 100644 --- a/games/steem/steem.info +++ b/games/steem/steem.info @@ -2,10 +2,12 @@ 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" -DOWNLOAD_x86_64="UNTESTED" + http://steem.atari.st/tos_uk.zip \ + http://urchlay.naptime.net/~urchlay/src/steem.pdf.xz" MD5SUM="7beb9c1faf78ffbd7e50ebf13dc991af \ - 51778c08eaabe70020b30bf87b04ec7f" + 51778c08eaabe70020b30bf87b04ec7f \ + db7dc581e556c8cbcb215f6de9f91bc8" +DOWNLOAD_x86_64="UNTESTED" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" diff --git a/games/steem/steem.pod b/games/steem/steem.pod new file mode 100644 index 000000000000..854101a54075 --- /dev/null +++ b/games/steem/steem.pod @@ -0,0 +1,113 @@ +# 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) |