From 6ac5e6a0c039446c42cabc25052cd9e130ff90f9 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:55:29 +0200 Subject: [PATCH] system/roxterm: Added to 12.1 repository --- system/roxterm/README | 17 +++++++++++ system/roxterm/doinst.sh | 4 +++ system/roxterm/roxterm.SlackBuild | 51 +++++++++++++++++++++++++++++++ system/roxterm/roxterm.info | 8 +++++ system/roxterm/slack-desc | 19 ++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 system/roxterm/README create mode 100644 system/roxterm/doinst.sh create mode 100644 system/roxterm/roxterm.SlackBuild create mode 100644 system/roxterm/roxterm.info create mode 100644 system/roxterm/slack-desc diff --git a/system/roxterm/README b/system/roxterm/README new file mode 100644 index 0000000000..db955081fb --- /dev/null +++ b/system/roxterm/README @@ -0,0 +1,17 @@ +ROXTerm is a terminal emulator intended to provide similar features +to gnome-terminal, based on the same VTE library, but with a smaller +footprint and quicker start-up time. It achieves this by not using +the Gnome libraries and by using a separate applet to provide the +configuration GUI. It can be used as a ROX application, as the name +implies, or in any other X environment. + +ROXTerm uses the "session" bus, which should be started along with your +desktop environment. Current versions of ROX, GNOME and KDE session +managers all launch D-BUS. If you use some other session/desktop/window +manager which doesn't launch D-BUS you can start it by inserting something +like this near the start of your .xinitrc or .xsession: + + if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then + eval `dbus-launch --sh-syntax --exit-with-session` + export DBUS_SESSION_BUS_ADDRESS + fi diff --git a/system/roxterm/doinst.sh b/system/roxterm/doinst.sh new file mode 100644 index 0000000000..6af9811528 --- /dev/null +++ b/system/roxterm/doinst.sh @@ -0,0 +1,4 @@ +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q usr/share/applications +fi + diff --git a/system/roxterm/roxterm.SlackBuild b/system/roxterm/roxterm.SlackBuild new file mode 100644 index 0000000000..5211eeb658 --- /dev/null +++ b/system/roxterm/roxterm.SlackBuild @@ -0,0 +1,51 @@ +#!/bin/sh + +# Slackware build script for ROXTerm +# Written by Erik Hanson erik@slackbuilds.org + +# Modified by the slackbuilds.org project +PRGNAM=roxterm +VERSION=1.12.2 +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" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + || exit 1 + +make || exit 1 +make install-strip DESTDIR=$PKG || exit 1 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/ +rm -rf $PKG/usr/share/doc +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +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.tgz diff --git a/system/roxterm/roxterm.info b/system/roxterm/roxterm.info new file mode 100644 index 0000000000..50fdb84585 --- /dev/null +++ b/system/roxterm/roxterm.info @@ -0,0 +1,8 @@ +PRGNAM="roxterm" +VERSION="1.12.2" +HOMEPAGE="http://roxterm.sourceforge.net/" +DOWNLOAD="http://dl.sourceforge.net/roxterm/roxterm-1.12.2.tar.gz" +MD5SUM="bb7e30d19d42b24bc49ad403fcde9058" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="Michiel" diff --git a/system/roxterm/slack-desc b/system/roxterm/slack-desc new file mode 100644 index 0000000000..a7d18ef95a --- /dev/null +++ b/system/roxterm/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------------------------------------------------------| +roxterm: ROXTerm (VTE based Terminal Emulator) +roxterm: +roxterm: ROXTerm is a terminal emulator intended to provide similar features +roxterm: to gnome-terminal, based on the same VTE library, but with a smaller +roxterm: footprint and quicker start-up time. It achieves this by not using +roxterm: the Gnome libraries and by using a separate applet to provide the +roxterm: configuration GUI. It can be used as a ROX application, as the name +roxterm: implies, or in any other X environment. +roxterm: +roxterm: http://roxterm.sourceforge.net/ +roxterm: