summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dan-Simon Myrland <dansimon@radiotube.org>2025-06-13 07:58:58 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2025-06-13 08:04:05 +0700
commit56533f8d7942aaab3e1352c1c57247614580c902 (patch)
treec5cb65e80c2e8ac5c68aee2edef88a37101f3b70
parent72b48e958cbd9e5141bfb11e6c1ed0f823189b9f (diff)
downloadslackbuilds-56533f8d7942aaab3e1352c1c57247614580c902.tar.gz
slackbuilds-56533f8d7942aaab3e1352c1c57247614580c902.tar.xz
system/roxterm: Added (GTK Terminal).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/roxterm/README6
-rw-r--r--system/roxterm/doinst.sh7
-rw-r--r--system/roxterm/roxterm.SlackBuild87
-rw-r--r--system/roxterm/roxterm.info10
-rw-r--r--system/roxterm/slack-desc19
5 files changed, 129 insertions, 0 deletions
diff --git a/system/roxterm/README b/system/roxterm/README
new file mode 100644
index 0000000000..dba0c61c50
--- /dev/null
+++ b/system/roxterm/README
@@ -0,0 +1,6 @@
+ROXTerm is a terminal emulator that uses the same VTE library as
+gnome-terminal. Originally aimed at being a lightweight gtk terminal,
+it has since grown in features and is now quite comparable to the
+default GNOME/Xfce/Mate terminals. It is still a favorite among
+"power" users due to its high configurability. The name comes from
+the ROX desktop, although ROXTerm can be used anywhere.
diff --git a/system/roxterm/doinst.sh b/system/roxterm/doinst.sh
new file mode 100644
index 0000000000..148e73db65
--- /dev/null
+++ b/system/roxterm/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+fi
diff --git a/system/roxterm/roxterm.SlackBuild b/system/roxterm/roxterm.SlackBuild
new file mode 100644
index 0000000000..c75e2d9b2b
--- /dev/null
+++ b/system/roxterm/roxterm.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+# Slackware build script for roxterm
+# Written by Dan-Simon Myrland <dansimon@radiotube.org>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=roxterm
+VERSION=${VERSION:-3.16.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -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.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DCMAKE_BUILD_TYPE=Release ..
+make
+make install/strip DESTDIR=$PKG
+
+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 ; r
+m $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ..
+cp -a AUTHORS COPYING COPYING-LGPL 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
diff --git a/system/roxterm/roxterm.info b/system/roxterm/roxterm.info
new file mode 100644
index 0000000000..a0bb729218
--- /dev/null
+++ b/system/roxterm/roxterm.info
@@ -0,0 +1,10 @@
+PRGNAM="roxterm"
+VERSION="3.16.6"
+HOMEPAGE="https://github.com/realh/roxterm"
+DOWNLOAD="https://github.com/realh/roxterm/archive/3.16.6/roxterm-3.16.6.tar.gz"
+MD5SUM="2a163ec3cb87c870fa391da803696c6e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dan-Simon Myrland"
+EMAIL="dansimon@radiotube.org"
diff --git a/system/roxterm/slack-desc b/system/roxterm/slack-desc
new file mode 100644
index 0000000000..b1a41a2ca1
--- /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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+roxterm: roxterm (gtk terminal emulator)
+roxterm:
+roxterm: ROXTerm is a terminal emulator that uses the same VTE library as
+roxterm: gnome-terminal. Originally aimed at being a lightweight gtk terminal,
+roxterm: it has since grown in features and is now quite comparable to the
+roxterm: default GNOME/Xfce/Mate terminals. It is still a favorite among
+roxterm: "power" users due to its high configurability. The name comes from
+roxterm: the ROX desktop, although ROXTerm can be used anywhere.
+roxterm:
+roxterm:
+roxterm: