From 18853b9e7f177a39aa228c812169b0f1e95324a0 Mon Sep 17 00:00:00 2001 From: Lorry Date: Tue, 10 Jul 2012 15:54:41 +0100 Subject: Tarball conversion --- package/debian/changelog | 98 +++++++++++++++++++ package/debian/color.sed | 4 + package/debian/compat | 1 + package/debian/control | 23 +++++ package/debian/copyright | 221 ++++++++++++++++++++++++++++++++++++++++++ package/debian/rules | 188 +++++++++++++++++++++++++++++++++++ package/debian/source/format | 1 + package/debian/watch | 4 + package/debian/xterm-dev.docs | 8 ++ package/debian/xterm-dev.menu | 14 +++ package/debian/xterm-xres.sed | 8 ++ package/xterm.spec | 200 ++++++++++++++++++++++++++++++++++++++ 12 files changed, 770 insertions(+) create mode 100644 package/debian/changelog create mode 100644 package/debian/color.sed create mode 100644 package/debian/compat create mode 100644 package/debian/control create mode 100644 package/debian/copyright create mode 100755 package/debian/rules create mode 100644 package/debian/source/format create mode 100644 package/debian/watch create mode 100644 package/debian/xterm-dev.docs create mode 100644 package/debian/xterm-dev.menu create mode 100644 package/debian/xterm-xres.sed create mode 100644 package/xterm.spec (limited to 'package') diff --git a/package/debian/changelog b/package/debian/changelog new file mode 100644 index 0000000..2583bf6 --- /dev/null +++ b/package/debian/changelog @@ -0,0 +1,98 @@ +xterm-dev (281) unstable; urgency=low + + * fix regression in keyboard configuration. + + -- Thomas E. Dickey Tue, 26 Jun 2012 04:36:36 -0400 + +xterm-dev (280) unstable; urgency=low + + * Add Debian menu-file. + * modify to support icon-theme + * Miscellaneous fixes. + + -- Thomas E. Dickey Fri, 25 May 2012 05:36:50 -0400 + +xterm-dev (279) unstable; urgency=low + + * Miscellaneous fixes. + + -- Thomas E. Dickey Wed, 14 Mar 2012 20:33:27 -0400 + +xterm-dev (278) unstable; urgency=low + + * Fix regression in eightBitInput logic. + * Fix regression in Darwin 9.x + + -- Thomas E. Dickey Thu, 12 Jan 2012 08:10:50 -0500 + +xterm-dev (277) unstable; urgency=low + + * Minor keyboard fix. + + -- Thomas E. Dickey Tue, 11 Oct 2011 20:12:14 -0400 + +xterm-dev (276) unstable; urgency=low + + * Regressions in #272, #274. + + -- Thomas E. Dickey Wed, 28 Sep 2011 17:34:20 -0400 + +xterm-dev (275) unstable; urgency=low + + * Regressions in #272, #274. + + -- Thomas E. Dickey Sun, 11 Sep 2011 09:46:57 -0400 + +xterm-dev (274) unstable; urgency=low + + * Various build-fixes. + + -- Thomas E. Dickey Sun, 28 Aug 2011 20:07:29 -0400 + +xterm-dev (273) unstable; urgency=low + + * Build-fixes/regressions from #272. + + -- Thomas E. Dickey Thu, 25 Aug 2011 05:42:58 -0400 + +xterm-dev (272) unstable; urgency=low + + * Build-fix for termcap systems. + + -- Thomas E. Dickey Fri, 15 Jul 2011 20:41:30 -0400 + +xterm-dev (271) unstable; urgency=low + + * Ubuntu #756273 (accommodate function keys as popup-menu triggers) + + -- Thomas E. Dickey Fri, 29 Apr 2011 20:30:29 -0400 + +xterm-dev (270) unstable; urgency=low + + * more fixes for fullscreen toggle. + + -- Thomas E. Dickey Sun, 20 Mar 2011 14:53:54 -0400 + +xterm-dev (269) unstable; urgency=low + + * amend translations for fullscreen toggle. + + -- Thomas E. Dickey Sun, 13 Feb 2011 19:20:48 -0500 + +xterm-dev (268) unstable; urgency=low + + * build-fixes, etc. + + -- Thomas E. Dickey Wed, 24 Nov 2010 06:17:16 -0500 + +xterm-dev (267) unstable; urgency=low + + * build-fixes, etc. + + -- Thomas E. Dickey Wed, 10 Nov 2010 18:46:41 -0500 + +xterm-dev (266) unstable; urgency=low + + * add build-script for testing, adapted from Debian xterm package. + + -- Thomas E. Dickey Fri, 22 Oct 2010 17:15:59 -0400 diff --git a/package/debian/color.sed b/package/debian/color.sed new file mode 100644 index 0000000..6029c59 --- /dev/null +++ b/package/debian/color.sed @@ -0,0 +1,4 @@ +s/! Uncomment this for "white" text on a dark background./! Set the default text foreground and background colors./ +s/!\*VT100\*foreground: gray90/*VT100*foreground: gray90/ +s/!\*VT100\*background: black/*VT100*background: black/ +/!\*VT100.scrollbar.thumb:[ ]*vlines2/,/!lines[ ]*-1,0,0,0,0,-1/s/!// diff --git a/package/debian/compat b/package/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/package/debian/compat @@ -0,0 +1 @@ +5 diff --git a/package/debian/control b/package/debian/control new file mode 100644 index 0000000..b970db2 --- /dev/null +++ b/package/debian/control @@ -0,0 +1,23 @@ +Source: xterm-dev +Section: x11 +Priority: optional +Maintainer: Thomas E. Dickey +Homepage: http://invisible-island.net/xterm/ +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.2 + +Package: xterm-dev +Architecture: any +Depends: ${misc:Depends} +Provides: x-terminal-emulator +Recommends: x11-utils | xutils | bluit +Description: X terminal emulator (development version) + xterm is the standard terminal emulator for the X Window System. + It provides DEC VT102 and Tektronix 4014 compatible terminals for + programs that cannot use the window system directly. This version + implements ISO/ANSI colors, Unicode, and most of the control sequences + used by DEC VT220 terminals. + . + This package contains a development version of xterm. It is + configured to use "xterm-dev" and "XTermDev" for the program + and its resource class, to avoid conflict with other packages. diff --git a/package/debian/copyright b/package/debian/copyright new file mode 100644 index 0000000..8a1304a --- /dev/null +++ b/package/debian/copyright @@ -0,0 +1,221 @@ +Upstream source http://invisible-island.net/xterm/xterm.html + +------------------------------------------------------------------------------- +Except as noted below, all copyrights use the same wording, denoted MIT-X11. +That is not in Debian's list under /usr/share/licenses. Here is the common +wording: + +All Rights Reserved + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name(s) of the above copyright +holders shall not be used in advertising or otherwise to promote the +sale, use or other dealings in this Software without prior written +authorization. + +------------------------------------------------------------------------------- +Files: * */* +License: MIT-X11 + +Copyright 1996-2011 by Thomas E. Dickey + +(date ranges vary, depending on when the respective files were first changed +significantly, and run through the most recent change date). + +------------------------------------------------------------------------------- +Files: 88colres.pl +License: MIT-X11 + +Copyright 1999-2005,2007 by Thomas E. Dickey +Copyright 1999-2000 by Steve Wall + +------------------------------------------------------------------------------- +Files: vttests/88colors2.pl +License: MIT-X11 + +Copyright 1999-2007,2009 by Thomas E. Dickey +Copyright 1999 by Steve Wall + +------------------------------------------------------------------------------- +Files: vttests/256colors2.pl +License: MIT-X11 + +Copyright 1999-2007,2009 by Thomas E. Dickey +Copyright 2002 by Steve Wall +Copyright 1999 by Todd Larason + +------------------------------------------------------------------------------- +Files: xcharmouse.h + +Copyright 1998 by Jason Bacon + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of the above listed +copyright holder(s) not be used in advertising or publicity pertaining +to distribution of the software without specific, written prior +permission. + +THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD +TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE +LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +------------------------------------------------------------------------------- +Files: xutf8.* +License: MIT-X11 + +Copyright (C) 2001 by Juliusz Chroboczek + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------------------------------------------------------------------------- +Files: ctlseqs.ms install-sh +License: MIT-X11 + +Copyright 1984-1994 X Consortium + +------------------------------------------------------------------------------- +Copyright 1987,1988 by Digital Equipment Corporation, Maynard, Massachusetts. + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Digital Equipment +Corporation not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior permission. + +DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL +DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR +ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +SOFTWARE. + +------------------------------------------------------------------------------- +Copyright 1988,1989 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + +------------------------------------------------------------------------------- +Files: koi8rxterm.man uxterm.man +License: MIT-X11 + +Copyright 2001, 2004 Branden Robinson + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------- +Files: charclass.* + +Markus Kuhn -- 2000-07-03 + +Permission to use, copy, modify, and distribute this software +for any purpose and without fee is hereby granted. The author +disclaims all warranties with regard to this software. + +------------------------------------------------------------------------------- +Files: wcwidth.* + +Markus Kuhn -- 2007-05-25 + +Permission to use, copy, modify, and distribute this software +for any purpose and without fee is hereby granted. The author +disclaims all warranties with regard to this software. + +------------------------------------------------------------------------------- +Files: config.guess config.sub +License: GPL-2+ + + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + Free Software Foundation, Inc. + +------------------------------------------------------------------------------- +Files: configure +License: GPL-2+ + + Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. + +------------------------------------------------------------------------------- diff --git a/package/debian/rules b/package/debian/rules new file mode 100755 index 0000000..c37339c --- /dev/null +++ b/package/debian/rules @@ -0,0 +1,188 @@ +#!/usr/bin/make -f +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Cristoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +DESKTOP_VENDOR = dickey + +PKG_SUFFIX = -dev +PKG_CLASS = XTermDev + +PACKAGE := $(shell dpkg-parsechangelog| \ + sed -n 's/^Source: \(.*\)$$/\1/p') + +PKG_APPDEFAULTS := /etc/X11/app-defaults +PKG_DESKTOP := /usr/share/applications + +DSTDIR := $(CURDIR)/debian/$(PACKAGE) +MY_DESKTOP := $(DSTDIR)/usr/share/applications + +CFLAGS = + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +DEBOP=--enable-debug +else +DEBOP= +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --program-suffix=$(PKG_SUFFIX) \ + --prefix=/usr \ + --libexecdir=\$${prefix}/lib \ + --mandir=\$${prefix}/share/man \ + --sysconfdir=/etc/$(PACKAGE) \ + --localstatedir=/var \ + --libdir=/etc/$(PACKAGE) \ + --with-app-class=$(PKG_CLASS) \ + --without-xterm-symlink \ + --enable-256-color \ + --enable-88-color \ + --enable-dabbrev \ + --enable-dec-locator \ + --enable-exec-xterm \ + --enable-hp-fkeys \ + --enable-load-vt-fonts \ + --enable-logfile-exec \ + --enable-logging \ + --enable-mini-luit \ + --enable-paste64 \ + --enable-rectangles \ + --enable-sco-fkeys \ + --enable-tcap-fkeys \ + --enable-tcap-query \ + --enable-toolbar \ + --enable-wide-chars \ + --enable-xmc-glitch \ + --with-app-defaults=$(PKG_APPDEFAULTS) \ + --with-icondir=\$${prefix}/share/icons \ + --with-pixmapdir=\$${prefix}/share/pixmaps \ + --with-own-terminfo=\$${prefix}/share/terminfo \ + --with-icon-theme \ + --with-terminal-type=xterm-new \ + --with-utempter \ + ${DEBOP} + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install \ + DESTDIR=$(CURDIR)/debian/$(PACKAGE) + + touch install-stamp + +install: install-indep install-arch +install-indep: + +install-arch: + dh_testdir + dh_testroot + dh_prep -s + dh_installdirs -s + + $(MAKE) install-bin \ + DESTDIR=$(DSTDIR) + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + + # This overwrites the Debian package's copy of app-defaults and icons. + # But the resources are not the same; they are patched. + sed -i -f package/debian/color.sed XTerm-col.ad + sed -i -f package/debian/xterm-xres.sed XTerm.ad + + $(MAKE) install-app \ + install-icon \ + install-man \ + DESTDIR=$(DSTDIR) + + # Follow-up with a check against the installed resource files. + ( cd $(DSTDIR)$(PKG_APPDEFAULTS) \ + && $(SHELL) -c 'for p in *; do \ + test -f $(PKG_APPDEFAULTS)/$$p && \ + diff -u $(PKG_APPDEFAULTS)/$$p $$p; \ + done' ; \ + exit 0 ) + + # The Debian package does not install desktop files. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486317 + $(MAKE) install-desktop \ + DESKTOP_FLAGS="--vendor='$(DESKTOP_VENDOR)' --dir $(MY_DESKTOP)" + + ( cd $(DSTDIR)$(PKG_DESKTOP) \ + && $(SHELL) -c 'for p in *;do \ + test -f $(PKG_DESKTOP)/$$p && \ + diff -u $(PKG_DESKTOP)/$$p $$p; \ + test -n "$(PKG_SUFFIX)" && mv $$p `basename $$p .desktop`$(PKG_SUFFIX).desktop; \ + done' ; \ + exit 0 ) + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs + dh_installmenu + dh_installmime + dh_installexamples tektests vttests + dh_installchangelogs + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-stamp diff --git a/package/debian/source/format b/package/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/package/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/package/debian/watch b/package/debian/watch new file mode 100644 index 0000000..6c46327 --- /dev/null +++ b/package/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=passive ftp://invisible-island.net/xterm/current/xterm\.tar.gz \ + debian uupdate diff --git a/package/debian/xterm-dev.docs b/package/debian/xterm-dev.docs new file mode 100644 index 0000000..b29b135 --- /dev/null +++ b/package/debian/xterm-dev.docs @@ -0,0 +1,8 @@ +INSTALL +README.i18n +THANKS +ctlseqs.ms +ctlseqs.txt +termcap +terminfo +xterm.log.html diff --git a/package/debian/xterm-dev.menu b/package/debian/xterm-dev.menu new file mode 100644 index 0000000..8f3752c --- /dev/null +++ b/package/debian/xterm-dev.menu @@ -0,0 +1,14 @@ +?package(xterm-dev):\ + needs="x11"\ + section="Applications/Terminal Emulators"\ + longtitle="XTerm: terminal emulator for X (development)"\ + title="XTermDev"\ + icon="/usr/share/pixmaps/xterm-dev-color_32x32.xpm"\ + command="xterm" +?package(xterm-dev):\ + needs="x11"\ + section="Applications/Terminal Emulators"\ + longtitle="XTerm: terminal emulator for X with Unicode support (development)"\ + title="XTermDev (Unicode)"\ + icon="/usr/share/pixmaps/xterm-dev-color_32x32.xpm"\ + command="uxterm" diff --git a/package/debian/xterm-xres.sed b/package/debian/xterm-xres.sed new file mode 100644 index 0000000..745cb58 --- /dev/null +++ b/package/debian/xterm-xres.sed @@ -0,0 +1,8 @@ +/\*tek4014\*fontSmall:[ ]*6x10/a\ +\ +! Debian package customizations follow.\ +*backarrowKeyIsErase: true\ +*ptyInitialErase: true +/!*allowWindowOps: false/a\ +*allowWindowOps: true\ +*activeIcon: true diff --git a/package/xterm.spec b/package/xterm.spec new file mode 100644 index 0000000..d9e6434 --- /dev/null +++ b/package/xterm.spec @@ -0,0 +1,200 @@ +# $XTermId: xterm.spec,v 1.30 2012/06/26 08:35:55 tom Exp $ +Summary: X terminal emulator (development version) +Name: xterm-dev +Version: 281 +Release: 1 +License: X11 +Group: User Interface/X +Source: xterm-%{version}.tgz +# URL: http://invisible-island.net/xterm/ +Provides: x-terminal-emulator + +%description +xterm is the standard terminal emulator for the X Window System. +It provides DEC VT102 and Tektronix 4014 compatible terminals for +programs that cannot use the window system directly. This version +implements ISO/ANSI colors, Unicode, and most of the control sequences +used by DEC VT220 terminals. + +This package provides four commands: + a) xterm, which is the actual terminal emulator + b) uxterm, which is a wrapper around xterm which sets xterm to use UTF-8 + encoding when the user's locale supports this, + c) koi8rxterm, a wrapper similar to uxterm for locales that use the + KOI8-R character set, and + d) resize. + +A complete list of control sequences supported by the X terminal emulator +is provided in /usr/share/doc/xterm. + +The xterm program uses bitmap images provided by the xbitmaps package. + +Those interested in using koi8rxterm will likely want to install the +xfonts-cyrillic package as well. + +This package is configured to use "xterm-dev" and "XTermDev" for the program +and its resource class, to avoid conflict with other packages. + +%prep + +%define my_suffix -dev +%define my_class XTermDev + +%define desktop_vendor dickey + +%define desktop_utils %(if which desktop-file-install 2>&1 >/dev/null ; then echo 1 || echo 0 ; fi) +%define icon_theme %(test -d /usr/share/icons/hicolor && echo 1 || echo 0) +%define apps_shared %(test -d /usr/share/X11/app-defaults && echo 1 || echo 0) +%define apps_syscnf %(test -d /etc/X11/app-defaults && echo 1 || echo 0) + +%if %{apps_shared} +%define _xresdir %{_datadir}/X11/app-defaults +%else +%define _xresdir %{_sysconfdir}/X11/app-defaults +%endif + +%define _iconsdir %{_datadir}/icons +%define _pixmapsdir %{_datadir}/pixmaps +%define my_docdir %{_datadir}/doc/xterm%{my_suffix} + +%setup -q -n xterm-%{version} + +%build +CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \ +%configure \ + --target %{_target_platform} \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} \ +%if "%{my_suffix}" != "" + --program-suffix=%{my_suffix} \ + --without-xterm-symlink \ +%endif +%if "%{icon_theme}" + --with-icon-theme \ + --with-icondir=%{_iconsdir} \ +%endif + --with-app-class=%{my_class} \ + --enable-256-color \ + --enable-88-color \ + --enable-dabbrev \ + --enable-dec-locator \ + --enable-exec-xterm \ + --enable-hp-fkeys \ + --enable-load-vt-fonts \ + --enable-logfile-exec \ + --enable-logging \ + --enable-mini-luit \ + --enable-paste64 \ + --enable-sco-fkeys \ + --enable-tcap-fkeys \ + --enable-tcap-query \ + --enable-toolbar \ + --enable-wide-chars \ + --enable-xmc-glitch \ + --with-app-defaults=%{_xresdir} \ + --with-pixmapdir=%{_pixmapsdir} \ + --with-own-terminfo=%{_datadir}/terminfo \ + --with-terminal-type=xterm-new \ + --with-utempter + copy config.status /tmp/ +make + +chmod u+w XTerm.ad +cat >>XTerm.ad <