summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Walker <mark.damon.walker@gmail.com>2025-05-27 14:59:11 +0800
committerLudovic Courtès <ludo@gnu.org>2025-06-09 22:05:13 +0200
commitc0f4d0817d1e8ce5af9e7998bc99e81968ab1459 (patch)
treea052839064c2e24295b21211cbe7a8d6e33972ca
parent3721eb1d6a9077a9bdb752ff0baa519293a788d4 (diff)
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>
-rw-r--r--gnu/packages/terminals.scm47
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index eaad3932a3..f2e3b3394d 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -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+)))