diff options
-rw-r--r-- | desktop/matchbox-window-manager/README | 3 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/doinst.sh | 15 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild | 101 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/matchbox-window-manager.info | 10 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/slack-desc | 19 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/xinitrc.matchbox | 25 |
6 files changed, 0 insertions, 173 deletions
diff --git a/desktop/matchbox-window-manager/README b/desktop/matchbox-window-manager/README deleted file mode 100644 index 71f70ace5b057..0000000000000 --- a/desktop/matchbox-window-manager/README +++ /dev/null @@ -1,3 +0,0 @@ -Matchbox is a lightweight environment for the X Window System, that -is specifically designed for embedded platforms such as handhelds -and set-top boxes. diff --git a/desktop/matchbox-window-manager/doinst.sh b/desktop/matchbox-window-manager/doinst.sh deleted file mode 100644 index d816817b8edb0..0000000000000 --- a/desktop/matchbox-window-manager/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/matchbox/kbdconfig.new - diff --git a/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild b/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild deleted file mode 100644 index f56a2c80b9932..0000000000000 --- a/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# Slackware build script for matchbox-window-manager - -# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad> -# 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=matchbox-window-manager -VERSION=1.1 -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -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 \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-expat \ - --enable-startup-notification \ - --enable-session \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -# Add xinitrc file for matchbox -mkdir -p $PKG/etc/X11/xinit -install -m 0755 $CWD/xinitrc.matchbox $PKG/etc/X11/xinit/xinitrc.matchbox - -# Don't clobber the keyboard config -mv $PKG/etc/matchbox/kbdconfig $PKG/etc/matchbox/kbdconfig.new - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -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.${PKGTYPE:-tgz} diff --git a/desktop/matchbox-window-manager/matchbox-window-manager.info b/desktop/matchbox-window-manager/matchbox-window-manager.info deleted file mode 100644 index 892a75a5fbf04..0000000000000 --- a/desktop/matchbox-window-manager/matchbox-window-manager.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="matchbox-window-manager" -VERSION="1.1" -HOMEPAGE="http://projects.o-hand.com/matchbox/" -DOWNLOAD="http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/1.1/matchbox-window-manager-1.1.tar.bz2" -MD5SUM="73881fc9410ef49b1cb9f45af270be69" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="libmatchbox" -MAINTAINER="Daniel de Kok" -EMAIL="danieldk@pobox.com" diff --git a/desktop/matchbox-window-manager/slack-desc b/desktop/matchbox-window-manager/slack-desc deleted file mode 100644 index ce4dc78ace1e8..0000000000000 --- a/desktop/matchbox-window-manager/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -matchbox-window-manager: matchbox-window-manager (The Matchbox window manager) -matchbox-window-manager: -matchbox-window-manager: Matchbox is a lightweight environment for the X Window -matchbox-window-manager: System, that is specifically designed for embedded -matchbox-window-manager: platforms such as handhelds and set-top boxes. -matchbox-window-manager: -matchbox-window-manager: This package contains the Matchbox window manager. -matchbox-window-manager: -matchbox-window-manager: Homepage: http://projects.o-hand.com/matchbox/ -matchbox-window-manager: -matchbox-window-manager: diff --git a/desktop/matchbox-window-manager/xinitrc.matchbox b/desktop/matchbox-window-manager/xinitrc.matchbox deleted file mode 100644 index 5caddfce15a9d..0000000000000 --- a/desktop/matchbox-window-manager/xinitrc.matchbox +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# Merge in defaults and keymaps -[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources -[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap -[ -f $userresources ] && /usr/bin/xrdb -merge $userresources -[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap - -# Start Matchbox -if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then - if [ -x /usr/bin/matchbox-session ]; then - ck-launch-session dbus-launch --exit-with-session matchbox-session - else - matchbox-session - fi -else - xterm & - matchbox-window-manager -fi - |