diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/matchbox-panel/README | 3 | ||||
-rw-r--r-- | desktop/matchbox-panel/doinst.sh | 4 | ||||
-rw-r--r-- | desktop/matchbox-panel/matchbox-panel-0.9.3-gcc4-no-nested-functions.patch | 93 | ||||
-rw-r--r-- | desktop/matchbox-panel/matchbox-panel.SlackBuild | 106 | ||||
-rw-r--r-- | desktop/matchbox-panel/matchbox-panel.info | 10 | ||||
-rw-r--r-- | desktop/matchbox-panel/slack-desc | 19 |
6 files changed, 0 insertions, 235 deletions
diff --git a/desktop/matchbox-panel/README b/desktop/matchbox-panel/README deleted file mode 100644 index 71f70ace5b..0000000000 --- a/desktop/matchbox-panel/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-panel/doinst.sh b/desktop/matchbox-panel/doinst.sh deleted file mode 100644 index 4e8ba7071d..0000000000 --- a/desktop/matchbox-panel/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/desktop/matchbox-panel/matchbox-panel-0.9.3-gcc4-no-nested-functions.patch b/desktop/matchbox-panel/matchbox-panel-0.9.3-gcc4-no-nested-functions.patch deleted file mode 100644 index 8dcafbd7d9..0000000000 --- a/desktop/matchbox-panel/matchbox-panel-0.9.3-gcc4-no-nested-functions.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff -Naurp matchbox-panel-0.9.3.orig/applets/mb-applet-battery.c matchbox-panel-0.9.3/applets/mb-applet-battery.c ---- matchbox-panel-0.9.3.orig/applets/mb-applet-battery.c 2006-02-07 22:27:24.000000000 +0000 -+++ matchbox-panel-0.9.3/applets/mb-applet-battery.c 2006-06-20 18:12:00.000000000 +0000 -@@ -157,50 +157,50 @@ struct avg_consumption { - - static struct avg_consumption a; - -+enum ac_state { AC_UNKNOWN = -1, AC_OFFLINE = 0, AC_ONLINE = 1 }; -+enum bat_state { BAT_UNKNOWN = -1, BAT_CHARGING = 1, BAT_DISCHARGING = 2 }; -+ -+struct entry { -+ char *key; -+ char *value; -+ char *unit; -+}; -+ -+struct acpi_status { -+ enum ac_state ac_state; -+ enum bat_state bat_state; -+ unsigned long design_capacity; -+ unsigned long remaining_capacity; -+ unsigned long present_rate; -+}; -+ - static int --read_apm(int *values) -+line_parse(char *line, struct entry *e) - { -- enum ac_state { AC_UNKNOWN = -1, AC_OFFLINE = 0, AC_ONLINE = 1 }; -- enum bat_state { BAT_UNKNOWN = -1, BAT_CHARGING = 1, BAT_DISCHARGING = 2 }; -- -- struct entry { -- char *key; -- char *value; -- char *unit; -- }; -- -- struct acpi_status { -- enum ac_state ac_state; -- enum bat_state bat_state; -- unsigned long design_capacity; -- unsigned long remaining_capacity; -- unsigned long present_rate; -- }; -+ char *ptr; - -- static int -- line_parse(char *line, struct entry *e) -- { -- char *ptr; -- -- ptr = strchr(line, ':'); -- if (!ptr) -- return -1; -- e->key = line; -- *ptr = 0; -- while (*++ptr && *ptr == ' '); -- e->value = ptr; -- while (*++ptr && *ptr != '\n' && *ptr != ' '); -+ ptr = strchr(line, ':'); -+ if (!ptr) -+ return -1; -+ e->key = line; -+ *ptr = 0; -+ while (*++ptr && *ptr == ' '); -+ e->value = ptr; -+ while (*++ptr && *ptr != '\n' && *ptr != ' '); -+ *ptr = 0; -+ if (*++ptr) { -+ e->unit = ptr; -+ while (*++ptr && *ptr != '\n'); - *ptr = 0; -- if (*++ptr) { -- e->unit = ptr; -- while (*++ptr && *ptr != '\n'); -- *ptr = 0; -- } else -- e->unit = 0; -- -- return 0; -- } -+ } else -+ e->unit = 0; -+ -+ return 0; -+} - -+static int -+read_apm(int *values) -+{ - FILE *f; - char line[1024]; - struct entry e; diff --git a/desktop/matchbox-panel/matchbox-panel.SlackBuild b/desktop/matchbox-panel/matchbox-panel.SlackBuild deleted file mode 100644 index 7b80c3bc86..0000000000 --- a/desktop/matchbox-panel/matchbox-panel.SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh - -# Slackware build script for matchbox-panel - -# 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-panel -VERSION=0.9.3 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) 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 . - -patch -p1 < $CWD/matchbox-panel-0.9.3-gcc4-no-nested-functions.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-startup-notification \ - --enable-dnotify \ - --enable-acpi-linux \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -# Fixup some desktop files to be more spec-compliant -( cd $PKG/usr/share/applications - sed -i s'#Icon=minitime.png#Icon=minitime#' mb-applet-clock.desktop - sed -i s'#Icon=mbmenu.png#Icon=mbmenu#' mb-applet-menu-launcher.desktop - sed -i s'#Icon=minisys.png#Icon=minisys#' mb-applet-system-monitor.desktop - sed -i s'#Icon=signal-81-100.png#Icon=signal-81-100#' mb-applet-wireless.desktop - sed -i s'#Icon=mbterm.png#Icon=mbterm#' mb-launcher-term.desktop -) - -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-panel/matchbox-panel.info b/desktop/matchbox-panel/matchbox-panel.info deleted file mode 100644 index eb8725b465..0000000000 --- a/desktop/matchbox-panel/matchbox-panel.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="matchbox-panel" -VERSION="0.9.3" -HOMEPAGE="http://projects.o-hand.com/matchbox/" -DOWNLOAD="http://projects.o-hand.com/matchbox/sources/matchbox-panel/0.9/matchbox-panel-0.9.3.tar.bz2" -MD5SUM="56d1807636f3919e22e51896ab7ccd2e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="matchbox-window-manager matchbox-common" -MAINTAINER="Daniel de Kok" -EMAIL="danieldk@pobox.com" diff --git a/desktop/matchbox-panel/slack-desc b/desktop/matchbox-panel/slack-desc deleted file mode 100644 index eea6717f1a..0000000000 --- a/desktop/matchbox-panel/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-panel: matchbox-panel (The Matchbox panel) -matchbox-panel: -matchbox-panel: Matchbox is a lightweight environment for the X Window System, -matchbox-panel: that is specifically designed for embedded platforms such as -matchbox-panel: handhelds and set-top boxes. -matchbox-panel: -matchbox-panel: This package contains the Matchbox panel. -matchbox-panel: -matchbox-panel: Homepage: http://projects.o-hand.com/matchbox/ -matchbox-panel: -matchbox-panel: |