mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/roxterm: Updated for version 2.3.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
bf0e5cdf2e
commit
a8d342bc16
4 changed files with 30 additions and 27 deletions
|
@ -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
|
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
|
configuration GUI. It can be used as a ROX application, as the name
|
||||||
implies, or in any other X environment.
|
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
|
|
||||||
|
|
10
system/roxterm/README.Slackware
Normal file
10
system/roxterm/README.Slackware
Normal 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
|
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=roxterm
|
PRGNAM=roxterm
|
||||||
VERSION=1.22.1
|
VERSION=${VERSION:-2.3.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -60,25 +60,29 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
./mscript.py configure \
|
||||||
./configure \
|
--no-lock \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--localstatedir=/var \
|
--mandir=/usr/man \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--build=$ARCH-slackware-linux
|
--disable-gtk3 \
|
||||||
|
CFLAGS="$SLKCFLAGS -g -Wall -I. -I${CWD} -D_GNU_SOURCE -DHAVE_CONFIG_H"
|
||||||
|
|
||||||
make
|
./mscript.py build --no-lock
|
||||||
make install-strip DESTDIR=$PKG
|
./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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="roxterm"
|
PRGNAM="roxterm"
|
||||||
VERSION="1.22.1"
|
VERSION="2.3.1"
|
||||||
HOMEPAGE="http://roxterm.sourceforge.net/"
|
HOMEPAGE="http://roxterm.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/roxterm/roxterm-1.22.1.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/roxterm/roxterm-2.3.1.tar.bz2"
|
||||||
MD5SUM="522067d466545753cb3df369b582ce60"
|
MD5SUM="72e22b6d6a027cada24ace94c6193fed"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Erik Hanson"
|
MAINTAINER="Erik Hanson"
|
||||||
EMAIL="erik@slackbuilds.org"
|
EMAIL="erik@slackbuilds.org"
|
||||||
APPROVED="dsomero"
|
APPROVED="Niels Horn"
|
||||||
|
|
Loading…
Reference in a new issue