summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author K. Eugene Carlson <kvngncrlsn@gmail.com>2023-04-28 03:40:05 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:41 +0700
commitb113064ac742fedcfbb681327cbed77cf3f4e482 (patch)
treef9da6b2a038f299edfcd05cd1aa8a566575864f1
parent1d25f5d4969d481b360ea85c86f7a0482ddd4f62 (diff)
downloadslackbuilds-b113064ac742fedcfbb681327cbed77cf3f4e482.tar.gz
slackbuilds-b113064ac742fedcfbb681327cbed77cf3f4e482.tar.xz
system/noto-extra-ttf: Added (extra Noto fonts)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/noto-extra-ttf/README4
-rw-r--r--system/noto-extra-ttf/doinst.sh10
-rw-r--r--system/noto-extra-ttf/font-list87
-rw-r--r--system/noto-extra-ttf/noto-extra-ttf.SlackBuild79
-rw-r--r--system/noto-extra-ttf/noto-extra-ttf.info10
-rw-r--r--system/noto-extra-ttf/slack-desc19
6 files changed, 209 insertions, 0 deletions
diff --git a/system/noto-extra-ttf/README b/system/noto-extra-ttf/README
new file mode 100644
index 0000000000..15ae684057
--- /dev/null
+++ b/system/noto-extra-ttf/README
@@ -0,0 +1,4 @@
+noto-extra-ttf is a collection of Noto fonts that are not included in
+Slackware. They are mostly of religious, linguistic and/or historic
+interest, though some fonts for living languages with a limited online
+presence are included as well.
diff --git a/system/noto-extra-ttf/doinst.sh b/system/noto-extra-ttf/doinst.sh
new file mode 100644
index 0000000000..d119c4ef73
--- /dev/null
+++ b/system/noto-extra-ttf/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indices:
+
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd usr/share/fonts/TTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir .
+ )
+
+ [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f
+fi
diff --git a/system/noto-extra-ttf/font-list b/system/noto-extra-ttf/font-list
new file mode 100644
index 0000000000..77db330ab2
--- /dev/null
+++ b/system/noto-extra-ttf/font-list
@@ -0,0 +1,87 @@
+hinted/NotoSansAvestan-Regular.ttf
+hinted/NotoSansBamum-Regular.ttf
+hinted/NotoSansBuhid-Regular.ttf
+hinted/NotoSansCarian-Regular.ttf
+hinted/NotoSansCherokee-Black.ttf
+hinted/NotoSansCherokee-Bold.ttf
+hinted/NotoSansCherokee-Light.ttf
+hinted/NotoSansCherokee-Medium.ttf
+hinted/NotoSansCherokee-Regular.ttf
+hinted/NotoSansCherokee-Thin.ttf
+hinted/NotoSansCypriot-Regular.ttf
+hinted/NotoSansDeseret-Regular.ttf
+hinted/NotoSansEthiopic-Black.ttf
+hinted/NotoSansEthiopic-Bold.ttf
+hinted/NotoSansEthiopic-Light.ttf
+hinted/NotoSansEthiopic-Medium.ttf
+hinted/NotoSansEthiopic-Regular.ttf
+hinted/NotoSansEthiopic-Thin.ttf
+hinted/NotoSansGlagolitic-Regular.ttf
+hinted/NotoSansGothic-Regular.ttf
+hinted/NotoSansKayahLi-Regular.ttf
+hinted/NotoSansLisu-Regular.ttf
+hinted/NotoSansMandaic-Regular.ttf
+hinted/NotoSansNKo-Regular.ttf
+hinted/NotoSansOlChiki-Regular.ttf
+hinted/NotoSansOldTurkic-Regular.ttf
+hinted/NotoSansOsmanya-Regular.ttf
+hinted/NotoSansShavian-Regular.ttf
+hinted/NotoSansTibetan-Bold.ttf
+hinted/NotoSansTibetan-Regular.ttf
+hinted/NotoSansTifinagh-Regular.ttf
+hinted/NotoSansVai-Regular.ttf
+hinted/NotoSerifEthiopic-Black.ttf
+hinted/NotoSerifEthiopic-Bold.ttf
+hinted/NotoSerifEthiopic-Light.ttf
+hinted/NotoSerifEthiopic-Medium.ttf
+hinted/NotoSerifEthiopic-Regular.ttf
+hinted/NotoSerifEthiopic-Thin.ttf
+unhinted/NotoSansBalinese-Regular.ttf
+unhinted/NotoSansBatak-Regular.ttf
+unhinted/NotoSansBrahmi-Regular.ttf
+unhinted/NotoSansBuginese-Regular.ttf
+unhinted/NotoSansCanadianAboriginal-Regular.ttf
+unhinted/NotoSansCham-Black.ttf
+unhinted/NotoSansCham-Bold.ttf
+unhinted/NotoSansCham-Light.ttf
+unhinted/NotoSansCham-Medium.ttf
+unhinted/NotoSansCham-Regular.ttf
+unhinted/NotoSansCham-Thin.ttf
+unhinted/NotoSansCuneiform-Regular.ttf
+unhinted/NotoSansEgyptianHieroglyphs-Regular.ttf
+unhinted/NotoSansHanunoo-Regular.ttf
+unhinted/NotoSansImperialAramaic-Regular.ttf
+unhinted/NotoSansInscriptionalPahlavi-Regular.ttf
+unhinted/NotoSansInscriptionalParthian-Regular.ttf
+unhinted/NotoSansJavanese-Regular.ttf
+unhinted/NotoSansKaithi-Regular.ttf
+unhinted/NotoSansKharoshthi-Regular.ttf
+unhinted/NotoSansLepcha-Regular.ttf
+unhinted/NotoSansLimbu-Regular.ttf
+unhinted/NotoSansLinearB-Regular.ttf
+unhinted/NotoSansLycian-Regular.ttf
+unhinted/NotoSansLydian-Regular.ttf
+unhinted/NotoSansMeeteiMayek-Regular.ttf
+unhinted/NotoSansMongolian-Regular.ttf
+unhinted/NotoSansNewTaiLue-Regular.ttf
+unhinted/NotoSansOgham-Regular.ttf
+unhinted/NotoSansOldPersian-Regular.ttf
+unhinted/NotoSansOldSouthArabian-Regular.ttf
+unhinted/NotoSansPhagsPa-Regular.ttf
+unhinted/NotoSansPhoenician-Regular.ttf
+unhinted/NotoSansRejang-Regular.ttf
+unhinted/NotoSansRunic-Regular.ttf
+unhinted/NotoSansSamaritan-Regular.ttf
+unhinted/NotoSansSaurashtra-Regular.ttf
+unhinted/NotoSansSundanese-Regular.ttf
+unhinted/NotoSansSylotiNagri-Regular.ttf
+unhinted/NotoSansSyriacEastern-Regular.ttf
+unhinted/NotoSansSyriacEstrangela-Regular.ttf
+unhinted/NotoSansSyriacWestern-Regular.ttf
+unhinted/NotoSansTagalog-Regular.ttf
+unhinted/NotoSansTagbanwa-Regular.ttf
+unhinted/NotoSansTaiLe-Regular.ttf
+unhinted/NotoSansTaiTham-Regular.ttf
+unhinted/NotoSansTaiViet-Regular.ttf
+unhinted/NotoSansUgaritic-Regular.ttf
+unhinted/NotoSansYi-Regular.ttf
diff --git a/system/noto-extra-ttf/noto-extra-ttf.SlackBuild b/system/noto-extra-ttf/noto-extra-ttf.SlackBuild
new file mode 100644
index 0000000000..62fb021fef
--- /dev/null
+++ b/system/noto-extra-ttf/noto-extra-ttf.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for noto-extra-ttf
+
+# Copyright 2023 K. Eugene Carlson Tsukuba, Japan
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=noto-extra-ttf
+SRCNAM=noto-fonts
+VERSION=${VERSION:-20171024}
+SRCVER=${SRCVER:-2017-10-24-phase3-second-cleanup}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+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-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/fonts/TTF
+# Only install the "extra" fonts.
+while read -r font; do
+ install -m 644 $font $PKG/usr/share/fonts/TTF/
+done < $CWD/font-list
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.md
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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
diff --git a/system/noto-extra-ttf/noto-extra-ttf.info b/system/noto-extra-ttf/noto-extra-ttf.info
new file mode 100644
index 0000000000..45a8ee2fa2
--- /dev/null
+++ b/system/noto-extra-ttf/noto-extra-ttf.info
@@ -0,0 +1,10 @@
+PRGNAM="noto-extra-ttf"
+VERSION="20171024"
+HOMEPAGE="https://notofonts.github.io"
+DOWNLOAD="https://github.com/notofonts/noto-fonts/archive/refs/tags/v2017-10-24-phase3-second-cleanup/noto-fonts-2017-10-24-phase3-second-cleanup.tar.gz"
+MD5SUM="0dc4ff0a99fe81201df099bfe03ce52f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="K. Eugene Carlson"
+EMAIL="kvngncrlsn@gmail.com"
diff --git a/system/noto-extra-ttf/slack-desc b/system/noto-extra-ttf/slack-desc
new file mode 100644
index 0000000000..fba093191e
--- /dev/null
+++ b/system/noto-extra-ttf/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------------------------------------------------------|
+noto-extra-ttf: noto-extra-ttf (extra Noto fonts)
+noto-extra-ttf:
+noto-extra-ttf: noto-extra-ttf is a collection of Noto fonts that are not included in
+noto-extra-ttf: Slackware. They are mostly of religious, linguistic and/or historic
+noto-extra-ttf: interest, though some fonts for living languages with a limited online
+noto-extra-ttf: presence are included as well.
+noto-extra-ttf:
+noto-extra-ttf:
+noto-extra-ttf:
+noto-extra-ttf:
+noto-extra-ttf: Homepage: https://notofonts.github.io