summaryrefslogtreecommitdiffstats
path: root/libraries/goffice
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/goffice')
-rw-r--r--libraries/goffice/README2
-rw-r--r--libraries/goffice/goffice.SlackBuild14
-rw-r--r--libraries/goffice/goffice.info10
3 files changed, 16 insertions, 10 deletions
diff --git a/libraries/goffice/README b/libraries/goffice/README
index 1678137a54..cdc51a7c6c 100644
--- a/libraries/goffice/README
+++ b/libraries/goffice/README
@@ -1 +1 @@
-GOffice -- A glib/gtk set of document centric objects and utilities
+GOffice -- A glib/gtk set of document centric objects and utilities.
diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild
index 3af2caf82e..e30e2ed5f1 100644
--- a/libraries/goffice/goffice.SlackBuild
+++ b/libraries/goffice/goffice.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for goffice
# Copyright (c) 2007 alkos333 <me@alkos333.net>
+# Copyright (c) 2023-24 Jim Diamond, Dartmouth, Nova Scotia, Canada
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -31,8 +32,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=goffice
-VERSION=${VERSION:-0.10.49}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.10.57}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,15 +54,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
+ CONFIG_ARGS="--without-long-double"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ CONFIG_ARGS=
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
+ CONFIG_ARGS=
fi
set -e
@@ -72,6 +76,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,6 +87,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ $CONFIG_ARGS \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/libraries/goffice/goffice.info b/libraries/goffice/goffice.info
index 6575e60fca..7e4d226c69 100644
--- a/libraries/goffice/goffice.info
+++ b/libraries/goffice/goffice.info
@@ -1,10 +1,10 @@
PRGNAM="goffice"
-VERSION="0.10.49"
+VERSION="0.10.57"
HOMEPAGE="https://download.gnome.org/sources/goffice/"
-DOWNLOAD="https://download.gnome.org/sources/goffice/0.10/goffice-0.10.49.tar.xz"
-MD5SUM="52ae9755ac55ada6843d678f2bc2470c"
+DOWNLOAD="https://download.gnome.org/sources/goffice/0.10/goffice-0.10.57.tar.xz"
+MD5SUM="4c55f99d8fafe1f91276cb7538521fdb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
+MAINTAINER="Jim Diamond"
+EMAIL="zsd@jdvb.ca"