diff options
-rw-r--r-- | accessibility/xdotool/README | 6 | ||||
-rw-r--r-- | accessibility/xdotool/slack-desc | 2 | ||||
-rw-r--r-- | accessibility/xdotool/xdotool.SlackBuild | 27 | ||||
-rw-r--r-- | accessibility/xdotool/xdotool.info | 6 |
4 files changed, 24 insertions, 17 deletions
diff --git a/accessibility/xdotool/README b/accessibility/xdotool/README index 3b0086b955..e03508244c 100644 --- a/accessibility/xdotool/README +++ b/accessibility/xdotool/README @@ -1,4 +1,4 @@ -xdotool - fake keyboard/mouse input +xdotool (fake X11 keyboard/mouse input) This tool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST @@ -6,6 +6,4 @@ extension and other Xlib functions. Example: focus the firefox url bar -WID=`xdotool search "Mozilla Firefox" | head -1` -xdotool windowfocus $WID -xdotool key ctrl+l +xdotool search "Mozilla Firefox" windowactivate --sync key --clearmodifiers ctrl+l diff --git a/accessibility/xdotool/slack-desc b/accessibility/xdotool/slack-desc index 088d01f0bf..289490a0cf 100644 --- a/accessibility/xdotool/slack-desc +++ b/accessibility/xdotool/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -xdotool: xdotool (fake keyboard/mouse input) +xdotool: xdotool (fake X11 keyboard/mouse input) xdotool: xdotool: This tool lets you programatically (or manually) simulate keyboard xdotool: input and mouse activity, move and resize windows, etc. It does this diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild index a77b00bbf2..e305d7dd60 100644 --- a/accessibility/xdotool/xdotool.SlackBuild +++ b/accessibility/xdotool/xdotool.SlackBuild @@ -1,20 +1,26 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for xdotool # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. + +# 20120411 bkw: +# - updated for xdotool 2.20110530.1. +# - install CHANGELIST in doc dir +# - make & install HTML doc instead of raw POD doc +# - fix permissions in examples/ + PRGNAM=xdotool -VERSION=${VERSION:-2.20101012.3049} +VERSION=${VERSION:-2.20110530.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -49,18 +55,21 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . -make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX - mkdir -p $PKG/usr/bin $PKG/usr/man/man1 + +make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX +make $PRGNAM.html -strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2>/dev/null || true +strip --strip-unneeded $PKG/usr/bin/$PRGNAM gzip -9 $PKG/usr/man/man1/$PRGNAM.1 +chmod 755 examples/*.sh + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - README COPYRIGHT examples xdotool.pod \ - $PKG/usr/doc/$PRGNAM-$VERSION + CHANGELIST README COPYRIGHT examples $PRGNAM.html \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/accessibility/xdotool/xdotool.info b/accessibility/xdotool/xdotool.info index f690696ec8..cec86c326a 100644 --- a/accessibility/xdotool/xdotool.info +++ b/accessibility/xdotool/xdotool.info @@ -1,8 +1,8 @@ PRGNAM="xdotool" -VERSION="2.20101012.3049" +VERSION="2.20110530.1" HOMEPAGE="http://www.semicomplete.com/projects/xdotool/" -DOWNLOAD="http://semicomplete.googlecode.com/files/xdotool-2.20101012.3049.tar.gz" -MD5SUM="6983e8932412578b98852d235e7fd073" +DOWNLOAD="http://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz" +MD5SUM="62d0c2158bbaf882a1cf580421437b2f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="B. Watson" |