1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 01:25:57 +02:00

gnu: Add fbterm.

* gnu/packages/terminals.scm (fbterm): New variable.

Change-Id: Ib0027514eb2e921b9b95817866c0ea310fd27c87
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Mark Walker
2025-05-27 14:59:11 +08:00
committed by Ludovic Courtès
parent 3721eb1d6a
commit c0f4d0817d
+47
View File
@@ -1800,3 +1800,50 @@ support. It's based on VTE and aimed at power users.")
(home-page "https://realh.github.io/roxterm/en/index.html")
;; src/gresources.c is under LGPL 2.1+
(license (list license:gpl2+ license:lgpl2.1+))))
(define-public fbterm
(package
(name "fbterm")
(version "1.7")
(source
(origin
(method git-fetch)
(uri (git-reference (url "https://salsa.debian.org/debian/fbterm.git")
(commit (string-append "upstream/" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1nl9z169a59akgb8b5j2pw5fp3bbkmv553rryffkfz45d1cxskvq"))))
(build-system gnu-build-system)
(arguments
(list #:make-flags #~(list (string-append "prefix=" #$output)
"HOME=/tmp"
;; Silence "narrow conversion" errors.
"CXXFLAGS=-Wno-narrowing -O2 -g")))
(inputs (list freetype fontconfig ncurses gpm))
(native-inputs (list pkg-config))
(home-page "https://salsa.debian.org/debian/fbterm")
(synopsis "Fast and lightweight framebuffer-based terminal emulator for Linux")
(description "FbTerm is a fast terminal emulator for Linux with frame
buffer device or VESA video card. Features include:
@itemize
@item mostly as fast as terminal of Linux kernel while accelerated scrolling
is enabled;
@item select font with fontconfig and draw text with freetype2, same as
Qt/Gtk+ based GUI apps;
@item dynamically create/destroy up to 10 windows initially running default
shell;
@item record scrollback history for every window;
@item auto-detect current locale and convert text encoding, support double
width scripts like Chinese, Japanese etc;
@item switch between configurable additional text encodings with hot keys on
the fly;
@item copy/paste selected text between windows with mouse when gpm server is
running;
@item change the orientation of screen display, a.k.a. screen rotation;
@item lightweight input method framework with client-server architecture;
@item background image for eye candy.
@end itemize")
(license license:gpl2+)))