--- xtermcontrol-2.10.orig/debian/rules
+++ xtermcontrol-2.10/debian/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/xtermcontrol
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	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 
--- xtermcontrol-2.10.orig/debian/control
+++ xtermcontrol-2.10/debian/control
@@ -0,0 +1,18 @@
+Source: xtermcontrol
+Section: x11
+Priority: optional
+Maintainer: Robert Lemmen <robertle@semistable.com>
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.3
+
+Package: xtermcontrol
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: xterm
+Description: dynamic configuration of xterm properties
+ xtermcontrol is an utility to dynamically query and modify xterm
+ properties, making it easy to query and change colors, title, font and
+ geometry of a running xterm.  Window manipulations such as de-/iconify,
+ raise/lower, maximize/restore and reset are also supported.
+ .
+ xtermcontrol also lets advanced users issue any xterm control sequence.
--- xtermcontrol-2.10.orig/debian/docs
+++ xtermcontrol-2.10/debian/docs
@@ -0,0 +1 @@
+doc/ctlseqs.txt
--- xtermcontrol-2.10.orig/debian/changelog
+++ xtermcontrol-2.10/debian/changelog
@@ -0,0 +1,65 @@
+xtermcontrol (2.10-1) unstable; urgency=low
+
+  * New upstream release (closes: #544396)
+  * Bumped Standards-Version and di some related cleanups
+
+ -- Robert Lemmen <robertle@semistable.com>  Thu, 22 Oct 2009 10:15:15 +0100
+
+xtermcontrol (2.9-2) unstable; urgency=low
+
+  * Fixed the manual page for whatis (closes: #462974)
+  * Bumped standards version 
+
+ -- Robert Lemmen <robertle@semistable.com>  Fri,  7 Mar 2008 11:12:58 +0000
+
+xtermcontrol (2.9-1) unstable; urgency=low
+
+  * New upstream release (closes: #391270, #437108)
+
+ -- Robert Lemmen <robertle@semistable.com>  Tue,  4 Sep 2007 15:31:00 +0200
+
+xtermcontrol (2.8-1) unstable; urgency=low
+
+  * New upstream release (closes: #437108)
+
+ -- Robert Lemmen <robertle@semistable.com>  Tue, 28 Aug 2007 10:38:26 +0100
+
+xtermcontrol (2.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Robert Lemmen <robertle@semistable.com>  Sun, 26 Dec 2004 18:01:22 +0100
+
+xtermcontrol (2.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Robert Lemmen <robertle@semistable.com>  Sun, 17 Oct 2004 18:21:30 +0200
+
+xtermcontrol (2.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Fixed description (closes: #238724)
+
+ -- Robert Lemmen <robertle@semistable.com>  Mon, 26 Apr 2004 17:05:30 +0200
+
+xtermcontrol (2.3-3) unstable; urgency=low
+
+  * updated debhelper dependency to reflact what I can actually test
+
+ -- Robert Lemmen <robertle@semistable.com>  Wed,  3 Mar 2004 13:25:04 +0100
+
+xtermcontrol (2.3-2) unstable; urgency=low
+
+  * cleaned up debian/rules
+  * added dependency on xterm
+  * fixed debian/copyright 
+
+ -- Robert Lemmen <robertle@semistable.com>  Sun, 22 Feb 2004 15:08:55 +0100
+
+xtermcontrol (2.3-1) unstable; urgency=low
+
+  * Initial Release. (closes: #226797)
+
+ -- Robert Lemmen <robertle@semistable.com>  Mon, 12 Jan 2004 17:05:28 +0100
+
--- xtermcontrol-2.10.orig/debian/compat
+++ xtermcontrol-2.10/debian/compat
@@ -0,0 +1 @@
+7
--- xtermcontrol-2.10.orig/debian/watch
+++ xtermcontrol-2.10/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+http://www.thrysoee.dk/xtermcontrol/ \./xtermcontrol-(.*)\.tar\.gz(\?.*)?
--- xtermcontrol-2.10.orig/debian/copyright
+++ xtermcontrol-2.10/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Robert Lemmen <robertle@semistable.com> on
+Mon, 12 Jan 2004 17:05:28 +0100.
+
+It was downloaded from http://www.thrysoee.dk/xtermcontrol/
+
+Upstream Author: Jess Thrysoee <jess@thrysoee.dk>
+
+Copyright: 2002-2006 Jess Thrysoee
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License with
+  the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
+  if not, write to the Free Software Foundation, Inc., 51 Franklin St, 
+  Fifth Floor, Boston, MA 02110-1301, USA.
+
+ On Debian systems, the complete text of the GNU General Public
+ License, version 2, can be found in /usr/share/common-licenses/GPL-2.
