diff options
Diffstat (limited to 'games/ovcc')
-rw-r--r-- | games/ovcc/git2tarxz.sh | 2 | ||||
-rw-r--r-- | games/ovcc/ovcc.6 | 8 | ||||
-rw-r--r-- | games/ovcc/ovcc.SlackBuild | 7 | ||||
-rw-r--r-- | games/ovcc/ovcc.info | 6 | ||||
-rw-r--r-- | games/ovcc/ovcc.rst | 6 | ||||
-rw-r--r-- | games/ovcc/ovcc.sh | 17 |
6 files changed, 32 insertions, 14 deletions
diff --git a/games/ovcc/git2tarxz.sh b/games/ovcc/git2tarxz.sh index b3d5c34daf..fac9978a6a 100644 --- a/games/ovcc/git2tarxz.sh +++ b/games/ovcc/git2tarxz.sh @@ -48,7 +48,7 @@ GIT_SHA=$( git rev-parse --short HEAD ) DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 ) # ovcc doesn't use tags, but does have a version number, in the git log. -LOGVER=1.6.0 +LOGVER=1.6.1 VERSION=$LOGVER+${DATE}_${GIT_SHA} diff --git a/games/ovcc/ovcc.6 b/games/ovcc/ovcc.6 index 24f282aa5a..858e40fad6 100644 --- a/games/ovcc/ovcc.6 +++ b/games/ovcc/ovcc.6 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "OVCC" 6 "2023-05-23" "1.6.0+20230510_f6c395c" "SlackBuilds.org" +.TH "OVCC" 6 "2025-08-14" "1.6.1+20240328_cc936b2" "SlackBuilds.org" .SH NAME ovcc \- TRS-80 CoCo 3 emulator .\" RST source for ovcc(1) man page. Convert with: @@ -117,10 +117,14 @@ ROM images. .sp Other modules may require other ROM images (not included in the SBo package). .UNINDENT +.TP +.B /usr/lib/ovcc or /usr/lib64/ovcc +ROM images and loadable modules, which are symlinked by the wrapper script. +\fBlib64\fP is used on 64\-bit systems (x86_64 or aarch64). .UNINDENT .SH COPYRIGHT .sp -See the file /usr/doc/ovcc\-1.6.0+20230510_f6c395c/README.md for license information. +See the file /usr/doc/ovcc\-1.6.1+20240328_cc936b2/README.md for license information. .SH AUTHORS .sp ovcc was ported from the original VCC by Joseph Forgione. diff --git a/games/ovcc/ovcc.SlackBuild b/games/ovcc/ovcc.SlackBuild index 4b97d3bfc9..aec6c2b166 100644 --- a/games/ovcc/ovcc.SlackBuild +++ b/games/ovcc/ovcc.SlackBuild @@ -11,10 +11,15 @@ # loadable shared libs). So use a wrapper script to symlink up a dir # in the user's $HOME, and keep the real binary out of $PATH. +# 20250814 bkw: +# - update for v1.6.1+20240328_cc936b2. +# - improve wrapper script. +# - tweak man page. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ovcc -VERSION=${VERSION:-1.6.0+20230510_f6c395c} +VERSION=${VERSION:-1.6.1+20240328_cc936b2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/games/ovcc/ovcc.info b/games/ovcc/ovcc.info index b5e04059f4..cb72f4236a 100644 --- a/games/ovcc/ovcc.info +++ b/games/ovcc/ovcc.info @@ -1,12 +1,12 @@ PRGNAM="ovcc" -VERSION="1.6.0+20230510_f6c395c" +VERSION="1.6.1+20240328_cc936b2" HOMEPAGE="https://github.com/WallyZambotti/OVCC" -DOWNLOAD="https://slackware.uk/~urchlay/src/ovcc-1.6.0+20230510_f6c395c.tar.xz \ +DOWNLOAD="https://slackware.uk/~urchlay/src/ovcc-1.6.1+20240328_cc936b2.tar.xz \ https://colorcomputerarchive.com/repo/ROMs/MAME-MESS/coco3.zip \ https://colorcomputerarchive.com/repo/ROMs/MAME-MESS/coco_orch90.zip \ https://colorcomputerarchive.com/repo/ROMs/RGBDOS/MESS/disk11.rom \ https://colorcomputerarchive.com/repo/ROMs/MAME-MESS/coco3_hdb1.zip" -MD5SUM="5a151d00d8ce9a017a0f578d1ab2f435 \ +MD5SUM="7faea50834e4ce300ad7cfb3a69d5f25 \ 57edb0561a11265b8777ed76e5f37b79 \ 834aa159b22f79396bc5bb7ec91d71ed \ 196124f2e10da318e5d355814cfcaa2c \ diff --git a/games/ovcc/ovcc.rst b/games/ovcc/ovcc.rst index e1b95bc14f..c76e252abc 100644 --- a/games/ovcc/ovcc.rst +++ b/games/ovcc/ovcc.rst @@ -1,7 +1,7 @@ .. RST source for ovcc(1) man page. Convert with: .. rst2man.py ovcc.rst > ovcc.6 -.. |version| replace:: 1.6.0+20230510_f6c395c +.. |version| replace:: 1.6.1+20240328_cc936b2 .. |date| date:: ==== @@ -107,6 +107,10 @@ FILES Other modules may require other ROM images (not included in the SBo package). +/usr/lib/ovcc or /usr/lib64/ovcc + ROM images and loadable modules, which are symlinked by the wrapper script. + **lib64** is used on 64-bit systems (x86_64 or aarch64). + COPYRIGHT ========= diff --git a/games/ovcc/ovcc.sh b/games/ovcc/ovcc.sh index bd4fd39cf8..12db473be2 100644 --- a/games/ovcc/ovcc.sh +++ b/games/ovcc/ovcc.sh @@ -21,14 +21,19 @@ fi set -e if [ ! -d $USERDIR ]; then - mkdir $USERDIR - cd $USERDIR - for i in $LIBDIR/*; do - ln -s $i $( basename $i ) - done + mkdir $USERDIR || exit 1 fi -cd $USERDIR +cd $USERDIR || exit 1 + +# 20250814 bkw: had to change this because I share /home between 32-bit +# and 64-bit. If the symlinks to /usr/lib64 exist, and I run the 32-bit +# ovcc, they point to the wrong dir. Now, if there are broken symlinks, +# they get recreated properly. +for i in $LIBDIR/*; do + f="$( basename $i )" + [ -e "$f" ] || ln -sf "$i" "$f" +done if [ "$ARG" = "" ]; then exec $REALBIN |