From 6f1e0e4c24a5aa96e5f3e6a32713639438915f45 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Fri, 18 Feb 2022 03:00:57 -0500 Subject: office/abiword: Updated for version 3.0.5. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- office/abiword/README | 19 ++++++++++++------- office/abiword/abiword.SlackBuild | 27 +++++++++++++++------------ office/abiword/abiword.info | 6 +++--- 3 files changed, 30 insertions(+), 22 deletions(-) (limited to 'office') diff --git a/office/abiword/README b/office/abiword/README index b24aab03ef..1bd40e84b2 100644 --- a/office/abiword/README +++ b/office/abiword/README @@ -1,9 +1,14 @@ -The AbiWord word processor is a lightweight and featureful productivity -tool that is suitable for a wide variety of word processing tasks. +The AbiWord word processor is a lightweight and featureful +productivity tool that is suitable for a wide variety of word +processing tasks. -goffice and gnome-vfs are optional dependencies, but gnome-vfs doesn't add -anything useful. +goffice and gnome-vfs are optional dependencies, but gnome-vfs doesn't +add anything useful. -evince is an optional runtime dependency since it's the default application -to show print previews, but you can avoid it by adding something like this -to your ~/.gtkrc-2.0 file: gtk-print-preview-command="xpdf -q %f" +evince is an optional runtime dependency since it's the +default application to show print previews, but you can avoid +it by adding something like this to your ~/.gtkrc-2.0 file: +gtk-print-preview-command="xpdf -q %f" + +asio is an optional dependency. It enables the TCP collaboration +plugin. If you don't know what this is, you probably don't need it. diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild index 3168adb8a9..11707f4c3a 100644 --- a/office/abiword/abiword.SlackBuild +++ b/office/abiword/abiword.SlackBuild @@ -29,12 +29,17 @@ # 20200622 bkw: updated for v3.0.4, which fixes the flickering issue. # abiword-docs hasn't seen a new release, we're still on 3.0.2 there. +# 20220218 bkw: updated for v3.0.5, which keeps the build from breaking +# if asio is installed. added a note to README about asio. also, remove +# the .la file from the package. still no new abiword-docs release. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=abiword -VERSION=${VERSION:-3.0.4} -DOCSVER=3.0.2 # version of abiword-docs -DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still +VERSION=${VERSION:-3.0.5} +DOCSVER=3.0.2 # version of abiword-docs +DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still + # (DOCTAR WHO?) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,9 +52,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -86,9 +88,9 @@ tar xvf $CWD/abiword-docs-$DOCSVER.tar.gz 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ patch -p1 < $CWD/enchant-2.1.patch @@ -136,15 +138,16 @@ cd abiword-docs-$DOCTAR make install DESTDIR=$PKG cd .. -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 +gzip -9 $PKG/usr/man/man*/* -# 20200622 bkw: Skip useless docs. NEWS and ChangeLog are 0-byte placeholders, +# 20200622 bkw: Skip useless docs. ChangeLog is a 0-byte placeholder, # INSTALL is generic GNU confgure instructions. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt *.TXT AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt *.TXT AUTHORS COPYING README NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/office/abiword/abiword.info b/office/abiword/abiword.info index bd7961e57c..c7893de20a 100644 --- a/office/abiword/abiword.info +++ b/office/abiword/abiword.info @@ -1,9 +1,9 @@ PRGNAM="abiword" -VERSION="3.0.4" +VERSION="3.0.5" HOMEPAGE="http://www.abisource.com" -DOWNLOAD="http://abisource.com/downloads/abiword/3.0.4/source/abiword-3.0.4.tar.gz \ +DOWNLOAD="http://abisource.com/downloads/abiword/3.0.5/source/abiword-3.0.5.tar.gz \ http://abisource.com/downloads/abiword/3.0.2/source/abiword-docs-3.0.2.tar.gz" -MD5SUM="04e31887049a8c72297881bc153b77c4 \ +MD5SUM="a8f218b711450e4ccae43a0522e0e806 \ c92c0e1e2081db20757231a53d80c338" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3