guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c0f4d0817d1e8ce5af9e7998bc99e81968ab1459
Author: Mark Walker <[email protected]>
AuthorDate: Tue May 27 14:59:11 2025 +0800
gnu: Add fbterm.
* gnu/packages/terminals.scm (fbterm): New variable.
Change-Id: Ib0027514eb2e921b9b95817866c0ea310fd27c87
Signed-off-by: Ludovic Courtès <[email protected]>
Modified-by: Ludovic Courtès <[email protected]>
---
gnu/packages/terminals.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
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+)))