2004-09-09 15:04:59 +00:00
|
|
|
Summary: xterm terminal emulator for the X Window System
|
2005-11-04 21:45:35 +00:00
|
|
|
Name: xterm
|
2006-02-13 17:11:26 +00:00
|
|
|
Version: 209
|
|
|
|
Release: 1
|
2005-11-04 21:45:35 +00:00
|
|
|
URL: http://dickey.his.com/xterm
|
2004-09-09 15:04:59 +00:00
|
|
|
License: MIT
|
2005-11-04 21:45:35 +00:00
|
|
|
Group: User Interface/X
|
2004-09-09 15:04:59 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2005-12-15 00:46:44 +00:00
|
|
|
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
|
|
|
|
Source1: ftp://invisible-island.net/xterm/ctlseqs.txt.gz
|
|
|
|
Source2: ftp://invisible-island.net/xterm/UnicodeData-Latest.txt.gz
|
|
|
|
Source3: ftp://invisible-island.net/xterm/16colors.txt
|
2004-09-09 15:04:59 +00:00
|
|
|
Patch0: xterm-can-2003-0063.patch
|
|
|
|
Patch1: xterm-resources-redhat.patch
|
|
|
|
Patch2: xterm-179-ppc-fix-bug-101472.patch
|
2005-10-13 00:54:16 +00:00
|
|
|
Patch3: xterm-tty-group-name.patch
|
2005-11-04 21:45:35 +00:00
|
|
|
Patch4: xterm-206-appsdir.patch
|
2005-11-17 23:40:13 +00:00
|
|
|
Patch5: xterm-207-freetype.patch
|
2005-11-23 18:18:01 +00:00
|
|
|
Patch6: xterm-207-eightBitInput_false.patch
|
2006-02-13 17:11:26 +00:00
|
|
|
Patch7: xterm-209-redhat-resources.patch
|
2006-01-17 20:41:21 +00:00
|
|
|
Patch8: xterm-208-root-grab-console.patch
|
2005-11-04 21:45:35 +00:00
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libXmu-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXpm-devel
|
|
|
|
BuildRequires: libtermcap-devel
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: libtermcap-devel
|
|
|
|
BuildRequires: utempter
|
2004-09-09 15:04:59 +00:00
|
|
|
|
2005-12-15 00:46:44 +00:00
|
|
|
%define x11_app_defaults_dir %{_datadir}/X11/app-defaults
|
|
|
|
%{?!_with_256_color: %define _with_256_color 1}
|
2005-12-21 22:23:11 +00:00
|
|
|
%{?!_with_tek4014: %define _with_tek4014 1}
|
2005-12-15 00:46:44 +00:00
|
|
|
|
2004-09-09 15:04:59 +00:00
|
|
|
%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
|
2005-02-08 05:36:24 +00:00
|
|
|
# The xterm source code used to decompress with all of the files read-only,
|
|
|
|
# but appears to be fixed now
|
|
|
|
#chmod -R u+w .
|
2004-09-09 15:04:59 +00:00
|
|
|
%patch0 -p0 -b .can-2003-0063
|
2005-11-23 00:19:04 +00:00
|
|
|
#%patch1 -p1 -b .resources-redhat
|
2005-10-13 00:54:16 +00:00
|
|
|
%patch3 -p1 -b .tty-group-name
|
2005-11-04 21:45:35 +00:00
|
|
|
%patch4 -p1 -b .appsdir
|
2006-01-17 20:41:21 +00:00
|
|
|
#%patch5 -p1 -b .freetype
|
|
|
|
#^- now fixed upstream in 208
|
|
|
|
#%patch6 -p1 -b .eightBitInput_false
|
|
|
|
%patch7 -p1 -b .redhat-resources
|
|
|
|
%patch8 -p1 -b .root-grab-console
|
2004-09-09 15:04:59 +00:00
|
|
|
|
|
|
|
%build
|
2005-11-21 22:35:35 +00:00
|
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DPROJECTROOT='\"/usr\"'"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2005-04-16 16:51:26 +00:00
|
|
|
%configure --enable-luit \
|
|
|
|
--enable-warnings \
|
|
|
|
--enable-wide-chars \
|
|
|
|
--with-utempter \
|
2005-11-04 21:45:35 +00:00
|
|
|
--enable-narrowproto \
|
2005-12-15 00:46:44 +00:00
|
|
|
--with-app-defaults=%{x11_app_defaults_dir} \
|
2005-12-21 22:23:11 +00:00
|
|
|
%if !%{_with_tek4014}
|
|
|
|
--disable-tek4014 \
|
|
|
|
%endif
|
2005-12-15 00:46:44 +00:00
|
|
|
%if %{_with_256_color}
|
|
|
|
--enable-256-color \
|
|
|
|
%endif
|
|
|
|
;
|
2005-10-13 00:54:16 +00:00
|
|
|
export XTERM_TTY_GROUP_NAME=tty;
|
2004-09-09 15:04:59 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-12-15 00:46:44 +00:00
|
|
|
%makeinstall appsdir=$RPM_BUILD_ROOT/%{x11_app_defaults_dir}
|
2004-09-09 15:04:59 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
mv $RPM_BUILD_ROOT/%{_mandir}/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
|
2005-12-15 00:46:44 +00:00
|
|
|
gunzip < %SOURCE1 > ctlseqs.txt
|
|
|
|
gunzip < %SOURCE2 > UnicodeData.txt
|
|
|
|
cp -fp %SOURCE3 16colors.txt
|
2004-09-09 15:04:59 +00:00
|
|
|
|
|
|
|
%clean
|
2005-10-13 00:54:16 +00:00
|
|
|
#rm -rf $RPM_BUILD_ROOT
|
2004-09-09 15:04:59 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/resize
|
|
|
|
%{_bindir}/uxterm
|
|
|
|
%{_bindir}/xterm
|
|
|
|
%{_mandir}/man1/resize.1*
|
|
|
|
%{_mandir}/man1/xterm.1*
|
2005-12-15 00:46:44 +00:00
|
|
|
%{x11_app_defaults_dir}/UXTerm
|
|
|
|
%{x11_app_defaults_dir}/XTerm
|
|
|
|
%{x11_app_defaults_dir}/XTerm-color
|
|
|
|
%doc xterm.log.html ctlseqs.ms ctlseqs.txt UnicodeData.txt 16colors.txt README.i18n
|
2004-09-09 15:04:59 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-02-13 17:11:26 +00:00
|
|
|
* Tue Feb 14 2006 Jason Vas Dias <jvdias@redhat.com> - 209-1
|
|
|
|
- Upgrade to upstream version 209 (fixes bug 180450)
|
|
|
|
|
2006-02-11 06:36:28 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 208-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:43:20 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 208-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-17 20:41:21 +00:00
|
|
|
* Tue Jan 17 2006 Jason Vas Dias<jvdias@redhat.com> - 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
|
|
|
|
|
2005-12-21 22:23:11 +00:00
|
|
|
* Wed Dec 21 2005 Jason Vas Dias<jvdias@redhat.com> - 207-10
|
|
|
|
- Fix bug 164210: tek4014 support should be enabled by default
|
|
|
|
|
2005-12-15 00:46:44 +00:00
|
|
|
* Wed Dec 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-8
|
|
|
|
- Fix bug 175684: compile with --enable-256-color
|
|
|
|
- Fix bug 155538 addenda - restore '*VT100*backarrowKey:0'
|
|
|
|
|
2005-12-09 22:43:56 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-21 22:35:35 +00:00
|
|
|
* Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 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<jvdias@redhat.com> - 207-4
|
|
|
|
- fix bug 173541: better fix for freetype configuration problem
|
|
|
|
|
2005-11-14 20:40:08 +00:00
|
|
|
* Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 207-1
|
|
|
|
- Upgrade to upstream version 207
|
|
|
|
- Fix app-defaults directory for modular X11
|
|
|
|
|
2005-11-13 17:04:34 +00:00
|
|
|
* Sun Nov 13 2005 Jeremy Katz <katzj@redhat.com> - 206-4
|
|
|
|
- rebuild for newer modular X
|
|
|
|
|
2005-11-04 18:23:58 +00:00
|
|
|
* Fri Nov 04 2005 Jason Vas Dias <jvdias@redhat.com> 206-1
|
|
|
|
- Upgrade to upstream version 206
|
|
|
|
|
2005-10-13 00:54:16 +00:00
|
|
|
* Wed Oct 12 2005 Jason Vas Dias <jvdias@redhat.com> 205-1
|
|
|
|
- Upgrade to upstream version 205
|
|
|
|
fixes bugs: 124421, 129146, 159562, 161894, 169347
|
|
|
|
|
2005-09-24 10:32:01 +00:00
|
|
|
* Sat Sep 24 2005 Mike A. Harris <mharris@redhat.com> 200-10
|
|
|
|
- Updated xterm-resources-redhat.patch to add "xterm*ttyModes: erase ^?"
|
2005-09-26 18:45:35 +00:00
|
|
|
resource to fix bug (#155538,160354,163812,162549)
|
2005-09-24 10:32:01 +00:00
|
|
|
|
2005-09-14 06:31:01 +00:00
|
|
|
* Wed Sep 14 2005 Mike A. Harris <mharris@redhat.com> 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).
|
|
|
|
|
2005-08-30 16:18:29 +00:00
|
|
|
* Mon Aug 29 2005 Mike A. Harris <mharris@redhat.com> 200-8
|
|
|
|
- Added --disable-tek4014 to ./configure flags, to disable tek support
|
|
|
|
for bug (#164210)
|
|
|
|
|
2005-05-03 09:51:52 +00:00
|
|
|
* Mon May 2 2005 Mike A. Harris <mharris@redhat.com> 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)
|
|
|
|
|
2005-04-16 16:51:26 +00:00
|
|
|
* Sat Apr 16 2005 Mike A. Harris <mharris@redhat.com> 200-6
|
|
|
|
- Added option to spec file to allow easy rebuilding with 256 color option
|
|
|
|
for those who prefer this non-default behaviour (#103402)
|
|
|
|
|
2005-03-08 22:14:29 +00:00
|
|
|
* Tue Mar 8 2005 Soeren Sandmann <sandmann@redhat.com> 200-5
|
|
|
|
- Ported xterm-resources-redhat.patch to newer xterms. (#126855)
|
|
|
|
|
2005-03-07 00:50:46 +00:00
|
|
|
* Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-4
|
|
|
|
- Added libtermcap-devel and utempter to BuildRequires
|
|
|
|
- Changed BuildRequires from XFree86-devel to xorg-x11-devel
|
|
|
|
|
2005-03-06 13:38:16 +00:00
|
|
|
* Sun Mar 6 2005 Mike A. Harris <mharris@redhat.com> 200-3
|
|
|
|
- Rebuild with gcc 4 for FC4 development
|
|
|
|
|
2005-02-08 05:36:24 +00:00
|
|
|
* Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-2
|
|
|
|
- Removed chmod from prep, and updated comment to refect (#128341c12)
|
|
|
|
|
|
|
|
* Mon Feb 7 2005 Mike A. Harris <mharris@redhat.com> 200-1
|
2005-02-08 02:34:05 +00:00
|
|
|
- Updated main tarball to xterm-200 for FC4 devel
|
2005-02-08 05:25:45 +00:00
|
|
|
- Disabled xterm-179-ppc-fix-bug-101472.patch for now, to see if the problem
|
|
|
|
occurs on ppc still or not.
|
2005-02-08 02:34:05 +00:00
|
|
|
|
2004-09-09 15:06:34 +00:00
|
|
|
* Fri Jul 13 2004 Mike A. Harris <mharris@redhat.com> 192-1
|
|
|
|
- Updated main tarball to xterm-192 for FC3 devel
|
|
|
|
- Resolved bugs #126569,127132
|
|
|
|
|
2004-09-09 15:06:06 +00:00
|
|
|
* Fri Jun 18 2004 Mike A. Harris <mharris@redhat.com> 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 <sopwith@redhat.com> 179-8
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jun 3 2004 Mike A. Harris <mharris@redhat.com> 179-7
|
|
|
|
- Rebuilt for FC3 devel
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 179-6.EL
|
2004-09-09 15:05:49 +00:00
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Sep 8 2003 Mike A. Harris <mharris@redhat.com> 179-5.EL
|
|
|
|
- Rebuilt 179-5 for Taroon
|
|
|
|
|
2004-09-09 15:04:59 +00:00
|
|
|
* Mon Sep 8 2003 Mike A. Harris <mharris@redhat.com> 179-5
|
|
|
|
- Added xterm-179-ppc-fix-bug-101472.patch ifarch ppc ppc64 to fix bug (#101472)
|
|
|
|
|
|
|
|
* Wed Aug 27 2003 Bill Nottingham <notting@redhat.com> 179-4.1
|
|
|
|
- fix symlink
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 179-3.EL
|
|
|
|
- Rebuilt for Taroon with symlink fixes.
|
|
|
|
|
|
|
|
* Wed Aug 13 2003 Mike A. Harris <mharris@redhat.com> 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 <sopwith@redhat.com> 179-2.EL
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri May 30 2003 Mike A. Harris <mharris@redhat.com> 179-1.EL
|
|
|
|
- Bump release to 1.EL for Red Hat Enterprise Linux build
|
|
|
|
|
|
|
|
* Mon May 26 2003 Mike A. Harris <mharris@redhat.com> 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 <mharris@redhat.com> 177-2.0.EL
|
|
|
|
- Bump release to 2.0.EL for Red Hat Enterprise Linux build
|
|
|
|
|
|
|
|
* Mon May 5 2003 Mike A. Harris <mharris@redhat.com> 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 <mharris@redhat.com> 177-1
|
|
|
|
- Call configure with "--enable-luit --enable-warnings --enable-wide-chars
|
|
|
|
--with-utempter"
|
|
|
|
- Initial build.
|