Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:luc14n0
fbterm
fbterm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fbterm.spec of Package fbterm
# # spec file for package fbterm # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: fbterm Version: 1.8 Release: 0 Summary: A fast framebuffer-based terminal emulator License: GPL-2.0-or-later Group: System/Console URL: https://github.com/sfzhi/fbterm Source0: https://github.com/sfzhi/fbterm/archive/%version.tar.gz Source1: fbtermrc.in # PATCH-FIX-UPSTREAM Patch1: 0001-fbterm-gcc6-fixes.patch # PATCH-FIX-UPSTREAM Patch2: 0002-fbterm-initialize-mTermIsLinux-variable.patch # PATCH-FIX-OPENSUSE Patch3: 0003-fbterm-add-color-palette-feature.patch # PATCH-FIX-OPENSUSE Patch4: 0004-fbterm-add-xdg-config-home-feature.patch # PATCH-FIX-OPENSUSE Patch5: 0005-fbterm-add-256color-to-terminfo.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: gpm-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) Requires(post): libcap-progs %description FbTerm is a fast terminal emulator for linux with frame buffer device. Features include: * mostly as fast as terminal of linux kernel while accelerated scrolling is enabled on framebuffer device * select font with fontconfig and draw text with freetype2, same as Qt/Gtk+ based GUI apps * dynamicly create/destroy up to 10 windows initially running default shell * record scrollback history for every window * auto-detect current locale and convert text encoding, support double width scripts like Chinese, Japanese etc * switch between configurable additional text encodings with hot keys on the fly * copy/past selected text between windows with mouse when gpm server is running * change the orientation of screen display, a.k.a. screen rotation * lightweight input method framework with client-server architecture For configuration details take a look at: %{_datadir}/fbterm/fbtermrc.example %prep %autosetup -p1 %build autoreconf -fi export CFLAGS="%optflags -fno-strict-aliasing" %configure %make_build %install %make_install # Recompile terminfo binary since we're changing 'fbterm' to 'fbterm-256color': %define terminfodir tic/ mkdir -vp %{terminfodir} %{buildroot}%{_datadir}/terminfo/ TERMINFO=%{terminfodir} tic terminfo/fbterm install -pD %{terminfodir}/f/fbterm-256color \ %{buildroot}%{_datadir}/terminfo/f/fbterm-256color # An fbtermrc file with explanations about the new 'color-...' variables and more: install -m 0644 -pD %{S:1} %{buildroot}%{_datadir}/fbterm/fbtermrc.example %post # To avoid the need to use setuid 0, let's use the Kernel's "setcap" instead. setcap 'cap_sys_tty_config+ep' %{_bindir}/fbterm %files %license COPYING %doc README AUTHORS ChangeLog %{_bindir}/fbterm %{_mandir}/man1/fbterm.1%{?ext_man} %dir %{_datadir}/fbterm/ %{_datadir}/fbterm/fbtermrc.example %dir %{_datadir}/terminfo/ %dir %{_datadir}/terminfo/f/ %{_datadir}/terminfo/f/fbterm-256color %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor