From c8c463cb6a42b92b842aa4653996ce4191da35a8 Mon Sep 17 00:00:00 2001 From: Pedro Mendes Date: Fri, 1 Apr 2022 16:22:35 +0100 Subject: [PATCH] libraries/libEMF: Updated for version 1.0.13. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- libraries/libEMF/README | 13 +++++-------- libraries/libEMF/libEMF.SlackBuild | 23 +++++++++++++---------- libraries/libEMF/libEMF.info | 8 ++++---- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/libraries/libEMF/README b/libraries/libEMF/README index 2741bbb56b..8e75015875 100644 --- a/libraries/libEMF/README +++ b/libraries/libEMF/README @@ -1,8 +1,5 @@ -libEMF is a C/C++ library which provides a drawing toolkit based -on ECMA-234. The general purpose of this library is to create -vector graphics files on POSIX systems which can be imported into -StarOffice/OpenOffice. The library is also used by pstoedit to -convert postscript and pdf files to EMF format. - -This might build with 32-bit compat libs on x86_64, but definitely not -without them. +libEMF is a C/C++ library which provides a drawing toolkit based on +ECMA-234. The general purpose of this library is to create vector +graphics files on POSIX systems which can be imported into +StarOffice/OpenOffice. The library is also used by pstoedit to convert +postscript and pdf files to EMF format. diff --git a/libraries/libEMF/libEMF.SlackBuild b/libraries/libEMF/libEMF.SlackBuild index d4e6bf98d4..88889330d1 100644 --- a/libraries/libEMF/libEMF.SlackBuild +++ b/libraries/libEMF/libEMF.SlackBuild @@ -6,8 +6,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libEMF -VERSION=${VERSION:-1.0.7} -BUILD=${BUILD:-2} +SRCNAM=libemf +VERSION=${VERSION:-1.0.13} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -19,6 +20,9 @@ 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 @@ -47,15 +51,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$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 {} \+ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # static library is activated because the perl extension needs it CFLAGS="$SLKCFLAGS" \ @@ -67,12 +71,13 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-editing \ + --disable-static \ --build=$ARCH-slackware-linux 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -80,8 +85,6 @@ cp -a AUTHORS ChangeLog COPYING COPYING.LIB INSTALL NEWS README \ $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 diff --git a/libraries/libEMF/libEMF.info b/libraries/libEMF/libEMF.info index 01125f1bf0..283805aa96 100644 --- a/libraries/libEMF/libEMF.info +++ b/libraries/libEMF/libEMF.info @@ -1,9 +1,9 @@ PRGNAM="libEMF" -VERSION="1.0.7" +VERSION="1.0.13" HOMEPAGE="http://libemf.sourceforge.net" -DOWNLOAD="http://sourceforge.net/projects/libemf/files/libemf/1.0.7/libEMF-1.0.7.tar.gz" -MD5SUM="f1011f5cc254aa228be78704fe5f9960" -DOWNLOAD_x86_64="UNSUPPORTED" +DOWNLOAD="http://downloads.sourceforge.net/libemf/libemf-1.0.13.tar.gz" +MD5SUM="023e2d718e3829d9858647a97ba53eb6" +DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Pedro Mendes"