--- xfce4-terminal-0.2.12.orig/debian/postinst
+++ xfce4-terminal-0.2.12/debian/postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# install alternatives links
+
+if [ "$1" = "configure" ]; then
+  update-alternatives --install /usr/bin/x-terminal-emulator \
+  x-terminal-emulator /usr/bin/xfce4-terminal.wrapper 40 \
+  --slave /usr/share/man/man1/x-terminal-emulator.1.gz \
+  x-terminal-emulator.1.gz /usr/share/man/man1/xfce4-terminal.wrapper.1.gz
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-terminal-0.2.12.orig/debian/compat
+++ xfce4-terminal-0.2.12/debian/compat
@@ -0,0 +1 @@
+7
--- xfce4-terminal-0.2.12.orig/debian/copyright
+++ xfce4-terminal-0.2.12/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Yves-Alexis Perez <corsac@corsac.net> on
+Sat, 23 Apr 2005 00:02:36 +0200.
+
+It was downloaded from http://terminal.os-cillation.com/
+
+Upstream Author are:
+Benedikt Meurer <benny@xfce.org>
+Francois Le Clainche <fleclainche@wanadoo.fr>
+
+This software is copyright © 2004-2006 by Benedikt Meurer, os-cillation.
+
+Some parts are taken from gnome-terminal. Copyrights for gnome-terminal are:
+Havoc Pennington <hp@redhat.com>
+Mariano Suárez-Alvarez <mariano@gnome.org>
+
+Some code is © Owen Taylor <otaylor@redhat.com> in:
+terminal/terminal-toolbars-model.h
+terminal/terminal-toolbars-model.c
+terminal/terminal-window.c
+aclocal.m4
+
+Documentation is under GNU Free Documentation License v1.1 or later without 
+invariant sections, with the following statement:
+
+  Permission is granted to copy, distribute and/or modify this document
+  under the terms of the GNU Free Documentation License, Version 1.1 or
+  any later version published by the Free Software Foundation; with no
+  Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+  Texts.
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/LGPL'.
+
+You are free to distribute this software under the terms of
+the GNU General Public License (version 2 or later).
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file `/usr/share/common-licenses/GPL'.
--- xfce4-terminal-0.2.12.orig/debian/terminal.xpm
+++ xfce4-terminal-0.2.12/debian/terminal.xpm
@@ -0,0 +1,190 @@
+/* XPM */
+static char *terminal2[] = {
+/* columns rows colors chars-per-pixel */
+"32 26 158 2",
+"   c #056205620562",
+".  c #061F061F061F",
+"X  c #088908890889",
+"o  c #09D209D209D2",
+"O  c #14D214D214D2",
+"+  c #164416441644",
+"@  c #188A188A188A",
+"#  c #192219221922",
+"$  c #1FC21FC21FC2",
+"%  c #214F214F214F",
+"&  c #241824182418",
+"*  c #244C244C244C",
+"=  c #305830583058",
+"-  c #31B631B631B6",
+";  c #33C233C233C2",
+":  c #34C734C734C7",
+">  c #35CF35CF35CF",
+",  c #363736373637",
+"<  c #37A137A137A1",
+"1  c #39A339A339A3",
+"2  c #3AAF3AAF3AAF",
+"3  c #3CD53CD53CD5",
+"4  c #3F2E3F2E3F2E",
+"5  c #3FDF3FDF3FDF",
+"6  c #40A640A640A6",
+"7  c #42F842F842F8",
+"8  c #43B343B343B3",
+"9  c #451945194519",
+"0  c #45A145A145A1",
+"q  c #46C346C346C3",
+"w  c #4AD84AD84AD8",
+"e  c #4B504B504B50",
+"r  c #4C684C684C68",
+"t  c #4DC54DC54DC5",
+"y  c #4F124F124F12",
+"u  c #4F534F534F53",
+"i  c #519351935193",
+"p  c #541154115411",
+"a  c #57E357E357E3",
+"s  c #59E959E959E9",
+"d  c #5BDE5BDE5BDE",
+"f  c #5D795D795D79",
+"g  c #600D600D600D",
+"h  c #607560756075",
+"j  c #63B963B963B9",
+"k  c #66E566E566E5",
+"l  c #696269626962",
+"z  c #6CAB6CAB6CAB",
+"x  c #722F722F722F",
+"c  c #76C376C376C3",
+"v  c #79C379C379C3",
+"b  c #7B1A7B1A7B1A",
+"n  c #7E537E537E53",
+"m  c #7F007F007F00",
+"M  c #800780078007",
+"N  c #80DC80DC80DC",
+"B  c #824D824D824D",
+"V  c #82A482A482A4",
+"C  c #83A183A183A1",
+"Z  c #851585158515",
+"A  c #85F285F285F2",
+"S  c #86D386D386D3",
+"D  c #88B588B588B5",
+"F  c #899689968996",
+"G  c #8C318C318C31",
+"H  c #906690669066",
+"J  c #921192119211",
+"K  c #936B936B936B",
+"L  c #93AE93AE93AE",
+"P  c #971397139713",
+"I  c #990D990D990D",
+"U  c #9ACD9ACD9ACD",
+"Y  c #9C189C189C18",
+"T  c #9D7D9D7D9D7D",
+"R  c #9E4A9E4A9E4A",
+"E  c #9FC89FC89FC8",
+"W  c #A0F8A0F8A0F8",
+"Q  c #A3B3A3B3A3B3",
+"!  c #A51AA51AA51A",
+"~  c #A5D1A5D1A5D1",
+"^  c #A70EA70EA70E",
+"/  c #A814A814A814",
+"(  c #A95EA95EA95E",
+")  c #AAFEAAFEAAFE",
+"_  c #AC84AC84AC84",
+"`  c #AE41AE41AE41",
+"'  c #AF9AAF9AAF9A",
+"]  c #B136B136B136",
+"[  c #B27FB27FB27F",
+"{  c #B31AB31AB31A",
+"}  c #B413B413B413",
+"|  c #B4F4B4F4B4F4",
+" . c #B7D4B7D4B7D4",
+".. c #B9C6B9C6B9C6",
+"X. c #BB58BB58BB58",
+"o. c #BBC7BBC7BBC7",
+"O. c #BD2CBD2CBD2C",
+"+. c #BDFABDFABDFA",
+"@. c #BF7FBF7FBF7F",
+"#. c #C047C047C047",
+"$. c #C0FEC0FEC0FE",
+"%. c #C237C237C237",
+"&. c #C30AC30AC30A",
+"*. c #C41DC41DC41D",
+"=. c #C561C561C561",
+"-. c #C661C661C661",
+";. c #C7AAC7AAC7AA",
+":. c #C8A6C8A6C8A6",
+">. c #CA59CA59CA59",
+",. c #CB45CB45CB45",
+"<. c #CBF5CBF5CBF5",
+"1. c #CDA2CDA2CDA2",
+"2. c #CE3DCE3DCE3D",
+"3. c #D061D061D061",
+"4. c #D144D144D144",
+"5. c #D2BED2BED2BE",
+"6. c #D3B2D3B2D3B2",
+"7. c #D46DD46DD46D",
+"8. c #D59ED59ED59E",
+"9. c #D63ED63ED63E",
+"0. c #D77DD77DD77D",
+"q. c #D83ED83ED83E",
+"w. c #D964D964D964",
+"e. c #DA0EDA0EDA0E",
+"r. c #DDA0DDA0DDA0",
+"t. c #DEB8DEB8DEB8",
+"y. c #DFC1DFC1DFC1",
+"u. c #E181E181E181",
+"i. c #E28CE28CE28C",
+"p. c #E340E340E340",
+"a. c #E40AE40AE40A",
+"s. c #E552E552E552",
+"d. c #E691E691E691",
+"f. c #E743E743E743",
+"g. c #E869E869E869",
+"h. c #E969E969E969",
+"j. c #EA81EA81EA81",
+"k. c #EB55EB55EB55",
+"l. c #EC8CEC8CEC8C",
+"z. c #ED84ED84ED84",
+"x. c #EE6EEE6EEE6E",
+"c. c #EF49EF49EF49",
+"v. c #F08FF08FF08F",
+"b. c #F185F185F185",
+"n. c #F38CF38CF38C",
+"m. c #F4BBF4BBF4BB",
+"M. c #F588F588F588",
+"N. c #F67CF67CF67C",
+"B. c #F71BF71BF71B",
+"V. c #F853F853F853",
+"C. c #F96EF96EF96E",
+"Z. c #FA53FA53FA53",
+"A. c #FB8BFB8BFB8B",
+"S. c #FC83FC83FC83",
+"D. c #FD7DFD7DFD7D",
+"F. c #FE1FFE1FFE1F",
+"G. c #FFB0FFB0FFB0",
+"H. c gray100",
+/* pixels */
+"o % * * * * * * * % * * * * * % * * * * * * * * * * * * * * % o ",
+"2 X.#.#.#.#.#.#.#.#.#.#.#.#.#.O.#.#.#.#.#.O.#.#.#.#.#.#.#.#.' ; ",
+"y m.=.6.7.6.7.7.7.7.7.6.7.6.7.6.7.7.7.7.6.6.7.6.7.7.6.7.>.( k.q ",
+"y c.7.A.G.G.G.G.A.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.7.N j i.q ",
+"e n.3.A.A.G.A.A.G.A.G.A.G.G.G.G.G.G.G.G.G.G.G.G.G.k.R p ; s i.q ",
+"y c.>.m.A.m.A.A.A.A.A.A.A.A.G.A.G.G.G.G.G.G.G.m.O.k < ; ; s i.8 ",
+"y c.=.n.m.m.n.m.m.m.A.m.m.A.A.A.A.A.A.G.G.G.7.Z q < < ; ; s f.q ",
+"y c.O.f.k.k.k.c.c.c.c.c.n.n.m.m.n.n.n.m.f.! p < ; < < < ; s i.8 ",
+"e k.' e.r.r.i.i.f.f.f.f.k.k.f.k.f.k.k.3.b 3 ; ; ; < ; < ; s i.q ",
+"y c.! >.3.6.6.6.7.e.e.e.e.r.r.r.f.r.! a < ; < < ; < < < ; a i.q ",
+"y c.R #.=.>.>.3.>.3.6.6.6.7.7.e.=.M 3 < < < ; < < < < ; ; s i.8 ",
+"y c.Y O.#.#.#.=.=.>.>.>.3.6.7.( f < ; < ; < < ; < ; ; < ; s i.q ",
+"e c.P } X.X.O.#.#.=.=.>.>.=.J q < < ; < ; < < < ; < < < ; s i.8 ",
+"y k.J ! ' ' } O.O.O.#.=.X.M 3 < < ; ; < < < ; < < < ; ; ; s i.q ",
+"y k.G R ! ( ( ' ' } O.( l 2 ; ; < < < < < ; ; < ; < ; < ; s i.8 ",
+"e c.S Y R W ! ! ( ' Y a < < < < ; ; < ; ; < < < ; < < < ; s i.q ",
+"y c.Z G J Y Y R R N e < < ; ; < < < ; < < < ; ; < ; < ; ; s i.q ",
+"e k.M N S S J J c 8 ; ; < < < < < ; ; < ; < < < < < < ; ; s i.8 ",
+"y c.b c N Z N z 8 < < < ; < < ; < ; < < ; < < ; ; ; < < ; s i.q ",
+"y k.l j z x j 2 ; < ; < < ; ; < ; < < ; < ; < < < < < ; ; s i.8 ",
+"y c.j e p e 2 ; < ; < < < ; < < < < < ; < < ; < ; < < ; ; s i.q ",
+"e k.j 3 3 < < < ; < < ; ; < < ; < ; < < < ; < < < < ; < ; s i.q ",
+"y c.s < < < < < < < ; < < < < < ; < < < ; < < < ; < < < ; s i.q ",
+"y m.R Z Z Z N Z Z Z Z N Z Z Z Z Z Z N Z Z Z N Z Z Z Z Z N Y k.q ",
+"< ( ' } } ' } } ' } } ' } } ' } } ' } } ' } } ' ' } ' } ' } ( ; ",
+"  + # # # # # # # # # # # # # # # # # # # # # + # # # # # # O   "
+};
--- xfce4-terminal-0.2.12.orig/debian/README.Debian
+++ xfce4-terminal-0.2.12/debian/README.Debian
@@ -0,0 +1,28 @@
+* Tabs
+
+In Terminal when you cycle through tabs, the default behaviour is to stop at 
+theend and at the beginning. 
+
+For xfce4-terminal, we have set an hidden option in 
+~/.config/Terminal/terminalrc, called MiscCycleTabs, and set to true by 
+default, so the prev/next tab command will cycle. You can change this by adding 
+a line with MiscCycleTabs=FALSE in the terminalrc file.
+
+* dbus
+
+If you want to use dbus support with xfce4-terminal, you should install the 
+package dbus-1-utils, then make sure that your session runs it. (if you run a 
+plain xfce4, the init script launch it, so just log out and log back in)
+
+When using dbus, if there's already a xfce4-terminal running, calling
+xfce4-terminal will return instantly (it's just a call to the running instance
+to open another window). If you use xfce4-terminal from a script (for example
+to display something from mutt, see
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434863) you may want to call
+xfce4-terminal with --disable-server.
+
+* backspace using screen
+
+To delete text with backspace under screen you need to set
+BindingBackspace=TERMINAL_ERASE_BINDING_ASCII_DELETE in
+~/.config/Terminal/terminalrc
--- xfce4-terminal-0.2.12.orig/debian/prerm
+++ xfce4-terminal-0.2.12/debian/prerm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+# remove alternatives links
+
+if [ "$1" = "remove" ]; then
+  update-alternatives --remove x-terminal-emulator /usr/bin/xfce4-terminal.wrapper
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-terminal-0.2.12.orig/debian/rules
+++ xfce4-terminal-0.2.12/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-dbus --enable-final --enable-startup-notification --program-transform-name='s/Terminal/xfce4-terminal/'
+						
+binary-post-install/xfce4-terminal::
+	mkdir debian/xfce4-terminal/usr/share/doc/xfce4-terminal/html/
+	mv debian/xfce4-terminal/usr/share/doc/Terminal/* debian/xfce4-terminal/usr/share/doc/xfce4-terminal/html/
+	rmdir debian/xfce4-terminal/usr/share/doc/Terminal/
+	cd debian/xfce4-terminal/usr/share/man/man1/ && ln -s xfce4-terminal.1 xfce4-terminal.wrapper.1
+	rm debian/xfce4-terminal/usr/bin/terminal
+	install -c -m 0755 debian/xfce4-terminal.wrapper debian/xfce4-terminal/usr/bin/xfce4-terminal.wrapper
+	# .desktop file call to the right binary
+	mv debian/xfce4-terminal/usr/share/applications/Terminal.desktop debian/xfce4-terminal/usr/share/applications/xfce4-terminal.desktop
+	sed -i 's#Exec=Terminal#Exec=xfce4-terminal#' debian/xfce4-terminal/usr/share/applications/xfce4-terminal.desktop
+	install -m 0644 debian/terminal.xpm debian/xfce4-terminal/usr/share/pixmaps/
+	mv debian/xfce4-terminal/usr/lib/xfce4-terminal/xfce4-terminalHelp \
+		debian/xfce4-terminal/usr/lib/xfce4-terminal/TerminalHelp
+	sed -i 's#doc/Terminal/#doc/xfce4-terminal/html#' debian/xfce4-terminal/usr/lib/xfce4-terminal/TerminalHelp
+	chrpath -d -k debian/xfce4-terminal/usr/bin/xfce4-terminal
+
--- xfce4-terminal-0.2.12.orig/debian/changelog
+++ xfce4-terminal-0.2.12/debian/changelog
@@ -0,0 +1,270 @@
+xfce4-terminal (0.2.12-3~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 11 Jul 2009 12:53:26 +0200
+
+xfce4-terminal (0.2.12-3) unstable; urgency=low
+
+  * debian/menu:
+    - switch menu name to Xfce Terminal.
+  * debian/patches:
+    - 04_fix_activity_on_size_change added, fix activity notice on inactive
+      tabs when resizing the window.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Wed, 10 Jun 2009 08:09:25 +0200
+
+xfce4-terminal (0.2.12-2) unstable; urgency=low
+
+  * debian/patches:
+    - 03_terminal-nil-value-fix+always_show_tabs-fix added, fix segfault
+      when using MiscAlwaysShowTab=TRUE.                        closes: #528318
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Thu, 14 May 2009 07:48:39 +0200
+
+xfce4-terminal (0.2.12-1) unstable; urgency=low
+
+  * New upstream release.
+    + correctly handle tabs deletion.                           closes: #524736
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Mon, 20 Apr 2009 07:30:24 +0200
+
+xfce4-terminal (0.2.10-2) unstable; urgency=low
+
+  * Upload to unstable.
+  * debian/compat bumped to 7.
+  * debian/control:
+    - bump debhelper build-dep to 7.
+    - update standards version to 3.8.1.
+    - move to xfce section.
+  * debian/rules:
+    - cleanup old commented code.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 04 Apr 2009 01:58:39 +0200
+
+xfce4-terminal (0.2.10-1) experimental; urgency=low
+
+  * New upstream release.
+  * debian/control: 
+    - replace dbus by dbus-x11 in Recommends:, to make sure
+      people using dbus have a session bus available.
+    - update standards version to 3.8.0.
+    - add build-dep on intltool.
+    - bump build-dep for Xfce 4.6.0.
+    - drop Rudy Godoy and Martin Loschwitz from Uploaders. Thanks to them!
+    - add ${misc:Depends} to depends.
+    - drop obsolete conflict against terminal.
+  * debian/patches:
+    - 03_background-activity dropped, merged upstream.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 28 Feb 2009 15:05:25 +0100
+
+xfce4-terminal (0.2.8-5) unstable; urgency=low
+
+  * debian/patch: 03_background-activity added.                 closes: #353482
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Mon, 21 Apr 2008 22:26:53 +0200
+
+xfce4-terminal (0.2.8-4) unstable; urgency=low
+
+  [ David Paleino ]
+  * Removed myself from Uploaders.
+
+  [ Yves-Alexis Perez ]
+  * debian/README.Debian: add a note about --disable-server.    closes: #434863
+  * debian/control:
+    - updated standard versions to 3.7.3.
+    - updated my email address.
+  * debian/copyright:
+    - use © sign.
+    - remove GFDL text, and link to text in common-license.
+    - add precision that xfce4-terminal is GPLv2 or later.
+
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Thu, 28 Feb 2008 20:56:21 +0100
+
+xfce4-terminal (0.2.8-3) unstable; urgency=low
+
+  * Add dependency on new exo-utils for exo-open
+
+ -- Simon Huggins <huggie@earth.li>  Mon, 28 Jan 2008 11:32:30 +0000
+
+xfce4-terminal (0.2.8-2) unstable; urgency=low
+
+  * Bump build-dep on exo, as it requires 0.3.4.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Tue, 11 Dec 2007 20:15:38 +0100
+
+xfce4-terminal (0.2.8-1) unstable; urgency=low
+
+  [ Simon Huggins ]
+  * Add Vcs-* headers to debian/control
+
+  [ Yves-Alexis Perez ]
+  * new upstream release.
+  * debian/patches:
+    - dropped 01_CVE-2007-3770, merged upstream.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 02 Dec 2007 22:40:32 +0100
+
+xfce4-terminal (0.2.6-5) unstable; urgency=low
+
+  [ Yves-Alexis Perez ]
+  * debian/rules:
+    - transform program name to xfce4-terminal at configure time
+    - rename Terminal.desktop to xfce4-terminal to avoid conflict with
+      Terminal.app.                                            closes: #446329
+  * debian/patches:
+    - added 02_dont-refresh-prefs-too-much: dont poll preferences once per
+    second.
+
+  [ Simon Huggins ]
+  * debian/control: Move fake Homepage field to a real one now dpkg
+    supports it.
+  * debian/rules: Fix up rename so that help works again.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 05 Nov 2007 15:31:26 +0100
+
+xfce4-terminal (0.2.6-4) unstable; urgency=low
+  
+  (David Paleino)
+  * debian/menu fixed: switch to new debian menu policy         closes: #442386
+
+  (Emanuele Rocca)
+  * debian/README.Debian: documented the BindingBackspace config option,
+    interesting for screen users                                closes: #384526
+
+ -- David Paleino <d.paleino@gmail.com>  Sun, 16 Sep 2007 22:58:54 +0200
+
+xfce4-terminal (0.2.6-3) unstable; urgency=high
+
+  (Yves-Alexis Perez)
+  * debian/menu: switch to new menu policy.
+  (Simon Huggins)
+  * Fix security problem in URL handling code (CVE-2007-3770) thanks to Darren
+    Salt                                                        closes: #437454
+  * urgency high for the above.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 12 Aug 2007 18:00:09 +0100
+
+xfce4-terminal (0.2.6-2) unstable; urgency=low
+
+  * Use install instead of mv for installing terminal.xpm so that the clean
+    target works correctly.                                     closes: #424117 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 15 May 2007 22:48:49 +0200
+
+xfce4-terminal (0.2.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: recommend dbus instead of dbus-1-utils.
+  * debian/control: update libvte build dep against 1:0.14.
+  * README.Debian: change newlines so it fits in a 80x24 terminal window.
+  * debian/rules: use sed instead of perl.
+  * debian/copyright: 
+    - correct copyright dates
+    - add copyright notices about gnome-terminal and redhat code.
+    - add documentation copyright statement (GFDL without invariant sections)
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 24 Apr 2007 17:35:00 +0100
+
+xfce4-terminal (0.2.5.8rc2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: bumped exo build-dep to 4.4rc2.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Thu, 16 Nov 2006 18:36:17 +0100
+
+xfce4-terminal (0.2.5.6rc1-2) unstable; urgency=low
+
+  * debian/control: bumped exo build-dep to 4.4rc1 to fix FTBFS.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Fri, 29 Sep 2006 12:13:14 +0100
+
+xfce4-terminal (0.2.5.6rc1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Cancel button is now called Close.				Closes: #380166 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sat, 23 Sep 2006 15:41:32 +0100
+
+xfce4-terminal (0.2.5.4beta2-1) unstable; urgency=low
+
+  (Yves-Alexis Perez)
+  * New upstream release
+  * debian/control: updated standards version to 3.7.2.
+  (Simon Huggins)
+  * Remove phony rpath
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 10 Jul 2006 19:41:08 +0200
+
+xfce4-terminal (0.2.5.1beta1-1) unstable; urgency=low
+
+  * New upstream release
+ 
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 03 May 2006 19:17:15 +0100
+
+xfce4-terminal (0.2.4-7) unstable; urgency=low
+
+  * Build-Depend on the correct version of exo.
+ 
+ -- Simon Huggins <huggie@earth.li>  Tue, 14 Mar 2006 22:46:24 +0000
+
+xfce4-terminal (0.2.4-6) unstable; urgency=low
+
+  * debian/patches
+    - removed patches which fixed build with exo 0.3.1.2alpha-r19548
+    - added upstream patch to fix build with exo 0.3.1.4alpha2-r20235
+ 
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 06 Mar 2006 17:53:29 +0100
+
+xfce4-terminal (0.2.4-5) unstable; urgency=low
+
+  * (Yves-Alexis Perez)
+   * Build depend on dbus 0.60					Closes: #346358
+  * (Simon Huggins)
+   * Add patch from Dann Frazier to include libxfcegui4.h explicitly to
+     prevent problems with pointers on ia64                     Closes: #345840
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 08 Jan 2006 21:05:20 +0000
+
+xfce4-terminal (0.2.4-4) unstable; urgency=low
+
+  * (Yves-Alexis Perez)
+    * Changed default behaviour for the cycle tabs options
+    * Changed dependance on libexo-0.3
+    * Added a patch to fix FTBS with libexo-0.3 svn
+  * (Rudy Godoy)
+    * Fixed binary name on .desktop file call since we rename it to
+      xfce4-terminal.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 19 Dec 2005 23:42:03 +0100
+
+xfce4-terminal (0.2.4-3) unstable; urgency=low
+
+  * Yves-Alexis Perez
+    - Updated standards in rules file to match new debian-policy
+    - Binary name is xfce4-terminal to avoid name conflicts
+  * Emanuele Rocca
+    - Fixed x-terminal-emulator and x-terminal-emulator.1.gz alternatives
+      (Closes: #316164)
+    - s/Terminal/xfce4-terminal in xfce4-terminal(1) and other minor things
+      (Closes: #316168)
+    - Thanks to Y Giridhar Appaji Nag
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 22 Jun 2005 15:53:19 +0200
+
+xfce4-terminal (0.2.4-2) unstable; urgency=low
+
+  * Changed email address in copyright file
+  * Reverted binary name from xfce4-terminal to Terminal (as in the upstream
+    package) and added links to xfce4-terminal
+  * Moving to unstable
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 17 May 2005 10:52:08 +0200
+
+xfce4-terminal (0.2.4-1) experimental; urgency=low
+
+  * Initial Release (Closes: #302999).
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sat, 23 Apr 2005 00:02:36 +0200
--- xfce4-terminal-0.2.12.orig/debian/xfce4-terminal.wrapper
+++ xfce4-terminal-0.2.12/debian/xfce4-terminal.wrapper
@@ -0,0 +1,57 @@
+#! /usr/bin/perl -w
+#
+# Terminal.wrapper - Debian terminal wrapper script
+#
+# Copyright (c) 2004-2005 os-cillation
+#
+
+while ($opt = shift(@ARGV))
+{
+    if ($opt eq '-display')
+    {
+	$arg = shift(@ARGV);
+	push(@args, '--default-display', $arg);
+    }
+    elsif ($opt eq '-name')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-n')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-T' || $opt eq '-title')
+    {
+	push(@args, '--title', shift(@ARGV));
+    }
+    elsif ($opt eq '-geometry')
+    {
+	$arg = shift(@ARGV);
+	push(@args, "--geometry=$arg");
+    }
+    elsif ($opt eq '-fn')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-fg')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-bg')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-tn')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-e')
+    {
+	push(@args, '-x', @ARGV);
+    }
+    elsif ($opt eq '-h' || $opt eq '--help')
+    {
+	push(@args, '--help');
+    }
+}
+exec('xfce4-terminal',@args);
--- xfce4-terminal-0.2.12.orig/debian/menu
+++ xfce4-terminal-0.2.12/debian/menu
@@ -0,0 +1,6 @@
+?package(xfce4-terminal):needs="X11"\
+  section="Applications/Terminal Emulators"\
+  command="/usr/bin/xfce4-terminal"\
+  title="Xfce Terminal"\
+  longtitle="Xfce Terminal Emulator"\
+  icon="/usr/share/pixmaps/terminal.xpm"
--- xfce4-terminal-0.2.12.orig/debian/control
+++ xfce4-terminal-0.2.12/debian/control
@@ -0,0 +1,27 @@
+Source: xfce4-terminal
+Section: xfce
+Priority: optional
+Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
+Uploaders: Emanuele Rocca <ema@debian.org>, Simon Huggins <huggie@earth.li>,
+ Yves-Alexis Perez <corsac@debian.org>
+Build-Depends: debhelper (>= 7), libdbus-glib-1-dev, 
+ libexo-0.3-dev (>= 0.3.100), libvte-dev (>= 1:0.14), libxml-perl,
+ libstartup-notification0-dev, cdbs, chrpath, intltool
+Standards-Version: 3.8.1
+Homepage: http://terminal.os-cillation.com/
+Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/xfce4-terminal/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfce4-terminal/
+
+Package: xfce4-terminal
+Section: xfce
+Architecture: any
+Depends: ${shlibs:Depends},  ${misc:Depends}, exo-utils
+Provides: x-terminal-emulator
+Recommends: dbus-x11
+Description: Xfce terminal emulator
+ This package contains Terminal, which is a lightweight and easy to use
+ terminal emulator for X11. It was created to fit nicely into the Xfce
+ desktop environment, but it also fits nice with other environments.
+ .
+ For people that already know GNOME 2 terminal and are searching for a
+ lighter but comparable replacement, Terminal might be the answer.
--- xfce4-terminal-0.2.12.orig/debian/docs
+++ xfce4-terminal-0.2.12/debian/docs
@@ -0,0 +1,5 @@
+AUTHORS
+HACKING
+NEWS
+README
+THANKS
--- xfce4-terminal-0.2.12.orig/debian/watch
+++ xfce4-terminal-0.2.12/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.xfce.org/archive/xfce-(.*)/src/ \
+	Terminal-(.*)\.tar\.bz2
--- xfce4-terminal-0.2.12.orig/debian/patches/04_fix_activity_on_size_change.patch
+++ xfce4-terminal-0.2.12/debian/patches/04_fix_activity_on_size_change.patch
@@ -0,0 +1,29 @@
+Index: terminal/terminal-screen.c
+===================================================================
+--- terminal/terminal-screen.c	(revision 27079)
++++ terminal/terminal-screen.c	(working copy)
+@@ -145,6 +145,7 @@
+   
+   gboolean             activity;
+   guint                reset_activity_cb;
++  time_t               last_size_change;
+ };
+ 
+ 
+@@ -873,6 +874,8 @@
+ 
+   if (terminal_window_is_screen_active (screen))
+     return;
++  if (time(NULL) - screen->last_size_change <= 1)
++    return;
+ 
+   g_object_get (G_OBJECT (screen->preferences), "tab-activity-timeout", &timeout_seconds, NULL);
+   if (timeout_seconds < 1.0)
+@@ -952,6 +955,7 @@
+         }
+ #endif
+     }
++    screen->last_size_change = time(NULL);
+ 
+   GDK_THREADS_LEAVE ();
+ 
--- xfce4-terminal-0.2.12.orig/debian/patches/00_binary-name-fix-xfce4-terminal.1.patch
+++ xfce4-terminal-0.2.12/debian/patches/00_binary-name-fix-xfce4-terminal.1.patch
@@ -0,0 +1,71 @@
+--- Terminal.1.old	2005-07-02 13:18:06.000000000 +0200
++++ Terminal.1	2005-07-02 13:33:21.000000000 +0200
+@@ -1,29 +1,29 @@
+-.TH Terminal 1 "Mar 19, 2005"
++.TH xfce4-terminal 1 "Mar 19, 2005"
+ .SH NAME
+-Terminal \- A Terminal emulator for X
++xfce4-terminal \- A Terminal emulator for X
+ .SH SYNOPSIS
+-.B Terminal
++.B xfce4-terminal
+ .br
+ .SH DESCRIPTION
+ This manual page documents briefly the
+-.B Terminal
++.B xfce4-terminal
+ application.
+ .PP
+-\fBTerminal\fP is what is known as an X terminal emulator, often referred
++\fBxfce4-terminal\fP is what is known as an X terminal emulator, often referred
+ to as terminal or shell. It provides an equivalent to the old fashioned text
+-screen on your desktop, but on which can easily the screen with other
++screen on your desktop, but on which can easily share the screen with other
+ graphical applications.
+ 
+-\fBTerminal\fP emulates the xterm application developed by the X Consortium.
++\fBxfce4-terminal\fP emulates the xterm application developed by the X Consortium.
+ In turn, the xterm applications emulates the DEC VT102 terminal and also
+ supports the DEC VT220 escape sequences. An escape sequence is a series of
+-characters that with the Esc character. Terminal accepts all of the escape
++characters that with the Esc character. \fBxfce4-terminal\fP accepts all of the escape
+ sequences that the VT102 and VT220 terminals use for functions such as to
+ position the cursor and to clear the screen.
+ 
+ 
+ .SH OPTIONS
+-\fBTerminal\fP takes the following command line options:
++\fBxfce4-terminal\fP takes the following command line options:
+ .TP
+ .B \-\-help
+ Print a help screen and exit.
+@@ -33,7 +33,7 @@
+ 
+ 
+ .SH ENVIRONMENT
+-\fBTerminal\fP's behaviour is affected by the following environment
++\fBxfce4-terminal\fP's behaviour is affected by the following environment
+ variables.
+ .PP
+ .TP
+@@ -61,9 +61,9 @@
+ 
+ 
+ .SH FILES
+-\fBTerminal\fP reads its configuration from the files
++\fBxfce4-terminal\fP reads its configuration from the files
+ .IR $XDG_CONFIG_DIRS/Terminal/terminalrc .
+-\fBTerminal\fP creates the main menubar and the popup
++\fBxfce4-terminal\fP creates the main menubar and the popup
+ menu from the files
+ .IR $XDG_DATA_DIRS/Terminal/Terminal.ui
+ and the toolbars layout from the files
+@@ -74,7 +74,7 @@
+ 
+ 
+ .SH AUTHOR
+-The \fBTerminal\fP software and this manual page was written
++The \fBxfce4-terminal\fP software and this manual page was written
+ for os-cillation by Benedikt Meurer <benny@xfce.org>.
+ 
+ 
--- xfce4-terminal-0.2.12.orig/debian/patches/03_terminal-nil-value-fix+always_show_tabs-fix.patch
+++ xfce4-terminal-0.2.12/debian/patches/03_terminal-nil-value-fix+always_show_tabs-fix.patch
@@ -0,0 +1,31 @@
+Index: terminal/terminal-window.c
+===================================================================
+--- terminal/terminal-window.c	(révision 26581)
++++ terminal/terminal-window.c	(copie de travail)
+@@ -914,18 +914,20 @@
+   /* change the visibility if the new status differs */
+   if (((npages > 1) != tabs_shown) || (always_show_tabs && !tabs_shown))
+     {
++      /* show or hide the tabs */
++      gtk_notebook_set_show_tabs (GTK_NOTEBOOK (window->notebook), always_show_tabs | !tabs_shown);
++
++      /* don't focus the notebook */
++      GTK_WIDGET_UNSET_FLAGS (window->notebook, GTK_CAN_FOCUS);
++
+       /* get active screen */
+       active = terminal_window_get_active (window);
++	  if (G_UNLIKELY (active == NULL))
++		return;
+ 
+       /* get screen grid size */
+       terminal_screen_get_size (active, &grid_width, &grid_height);
+ 
+-      /* show or hide the tabs */
+-      gtk_notebook_set_show_tabs (GTK_NOTEBOOK (window->notebook), !tabs_shown);
+-
+-      /* don't focus the notebook */
+-      GTK_WIDGET_UNSET_FLAGS (window->notebook, GTK_CAN_FOCUS);
+-
+       /* resize the window */
+       terminal_screen_force_resize_window (active, GTK_WINDOW (window), grid_width, grid_height);
+     }
--- xfce4-terminal-0.2.12.orig/debian/patches/02_dont-refresh-prefs-too-much.patch
+++ xfce4-terminal-0.2.12/debian/patches/02_dont-refresh-prefs-too-much.patch
@@ -0,0 +1,12 @@
+diff -ur Terminal-0.2.6.orig/terminal/terminal-monitor.c Terminal-0.2.6/terminal/terminal-monitor.c
+--- Terminal-0.2.6.orig/terminal/terminal-monitor.c	2007-01-20 15:30:51.000000000 +0100
++++ Terminal-0.2.6/terminal/terminal-monitor.c	2007-11-05 15:15:49.000000000 +0100
+@@ -339,7 +339,7 @@
+ 
+   if (G_UNLIKELY (monitor->idle_id == 0))
+     {
+-      monitor->idle_id = g_timeout_add_full (G_PRIORITY_LOW, 1000, terminal_monitor_idle,
++      monitor->idle_id = g_timeout_add_full (G_PRIORITY_LOW, 60*1000, terminal_monitor_idle,
+                                              monitor, terminal_monitor_idle_destroy);
+     }
+ }
