summaryrefslogtreecommitdiffstats
path: root/accessibility/xzoom/xzoom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/xzoom/xzoom.SlackBuild')
-rw-r--r--accessibility/xzoom/xzoom.SlackBuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/accessibility/xzoom/xzoom.SlackBuild b/accessibility/xzoom/xzoom.SlackBuild
index c848e78eb6..3efc19b7a9 100644
--- a/accessibility/xzoom/xzoom.SlackBuild
+++ b/accessibility/xzoom/xzoom.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xzoom
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -11,11 +11,22 @@
# using 24/32bpp, so the Debian maintainers rescued xzoom from the
# scrap heap. Thanks!
+# Note about versions: repology.org thinks I should update this
+# to 0.4. Debian's 0.3-26 and FreeBSD's 0.4 are both forks from the
+# original 0.3. The Debian fork has fixes and enhancements that aren't
+# in 0.4, plus all the features that are in 0.4. One of the features
+# that's in 0.3-26 but not 0.4: the xmag window has a real close
+# button. If you're about to ask me to update this to 0.4, don't. I
+# won't. It's not actually an update (despite the version number, it
+# would actually be a downgrade).
+
+# 20230906 bkw: BUILD=2, update man page slightly.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xzoom
VERSION=${VERSION:-0.3_26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,16 +52,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -71,7 +78,7 @@ for i in $( cat debian/patches/series ); do
patch -p1 < debian/patches/$i
done
-# Fix a few typo/grammar issues.
+# Fix a few typo/grammar issues, mention G (grid) in the man page.
patch -p1 < $CWD/fixmanpage.diff
# Avoid warnings about alarm() and usleep() missing prototypes.