From b9b49d8e2380a6d6ca81d296d12a81f23936ef8a Mon Sep 17 00:00:00 2001 From: Phillip Warner Date: Thu, 13 May 2010 00:57:43 +0200 Subject: desktop/windowlist: Added to 13.0 repository --- desktop/windowlist/README | 23 +++++++++++ desktop/windowlist/slack-desc | 19 +++++++++ desktop/windowlist/windowlist.SlackBuild | 71 ++++++++++++++++++++++++++++++++ desktop/windowlist/windowlist.info | 10 +++++ 4 files changed, 123 insertions(+) create mode 100644 desktop/windowlist/README create mode 100644 desktop/windowlist/slack-desc create mode 100644 desktop/windowlist/windowlist.SlackBuild create mode 100644 desktop/windowlist/windowlist.info (limited to 'desktop/windowlist') diff --git a/desktop/windowlist/README b/desktop/windowlist/README new file mode 100644 index 0000000000000..369f1dd08bea5 --- /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 0000000000000..6324f1d527d40 --- /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 0000000000000..4dd243a1507a9 --- /dev/null +++ b/desktop/windowlist/windowlist.SlackBuild @@ -0,0 +1,71 @@ +#!/bin/sh + +# Slackware build script for windowlist (KDE4 plasmoid) +# Written by Phillip Warner + +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 0000000000000..bd4c88fd8011a --- /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" -- cgit v1.2.3