office/Ted: Update script + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
GOSIKI Agiri 2019-05-09 23:30:21 +07:00 committed by Willy Sudiarto Raharjo
parent 2e9d44034b
commit 77ec388b73
3 changed files with 20 additions and 7 deletions

View File

@ -1,8 +1,12 @@
Ted is a lightweight Word-processor that uses the RTF-format. It supports
multiple fonts and can print to PostScript printers. Ted is simple to use,
multiple fonts and can print to PostScript printers. Ted is simple to use,
is easily compiled.
Additional packages with spellcheckers for different languages exist and
can be downloaded from the Ted homepage.
Note: This application doesn't work with Windowmaker
While Ted builds with the GTK+ widgets by default, you can build Ted
with Motif widgets by passing WIDGET=motif variable to the script. This
will also make Ted work under Window Maker but you might experience
minor visual glitches in properties input boxes while inputting
non-ASCII strings, e.g. in the author field.

View File

@ -1,8 +1,9 @@
#!/bin/sh
# Slackware build script for Ted
# Copyright 2019 GOSIKI Agiri <agiri@cocaine.ninja>.
# Previously written by Willy Sudiarto Raharjo <willysr@slackbuilds.org>.
# Originally written by Hannes Worst <hannesworst@gmail.com>.
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All right reserved
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +25,7 @@
PRGNAM=Ted
VERSION=${VERSION:-2.23}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -77,9 +78,17 @@ sed \
-e "/^M_ARCH/s|=.*|=$ARCH|" \
-i tedPackage/configure
# select appropriate widget set
WIDGET=${WIDGET:-gtk}
case $WIDGET in
gtk) widgetopt=GTK;;
motif) widgetopt=MOTIF;;
*) echo "Wrong widget set selected, choose gtk or motif only!"; exit 1;;
esac
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make -j1
make -j1 CONFIGURE_OPTIONS="--with-$widgetopt"
make -j1 package
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -6,5 +6,5 @@ MD5SUM="4199df0deb82a90450135ec3f2b7d915"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpaper"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
MAINTAINER="GOSIKI Agiri"
EMAIL="agiri@cocaine.ninja"