aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-10-15 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-10-15 02:00:00 +0200
commita36e595eec7b32feff9f32de2c6547ee1b74bcd1 (patch)
treefbf2be1ae13d34e17625fa1a76d23acd67bad867 /gnu
parentf59bbf0a97b1d35a37c003f547ead11729d76c4c (diff)
downloadguix-a36e595eec7b32feff9f32de2c6547ee1b74bcd1.tar.gz
guix-a36e595eec7b32feff9f32de2c6547ee1b74bcd1.zip
gnu: Add psftools.
* gnu/packages/fontutils.scm (psftools): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fontutils.scm31
1 files changed, 31 insertions, 0 deletions
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")