diff options
Diffstat (limited to 'system/ttf-ancient-fonts')
-rw-r--r-- | system/ttf-ancient-fonts/README | 20 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/README.debian | 21 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/copyright.debian | 26 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/doinst.sh | 13 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/slack-desc | 19 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/ttf-ancient-fonts.SlackBuild | 89 | ||||
-rw-r--r-- | system/ttf-ancient-fonts/ttf-ancient-fonts.info | 10 |
7 files changed, 198 insertions, 0 deletions
diff --git a/system/ttf-ancient-fonts/README b/system/ttf-ancient-fonts/README new file mode 100644 index 0000000000..79c9476e25 --- /dev/null +++ b/system/ttf-ancient-fonts/README @@ -0,0 +1,20 @@ +ttf-ancient-fonts (Unicode fonts for ancient scripts) + +These are free unicode fonts for Aegean Scripts, other ancient scripts +in the greater Aegean vicinity, Egyptian Hieroglyphs, Sumero-Akkadian +Cuneiform, and Musical Symbols in the Unicode Standard. + +Despite the "ttf" in the name, the package includes a few .otf fonts +as well. + +The fonts installed by this package include hinting, by default. If you +for some reason require unhinted fonts, export HINTS=no in the +environment before running the SlackBuild. If you don't know what font +hinting is, you probably shouldn't worry about it. + +The source tarball contains an older version of the Symbola font. +By default it's not included here, as there's already a symbola-font-ttf +on SBo. It's a much newer version of Symbola, but is licensed under +highly restrictive terms. If you'd rather have the older but free-to-use +version of Symbola, set SYMBOLA=yes in the environment for this build, +and don't install symbola-font-ttf. diff --git a/system/ttf-ancient-fonts/README.debian b/system/ttf-ancient-fonts/README.debian new file mode 100644 index 0000000000..2978e4a02a --- /dev/null +++ b/system/ttf-ancient-fonts/README.debian @@ -0,0 +1,21 @@ +Versions of the fonts included in this package +============================================== + +Aegean v.9.17 02/2017 Scripts and symbols of the Aegean world +Textfonts v.7.17 02/2017 Fonts based on early Greek editions + +Symbola v.9.17 07/2017 Symbol blocks of The Unicode Standard +Abydos v.1.23 07/2017 A data-font of 7440 Egyptian Hieroglyphs +Aegyptus v.6.17 02/2017 Egyptian Hieroglyphs, Coptic, Meroitic +Akkadian v.7.17 02/2017 Sumero-Akkadian Cuneiform +Anatolian v.5.17 02/2017 Anatolian Hieroglyphs +Maya v.4.17 02/2017 Maya Hieroglyphs +Unidings v.9.17 07/2017 Icons for blocks of The Unicode Standard +Musica v.3.17 02/2017 Musical Notation +Analecta v.5.17 02/2017 Coptic, Gothic, Deseret + +The package also includes the following fonts obsoleted by the author: + +Alfios (superseded by Asea) +Atavyros +Avdira diff --git a/system/ttf-ancient-fonts/copyright.debian b/system/ttf-ancient-fonts/copyright.debian new file mode 100644 index 0000000000..24cd414239 --- /dev/null +++ b/system/ttf-ancient-fonts/copyright.debian @@ -0,0 +1,26 @@ +This package was debianized by: + + Gürkan Myczko <gurkan@phys.ethz.ch> on Mon, 26 Nov 2007 12:13:25 +0100. + +It was downloaded from: + + http://users.teilar.gr/~g1951d/ + +Upstream Author: + + George Douros <g1951d@teilar.gr> + +Copyright: + + Copyright (C) 2007-2015 George Douros + +License: + + Fonts are free for any use; they may be opened, edited, + modified, regenerated, packaged and redistributed. + +The Debian packaging is: + + Copyright (C) 2007-2017 Gürkan Myczko <gurkan@phys.ethz.ch> + Copyright (C) 2015 Andrew Shadura <andrewsh@debian.org> + is licensed under the GPL, see `/usr/share/common-licenses/GPL'. diff --git a/system/ttf-ancient-fonts/doinst.sh b/system/ttf-ancient-fonts/doinst.sh new file mode 100644 index 0000000000..2b48ae510c --- /dev/null +++ b/system/ttf-ancient-fonts/doinst.sh @@ -0,0 +1,13 @@ +if [ -x /usr/bin/mkfontdir ]; then + ( cd usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) + ( cd usr/share/fonts/OTF + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi diff --git a/system/ttf-ancient-fonts/slack-desc b/system/ttf-ancient-fonts/slack-desc new file mode 100644 index 0000000000..9df1af7ee8 --- /dev/null +++ b/system/ttf-ancient-fonts/slack-desc @@ -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------------------------------------------------------| +ttf-ancient-fonts: ttf-ancient-fonts (Unicode fonts for ancient scripts) +ttf-ancient-fonts: +ttf-ancient-fonts: These are free unicode fonts for Aegean Scripts, other ancient scripts +ttf-ancient-fonts: in the greater Aegean vicinity, Egyptian Hieroglyphs, Sumero-Akkadian +ttf-ancient-fonts: Cuneiform, and Musical Symbols in the Unicode Standard. +ttf-ancient-fonts: +ttf-ancient-fonts: The TTF fonts in this package are @UN@hinted. +ttf-ancient-fonts: +ttf-ancient-fonts: +ttf-ancient-fonts: +ttf-ancient-fonts: diff --git a/system/ttf-ancient-fonts/ttf-ancient-fonts.SlackBuild b/system/ttf-ancient-fonts/ttf-ancient-fonts.SlackBuild new file mode 100644 index 0000000000..f01844ad7e --- /dev/null +++ b/system/ttf-ancient-fonts/ttf-ancient-fonts.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for ttf-ancient-fonts + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# Notes to self (or anyone else who cares): + +# The tarball includes both hinted and unhinted versions of the fonts. The +# Debian package installs <font>.ttf and <font>_hint.ttf for all the +# fonts. However, if I do this, it's impossible to select the _hint +# versions in any application (because the TTF names conflict). Since +# it's possible to disable hinting in fontconfig or specific apps, +# I'm only going to include the _hint versions here by default. User +# can override with HINTS=no. The .otf fonts only come in one variety, +# so they're always installed as-is. + +# There are newer versions of these fonts at https://dn-works.com/ufas/ +# but they're under what I consider a ludicrously restrictive license, +# so I'm not going to touch them with a 10 foot pole. The symbola-font-ttf +# package is the restrictive version, so I've made it possible to include +# the older (free-to-use) Symbola here, though it's not the default. + +# There's no documentation in the tarball, so I borrow it from Debian. +# There's no license info in the tarball, and neither the original site +# nor web.archive.org still has has the "un-Debianized" zip files that +# presumably included the licenses, so I'm including Debian's copyright +# file that asserts these fonts are "free for any use". + +PRGNAM=ttf-ancient-fonts +VERSION=${VERSION:-2.60} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +HINTS="${HINTS:-yes}" + +# If the user requested unhinted fonts, don't even bother to extract +# the hinted versions. +[ "$HINTS" != "yes" ] && UN=un && TAROPT="--exclude=*_hint.ttf" + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION.orig +tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.xz $TAROPT +cd $PRGNAM-$VERSION.orig +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 {} \+ + +HAS_SYMBOLA=yes +[ "${SYMBOLA:-no}" = "no" ] && rm -f Symbola* && HAS_SYMBOLA=no + +# If we're doing hinted fonts, get rid of the unhinted ones. I can't think +# of a sane way to avoid extracting them in the first place... +[ "$HINTS" = "yes" ] && /bin/ls *.ttf | grep -v _hint | xargs rm -f + +for i in TTF OTF; do + mkdir -p $PKG/usr/share/fonts/$i + install -m0644 *.$( echo $i | tr A-Z a-z) $PKG/usr/share/fonts/$i +done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +for i in README.debian copyright.debian; do + cat $CWD/$i > $PKG/usr/doc/$PRGNAM-$VERSION/$i +done +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +sed "s,@UN@,$UN," $CWD/slack-desc > $PKG/install/slack-desc +if [ "$HAS_SYMBOLA" = "yes" ]; then + sed -i \ + '17s/$/ This package includes the Symbola font, and will conflict with symbola-font-ttf/' \ + $PKG/install/slack-desc +fi +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/ttf-ancient-fonts/ttf-ancient-fonts.info b/system/ttf-ancient-fonts/ttf-ancient-fonts.info new file mode 100644 index 0000000000..3e51b06439 --- /dev/null +++ b/system/ttf-ancient-fonts/ttf-ancient-fonts.info @@ -0,0 +1,10 @@ +PRGNAM="ttf-ancient-fonts" +VERSION="2.60" +HOMEPAGE="https://packages.debian.org/sid/ttf-ancient-fonts" +DOWNLOAD="http://deb.debian.org/debian/pool/main/t/ttf-ancient-fonts/ttf-ancient-fonts_2.60.orig.tar.xz" +MD5SUM="a0132b3262b3eec9bc2fc8ff8c4ed9f3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |