diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-23 15:13:07 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-27 16:20:27 +0700 |
commit | 40a565e71ba236ff1f16b55b88c81efc4871c226 (patch) | |
tree | d8ef3ed20daa2d71b28f1e02da37585b250ad50a | |
parent | ad94da421f07cbbe30eae80b6b1ec7b1361271a1 (diff) |
games/z26: Removed (broken, don't care).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/z26/README | 16 | ||||
-rw-r--r-- | games/z26/slack-desc | 19 | ||||
-rw-r--r-- | games/z26/statify.sh | 22 | ||||
-rw-r--r-- | games/z26/z26.SlackBuild | 118 | ||||
-rw-r--r-- | games/z26/z26.info | 14 |
5 files changed, 0 insertions, 189 deletions
diff --git a/games/z26/README b/games/z26/README deleted file mode 100644 index 5559f3280927..000000000000 --- a/games/z26/README +++ /dev/null @@ -1,16 +0,0 @@ -z26 (an Atari 2600 emulator) - -Z26 is one of the best emulators for the Atari 2600. The author -reports that the graphics part of the emulator is nearing perfection -to a point that there's little more to fix. - -This is z26 version 2.13, the last release that was actually developed -and tested on Linux. The later 3.x series has some issues running on -Linux, and the authors aren't interested in fixing them. If you want -to try it, install games/z26v3 (which won't conflict with this build; -you can have both installed). - -Note to 64-bit users: z26 is mostly written in 32-bit x86 assembly, -so it can't be built for x86_64. However, this SlackBuild can create -a package that will run on pure 64-bit Slackware, by using a prebuilt, -statically linked z26 executable. diff --git a/games/z26/slack-desc b/games/z26/slack-desc deleted file mode 100644 index bf46319d60e2..000000000000 --- a/games/z26/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------------------------------------------------------| -z26: z26 (an Atari 2600 emulator) -z26: -z26: Z26 is one of the best emulators for the Atari 2600. -z26: The author reports that the graphics part of the emulator is nearing -z26: perfection to a point that there's little more to fix. -z26: -z26: -z26: -z26: -z26: -z26: diff --git a/games/z26/statify.sh b/games/z26/statify.sh deleted file mode 100644 index 91a0abd094b1..000000000000 --- a/games/z26/statify.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# z26 is written partly in x86 (32-bit) assembly, so it can't be built -# for 64-bit. So the solution for running it on pure 64-bit systems is -# to use a static binary that doesn't require any 32-bit libs. - -# Run this script on a 32-bit host *with VDSO disabled*, to generate -# the binary used for the 64-bit build. - -# Notes: -# - libgcc_s.so has to be included or else z26 dumps core on exit. -# - libaoss and libasound are needed because z26 doesn't use SDL's -# sound API, it talks directly to OSS via /dev/dsp. -# - libudev is needed for SDL to detect the mouse. -# - If you run "file" on the statified binary, it looks dynamic: -# $ file /usr/games/z26 -# /usr/games/z26: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, stripped -# ...but ldd says it's "not a dynamic executable". This is normal -# for statified binaries. -# - Do not attempt to strip the statified binary. It will break. - -statifier --set=LD_PRELOAD=/usr/lib/libudev.so:/usr/lib/libaoss.so:/usr/lib/libasound.so:/usr/lib/libgcc_s.so /usr/games/z26 z26.static diff --git a/games/z26/z26.SlackBuild b/games/z26/z26.SlackBuild deleted file mode 100644 index 0742744f5b2e..000000000000 --- a/games/z26/z26.SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -# Slackware build script for z26 - -# Written by B. Watson (yalhcru@gmail.com) -# Modified by SlackBuilds.org - -# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. - -# 20211214 bkw: -# - BUILD=3 -# - update for -current, which involves building with 14.2's nasm. -# there's probably a better way to fix it, but it's been 16+ years -# since I looked at z26's asm source and the details elude me now. -# - TODO: fix the statified binary for x86_64 use. - -# 20180123 bkw: -# - move binary to /usr/games, man page to section 6 -# - 64-bit support via statified binary (see statify.sh) -# - BUILD=2 - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=z26 -VERSION=${VERSION:-2.13} -BUILD=${BUILD:-3} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -# The distribution tarball is actually a snapshot that got -# "promoted" to being the 2.13 release, but never got repacked, -# so the top-level directory is z26_snapshot-$date -# (nevertheless, this is the official 2.13 source release, or as close -# as we're going to get) -SNAPVER=${SNAPVER:-${PRGNAM}_snapshot-20040523} -TARBALL=${TARBALL:-${PRGNAM}v213.tar.gz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - echo "=== $ARCH detected, using statified binary" -else - echo "Can't build on $ARCH, sorry" - exit 1 -fi - -set -e - -# 20211214 bkw: recent versions of nasm won't build this, so use -# an older one (the one from Slackware 14.2, actually). -NASMVER=${NASMVER:-2.13.01} - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SNAPVER -tar xvf $CWD/$TARBALL -cd $SNAPVER -tar xvf $CWD/nasm-$NASMVER.tar.xz -chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ - -# man page belongs in section 6 -sed -i '/pod2man -c/s,-c,-s6 -c,' Makefile - -if [ "$ARCH" = "x86_64" ]; then - xz -d < $CWD/$PRGNAM.static.xz > $PRGNAM - chmod 755 $PRGNAM - cp conf/config_linux-static.mak config.mak -else - cd nasm-$NASMVER - CFLAGS="$SLKCFLAGS -Wno-error" ./configure --disable-werror - # neither CFLAGS="-Wno-error" nor --disable-werror actually works. - sed -i 's,-Werror[^ ]*,,g' Makefile - make - cd - - make linux NASM="$(pwd)/nasm-$NASMVER/nasm" CFLAGS="$SLKCFLAGS" -fi -make $PRGNAM.man -make docs - -mkdir -p $PKG/usr/games $PKG/usr/man/man6 -install -m0755 -o root -g root $PRGNAM $PKG/usr/games -gzip -9c $PRGNAM.man > $PKG/usr/man/man6/$PRGNAM.6.gz - -rm -rf doc/CVS -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp doc/* *.txt *.TXT $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/usr/share/pixmaps -cp ${PRGNAM}_icon.png $PKG/usr/share/pixmaps/$PRGNAM.png - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/z26/z26.info b/games/z26/z26.info deleted file mode 100644 index 9d420fbe065e..000000000000 --- a/games/z26/z26.info +++ /dev/null @@ -1,14 +0,0 @@ -PRGNAM="z26" -VERSION="2.13" -HOMEPAGE="http://www.whimsey.com" -DOWNLOAD="http://www.whimsey.com/z26/z26v213.tar.gz \ - https://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.xz" -MD5SUM="0b0b9b42f203f6defca74a85f071f7c8 \ - b3ae134bd1b5ead73d659286f568da95" -DOWNLOAD_x86_64="http://www.whimsey.com/z26/z26v213.tar.gz \ - https://slackware.uk/~urchlay/src/z26.static.xz" -MD5SUM_x86_64="0b0b9b42f203f6defca74a85f071f7c8 \ - e3e0ba119fef0a9494759a731ceb2183" -REQUIRES="" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" |