guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/12: gnu: Add psftools.


From: guix-commits
Subject: 06/12: gnu: Add psftools.
Date: Thu, 19 Oct 2023 17:58:25 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a36e595eec7b32feff9f32de2c6547ee1b74bcd1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 15 02:00:00 2023 +0200

    gnu: Add psftools.
    
    * gnu/packages/fontutils.scm (psftools): New public variable.
---
 gnu/packages/fontutils.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index abb79711da..5bfdea1b27 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1499,6 +1499,37 @@ resolution.")
     (license license:gpl2+)
     (home-page "https://potrace.sourceforge.net/";)))
 
+(define-public psftools
+  (package
+    (name "psftools")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.seasip.info/Unix/PSF/";
+                           "psftools-" version ".tar.gz"))
+       (sha256
+        (base32 "1lv6kvrcbspyh7a0hlji84wbmw6xh87r3iaafq3khp88kgh1irri"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags #~(list "--disable-static")))
+    (home-page "https://www.seasip.info/Unix/PSF/";)
+    (synopsis
+     "Convert PSF fixed-width bitmap (console) fonts from/to other formats")
+    (description
+     "@acronym{PSF, PC Screen Font} is the simple monospaced bitmap font format
+used by the Linux kernel for console fonts.  The PSF Tools convert between PSF
+and many other font formats, similar to what the NetPBM package does for 
images.
+
+It includes converters for a good number of common bitmap font formats such as
+@file{.BDF}, @file{.FNT}, and @file{.FON} files, Berkeley vfonts, classic
+Amstrad/Sinclair/Hercules/BBC Micro soft fonts, and raw (DOS-style) fonts.
+
+It also supports less traditional formats such as PBM/XBM images, plain text
+(for rudimentary editing), and C header files.")
+    (license license:gpl2+)))
+
 (define-public libotf
   (package
     (name "libotf")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]