diff --git a/xterm-223-resources.patch b/xterm-223-resources.patch new file mode 100644 index 0000000..bb639fb --- /dev/null +++ b/xterm-223-resources.patch @@ -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 diff --git a/xterm.spec b/xterm.spec index 826d3ce..3cc1f73 100644 --- a/xterm.spec +++ b/xterm.spec @@ -1,7 +1,7 @@ Summary: xterm terminal emulator for the X Window System Name: xterm Version: 223 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://dickey.his.com/xterm License: MIT Group: User Interface/X @@ -12,9 +12,11 @@ BuildRequires: libXft-devel libXaw-devel libXext-devel Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz 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 Patch3: xterm-222-man-page_paths.patch +Patch4: xterm-223-fontsize.patch +Patch5: xterm-223-border.patch %{?!enable_trace: %define enable_trace 0} @@ -31,6 +33,8 @@ programs that can't use the window system directly. %patch1 -p1 -b .redhat-resources %patch2 -p1 -b .can-2003-0063 %patch3 -p1 -b .man-page_paths +%patch4 -p1 -b .fontsize +%patch5 -p1 -b .border %build %configure \ @@ -44,6 +48,7 @@ programs that can't use the window system directly. --with-app-defaults=%{x11_app_defaults_dir} \ --with-utempter \ --with-tty-group=tty \ + --with-utmp-setgid=utempter \ --disable-full-tgetent make %{?_smp_mflags} @@ -60,9 +65,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n +%attr(2755,root,utempter) %{_bindir}/xterm %{_bindir}/resize %{_bindir}/uxterm -%{_bindir}/xterm %{_mandir}/man1/resize.1* %{_mandir}/man1/xterm.1* %{x11_app_defaults_dir}/UXTerm @@ -70,6 +75,12 @@ rm -rf $RPM_BUILD_ROOT %{x11_app_defaults_dir}/XTerm-color %changelog +* Thu Jan 18 2007 Miroslav Lichvar 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 223-1 - update to 223