aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
authorGuy Grant <tadnimi@gmail.com>2014-08-12 20:33:58 -0500
committerMark H Weaver <mhw@netris.org>2014-08-12 23:19:10 -0400
commitd41bb065c8676b50e25eb1aa59cdb7e0d4a39755 (patch)
treeac6464944c6df22252abfdb8464c24f07359ce7f /gnu/packages/fonts.scm
parent734939a5f30542833358e1a5d85bac6bd3d74575 (diff)
downloadguix-d41bb065c8676b50e25eb1aa59cdb7e0d4a39755.tar
guix-d41bb065c8676b50e25eb1aa59cdb7e0d4a39755.tar.gz
gnu: Add terminus-font.
* gnu/packages/fonts.scm (terminus-font): New variable.
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm45
1 files changed, 44 insertions, 1 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8ec59e4d0e..7802d364dd 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2014 Guy Grant <tadnimi@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,10 +23,14 @@
#:renamer (symbol-prefix-proc 'license:))
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module ((gnu packages base)
#:select (tar))
- #:use-module (gnu packages compression))
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages pkg-config))
(define-public ttf-dejavu
(package
@@ -198,3 +203,41 @@ package provides the TrueType (TTF) files.")
(PostScript Type0, TrueType, OpenType...) fonts covering the ISO
10646/Unicode UCS (Universal Character Set).")
(license license:gpl3+)))
+
+(define-public terminus-font
+ (package
+ (name "terminus-font")
+ (version "4.39")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://sourceforge/project/terminus-font/terminus-font-"
+ version
+ "/terminus-font-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1gzmn7zakvy6yrvmswyjfklnsvqrjm0imhq8rjws8rdkhqwkh21i"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("perl" ,perl)
+ ("bdftopcf" ,bdftopcf)
+ ("font-util", font-util)
+ ("mkfontdir" ,mkfontdir)))
+ (arguments
+ `(#:configure-flags (list
+ ;; install fonts into subdirectory of package output
+ ;; instead of font-util-?.?.?/share/fonts/X11
+ (string-append "--with-fontrootdir="
+ %output "/share/fonts/X11"))
+ #:tests? #f)) ;; No test target in tarball
+ (home-page "http://terminus-font.sourceforge.net/")
+ (synopsis "Simple bitmap programming font")
+ (description "Terminus Font is a clean, fixed width bitmap font, designed
+for long (8 and more hours per day) work with computers.")
+ (license
+ (license:x11-style
+ "http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web"))))