diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-04-09 00:10:02 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-15 10:25:48 +0200 |
commit | ce1299fd2cd43fcce63f70cce18c4432950f8725 (patch) | |
tree | 60cf366d33e6920ce38c09851fa71f119c162a44 | |
parent | ee867916df0b28cd721239e68baf089acc01e79b (diff) |
desktop/xtrascreenhacks: Added (display modes for xscreensaver)
-rw-r--r-- | desktop/xtrascreenhacks/README | 3 | ||||
-rw-r--r-- | desktop/xtrascreenhacks/README.SLACKWARE | 15 | ||||
-rw-r--r-- | desktop/xtrascreenhacks/slack-desc | 19 | ||||
-rwxr-xr-x | desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild | 79 | ||||
-rw-r--r-- | desktop/xtrascreenhacks/xtrascreenhacks.info | 10 |
5 files changed, 126 insertions, 0 deletions
diff --git a/desktop/xtrascreenhacks/README b/desktop/xtrascreenhacks/README new file mode 100644 index 000000000000..1a8b348ce0a8 --- /dev/null +++ b/desktop/xtrascreenhacks/README @@ -0,0 +1,3 @@ +This is a small collection of display modes that are based on and intended to +be run with the XScreensaver distribution. An XScreensaver distribution is not +needed just to compile and view the display modes. diff --git a/desktop/xtrascreenhacks/README.SLACKWARE b/desktop/xtrascreenhacks/README.SLACKWARE new file mode 100644 index 000000000000..2cbb6297c26f --- /dev/null +++ b/desktop/xtrascreenhacks/README.SLACKWARE @@ -0,0 +1,15 @@ +You will need to add entries to your .xscreensaver file by hand. +Shut down xscreensaver and close xscreensaver-demo if it is running. +Open $HOME/.xscreensaver in your favorite text editor and paste +the following lines into the "programs" section: + +--snip---------------- +- "Daisy" daisy -root \n\ +- "Twinkle" twinkle -root \n\ +-GL: "Flyer" flyer -root \n\ +-GL: "Berlin-Uhr" berlinuhr -root \n\ +-GL: "Soma" soma -root \n\ +--snip---------------- + +Then run xscreensaver-demo to activate and configure the hacks. +If you don't have XScreensaver at all, just enjoy the hacks in an X window. diff --git a/desktop/xtrascreenhacks/slack-desc b/desktop/xtrascreenhacks/slack-desc new file mode 100644 index 000000000000..d2879228730b --- /dev/null +++ b/desktop/xtrascreenhacks/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----------------------------------------------------| +xtrascreenhacks: XtraScreenHacks (xtra xscreensaver hacks by Kelley Nielsen) +xtrascreenhacks: +xtrascreenhacks: This is a small collection of display modes that are based on and +xtrascreenhacks: intended to be run with the XScreensaver distribution. +xtrascreenhacks: +xtrascreenhacks: http://home.comcast.net/~shegeek/xtrascreenhacks/index.html +xtrascreenhacks: +xtrascreenhacks: +xtrascreenhacks: +xtrascreenhacks: +xtrascreenhacks: diff --git a/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild b/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild new file mode 100755 index 000000000000..7fc6fc4a82c0 --- /dev/null +++ b/desktop/xtrascreenhacks/xtrascreenhacks.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh +# +# Slackware build script for XtraScreenHacks +# +# Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=xtrascreenhacks +VERSION=0.4 +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" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --mandir=/usr/man/ \ + --with-hackdir=/usr/libexec/xscreensaver \ + --with-configdir=/usr/share/xscreensaver/config \ + --build=$ARCH-slackware-linux + +make -i +make -i install_prefix=$PKG install-strip + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $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/xtrascreenhacks/xtrascreenhacks.info b/desktop/xtrascreenhacks/xtrascreenhacks.info new file mode 100644 index 000000000000..f0c06cebb1a1 --- /dev/null +++ b/desktop/xtrascreenhacks/xtrascreenhacks.info @@ -0,0 +1,10 @@ +PRGNAM="xtrascreenhacks" +VERSION="0.4" +HOMEPAGE="http://home.comcast.net/~shegeek/xtrascreenhacks/index.html" +DOWNLOAD="http://home.comcast.net/~shegeek/xtrascreenhacks/xtrascreenhacks-0.4.tar.bz2" +MD5SUM="6dd6c0b4f0fb10d7ffe360fbb074c827" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="rworkman" |