summaryrefslogtreecommitdiff
path: root/extra/bdf-unifont
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/bdf-unifont
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/bdf-unifont')
-rw-r--r--extra/bdf-unifont/LICENSE60
-rw-r--r--extra/bdf-unifont/PKGBUILD24
-rw-r--r--extra/bdf-unifont/unifont.install15
3 files changed, 99 insertions, 0 deletions
diff --git a/extra/bdf-unifont/LICENSE b/extra/bdf-unifont/LICENSE
new file mode 100644
index 000000000..066ea1699
--- /dev/null
+++ b/extra/bdf-unifont/LICENSE
@@ -0,0 +1,60 @@
+CENSE
+-------
+Roman Czyborra released his work (Perl scripts and font .hex files)
+under the following terms:
+
+ All of my works you find here are freeware. You may
+ freely copy, use, quote, modify or redistribute them
+ as long as you properly attribute my contribution and
+ have given a quick thought about whether Roman might
+ perhaps be interested to read what you did with his
+ stuff. Horizontal rules don't apply.
+
+David Starner released what in this package is named "hex2bdf-split"
+under the same license as Roman Czyborra's work.
+
+License for all of Paul Hardy's work (except "johab2ucs2" and
+"blanks.hex", mentioned separately), Makefile and debian/ mods
+by Anthony Fok, and modified software from Luis Gonzalez Miranda
+(with permission granted to Paul Hardy):
+
+ These are released under the terms of the GNU General Public
+ License version 2, or (at your option) a later version.
+
+License for Fonts:
+
+ Any fonts using glyphs from the "wqy-cjk.hex" file (including
+ the default TrueType font) are bound by the terms of the Wen
+ Quan Yi font license. Those fonts are released under the terms
+ of the GNU General Public License (GPL) versionn 2, with the
+ exception that embedding the font in a document does not by
+ itself bind that document to the terms of the GNU GPL.
+
+ Any fonts that do not use glyphs from the "wqy-cjk.hex" file
+ fall under the above "License for all of Roman Czyborra's work".
+
+ The fonts in "./font/precompiled" do use wqy-cjk.hex, and so
+ are licensed under the GNU GPL version 2, with the exception
+ that embedding the font in a document does not in itself bind
+ that document to the terms of the GNU GPL. The following
+ paragraphs explaining the exception is taken from the Wen
+ Quan Yi font distribution:
+
+ ** GPL v2.0 license with font embedding exception:
+
+ As a special exception, if you create a document which
+ uses this font, and embed this font or unaltered portions
+ of this font into the document, this font does not by
+ itself cause the resulting document to be covered by
+ the GNU General Public License. This exception does not
+ however invalidate any other reasons why the document
+ might be covered by the GNU General Public License.
+ If you modify this font, you may extend this exception
+ to your version of the font, but you are not obligated
+ to do so. If you do not wish to do so, delete this
+ exception statement from your version.
+
+License for "blanks.hex":
+
+ There is one exception to the above rules: Paul Hardy earlier
+ released the "blanks.hex" file into the public domain.
diff --git a/extra/bdf-unifont/PKGBUILD b/extra/bdf-unifont/PKGBUILD
new file mode 100644
index 000000000..2df7993e6
--- /dev/null
+++ b/extra/bdf-unifont/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD,v 1.5 2008/09/24 07:16:54 ronald Exp $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=bdf-unifont
+pkgver=5.1.20080820
+pkgrel=1
+pkgdesc="GNU Unifont Glyphs"
+arch=('i686' 'x86_64')
+license=('custom' 'GPL2')
+url="http://unifoundry.com/unifont.html"
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+install=unifont.install
+source=('http://unifoundry.com/unifont-5.1.20080820.bdf.gz' 'LICENSE')
+md5sums=('6b8263ceccef33bd633aa019d74b7943'
+ '64da5a96d6789d29d485cd67a43bc547')
+
+build() {
+ install -Dm644 ${srcdir}/unifont-5.1.20080820.bdf \
+ ${pkgdir}/usr/share/fonts/misc/unifont.bdf
+
+ # install LICENSE file
+ install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
diff --git a/extra/bdf-unifont/unifont.install b/extra/bdf-unifont/unifont.install
new file mode 100644
index 000000000..7d21ab51b
--- /dev/null
+++ b/extra/bdf-unifont/unifont.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/misc
+ mkfontdir /usr/share/fonts/misc
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}