diff options
author | David Woodfall <dave@dawoodfall.net> | 2014-11-27 01:10:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-11-27 01:10:52 +0700 |
commit | 01d8ce840e0f71fb13cf26cb13dfe89da261aa49 (patch) | |
tree | 8e5d99016764aca183dbfb0e9957ec6eb3a5ad48 | |
parent | ddf9b1aa31fa8fe49de560c5a623a1e1f7b948e3 (diff) |
graphics/fontforge: Updated for version 20141014.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/fontforge/fontforge.SlackBuild | 27 | ||||
-rw-r--r-- | graphics/fontforge/fontforge.info | 6 |
2 files changed, 14 insertions, 19 deletions
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild index 7cee34daa42fc..76e53e88110c8 100644 --- a/graphics/fontforge/fontforge.SlackBuild +++ b/graphics/fontforge/fontforge.SlackBuild @@ -25,12 +25,10 @@ # Currently maintained by David Woodfall PRGNAM=fontforge -VERSION=20120731_b +VERSION=${VERSION:-20141014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -TARVERS=$(printf $VERSION | tr _ -) - ENABLE_BCINT=${ENABLE_BCINT:-yes} FREETYPE=${FREETYPE:-"2.4.10"} @@ -67,12 +65,13 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION freetype-$FREETYPE -tar xvf $CWD/${PRGNAM}_full-${TARVERS}.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/freetype-$FREETYPE.tar.xz -chown -R root:root $PRGNAM-$TARVERS freetype-$FREETYPE -chmod -R u+w,go+r-w,a-s $PRGNAM-$TARVERS freetype-$FREETYPE -cd $PRGNAM-$TARVERS +chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE +chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE +cd $PRGNAM-$VERSION +./bootstrap CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,12 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --with-x \ - --with-freetype-src=$TMP/freetype-${FREETYPE} \ - --with-freetype-bytecode=$ENABLE_BCINT \ - --enable-libff \ - --enable-pyextension \ - --enable-type3 \ - --enable-tilepath \ + --with-freetype-source=$TMP/freetype-${FREETYPE} \ + --enable-python-extension \ + --enable-tile-path \ --enable-static=no \ --enable-shared=yes \ --build=$ARCH-slackware-linux @@ -103,11 +99,10 @@ 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 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 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 $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 03d44fbcb91e0..0e0b23e4e06ab 100644 --- a/graphics/fontforge/fontforge.info +++ b/graphics/fontforge/fontforge.info @@ -1,10 +1,10 @@ PRGNAM="fontforge" -VERSION="20120731_b" +VERSION="20141014" HOMEPAGE="http://fontforge.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/fontforge/fontforge_full-20120731-b.tar.bz2 \ +DOWNLOAD="https://github.com/fontforge/fontforge/releases/download/20141014/fontforge-20141014.tar.gz \ http://fontforge.sf.net/cidmaps.tgz \ http://slackware.osuosl.org/slackware-14.0/source/l/freetype/freetype-2.4.10.tar.xz" -MD5SUM="a8a90473a97da87e45f66d11007b6e7c \ +MD5SUM="2a9c7a8d88868fa6b421ab779e973f6d \ 063691163e592515b31514515bb3ce8c \ b9c2e7fdbe72e788432ddced0e65e0fd" DOWNLOAD_x86_64="" |