aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/quivira-font/README21
-rw-r--r--system/quivira-font/doinst.sh19
-rw-r--r--system/quivira-font/quivira-font.SlackBuild56
-rw-r--r--system/quivira-font/quivira-font.info10
-rw-r--r--system/quivira-font/slack-desc19
5 files changed, 125 insertions, 0 deletions
diff --git a/system/quivira-font/README b/system/quivira-font/README
new file mode 100644
index 0000000000..757d874acf
--- /dev/null
+++ b/system/quivira-font/README
@@ -0,0 +1,21 @@
+quivira-font (OpenType font)
+
+Quivira is a Unicode-based OpenType font containing much more glyphs
+than most of the well-known fonts. It is free to use. It provides a
+large character repertoire, so that texts containing rather unusual
+characters can be rendered pleasingly.
+
+Quivira is a free Unicode font in the OpenType format which is
+supported by every usual office program or printer. From a typographic
+point of view, Quivira is a proportional serif font like e.g. the
+more well-known Times New Roman and Garamond. Thus it is suitable for
+writing well readable texts. Quivira 4.1 contains 11,053 characters.
+
+Quivira is a variable-width font; it's not suitable for use with
+terminals, though it can be used as a "fallback" font in urxvt's
+URxvt*font resource. Example for use in ~/.Xdefaults:
+
+URxvt*font: Deja Vu Sans Mono:size=14,xft:Quivira:size=14
+
+This will allow urxvt to display glyphs that don't exist in the main
+font (Deja Vu Sans Mono, above) using Quivira.
diff --git a/system/quivira-font/doinst.sh b/system/quivira-font/doinst.sh
new file mode 100644
index 0000000000..bb6d1a6764
--- /dev/null
+++ b/system/quivira-font/doinst.sh
@@ -0,0 +1,19 @@
+# 20241213 bkw: this is both doinst.sh and douninst.sh for quivira-font.
+
+# Update fonts.{dir,scale,alias}
+if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
+ ( cd usr/share/fonts/OTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir .
+ )
+fi
+
+# If X is running...
+if [ "$DISPLAY" != "" ] && [ -x /usr/bin/xset ]; then
+ /usr/bin/xset fp rehash >/dev/null 2>&1
+fi
+
+# Update the X font indexes:
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/system/quivira-font/quivira-font.SlackBuild b/system/quivira-font/quivira-font.SlackBuild
new file mode 100644
index 0000000000..216f5654b7
--- /dev/null
+++ b/system/quivira-font/quivira-font.SlackBuild
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+# Slackware build script for quivira-font
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Original URL:
+# http://www.quivira-font.com/files/Quivira.otf
+# Not used in .info file because it'll get overwritten with the next version,
+# whenever they release it.
+# Since I have to host the file myself, I went ahead and renamed it so it
+# has the version number in the filename.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=quivira-font
+VERSION=${VERSION:-4.1}
+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
+
+# Simplest package creation procedure ever:
+rm -rf $PKG
+mkdir -p $OUTPUT
+install -D -m0644 $CWD/$PRGNAM-$VERSION.otf $PKG/usr/share/fonts/OTF/Quivira.otf
+
+# No docs, include our own README, mostly cribbed from the homepage,
+# with an extra bit about using this with urxvt (since that's what I
+# actually use it for).
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cat $CWD/README > $PKGDOC/README
+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
+# *not* a typo, the douninst.sh is the same as doinst.sh:
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/quivira-font/quivira-font.info b/system/quivira-font/quivira-font.info
new file mode 100644
index 0000000000..01cb0fcbad
--- /dev/null
+++ b/system/quivira-font/quivira-font.info
@@ -0,0 +1,10 @@
+PRGNAM="quivira-font"
+VERSION="4.1"
+HOMEPAGE="http://www.quivira-font.com/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/quivira-font-4.1.otf"
+MD5SUM="35b77765018ffd77dd5d56c4d55de124"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/system/quivira-font/slack-desc b/system/quivira-font/slack-desc
new file mode 100644
index 0000000000..d464e0800a
--- /dev/null
+++ b/system/quivira-font/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------------------------------------------------------|
+quivira-font: quivira-font (OpenType font)
+quivira-font:
+quivira-font: Quivira is a Unicode-based OpenType font containing much more glyphs
+quivira-font: than most of the well-known fonts. It is free to use. It provides a
+quivira-font: large character repertoire, so that texts containing rather unusual
+quivira-font: characters can be rendered pleasingly.
+quivira-font:
+quivira-font:
+quivira-font:
+quivira-font:
+quivira-font: