diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-30 03:08:01 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-03 15:05:18 +0700 |
commit | b7cfaa38e499354b7dcedaa66f2589e676cba197 (patch) | |
tree | 18f1b2e3a13b71277c49c4f160000bb7afc6129b | |
parent | 5a091d1e50e2a71adb120627117616504bd8a989 (diff) |
system/tabbed: Updated for version 0.8.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/tabbed/README | 5 | ||||
-rw-r--r-- | system/tabbed/tabbed.SlackBuild | 31 | ||||
-rw-r--r-- | system/tabbed/tabbed.info | 6 |
3 files changed, 18 insertions, 24 deletions
diff --git a/system/tabbed/README b/system/tabbed/README index 8fba968b50..fba5e0c832 100644 --- a/system/tabbed/README +++ b/system/tabbed/README @@ -5,7 +5,7 @@ originally designed for surf but also usable with many other applications, e.g. st, uzbl, urxvt, and xterm. Recommended dependency: dmenu. tabbed is still useful without it, but -the control-T "new tab" function won't work without it. +the control-` function won't work without it. The default width and height for the tabbed window are hard-coded in the application, and can be set by setting WIDTH and HEIGHT environment @@ -13,5 +13,8 @@ variables. Default size is 800x600. Example: WIDTH=1024 HEIGHT=768 ./tabbed.SlackBuild +Note that the above only sets the default; you can use the -g option +to set the geometry, no matter what the default is. + For other customizations, you can create a diff and place it in patches/. See README.SBo for details. diff --git a/system/tabbed/tabbed.SlackBuild b/system/tabbed/tabbed.SlackBuild index e371454aab..765f55d439 100644 --- a/system/tabbed/tabbed.SlackBuild +++ b/system/tabbed/tabbed.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240730 bkw: update for 0.8 # 20221228 bkw: update for 0.7 # 20140826 bkw: @@ -17,7 +18,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tabbed -VERSION=${VERSION:-0.7} +VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,16 +42,12 @@ 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 @@ -68,7 +65,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # Apply any patches the user might have added. This is more complex # than usual because we want to detect whether each patch needs -p0 # or -p1. -for i in $( ls $CWD/patches ); do +for i in $( ls $CWD/patches 2>/dev/null || true ); do p="" diff=$CWD/patches/$i @@ -85,28 +82,22 @@ for i in $( ls $CWD/patches ); do patch -p$p < $diff done -# upstream forgot this man page, apparently -sed -i '/xembed\.1/d' Makefile - -sed -i \ - -e 's,share/man,man,' \ - -e 's,usr/local,usr/,' \ - -e "s,/usr/lib,/usr/lib$LIBDIRSUFFIX," \ - -e "s,-O0,$SLKCFLAGS," \ - config.mk - sed -i \ -e "/ww *= *800/s,800,${WIDTH:-800}," \ -e "/wh *= *600/s,600,${HEIGHT:-600}," \ $PRGNAM.c -make -strip $PRGNAM -make install DESTDIR=$PKG +make install \ + CFLAGS="$SLKCFLAGS"\ + PREFIX=/usr\ + MANPREFIX=/usr/man\ + DOCPREFIX=/usr/doc/$PRGNAM-$VERSION\ + DESTDIR=$PKG +strip $PKG/usr/bin/* gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/tabbed/tabbed.info b/system/tabbed/tabbed.info index 01ab6938eb..1895d8c056 100644 --- a/system/tabbed/tabbed.info +++ b/system/tabbed/tabbed.info @@ -1,8 +1,8 @@ PRGNAM="tabbed" -VERSION="0.7" +VERSION="0.8" HOMEPAGE="https://tools.suckless.org/tabbed/" -DOWNLOAD="https://dl.suckless.org/tools/tabbed-0.7.tar.gz" -MD5SUM="a26d39a321507702775f33ed95b8d352" +DOWNLOAD="https://dl.suckless.org/tools/tabbed-0.8.tar.gz" +MD5SUM="4f9aaff184d13456824f8dfba97d9527" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |