From c69d1c195ba228f8a13adebf400042520cee3c93 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Tue, 27 Mar 2018 12:39:55 +0000 Subject: [PATCH] system/imwheel: Switch to i586. Signed-off-by: David Spencer --- system/imwheel/README | 22 ++++++++++++---------- system/imwheel/imwheel.SlackBuild | 16 +++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/system/imwheel/README b/system/imwheel/README index d444531fbb..4798081f73 100644 --- a/system/imwheel/README +++ b/system/imwheel/README @@ -1,15 +1,17 @@ -IMWheel is a universal mouse wheel and mouse stick translator for X Windows -using either a special version of gpm and its /dev/gpmwheel FIFO or the -support for a ZAxis on the mouse built into X. Utilizing the input from gpm -or X Windows, imwheel translates mouse wheel and mouse stick actions into -keyboard events using the XTest extension to X. Use xdpyinfo for information +IMWheel is a universal mouse wheel and mouse stick translator for X Windows +using either a special version of gpm and its /dev/gpmwheel FIFO or the +support for a ZAxis on the mouse built into X. Utilizing the input from gpm +or X Windows, imwheel translates mouse wheel and mouse stick actions into +keyboard events using the XTest extension to X. Use xdpyinfo for information on the supported extensions in your X server. -This build script has a patch that disables the configurator appearing when -you mouse up and down on the root window. I did this because it stopped the -ability for workspace changing in fluxbox and other WMs, and it would also -pop up at the most annoying times ;) However, the configurator window can +This build script has a patch that disables the configurator appearing when +you mouse up and down on the root window. I did this because it stopped the +ability for workspace changing in fluxbox and other WMs, and it would also +pop up at the most annoying times ;) However, the configurator window can still be found with the "-c" switch. If you do NOT wish to apply this patch, run the script with PATCH=no in the -environment (e.g. PATCH=no sh imwheel.SlackBuild) +environment: + +PATCH=no ./imwheel.SlackBuild diff --git a/system/imwheel/imwheel.SlackBuild b/system/imwheel/imwheel.SlackBuild index 1205333765..5c5dce1a82 100644 --- a/system/imwheel/imwheel.SlackBuild +++ b/system/imwheel/imwheel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for imwheel -# Copyright 2009 David Woodfall +# Copyright 2009 David Woodfall # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ PRGNAM=imwheel VERSION=${VERSION:-1.0.0pre12} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -70,10 +70,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if [ ${PATCH:-"yes"} != "yes" ]; then - true # do not apply patch -else - patch -p1 < $CWD/noautoconfigurator.patch +if [ "${PATCH:-yes}" = "yes" ]; then + patch --verbose -p1 < $CWD/noautoconfigurator.patch fi CFLAGS="$SLKCFLAGS" \