Summary: Terminal emulator for the X Window System Name: xterm Version: 264 Release: 1%{?dist} URL: http://dickey.his.com/xterm License: MIT Group: User Interface/X BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: imake pkgconfig ncurses-devel libutempter-devel BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils BuildRequires: libxkbfile-devel Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz Source1: ftp://invisible-island.net/xterm/16colors.txt Patch1: xterm-245-resources.patch Patch2: xterm-261-desk.patch Patch3: xterm-256-man-page_paths.patch %bcond_with trace %define x11_app_defaults_dir %(pkg-config --variable appdefaultdir xt) %description The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use the window system directly. %prep %setup -q %patch1 -p1 -b .resources %patch2 -p1 -b .desk %patch3 -p1 -b .man-page_paths for f in THANKS; do iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,} done %build %configure \ --enable-256-color \ --enable-exec-xterm \ --enable-luit \ %{?with_trace: --enable-trace} \ --enable-warnings \ --enable-wide-chars \ --with-app-defaults=%{x11_app_defaults_dir} \ --with-utempter \ --with-tty-group=tty \ --disable-full-tgetent make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install cp -fp %{SOURCE1} 16colors.txt desktop-file-install --vendor=fedora \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ xterm.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n THANKS %{_bindir}/xterm %{_bindir}/koi8rxterm %{_bindir}/resize %{_bindir}/uxterm %{_mandir}/man1/koi8rxterm.1* %{_mandir}/man1/resize.1* %{_mandir}/man1/uxterm.1* %{_mandir}/man1/xterm.1* %{_datadir}/applications/fedora-xterm.desktop %{_datadir}/pixmaps/xterm*.xpm %{x11_app_defaults_dir}/KOI8RXTerm* %{x11_app_defaults_dir}/UXTerm* %{x11_app_defaults_dir}/XTerm* %changelog * Mon Oct 18 2010 Miroslav Lichvar 264-1 - update to 264 * Tue Sep 07 2010 Miroslav Lichvar 262-1 - update to 262 * Fri Jul 02 2010 Miroslav Lichvar 261-2 - remove NoDisplay=true from desktop file, use upstream version (#607018) * Tue Jun 29 2010 Miroslav Lichvar 261-1 - update to 261 * Mon Jun 21 2010 Miroslav Lichvar 260-1 - update to 260 * Thu Jun 10 2010 Miroslav Lichvar 259-1 - update to 259 - link with -lICE - convert THANKS to UTF-8 * Wed May 05 2010 Miroslav Lichvar 258-1 - update to 258 * Tue Mar 09 2010 Miroslav Lichvar 256-1 - update to 256 - enable XKB Bell support (#568748) * Tue Feb 02 2010 Miroslav Lichvar 255-1 - update to 255 * Fri Dec 11 2009 Miroslav Lichvar 253-1 - update to 253 * Tue Dec 08 2009 Miroslav Lichvar 252-1 - update to 252 * Thu Nov 19 2009 Miroslav Lichvar 251-1 - update to 251 * Tue Oct 20 2009 Miroslav Lichvar 250-1 - update to 250 * Thu Oct 08 2009 Miroslav Lichvar 249-1 - update to 249 * Tue Sep 29 2009 Miroslav Lichvar 248-2 - fix various bugs when display is scrolled up (#524503) * Thu Sep 17 2009 Miroslav Lichvar 248-1 - update to 248 * Tue Sep 01 2009 Miroslav Lichvar 247-1 - update to 247 * Tue Aug 18 2009 Miroslav Lichvar 246-1 - update to 246 * Thu Aug 13 2009 Miroslav Lichvar 245-1 - update to 245 * Mon Jul 27 2009 Fedora Release Engineering - 242-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Mar 02 2009 Miroslav Lichvar 242-3 - fix bell (#487829) * Thu Feb 26 2009 Fedora Release Engineering - 242-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 18 2009 Miroslav Lichvar 242-1 - update to 242 - use upstream default value for modifyFunctionKeys resource - remove png suffix from icon name in desktop file * Tue Jan 06 2009 Miroslav Lichvar 238-1 - update to 238 (#479000, CVE-2008-2383) - set default values of allowWindowOps and allowFontOps resources to false * Tue Sep 16 2008 Miroslav Lichvar 237-1 - update to 237 * Wed Jul 30 2008 Miroslav Lichvar 236-1 - update to 236 - enable support for spawn-new-terminal action (#457130) * Tue Apr 22 2008 Miroslav Lichvar 235-1 - update to 235 * Mon Mar 03 2008 Miroslav Lichvar 234-1 - update to 234 * Wed Feb 27 2008 Miroslav Lichvar 233-1 - update to 233 * Thu Jan 31 2008 Miroslav Lichvar 232-1 - update to 232 * Mon Jan 07 2008 Miroslav Lichvar 231-1 - update to 231 - remove setgid utempter from xterm binary (#229360) * Fri Jan 04 2008 Miroslav Lichvar 230-1 - update to 230 * Wed Aug 22 2007 Miroslav Lichvar 229-2 - rebuild * Mon Aug 13 2007 Miroslav Lichvar 229-1 - update to 229 * Mon Jul 23 2007 Miroslav Lichvar 228-1 - update to 228 * Fri Jun 29 2007 Miroslav Lichvar 227-1 - update to 227 * Fri Jun 22 2007 Miroslav Lichvar 226-1 - update to 226 * Thu Apr 12 2007 Miroslav Lichvar 225-2 - fix sections in man pages * Tue Mar 27 2007 Miroslav Lichvar 225-1 - update to 225 * Tue Mar 20 2007 Miroslav Lichvar 224-2 - fix background color setting in alternate screen - don't display xterm in menus (#231000) * Fri Feb 16 2007 Miroslav Lichvar 224-1 - update to 224 - drop utempter group before creating pty - add Icon to desktop file (#227925) * Wed Feb 07 2007 Miroslav Lichvar 223-3 - spec cleanup (#226660) * 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 * Thu Nov 23 2006 Miroslav Lichvar 222-1 - update to 222 - link with libncurses instead of libtermcap - spec cleanup * Mon Sep 04 2006 Miroslav Lichvar 215-3.fc6 - fix segfault when /etc/termcap is missing (#201246) * Wed Jul 26 2006 Mike A. Harris 215-2.fc6 - Replace BuildRequires utempter with libutempter-devel - Change BuildRoot tag to comply with Fedora packaging guidelines - Use pkg-config to autodetect the location of the system app-defaults dir - Add BuildRequires: pkgconfig * Mon Jul 17 2006 Jason Vas Dias - 215-1.fc6 - Upgrade to upstream version 215 * Wed Jul 12 2006 Jesse Keating - 213-2.1 - rebuild * Tue Jul 11 2006 Adam Jackson - 213-2.fc6 - Use correct dist tag in Release string. * Wed May 31 2006 Jason Vas Dias - 213-1 - Upgrade to upstream version 213 (fixes bug 192627) - fix bug 189161 : make -r/-rv do reverseVideo with or without xterm*{fore,back}ground set * Thu Apr 13 2006 Jason Vas Dias - 212-1 - Upgrade to upstream version 212 - fix bug 188031 : paths in man-page * Wed Mar 29 2006 Jason Vas Dias - 211-4 - fix bug 186935: cursor GCs must be freed with XtReleaseGC * Tue Mar 21 2006 Jason Vas Dias - 211-1 - Upgrade to upstream version 211 (fixes bug 186094). - Enable new 'utf8Title' resource by default * Tue Mar 07 2006 Jason Vas Dias - 209-4 - fix bug 183993: call set_cursor_gcs in ReverseVideo * Wed Feb 22 2006 Jason Vas Dias - 209-2 - fix bug 182382: check for (VWindow(screen)!=0) in set_cursor_gcs - further fix for bug 178302: allow *vt100*cursorColor to be same as fg * Tue Feb 14 2006 Jason Vas Dias - 209-1 - Upgrade to upstream version 209 (fixes bug 180450) * Fri Feb 10 2006 Jesse Keating - 208-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 208-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 17 2006 Jason Vas Dias - 208-1 - Upgrade to upstream version 208 - Allow root user to grab the console, even if /dev/console not owned by root - restore Red Hat '*VT100*scrollBar:1' default Xresource * Wed Dec 21 2005 Jason Vas Dias - 207-10 - Fix bug 164210: tek4014 support should be enabled by default * Wed Dec 14 2005 Jason Vas Dias - 207-8 - Fix bug 175684: compile with --enable-256-color - Fix bug 155538 addenda - restore '*VT100*backarrowKey:0' * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Nov 21 2005 Jason Vas Dias - 207-5 - fix bug 173703: remove reference to /usr/X11R6/bin/luit : PROJECTROOT should be /usr, not /usr/X11R6 * Thu Nov 18 2005 Jason Vas Dias - 207-4 - fix bug 173541: better fix for freetype configuration problem * Mon Nov 14 2005 Jason Vas Dias - 207-1 - Upgrade to upstream version 207 - Fix app-defaults directory for modular X11 * Sun Nov 13 2005 Jeremy Katz - 206-4 - rebuild for newer modular X * Fri Nov 04 2005 Jason Vas Dias 206-1 - Upgrade to upstream version 206 * Wed Oct 12 2005 Jason Vas Dias 205-1 - Upgrade to upstream version 205 fixes bugs: 124421, 129146, 159562, 161894, 169347 * Sat Sep 24 2005 Mike A. Harris 200-10 - Updated xterm-resources-redhat.patch to add "xterm*ttyModes: erase ^?" resource to fix bug (#155538,160354,163812,162549) * Wed Sep 14 2005 Mike A. Harris 200-9 - Updated xterm-resources-redhat.patch to remove utf8 resource which was added in the 200-7 build, as it was incorrectly set to 'true' instead of '1', and bug #138681 turned out to be a gdm bug instead of an xterm bug. This fixes bug (#163568). * Mon Aug 29 2005 Mike A. Harris 200-8 - Added --disable-tek4014 to ./configure flags, to disable tek support for bug (#164210) * Mon May 2 2005 Mike A. Harris 200-7 - Updated xterm-resources-redhat.patch to enable xterm utf8 resource by default, as our default OS environment is UTF-8, for bug (#138681) * Sat Apr 16 2005 Mike A. Harris 200-6 - Added option to spec file to allow easy rebuilding with 256 color option for those who prefer this non-default behaviour (#103402) * Tue Mar 8 2005 Soeren Sandmann 200-5 - Ported xterm-resources-redhat.patch to newer xterms. (#126855) * Sun Mar 6 2005 Mike A. Harris 200-4 - Added libtermcap-devel and utempter to BuildRequires - Changed BuildRequires from XFree86-devel to xorg-x11-devel * Sun Mar 6 2005 Mike A. Harris 200-3 - Rebuild with gcc 4 for FC4 development * Mon Feb 7 2005 Mike A. Harris 200-2 - Removed chmod from prep, and updated comment to refect (#128341c12) * Mon Feb 7 2005 Mike A. Harris 200-1 - Updated main tarball to xterm-200 for FC4 devel - Disabled xterm-179-ppc-fix-bug-101472.patch for now, to see if the problem occurs on ppc still or not. * Fri Jul 13 2004 Mike A. Harris 192-1 - Updated main tarball to xterm-192 for FC3 devel - Resolved bugs #126569,127132 * Fri Jun 18 2004 Mike A. Harris 191-1 - Updated main tarball to xterm-191 for FC3 devel - Disabled xterm-resources-redhat.patch to see what if anything breaks, as it no longer applies cleanly. Hopefully we can just ship stock xterm resources now, although I realize that is more likely to be a pie in the sky fantasy once the bug reports trickle in from this change. ;o) * Tue Jun 15 2004 Elliot Lee 179-8 - rebuilt * Thu Jun 3 2004 Mike A. Harris 179-7 - Rebuilt for FC3 devel * Fri Feb 13 2004 Elliot Lee 179-6.EL - rebuilt * Mon Sep 8 2003 Mike A. Harris 179-5.EL - Rebuilt 179-5 for Taroon * Mon Sep 8 2003 Mike A. Harris 179-5 - Added xterm-179-ppc-fix-bug-101472.patch ifarch ppc ppc64 to fix bug (#101472) * Wed Aug 27 2003 Bill Nottingham 179-4.1 - fix symlink - rebuild * Wed Aug 13 2003 Mike A. Harris 179-3.EL - Rebuilt for Taroon with symlink fixes. * Wed Aug 13 2003 Mike A. Harris 179-3 - Added symlink /usr/X11R6/bin/xterm pointing to _bindir/xterm so that apps and scripts which invoke xterm explicitly as /usr/X11R6/bin/xterm, will continue to work correctly without surprises (#101994) * Wed Jun 04 2003 Elliot Lee 179-2.EL - rebuilt * Fri May 30 2003 Mike A. Harris 179-1.EL - Bump release to 1.EL for Red Hat Enterprise Linux build * Mon May 26 2003 Mike A. Harris 179-1 - Updated to upstream xterm 179 - [SECURITY] Added xterm-can-2003-0063.patch from XFree86 4.3.0-12 package - Added Red Hat xterm-resources-redhat.patch from XFree86 4.3.0-12 package - Added "chmod -R u+w *" after source is decompressed or else patches can not be applied due to upstream source being read only files - Built xterm 179-1 in rawhide * Mon May 5 2003 Mike A. Harris 177-2.0.EL - Bump release to 2.0.EL for Red Hat Enterprise Linux build * Mon May 5 2003 Mike A. Harris 177-2 - Build fix for lib64: _x11datadir == /usr/X11R6/lib - Another lib64 build fix: xterm uses /usr/%%{_lib}/X11/app-defaults when it should be using an arch-neutral dir {_x11datadir}/X11/app-defaults instead * Tue Apr 15 2003 Mike A. Harris 177-1 - Call configure with "--enable-luit --enable-warnings --enable-wide-chars --with-utempter" - Initial build.