mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/libwmf-type1-fonts: Added (postscript fonts for libwmf)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2bef5faefd
commit
0dad343b95
4 changed files with 92 additions and 0 deletions
9
system/libwmf-type1-fonts/README
Normal file
9
system/libwmf-type1-fonts/README
Normal file
|
@ -0,0 +1,9 @@
|
|||
libwmf-type1-fonts (URW base 35 postscript fonts for libwmf)
|
||||
|
||||
These Type 1 fonts are required for Slackware's libwmf package to be
|
||||
able to render text. They're installed to /usr/share/libwmf/fonts, so
|
||||
they're not available for other uses.
|
||||
|
||||
Installing this package allows Slackware's Gimp to be able to display
|
||||
WMF (Windows MetaFiles) with embedded text, instead of giving an error
|
||||
message when it tries. It also allows qiv (from SBo) to display them.
|
54
system/libwmf-type1-fonts/libwmf-type1-fonts.SlackBuild
Normal file
54
system/libwmf-type1-fonts/libwmf-type1-fonts.SlackBuild
Normal file
|
@ -0,0 +1,54 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Slackware build script for libwmf-type1-fonts
|
||||
|
||||
# Written by B. Watson (urchlay@slackware.uk)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=libwmf-type1-fonts
|
||||
SRCNAM=urw-base35-fonts
|
||||
VERSION=${VERSION:-20200910}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
ARCH=noarch
|
||||
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
|
||||
|
||||
FONTDIR=$PKG/usr/share/libwmf/fonts
|
||||
mkdir -p $FONTDIR
|
||||
cp -a fonts/*.{t1,afm} $FONTDIR
|
||||
|
||||
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKGDOC
|
||||
cp -a LICENSE $PKGDOC
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
#cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
10
system/libwmf-type1-fonts/libwmf-type1-fonts.info
Normal file
10
system/libwmf-type1-fonts/libwmf-type1-fonts.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="libwmf-type1-fonts"
|
||||
VERSION="20200910"
|
||||
HOMEPAGE="https://github.com/ArtifexSoftware/urw-base35-fonts/"
|
||||
DOWNLOAD="https://github.com/ArtifexSoftware/urw-base35-fonts/archive/20200910/urw-base35-fonts-20200910.tar.gz"
|
||||
MD5SUM="eb78ab0b6eb4115fc1a68c8f2a81abf6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="urchlay@slackware.uk"
|
19
system/libwmf-type1-fonts/slack-desc
Normal file
19
system/libwmf-type1-fonts/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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------------------------------------------------------|
|
||||
libwmf-type1-fonts: libwmf-type1-fonts (URW base 35 postscript fonts for libwmf)
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts: These Type 1 fonts are required for Slackware's libwmf package to be
|
||||
libwmf-type1-fonts: able to render text. They're installed to /usr/share/libwmf/fonts, so
|
||||
libwmf-type1-fonts: they're not available for other uses.
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts:
|
||||
libwmf-type1-fonts:
|
Loading…
Reference in a new issue