diff options
author | B. Watson <yalhcru@gmail.com> | 2021-08-25 14:44:49 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:41 +0700 |
commit | 179c82b7cf0b7216cd503b920ac77614749412c3 (patch) | |
tree | 0e0b036c8416cab60ceb01e577a600172018ad9e /system/kegs | |
parent | d9a45be18e83cc788e4e61ab60e411c131a30c6c (diff) |
system/kegs: Updated for version 1.12.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/kegs')
-rw-r--r-- | system/kegs/kegs.SlackBuild | 19 | ||||
-rw-r--r-- | system/kegs/kegs.info | 6 | ||||
-rw-r--r-- | system/kegs/man/partls.1 | 23 | ||||
-rw-r--r-- | system/kegs/man/to_pro.1 | 55 | ||||
-rw-r--r-- | system/kegs/man/xkegs.1 | 8 |
5 files changed, 16 insertions, 95 deletions
diff --git a/system/kegs/kegs.SlackBuild b/system/kegs/kegs.SlackBuild index 45e3ebb793fdf..be192e5f14525 100644 --- a/system/kegs/kegs.SlackBuild +++ b/system/kegs/kegs.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210825 bkw: update for v1.12. +# - upstream got rid of to_pro and partls, so their man pages are +# also gone now. + # 20210225 bkw: update for v1.05. lots of changes: # - include the ROM image in the package (add it to DOWNLOAD) # - allow_sound_open_fail.diff no longer required @@ -17,7 +21,7 @@ # 20170305 bkw: # - fix building under installwatch, caused by a symlink in the -# tarball being listed before its target Why does this choke +# tarball being listed before its target. Why does this choke # under installwatch and not otherwise? Not bumping BUILD for this. # 20150621 bkw: bump BUILD to 2 @@ -30,7 +34,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kegs -VERSION=${VERSION:-1.05} +VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +47,6 @@ if [ -z "$ARCH" ]; then 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 @@ -83,7 +84,7 @@ cd $TMP rm -rf $PRGNAM.$VERSION tar xvf $CWD/$PRGNAM.$VERSION.tar.gz \ --exclude '*/KEGSMAC.app' \ - --exclude xkegs + --exclude '*/xkegs' cd $PRGNAM.$VERSION chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -105,7 +106,7 @@ patch -p1 < $CWD/allow_window_close.diff cd src rm -f vars cat $VARS > vars -make SLKCFLAGS="$SLKCFLAGS" x$PRGNAM to_pro partls +make SLKCFLAGS="$SLKCFLAGS" x$PRGNAM cd - # No install target, just stick it all where it goes. @@ -117,7 +118,6 @@ mkdir -p \ $PKG/usr/share/$PRGNAM \ $PKG/usr/man/man1 install -s -m0755 x$PRGNAM $PKG/usr/libexec/ -install -s -m0755 src/to_pro src/partls $PKG/usr/bin/ install -m0755 $CWD/x$PRGNAM.sh $PKG/usr/bin/x$PRGNAM install -m0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ install -m0644 $CWD/config.$PRGNAM.default $PKG/usr/share/$PRGNAM @@ -136,6 +136,9 @@ ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png # asimov site for at least 20 years now, Apple has never complained. unzip -p $CWD/gsrom03.zip > $PKG/usr/share/$PRGNAM/rom03 +# 20210825 bkw: include the bundled disk images in the package. +cp -a [A-Z]*.gz $PKG/usr/share/$PRGNAM/ + # Man pages are specific to the SlackBuild, though I've sent # them upstream for consideration. for file in $CWD/man/*.1; do diff --git a/system/kegs/kegs.info b/system/kegs/kegs.info index 937cf787c0520..ae5cddde9b300 100644 --- a/system/kegs/kegs.info +++ b/system/kegs/kegs.info @@ -1,9 +1,9 @@ PRGNAM="kegs" -VERSION="1.05" +VERSION="1.12" HOMEPAGE="http://kegs.sourceforge.net/" -DOWNLOAD="http://kegs.sourceforge.net/kegs.1.05.tar.gz \ +DOWNLOAD="http://kegs.sourceforge.net/kegs.1.12.tar.gz \ https://mirrors.apple2.org.za/ftp.apple.asimov.net/emulators/rom_images/gsrom03.zip" -MD5SUM="b7f0452bf173eecdfadf9a82c4f75bea \ +MD5SUM="5d63bd0728c6d02ca261449977ea1942 \ 029ebd31845614636f6a34a19730cd57" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/system/kegs/man/partls.1 b/system/kegs/man/partls.1 deleted file mode 100644 index 1af148532b809..0000000000000 --- a/system/kegs/man/partls.1 +++ /dev/null @@ -1,23 +0,0 @@ -.TH PARTLS "1" "January 2011" "SlackBuilds.org" "User Commands" -.SH NAME -partls \- Lists partitions on Apple\-partitioned hard drives or CD-ROMs -.SH SYNOPSIS -.B partls -<\fI-l\fR> -[\fIfile-or-device\fR] -.SH DESCRIPTION -partls is distributed with the KEGS emulator. -.PP -partls displays the partition table on an Apple\-partitioned disk or -disk image file. Generally, these partitions will use the Apple HFS filesystem. -.PP -With the \fB\-l\fR option, more information is displayed. -.SH SEE ALSO -xkegs(1) -.br -to_pro(1) -.SH AUTHORS -KEGS and partls are by Kent Dickey <kadickey at princeton dot edu>. -.PP -This manual page was written by B. Watson for the SlackBuilds.org project (but -may be used by anyone for any reason). diff --git a/system/kegs/man/to_pro.1 b/system/kegs/man/to_pro.1 deleted file mode 100644 index a58fada52dcbe..0000000000000 --- a/system/kegs/man/to_pro.1 +++ /dev/null @@ -1,55 +0,0 @@ -.TH TO_PRO "1" "January 2011" "SlackBuilds.org" "User Commands" -.SH NAME -to_pro \- creates and copies files to Apple ProDOS disk images -.SH SYNOPSIS -.B to_pro -[\fI-size\fR] -[\fIfile\fR] -<\fIfile\fR ...> -.SH DESCRIPTION -to_pro is intended for use with the KEGS emulator. -.PP -to_pro creates a new ProDOS disk image called POOF1 in the current -directory, of the given size, containing the specified file(s). At -least one file must be given (to_pro cannot create a completely blank -image), and up to 51 file arguments are allowed. -.PP -The size argument is in kilobytes (1024 bytes each), and must be larger than the total size of -all the files (no checking is done, it's up to the user). ProDOS has a limit -of 32MB per partition, so the \-size argument should always less than -32767. -.PP -Long UNIX filenames are truncated to the 15\-character -ProDOS limit. -.PP -The author warns that the generated disk image files should only be used -temporarily, to copy files from the image to another ProDOS disk image -that was formatted within KEGS using ProDOS itself (or, the generated -image may be formatted within KEGS to create a proper blank disk image). -.PP -to_pro automatically sets the ProDOS filetype of files ending in ".shk" -to $E0. -.SH EXAMPLES -.TP -to_pro \-800 wolfdemo.bxy -Creates an 800KB disk image called POOF1, containing the file "wolfdemo.bxy" -(which is likely an Apple IIgs archive, downloaded from an FTP or web site). -Probably the next thing you will do be "mv POOF1 wolfdemo.dsk". -.TP -to_pro \-4096 wolfdemo.bxy -Same as above, but creates a 4MB POOF1 image file instead. -.TP -to_pro \-32000 *.shk -put all *.shk files in the current Unix directory into a 31.25MB -image called POOF1. -.SH SEE ALSO -xkegs(1) -.br -partls(1) -.PP -More information on to_pro in /usr/doc/kegs\-@VERSION@/README.kegs.txt -.SH AUTHORS -KEGS and to_pro are by Kent Dickey <kadickey at princeton dot edu>. -.PP -This manual page was written by B. Watson for the SlackBuilds.org project (but -may be used by anyone for any reason). diff --git a/system/kegs/man/xkegs.1 b/system/kegs/man/xkegs.1 index eb14f217e6235..9728c6cc53aa3 100644 --- a/system/kegs/man/xkegs.1 +++ b/system/kegs/man/xkegs.1 @@ -1,4 +1,4 @@ -.TH KEGS "1" "January 2011" "SlackBuilds.org" "User Commands" +.TH KEGS "1" "August 2021" "SlackBuilds.org" "User Commands" .SH NAME xkegs \- Apple IIgs emulator .SH SYNOPSIS @@ -159,15 +159,11 @@ Copied to \fB~/.config.kegs\fR by the wrapper script, if \fB~/.config.kegs\fR doesn't already exist. Can be used to set system\-wide defaults (such as the path to the ROM image). .SH SEE ALSO -to_pro(1) -.br -partls(1) -.br Full KEGS docs in /usr/doc/kegs\-@VERSION@/*.txt .br KEGS homepage at http://kegs.sourceforge.net/ .SH AUTHORS -KEGS is by Kent Dickey <kadickey at princeton dot edu>. +KEGS is by Kent Dickey <kadickey@alumni.princeton.edu>. .PP This manual page was written by B. Watson for the SlackBuilds.org project (but may be used by anyone for any reason). |