system/roxterm: Updated for version 2.3.1.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Erik Hanson 2011-12-10 14:06:23 -02:00 committed by Niels Horn
parent bf0e5cdf2e
commit a8d342bc16
4 changed files with 30 additions and 27 deletions

View File

@ -4,14 +4,3 @@ 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, XFCE, 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

View File

@ -0,0 +1,10 @@
ROXTerm uses the "session" bus, which should be started along with your
desktop environment. Current versions of ROX, GNOME, XFCE, 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

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=roxterm
VERSION=1.22.1
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,25 +60,29 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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" \
./configure \
./mscript.py configure \
--no-lock \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
--disable-gtk3 \
CFLAGS="$SLKCFLAGS -g -Wall -I. -I${CWD} -D_GNU_SOURCE -DHAVE_CONFIG_H"
make
make install-strip DESTDIR=$PKG
./mscript.py build --no-lock
./mscript.py install --no-lock --destdir=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/doc $PKG/usr/share/man
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="roxterm"
VERSION="1.22.1"
VERSION="2.3.1"
HOMEPAGE="http://roxterm.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/roxterm/roxterm-1.22.1.tar.gz"
MD5SUM="522067d466545753cb3df369b582ce60"
DOWNLOAD="http://downloads.sourceforge.net/roxterm/roxterm-2.3.1.tar.bz2"
MD5SUM="72e22b6d6a027cada24ace94c6193fed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="dsomero"
APPROVED="Niels Horn"