- make xterm binary sgid utempter (#222847)

- fix font size changes with -fa option (#222340)
- fix redrawing of internal border (#223027)
- enable metaSendsEscape resource and set modifyFunctionKeys to 0 by
    default Resolves: #222847, #222340, #223027
This commit is contained in:
Miroslav Lichvar 2007-01-18 14:35:31 +00:00
parent 778d424e32
commit 1f6b02d173
2 changed files with 28 additions and 3 deletions

14
xterm-223-resources.patch Normal file
View File

@ -0,0 +1,14 @@
--- xterm-223/XTerm.ad.redhat-resources 2006-06-24 16:34:45.000000000 +0200
+++ xterm-223/XTerm.ad 2007-01-08 18:13:38.000000000 +0100
@@ -186,3 +186,11 @@
!
! Alternatively,
!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
+
+! Red Hat Defaults:
+*VT100*eightBitInput: 0
+*VT100*metaSendsEscape: 1
+*VT100*backarrowKey: 0
+*VT100*scrollBar: 1
+*VT100*utf8Title: 1
+*VT100*modifyFunctionKeys: 0

View File

@ -1,7 +1,7 @@
Summary: xterm terminal emulator for the X Window System Summary: xterm terminal emulator for the X Window System
Name: xterm Name: xterm
Version: 223 Version: 223
Release: 1%{?dist} Release: 2%{?dist}
URL: http://dickey.his.com/xterm URL: http://dickey.his.com/xterm
License: MIT License: MIT
Group: User Interface/X Group: User Interface/X
@ -12,9 +12,11 @@ BuildRequires: libXft-devel libXaw-devel libXext-devel
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
Source1: ftp://invisible-island.net/xterm/16colors.txt Source1: ftp://invisible-island.net/xterm/16colors.txt
Patch1: xterm-212-redhat-resources.patch Patch1: xterm-223-resources.patch
Patch2: xterm-222-can-2003-0063.patch Patch2: xterm-222-can-2003-0063.patch
Patch3: xterm-222-man-page_paths.patch Patch3: xterm-222-man-page_paths.patch
Patch4: xterm-223-fontsize.patch
Patch5: xterm-223-border.patch
%{?!enable_trace: %define enable_trace 0} %{?!enable_trace: %define enable_trace 0}
@ -31,6 +33,8 @@ programs that can't use the window system directly.
%patch1 -p1 -b .redhat-resources %patch1 -p1 -b .redhat-resources
%patch2 -p1 -b .can-2003-0063 %patch2 -p1 -b .can-2003-0063
%patch3 -p1 -b .man-page_paths %patch3 -p1 -b .man-page_paths
%patch4 -p1 -b .fontsize
%patch5 -p1 -b .border
%build %build
%configure \ %configure \
@ -44,6 +48,7 @@ programs that can't use the window system directly.
--with-app-defaults=%{x11_app_defaults_dir} \ --with-app-defaults=%{x11_app_defaults_dir} \
--with-utempter \ --with-utempter \
--with-tty-group=tty \ --with-tty-group=tty \
--with-utmp-setgid=utempter \
--disable-full-tgetent --disable-full-tgetent
make %{?_smp_mflags} make %{?_smp_mflags}
@ -60,9 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n
%attr(2755,root,utempter) %{_bindir}/xterm
%{_bindir}/resize %{_bindir}/resize
%{_bindir}/uxterm %{_bindir}/uxterm
%{_bindir}/xterm
%{_mandir}/man1/resize.1* %{_mandir}/man1/resize.1*
%{_mandir}/man1/xterm.1* %{_mandir}/man1/xterm.1*
%{x11_app_defaults_dir}/UXTerm %{x11_app_defaults_dir}/UXTerm
@ -70,6 +75,12 @@ rm -rf $RPM_BUILD_ROOT
%{x11_app_defaults_dir}/XTerm-color %{x11_app_defaults_dir}/XTerm-color
%changelog %changelog
* Thu Jan 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-2
- make xterm binary sgid utempter (#222847)
- fix font size changes with -fa option (#222340)
- fix redrawing of internal border (#223027)
- enable metaSendsEscape resource and set modifyFunctionKeys to 0 by default
* Thu Dec 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 223-1 * Thu Dec 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 223-1
- update to 223 - update to 223