aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:39:50 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:50 +0200
commit84e86d391b4441f3d79f5a2f24d4cc5632153437 (patch)
tree3eed15c5c7b85f6fd0a2d66eb0fcb8d95ae8ae01
parentd68e22958b324be8ebbb82a00bbb375eac565cec (diff)
graphics/fontforge: Updated for version 20090224
-rw-r--r--graphics/fontforge/README2
-rw-r--r--graphics/fontforge/fontforge.SlackBuild29
-rw-r--r--graphics/fontforge/fontforge.info6
3 files changed, 20 insertions, 17 deletions
diff --git a/graphics/fontforge/README b/graphics/fontforge/README
index b6cef4ebe8d72..e02ba52ed2cb2 100644
--- a/graphics/fontforge/README
+++ b/graphics/fontforge/README
@@ -17,7 +17,7 @@ available inside the extracted SlackBuild tarball directory - in other words:
fontforge.SlackBuild
fontforge.info
slack-desc
- freetype-2.3.5/
+ freetype-2.3.7/
Fontforge seems to build (and function) just fine without doing this (this is
at least true for prior versions), but it does look for the freetype sources
while compiling, so it's probably best to make them available just in case :)
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 4c617e7c58bc1..57ed2fb31f315 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fontforge
-# Copyright 2006-2008 Robby Workman Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Thanks to Eric Hameleers for some pointers on getting the fontforge.pc
-# file right without too much manual intervention :-)
-
PRGNAM=fontforge
-VERSION=20080927
+VERSION=20090224
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+ENABLE_BCINT=${ENABLE_BCINT:-no}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -59,9 +58,10 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --mandir=/usr/man \
--with-x \
- --with-freetype-src=$CWD/freetype-2.3.5 \
- --with-freetype-bytecode=no \
+ --with-freetype-src=$CWD/freetype-2.3.7 \
+ --with-freetype-bytecode=$ENABLE_BCINT \
--with-devicetables \
--enable-libff \
--enable-pyextension \
@@ -73,7 +73,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make prefix=$PKG/usr libdir=$PKG/usr/lib install
+make install DESTDIR=$PKG
# Let's add the cidmaps if the user downloaded them
if [ -e $CWD/cidmaps.tgz ]; then
@@ -84,18 +84,21 @@ if [ -e $CWD/cidmaps.tgz ]; then
fi
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
-( cd $PKG/usr/man
+( 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
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS INSTALL LICENSE README-Unix.html README-unix VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS INSTALL LICENSE README-Unix.html README-unix VERSION \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;
diff --git a/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info
index 889a789c6a7f3..f4aad9cd46ddb 100644
--- a/graphics/fontforge/fontforge.info
+++ b/graphics/fontforge/fontforge.info
@@ -1,8 +1,8 @@
PRGNAM="fontforge"
-VERSION="20080927"
+VERSION="20090224"
HOMEPAGE="http://fontforge.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20080927.tar.bz2"
-MD5SUM="8866595d4dac77c0c093ed1e104515d3"
+DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20090224.tar.bz2"
+MD5SUM="5b564437e5e3db660b0202647b6f733b"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="dsomero"