|
|
bd83e4c |
%global udevdir %(pkg-config --variable=udevdir udev)
|
|
|
bd83e4c |
|
|
|
25b17dd |
Name: fbterm
|
|
|
3e27903 |
Version: 1.7
|
|
|
39f3458 |
Release: 13%{?dist}
|
|
|
25b17dd |
License: GPLv2+
|
|
|
25b17dd |
Group: Applications/System
|
|
|
25b17dd |
URL: http://code.google.com/p/fbterm/
|
|
|
25b17dd |
Source0: http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
b92b760 |
|
|
|
bd83e4c |
#Patch0: %%{name}-1.2-kernel-header.patch
|
|
|
bd83e4c |
#Patch1: %%{name}-1.3-setcap.patch
|
|
|
bd83e4c |
#Patch2: %%{name}-1.4-iminput.patch
|
|
|
bd83e4c |
#Patch3: %%{name}-1.6-rpmpack.patch
|
|
|
bd83e4c |
#Patch4: %%{name}-1.6-el5.patch
|
|
|
bd83e4c |
Patch5: %{name}-1.7-u16-build.patch
|
|
|
b92b760 |
|
|
|
a68d21a |
Summary: A frame-buffer terminal emulator
|
|
|
151c39f |
Summary(zh_CN): 运行在帧缓冲的快速终端仿真器
|
|
|
a68d21a |
Summary(zh_TW): 運行在frame-buffer的快速終端模擬機
|
|
|
b92b760 |
|
|
|
25b17dd |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
25b17dd |
|
|
|
20a0eb1 |
BuildRequires: autoconf, automake
|
|
|
25b17dd |
BuildRequires: fontconfig-devel gpm-devel
|
|
|
bd83e4c |
BuildRequires: pkgconfig(udev)
|
|
|
25b17dd |
Requires: fontconfig
|
|
|
ab5e904 |
Obsoletes: fbterm-udevrules < %{version}-%{release}
|
|
|
25b17dd |
|
|
|
25b17dd |
%description
|
|
|
a68d21a |
FbTerm is a fast terminal emulator for Linux with frame-buffer device.
|
|
|
25b17dd |
Features include:
|
|
|
a68d21a |
- mostly as fast as terminal of Linux kernel while accelerated scrolling
|
|
|
a68d21a |
is enabled on frame-buffer device
|
|
|
25b17dd |
- select font with fontconfig and draw text with freetype2, same as
|
|
|
25b17dd |
Qt/Gtk+ based GUI apps
|
|
|
a68d21a |
- dynamically create/destroy up to 10 windows initially running default
|
|
|
25b17dd |
shell
|
|
|
a68d21a |
- record scroll back history for every window
|
|
|
25b17dd |
- auto-detect text encoding with current locale, support double width
|
|
|
25b17dd |
scripts like Chinese, Japanese etc
|
|
|
25b17dd |
- switch between configurable additional text encodings with hot keys
|
|
|
25b17dd |
on the fly
|
|
|
25b17dd |
- copy/past selected text between windows with mouse when gpm server
|
|
|
25b17dd |
is running
|
|
|
25b17dd |
|
|
|
a68d21a |
|
|
|
a68d21a |
%if 0%{?fedora} >= 9
|
|
|
a68d21a |
%package udevrules
|
|
|
a68d21a |
Group: Applications/System
|
|
|
a68d21a |
Summary: udev rules that grant regular user access
|
|
|
a68d21a |
Requires: udev
|
|
|
a68d21a |
|
|
|
a68d21a |
%description udevrules
|
|
|
a68d21a |
Regular users might use some applications that require access to frame-buffer device.
|
|
|
a68d21a |
For example, ibus-fbterm requires access to /dev/fb0.
|
|
|
a68d21a |
This sub-package enables regular user for such access.
|
|
|
a68d21a |
%endif
|
|
|
a68d21a |
|
|
|
25b17dd |
%prep
|
|
|
3e27903 |
|
|
|
25b17dd |
%setup -q
|
|
|
bd83e4c |
#%%patch0 -p0 -b .kernel-header
|
|
|
bd83e4c |
#%%patch1 -p0 -b .setcap
|
|
|
bd83e4c |
#%%patch2 -p0 -b .iminput
|
|
|
bd83e4c |
#%%patch3 -p0 -b .rpmpack
|
|
|
bd83e4c |
#%%if 0%{?fedora} >= 9
|
|
|
bd83e4c |
#%%else
|
|
|
bd83e4c |
#%%patch4 -p0 -b .el5
|
|
|
bd83e4c |
#%%endif
|
|
|
bd83e4c |
%patch5 -p1 -b .u16
|
|
|
25b17dd |
|
|
|
25b17dd |
%build
|
|
|
20a0eb1 |
autoreconf -iv
|
|
|
25b17dd |
%configure --disable-static --disable-rpath
|
|
|
25b17dd |
make %{?_smp_mflags}
|
|
|
25b17dd |
|
|
|
25b17dd |
%install
|
|
|
b92b760 |
%__rm -rf %{buildroot}
|
|
|
b92b760 |
%__make DESTDIR=%{buildroot} install
|
|
|
b92b760 |
%__chmod 755 %{buildroot}/%{_bindir}/%{name}
|
|
|
893c304 |
|
|
|
25b17dd |
%clean
|
|
|
b92b760 |
rm -rf %{buildroot}
|
|
|
25b17dd |
|
|
|
82e229e |
%if 0%{?fedora} >= 9
|
|
|
893c304 |
%post
|
|
|
893c304 |
setcap 'cap_sys_tty_config+ep' %{_bindir}/%{name}
|
|
|
82e229e |
%endif
|
|
|
82e229e |
|
|
|
25b17dd |
%files
|
|
|
25b17dd |
%defattr(-,root,root,-)
|
|
|
25b17dd |
%doc AUTHORS ChangeLog COPYING README
|
|
|
82e229e |
%if 0%{?fedora} >= 9
|
|
|
25b17dd |
%{_bindir}/%{name}
|
|
|
82e229e |
%else
|
|
|
82e229e |
%attr(4755,root,root) %{_bindir}/%{name}
|
|
|
82e229e |
%endif
|
|
|
25b17dd |
%{_mandir}/man1/%{name}.1.gz
|
|
|
25b17dd |
|
|
|
25b17dd |
|
|
|
25b17dd |
%changelog
|
|
|
39f3458 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-13
|
|
|
39f3458 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
39f3458 |
|
|
|
fe933df |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-12
|
|
|
fe933df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
fe933df |
|
|
|
cacd8ff |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-11
|
|
|
cacd8ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cacd8ff |
|
|
|
ab5e904 |
* Fri Nov 11 2016 Takao Fujiwara <tfujiwar@redhat.com> - 1.7-10
|
|
|
ab5e904 |
- Bug 1226680 - Drop fbterm-udevrules
|
|
|
ab5e904 |
|
|
|
bd83e4c |
* Mon Feb 29 2016 Takao Fujiwara <tfujiwar@redhat.com> - 1.7-9
|
|
|
bd83e4c |
- Bug 1311848 - udev rules from fbterm-udevrules
|
|
|
bd83e4c |
- Added 1.7-u16-build.patch to fix u16 build failures.
|
|
|
bd83e4c |
|
|
|
d782a8e |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-8
|
|
|
d782a8e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d782a8e |
|
|
|
c7a15e0 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-7
|
|
|
c7a15e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c7a15e0 |
|
|
|
4e20a3f |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.7-6
|
|
|
4e20a3f |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
4e20a3f |
|
|
|
3b741bb |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-5
|
|
|
3b741bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
3b741bb |
|
|
|
507c71f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
|
|
|
507c71f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
507c71f |
|
|
|
f21c240 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
|
|
|
f21c240 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f21c240 |
|
|
|
12ca858 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
|
12ca858 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
12ca858 |
|
|
|
3e27903 |
* Mon Nov 12 2012 Luis Bazan <lbazan@fedoraproject.org> - 1.7-1
|
|
|
b92b760 |
- New Upstream Version
|
|
|
b92b760 |
1. added redirecting /dev/tty0 output to FbTerm's sub-window
|
|
|
b92b760 |
2. added option "ambiguous-wide" to treat ambiguous CJK characters as wide width
|
|
|
b92b760 |
3. added option "font-height" to force font height
|
|
|
b92b760 |
4. added shortcut CTRL_ALT_K to kill the frozen IM server
|
|
|
b92b760 |
5. fixed a bug where curses line drawing characters give inverted questions marks
|
|
|
b92b760 |
6. fixed a text auto selection bug
|
|
|
b92b760 |
7. fixed a logical error in terminal insert mode
|
|
|
b92b760 |
8. fixed a few other bugs
|
|
|
b92b760 |
|
|
|
b92b760 |
- From version 1.7, FbTerm redirects /dev/tty0 output to the pseudo terminal of current sub-window. In linux before version 2.6.10, anybody can do this as long as the output was not redirected yet; since version 2.6.10, only root or a process with the CAP_SYS_ADMIN capability may do this.
|
|
|
b92b760 |
- In a number of CJK encodings there are ambiguous width characters which have a width of either narrow or wide depending on the context of their use. By default, FbTerm treats them as narrow width characters, the new added option "ambiguous-wide" may be used to change the behavior.
|
|
|
b92b760 |
|
|
|
ddc0d33 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
|
|
|
ddc0d33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ddc0d33 |
|
|
|
ba7cff5 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
|
|
|
ba7cff5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ba7cff5 |
|
|
|
9589a57 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
9589a57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9589a57 |
|
|
|
3638137 |
* Wed Feb 24 2010 Ding-Yi Chen <dchen at redhat dot com> - 1.6-3
|
|
|
a68d21a |
- Resolves: #565710
|
|
|
a68d21a |
Add udevrules sub package for installing udev rules for granting regular user access.
|
|
|
a68d21a |
|
|
|
dd7ab8c |
* Mon Nov 30 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.6-1
|
|
|
dd7ab8c |
- Fixed [Bug 539186] FTBFS fbterm-1.5-2.fc12
|
|
|
dd7ab8c |
- Upstream fixed [Bug 542284] terminfo file for fbterm not included with fbterm package in fedora.
|
|
|
dd7ab8c |
- Patch for EL-5
|
|
|
dd7ab8c |
- Upstream update:
|
|
|
dd7ab8c |
1. added VESA video card support
|
|
|
dd7ab8c |
2. added rendering messages for IM server development
|
|
|
dd7ab8c |
3. fixed a bug where Ctrl+Space is a shortcut even user run FbTerm without "input-method" option
|
|
|
dd7ab8c |
4. fixed a bug where user compile FbTerm without gpm mouse support but run it in a gpm server enabled environment
|
|
|
dd7ab8c |
5. fixed a IM program dead loop bug triggered by FbTerm's crash
|
|
|
dd7ab8c |
6. fixed several spelling errors in FbTerm's help message and man-page
|
|
|
dd7ab8c |
|
|
|
2ed0b9e |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
|
2ed0b9e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2ed0b9e |
|
|
|
20a0eb1 |
* Fri May 15 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.5-1
|
|
|
20a0eb1 |
- Upstream update:
|
|
|
20a0eb1 |
1. added support for text rendering with backround image
|
|
|
20a0eb1 |
2. added command-line arguments to customize command executed in sub-window
|
|
|
20a0eb1 |
3. added Alt-Fn and all FbTerm's shortcuts support when input method is actived
|
|
|
20a0eb1 |
4. added option "-v/--verbose" to show some useful information
|
|
|
20a0eb1 |
5. fixed some text color issues with version 1.4
|
|
|
20a0eb1 |
6. fixed encoding selection error when locale is C/POSIX
|
|
|
20a0eb1 |
7. fixed a bug where screen is cleared on startup even in inactive tty
|
|
|
20a0eb1 |
8. fixed a bug where variable HOME is not defined
|
|
|
20a0eb1 |
- rpmpack.patch is to allow rpm buildable for non-root account.
|
|
|
dd7ab8c |
- Add BuildRequires automake, autoconf to "refresh" src/Makefile,
|
|
|
dd7ab8c |
otherwise, the above patch is not effective for a weird reason.
|
|
|
20a0eb1 |
|
|
|
b2cf0e9 |
* Mon Mar 23 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.4-1
|
|
|
b2cf0e9 |
- Upstream update:
|
|
|
b2cf0e9 |
1. improved text rendering performence
|
|
|
b2cf0e9 |
2. added private escape sequences for 256 color mode support
|
|
|
b2cf0e9 |
3. added a option "font-width" to adjust character cell width
|
|
|
b2cf0e9 |
4. added support for older 2.2/2.4 kernel
|
|
|
b2cf0e9 |
5. fixed a crash bug with bitmap fonts
|
|
|
b2cf0e9 |
6. fixed a configure failure in cross-compiling environment
|
|
|
b2cf0e9 |
- Note: iminput.patch is applied.
|
|
|
b2cf0e9 |
|
|
|
defd458 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
defd458 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b2cf0e9 |
|
|
|
82e229e |
* Tue Jan 06 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.3-1
|
|
|
82e229e |
- SUID fbterm for el5, as it does not have libcap.
|
|
|
82e229e |
|
|
|
893c304 |
* Mon Jan 05 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.3-0
|
|
|
893c304 |
- Upstream update:
|
|
|
893c304 |
1. added command line arguments to change option values
|
|
|
893c304 |
2. added client-server based input method framework
|
|
|
893c304 |
3. added screen rotation support
|
|
|
893c304 |
4. added support for visual type DIRECTCOLOR used by ATI cards
|
|
|
893c304 |
(thanks for Witek's patch)
|
|
|
893c304 |
5. fixed a bug that user can't input some unicode characters
|
|
|
893c304 |
6. fixed a bug of maybe not restore original console state after
|
|
|
893c304 |
FbTerm exited
|
|
|
893c304 |
7. fixed several trivial bugs
|
|
|
893c304 |
8. added using filesystem capability attributes offered by kernel
|
|
|
893c304 |
2.6.27, instead of setting set-user-ID bit on FbTerm
|
|
|
893c304 |
9. decreased memory usage of every shell instance by changing size
|
|
|
893c304 |
of the struct saving every charater's attribute from 4 to 2 bytes
|
|
|
893c304 |
|
|
|
151c39f |
* Thu Dec 11 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.2-2
|
|
|
151c39f |
- Summary simplified.
|
|
|
151c39f |
|
|
|
151c39f |
* Fri Nov 21 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.2-2
|
|
|
b57c7c6 |
- Upstream update, see
|
|
|
b57c7c6 |
http://code.google.com/p/fbterm/
|
|
|
b57c7c6 |
for details.
|
|
|
b57c7c6 |
|
|
|
bd83e4c |
* Fri Oct 17 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-3
|
|
|
25b17dd |
- Add gpm support.
|
|
|
25b17dd |
|
|
|
25b17dd |
* Thu Oct 16 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-2
|
|
|
25b17dd |
- Fix the kernel-header build problem in F-10.
|
|
|
25b17dd |
|
|
|
25b17dd |
* Thu Aug 07 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-1
|
|
|
25b17dd |
- Unset the SUID flag, as it does not need it.
|
|
|
25b17dd |
|
|
|
25b17dd |
* Thu Aug 07 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-0
|
|
|
25b17dd |
- The first version.
|