diff options
Diffstat (limited to 'desktop/windowlist')
-rw-r--r-- | desktop/windowlist/README | 23 | ||||
-rw-r--r-- | desktop/windowlist/slack-desc | 19 | ||||
-rw-r--r-- | desktop/windowlist/windowlist.SlackBuild | 71 | ||||
-rw-r--r-- | desktop/windowlist/windowlist.info | 10 |
4 files changed, 123 insertions, 0 deletions
diff --git a/desktop/windowlist/README b/desktop/windowlist/README new file mode 100644 index 0000000000..369f1dd08b --- /dev/null +++ b/desktop/windowlist/README @@ -0,0 +1,23 @@ +windowlist (KDE plasmoid Window List) + +Simple plasmoid to show list of opened windows. +Inspired by the KDE3 equivalent. + +Features: +- shows list of all windows grouped by desktop on left mouse click; +- shows list of windows on current desktop on middle mouse click; +- selecting active window minimizes it or activates it if not active; +- possibility to drag window entry on pager to move it to another desktop; +- switch windows using mouse wheel; +- actions menu for each window after right clicking on it's entry; +- "Cascade windows" and "Unclutter windows" actions; +- automatically group windows in sub menus if there is more than five per desktop; +- configurable keyboard shortcut. + +After installing, if you are currently running KDE, you need to run +"kbuildsycoca4" as your normal user. + +If the plasmoid does not show up in the "Add Applets" dialog, then try restarting +plasma with "kquitapp plasma && plasma" + +Please see the README file if you want to use a different icon for this plasmoid. diff --git a/desktop/windowlist/slack-desc b/desktop/windowlist/slack-desc new file mode 100644 index 0000000000..6324f1d527 --- /dev/null +++ b/desktop/windowlist/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------------------------------------------------------| +windowlist: windowlist (KDE plasmoid to list open windows) +windowlist: +windowlist: Simple plasmoid to show list of opened windows. +windowlist: Inspired by the KDE3 equivalent. +windowlist: +windowlist: http://www.kde-look.org/content/show.php/Window+List?content=96486 +windowlist: +windowlist: +windowlist: +windowlist: +windowlist: diff --git a/desktop/windowlist/windowlist.SlackBuild b/desktop/windowlist/windowlist.SlackBuild new file mode 100644 index 0000000000..4dd243a150 --- /dev/null +++ b/desktop/windowlist/windowlist.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +# Slackware build script for windowlist (KDE4 plasmoid) +# Written by Phillip Warner <pc_warner@yahoo.com> + +PRGNAM=windowlist +VERSION=${VERSION:-3.1} +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" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +rm -rf $TMP/$PRGNAM-$VERSION +cd $TMP +tar xvf $CWD/96486-$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_BUILD_TYPE=Release .. + + make + make install DESTDIR=$PKG +cd - + +( 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING CHANGELOG README INSTALL TODO $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/windowlist/windowlist.info b/desktop/windowlist/windowlist.info new file mode 100644 index 0000000000..bd4c88fd80 --- /dev/null +++ b/desktop/windowlist/windowlist.info @@ -0,0 +1,10 @@ +PRGNAM="windowlist" +VERSION="3.1" +HOMEPAGE="http://www.kde-look.org/content/show.php/Window+List?content=96486" +DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/96486-windowlist-3.1.tar.bz2" +MD5SUM="ec614368f9a04f989640634f48d96162" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Phillip Warner" +EMAIL="pc_warner@yahoo.com" +APPROVED="rworkman" |