diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-05-21 10:28:22 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-23 23:21:39 -0500 |
commit | e43491255471ae86a88c46a23653961ff73b6249 (patch) | |
tree | e05c1fd8782510fd10336c2cf19d0529ff66092c /graphics/fontforge | |
parent | ca092a24ffb16ce16e209c0cb8418b6f108e2945 (diff) | |
download | slackbuilds-e43491255471ae86a88c46a23653961ff73b6249.tar.gz |
graphics/fontforge: Updated for version 20100501.
Diffstat (limited to 'graphics/fontforge')
-rw-r--r-- | graphics/fontforge/README | 2 | ||||
-rw-r--r-- | graphics/fontforge/fontforge.SlackBuild | 29 | ||||
-rw-r--r-- | graphics/fontforge/fontforge.info | 10 |
3 files changed, 24 insertions, 17 deletions
diff --git a/graphics/fontforge/README b/graphics/fontforge/README index 933bc68ad6..d8c6179382 100644 --- a/graphics/fontforge/README +++ b/graphics/fontforge/README @@ -4,6 +4,6 @@ NFNT) fonts, or edit existing ones. It also lets you convert one format to another. FontForge has support for many Macintosh font formats. You can specify an alternate version of freetype on the command line when -running the script with e.g. FREETYPE=2.3.10 ./fontforge.SlackBuild +running the script with e.g. FREETYPE=2.3.12 ./fontforge.SlackBuild but you will need to manually place that freetype tarball in the slackbuild directory. diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild index 2dffc015b5..5947647c68 100644 --- a/graphics/fontforge/fontforge.SlackBuild +++ b/graphics/fontforge/fontforge.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fontforge -# Copyright 2006-2009 Robby Workman Northport, Alabama, USA +# Copyright 2006,2007,2008,2009,2010 Robby Workman Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,22 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fontforge -VERSION=20090622 -ARCH=${ARCH:-i486} +VERSION=20100501 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ENABLE_BCINT=${ENABLE_BCINT:-no} -FREETYPE=${FREETYPE:-"2.3.9"} +FREETYPE=${FREETYPE:-"2.3.12"} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -45,6 +54,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -54,7 +66,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION freetype-$FREETYPE tar xvf $CWD/${PRGNAM}_full-${VERSION}.tar.bz2 -tar xvf $CWD/freetype-$FREETYPE.tar.bz2 +tar xvf $CWD/freetype-$FREETYPE.tar.xz chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE cd $PRGNAM-$VERSION @@ -68,12 +80,10 @@ CXXFLAGS="$SLKCFLAGS" \ --with-x \ --with-freetype-src=$TMP/freetype-${FREETYPE} \ --with-freetype-bytecode=$ENABLE_BCINT \ - --with-devicetables \ --enable-libff \ --enable-pyextension \ --enable-type3 \ --enable-tilepath \ - --disable-debug \ --enable-static=no \ --enable-shared=yes \ --build=$ARCH-slackware-linux @@ -90,10 +100,7 @@ chown root:root $PKG/usr/share/fontforge/*.cidmap find $PKG | xargs 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 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info index 5c65ac2bb2..0608749dc1 100644 --- a/graphics/fontforge/fontforge.info +++ b/graphics/fontforge/fontforge.info @@ -1,12 +1,12 @@ PRGNAM="fontforge" -VERSION="20090622" +VERSION="20100501" HOMEPAGE="http://fontforge.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20090622.tar.bz2 \ +DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20100501.tar.bz2 \ http://fontforge.sf.net/cidmaps.tgz \ - http://slackware.osuosl.org/slackware-13.0/source/l/freetype/freetype-2.3.9.tar.bz2" -MD5SUM="3f4ff2d2dab200f47595bff38baa13ca \ + http://slackware.osuosl.org/slackware-13.1/source/l/freetype/freetype-2.3.12.tar.xz" +MD5SUM="5f3d20d645ec1aa2b7b4876386df8717 \ 063691163e592515b31514515bb3ce8c \ - d76233108aca9c9606cdbd341562ad9a" + e8f60e286eaa492bb766f17241972626" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Robby Workman" |