aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/pstoedit/drvswf.cpp.patch10
-rw-r--r--office/pstoedit/pstoedit.SlackBuild18
-rw-r--r--office/pstoedit/pstoedit.info6
3 files changed, 11 insertions, 23 deletions
diff --git a/office/pstoedit/drvswf.cpp.patch b/office/pstoedit/drvswf.cpp.patch
deleted file mode 100644
index a731874c41898..0000000000000
--- a/office/pstoedit/drvswf.cpp.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/drvswf.orig.cpp 2009-12-05 02:02:09.000000000 +0000
-+++ src/drvswf.cpp 2009-12-05 02:02:19.000000000 +0000
-@@ -32,7 +32,6 @@
- //static bool cubic = false;
-
- #include "mingpp.h"
--#include "ming_config.h"
-
- #if defined(_WIN32)
- extern "C" {
diff --git a/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild
index 5281fa4a96c1e..df6ff2e8cc313 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pstoedit
-VERSION=3.50
+VERSION=${VERSION:-3.62}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ 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 \
+ -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 {} \;
@@ -79,20 +79,18 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-# Fix a superfulous include in drvswf.cpp which causes error
-patch -p0 < $CWD/drvswf.cpp.patch
-
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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
+# copy the example directory which is not installed...
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/examples
+cp -a $TMP/$PRGNAM-$VERSION/examples/*.ps $PKG/usr/share/$PRGNAM-$VERSION/examples
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a readme.install $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/pstoedit/pstoedit.info b/office/pstoedit/pstoedit.info
index c6ad446a8181d..2acda5801608a 100644
--- a/office/pstoedit/pstoedit.info
+++ b/office/pstoedit/pstoedit.info
@@ -1,8 +1,8 @@
PRGNAM="pstoedit"
-VERSION="3.50"
+VERSION="3.62"
HOMEPAGE="http://www.pstoedit.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pstoedit/pstoedit-3.50.tar.gz"
-MD5SUM="97d649305ad90fab7a569154f17e0916"
+DOWNLOAD="https://sourceforge.net/projects/pstoedit/files/pstoedit/3.62/pstoedit-3.62.tar.gz"
+MD5SUM="d4ac408d93a8f57dcf0b261cef7785d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""