system/imwheel: Switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Woodfall 2018-03-27 12:39:55 +00:00 committed by Willy Sudiarto Raharjo
parent 689a2e51cc
commit c69d1c195b
2 changed files with 19 additions and 19 deletions

View file

@ -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

View file

@ -2,7 +2,7 @@
# Slackware build script for imwheel
# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
# Copyright 2009 David Woodfall <dave@dawoodfall.net>
# 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" \