aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-11 22:53:25 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:53:25 +0200
commit4f6569fed8a21859d0b41bf8c326f47c8dbf5594 (patch)
tree362b5390ae79c26b609550c06d9e13ba79cf1cd8
parent70855a90948fdcb2203d45863af1afa6e91d1f7f (diff)
desktop/whaw: Added to 12.1 repository
-rw-r--r--desktop/whaw/Changelog.txt53
-rw-r--r--desktop/whaw/README16
-rw-r--r--desktop/whaw/doinst.sh3
-rw-r--r--desktop/whaw/slack-desc19
-rw-r--r--desktop/whaw/whaw.SlackBuild68
-rw-r--r--desktop/whaw/whaw.desktop7
-rw-r--r--desktop/whaw/whaw.info8
7 files changed, 174 insertions, 0 deletions
diff --git a/desktop/whaw/Changelog.txt b/desktop/whaw/Changelog.txt
new file mode 100644
index 0000000000000..1fffb528eff98
--- /dev/null
+++ b/desktop/whaw/Changelog.txt
@@ -0,0 +1,53 @@
+Wed Aug 10 02:19:52 PDT 2005 John Meacham <john@repetae.net>
+ tagged 0.1.2
+
+Wed Aug 10 02:19:44 PDT 2005 John Meacham <john@repetae.net>
+ * update version
+
+Wed Aug 10 02:16:55 PDT 2005 John Meacham <john@repetae.net>
+ * implement focus restoration on quit and focus preservation on window movement commands
+
+Tue Aug 9 23:43:57 PDT 2005 John Meacham <john@repetae.net>
+ * change active window after operation
+
+Mon Aug 8 21:11:37 PDT 2005 John Meacham <john@repetae.net>
+ * remove debugging output
+
+Mon Aug 8 21:06:13 PDT 2005 John Meacham <john@repetae.net>
+ tagged 0.1.1
+
+Mon Aug 8 21:05:59 PDT 2005 John Meacham <john@repetae.net>
+ * make 64 bit safe
+
+Mon Aug 8 19:29:09 PDT 2005 John Meacham <john@repetae.net>
+ tagged 0.1.0
+
+Mon Aug 8 19:28:54 PDT 2005 John Meacham <john@repetae.net>
+ * fix documentation
+
+Mon Aug 8 19:18:22 PDT 2005 John Meacham <john@repetae.net>
+ * unmaximize windows before moving them, remove unimplemented details from docs
+
+Mon Aug 8 19:08:02 PDT 2005 John Meacham <john@repetae.net>
+ * ensure windows don't overlap panels at side of screen
+
+Mon Aug 8 18:21:59 PDT 2005 John Meacham <john@repetae.net>
+ * get rid of debugging info and spurious messages
+
+Mon Aug 8 16:50:49 PDT 2005 John Meacham <john@repetae.net>
+ * allow user to set frame extents and border size
+
+Mon Aug 8 16:16:52 PDT 2005 John Meacham <john@repetae.net>
+ * switch to hiding vs iconification, take into account frame extents
+
+Mon Aug 8 15:10:30 PDT 2005 John Meacham <john@repetae.net>
+ * make events more robust, skip spurious enternotifys, more debugging code
+
+Mon Aug 8 13:03:42 PDT 2005 John Meacham <john@repetae.net>
+ * added documentation
+
+Mon Aug 8 12:30:41 PDT 2005 John Meacham <john@repetae.net>
+ * use event state machine model
+
+Mon Aug 8 00:43:12 PDT 2005 John Meacham <john@repetae.net>
+ * initial import
diff --git a/desktop/whaw/README b/desktop/whaw/README
new file mode 100644
index 0000000000000..93b19f7519c83
--- /dev/null
+++ b/desktop/whaw/README
@@ -0,0 +1,16 @@
+whaw - Window Tiling Tool
+
+whaw is a mouse-driven program for X11 that uses advanced tiling algorithms and
+an intuitive user interface to quickly lay out windows without having to
+replace or modify the set up of your window manager of choice. whaw is meant to
+augment the capabilities of your current window manager, not supplant them.
+
+When activated, you simply click on the windows you want to tile and they will
+be tiled either horizontally or vertically depending on what you chose. In
+addition to tiling over the entire screen, you can choose to tile over a
+selected area, thus making whaw a very flexible program.
+
+The program should be run in the background and should probably be started
+when your WM/DE is started.
+
+Please see the man page for more details of program usage.
diff --git a/desktop/whaw/doinst.sh b/desktop/whaw/doinst.sh
new file mode 100644
index 0000000000000..140e33222297c
--- /dev/null
+++ b/desktop/whaw/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
diff --git a/desktop/whaw/slack-desc b/desktop/whaw/slack-desc
new file mode 100644
index 0000000000000..f190d2190808f
--- /dev/null
+++ b/desktop/whaw/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':'.
+
+ |-----handy-ruler-----------------------------------------------------|
+whaw: whaw (Window Tiling Tool)
+whaw:
+whaw: whaw is a program for X11 that uses advanced tiling algorithms and
+whaw: an intuitive user interface to quickly lay out windows without
+whaw: having to replace or modify the set up of your window manager of
+whaw: choice.
+whaw:
+whaw: http://repetae.net/computer/whaw/
+whaw:
+whaw:
+whaw:
diff --git a/desktop/whaw/whaw.SlackBuild b/desktop/whaw/whaw.SlackBuild
new file mode 100644
index 0000000000000..f2c1970324427
--- /dev/null
+++ b/desktop/whaw/whaw.SlackBuild
@@ -0,0 +1,68 @@
+#!/bin/sh
+
+# Slackware build script for whaw
+# Written by Phillip Warner <pc_warner@yahoo.com>
+
+PRGNAM=whaw
+VERSION=0.1.2
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R a-s,u+rw,go-w .
+
+CFLAGS="$SLKCFLAGS" \
+CPPFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr
+
+CFLAGS="$SLKCFLAGS" CPPFLAGS="$SLKCFLAGS" make
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+# Compress the man page
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+
+# Include a .desktop file so it will be convenient for KDE users
+# to have one to place in ~/.kde/Autostart
+# The program is mouse-driven, so it makes sense to be able to
+# launch it with the mouse.
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# The Changelog.txt is found at http://repetae.net/computer/whaw/Changelog.txt
+cp -a README $CWD/Changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chown -R root:root $PKG/usr/doc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/desktop/whaw/whaw.desktop b/desktop/whaw/whaw.desktop
new file mode 100644
index 0000000000000..6f866a98ce1f2
--- /dev/null
+++ b/desktop/whaw/whaw.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=whaw
+GenericName=Window Tiling Tool
+Exec=/usr/bin/whaw
+Type=Application
+Categories=Utility;X-KDE-Utilities-Desktop;
+X-KDE-StartupNotify=false
diff --git a/desktop/whaw/whaw.info b/desktop/whaw/whaw.info
new file mode 100644
index 0000000000000..d596746cfb20b
--- /dev/null
+++ b/desktop/whaw/whaw.info
@@ -0,0 +1,8 @@
+PRGNAM="whaw"
+VERSION="0.1.2"
+HOMEPAGE="http://repetae.net/computer/whaw/"
+DOWNLOAD="http://repetae.net/computer/whaw/drop/whaw-0.1.2.tar.gz"
+MD5SUM="4d45e7b8e99ecd3433749de47ed1e9c0"
+MAINTAINER="Phillip Warner"
+EMAIL="pc_warner@yahoo.com"
+APPROVED="rworkman"