system/t1utils: Removed (added to Slackware as part of texlive).

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-01-02 10:05:47 +01:00 committed by Robby Workman
parent f33d92da2f
commit 1c87424c8a
4 changed files with 0 additions and 147 deletions

View file

@ -1,17 +0,0 @@
t1utils is a collection of simple Type 1 font manipulation programs. Together,
they allow you to convert between PFA (ASCII) and PFB (binary) formats,
disassemble PFA or PFB files into human-readable form, and reassemble them
into PFA or PFB format. Additionally you can extract font resources from
a Macintosh font file (ATM/Laserwriter), or create a Macintosh Type 1 font
file from a PFA or PFB font.
* t1ascii: changes PFB (binary) fonts into PFA (ASCII) format
* t1binary: goes the opposite direction
* t1disasm: translates PFBs or PFAs into a human-readable and -editable format
* t1asm: goes the opposite direction
* t1unmac: translates a Macintosh Type 1 font into either PFB or PFA format
* t1mac: goes the opposite direction
NOTE: You do not need t1utils if you already have texlive installed as it is
already included there. However, installing it anyway doesn't do any harm
either.

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
t1utils: t1utils (Type 1 Font Utilities)
t1utils:
t1utils: t1utils is a collection of simple Type 1 font manipulation programs.
t1utils: Together, they allow you to convert between PFA (ASCII) and PFB
t1utils: (binary) formats, disassemble PFA or PFB files into human-readable
t1utils: form, and reassemble them into PFA or PFB format. Additionally you
t1utils: can extract font resources from a Macintosh font file
t1utils: (ATM/Laserwriter), or create a Macintosh Type 1 font file from a
t1utils: PFA or PFB font.
t1utils:
t1utils:

View file

@ -1,101 +0,0 @@
#!/bin/sh
# Slackware build script for t1utils
# Copyright 2013-2021 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=t1utils
VERSION=${VERSION:-1.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="INSTALL LICENSE NEWS.md README.md"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
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
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
# -D_GNU_SOURCE is to fix https://github.com/kohler/t1utils/issues/8
# (Was fixed in 1.42, but keep this workaround to prefer the system memmem.)
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="-D_GNU_SOURCE" \
make
make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +0,0 @@
PRGNAM="t1utils"
VERSION="1.42"
HOMEPAGE="https://www.lcdf.org/type/#t1utils"
DOWNLOAD="https://www.lcdf.org/type/t1utils-1.42.tar.gz"
MD5SUM="acc4bc832bafbdc059fb3b0cad8c3ab0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"