unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Guy Grant <tadnimi@gmail.com>
To: guix-devel@gnu.org
Subject: Fwd: [PATCH] Add font-terminus.
Date: Sun, 10 Aug 2014 09:25:59 -0500	[thread overview]
Message-ID: <CABXEMcoXXbf7Tj465Rv92nrd2sdTOxfXgCR2=MNeO-T2BpyPcQ@mail.gmail.com> (raw)
In-Reply-To: <CABXEMcpNkYY_Xdq+Op-9Lh35L3BeEMea9tVk3ZeALmtegOxXUQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 117 bytes --]

Okay, patch updated as recomended; Patch attatched. Again, if something
looks wrong -- feel free to comment. Thanks!

[-- Attachment #1.2: Type: text/html, Size: 142 bytes --]

[-- Attachment #2: 0001-add-terminus-font.patch --]
[-- Type: text/x-patch, Size: 2848 bytes --]

From 3244099f65c1c6bd99d6b0921213c0749e04be47 Mon Sep 17 00:00:00 2001
From: Guy Grant <tadnimi@gmail.com>
Date: Sun, 10 Aug 2014 08:58:08 -0500
Subject: [PATCH 1/1] add terminus-font

---
 gnu/packages/fonts.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8ec59e4..b2037d7 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"
+               version
+               "/terminus-font-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "1gzmn7zakvy6yrvmswyjfklnsvqrjm0imhq8rjws8rdkhqwkh21i"))))
+    (build-system gnu-build-system)
+    (inputs
+      `(("bdftopcf" ,bdftopcf)
+        ("font-util", font-util)
+        ("mkfontdir" ,mkfontdir)
+        ("perl" ,perl)))
+    (native-inputs
+      `(("pkg-config" ,pkg-config)))
+    (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"))))
-- 
1.9.3


  parent reply	other threads:[~2014-08-10 14:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-09  0:15 [PATCH] Add font-terminus Guy Grant
2014-08-10 10:04 ` Andreas Enge
     [not found]   ` <CABXEMcpNkYY_Xdq+Op-9Lh35L3BeEMea9tVk3ZeALmtegOxXUQ@mail.gmail.com>
2014-08-10 14:25     ` Guy Grant [this message]
2014-08-10 18:39       ` Fwd: " Andreas Enge
2014-08-11  3:21       ` Mark H Weaver
2014-08-13  1:37         ` Guy Grant
2014-08-13  3:23           ` mhw
2014-11-10 15:34       ` Alex Kost
2014-11-10 22:18         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABXEMcoXXbf7Tj465Rv92nrd2sdTOxfXgCR2=MNeO-T2BpyPcQ@mail.gmail.com' \
    --to=tadnimi@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).