--- xfce4-session-4.6.1.orig/debian/postinst
+++ xfce4-session-4.6.1/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = configure ]; then
+  update-alternatives --install /usr/bin/x-session-manager \
+    x-session-manager /usr/bin/xfce4-session 50 \
+    --slave /usr/share/man/man1/x-session-manager.1.gz \
+    x-session-manager.1.gz /usr/share/man/man1/xfce4-session.1.gz 
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-session-4.6.1.orig/debian/xfce4-session.lintian-overrides
+++ xfce4-session-4.6.1/debian/xfce4-session.lintian-overrides
@@ -0,0 +1,6 @@
+xfce4-session: non-dev-pkg-with-shlib-symlink usr/lib/libxfsm-4.6.so.0.0.0 usr/lib/libxfsm-4.6.so
+xfce4-session: package-name-doesnt-match-sonames libxfsm-4.6-0
+# These are all private
+xfce4-session: binary-without-manpage usr/sbin/balou-export-theme
+xfce4-session: binary-without-manpage usr/sbin/balou-install-theme
+xfce4-session: binary-without-manpage usr/sbin/xfsm-shutdown-helper
--- xfce4-session-4.6.1.orig/debian/dirs
+++ xfce4-session-4.6.1/debian/dirs
@@ -0,0 +1 @@
+usr/share/lintian/overrides
--- xfce4-session-4.6.1.orig/debian/compat
+++ xfce4-session-4.6.1/debian/compat
@@ -0,0 +1 @@
+7
--- xfce4-session-4.6.1.orig/debian/copyright
+++ xfce4-session-4.6.1/debian/copyright
@@ -0,0 +1,44 @@
+This package was debianized by Oliver M. Bolzer <oliver@debian.org> on
+Tue,  9 Dec 2003 09:40:42 +0100.
+
+You can fetch xfce4-session from the official Xfce4 website which is
+http://www.xfce.org
+
+Upstream Author are: 
+Benedikt Meurer <benny@xfce.org>
+Oliver M. Bolzer <oliver@debian.org>
+Francois Le Clainche <fleclainche@wanadoo.fr>
+Maarten Boekhold <boekhold@emirates.net.ae>
+Brian Tarricone <kelnos@xfce.org>
+Jani Monoses <jani@ubuntu.com>
+
+Copyright holders:
+
+ xfce4-session: © 2003-2006 Benedikt Meurer <benny@xfce.org>
+ xfce4-session/xfsm-legacy.c: © 2000 Matthias Ettrich <ettrich@kde.org>
+ xfce4-session/xfsm-manager.c: © 2000 Matthias Ettrich <ettrich@kde.org>
+
+ xfce4-session/xfsm-compat-gnome.c
+ xfce4-session/xfsm-compat-gnome.h
+ parts of libxfsm/xfsm-util.c, xfce4-session/xfsm-dns.c, 
+ xfce4-session/xfsm-legacy.c and xfce4-session/xfsm-manager.c are taken from
+ gnome-session, which is: © 1998,99,2000 Free Software Foundation, Inc.
+
+License:
+
+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'.
+
+Documentation is under GNU Free Documentation License v1.1 or later, without
+any invariant sections, using 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 Lesser General Public
+License can be found in the file `/usr/share/common-licenses/LGPL'.
--- xfce4-session-4.6.1.orig/debian/README.Debian
+++ xfce4-session-4.6.1/debian/README.Debian
@@ -0,0 +1,26 @@
+Running Xfce
+------------
+
+If use you a login manager like GDM, you may have two ways to start Xfce :
+
+- “Xfce Session” will run a complete xfce session, using Xfce-provided
+  scripts (/usr/bin/startxfce4 which will then run /etc/xdg/xfce4/xinitrc
+  or $HOME/.config/xfce4/xinitrc).
+- “Default session” will run whatever is the default session manager on
+  your system. This is the /usr/bin/x-session-manager alternatives, meaning
+  you can tune it with update-alternatives (8). If you only have Xfce
+  installed on your system, it will default to xfce4-session, meaning
+  you'll be able to have an Xfce running chosing that option, but it'll be a
+  minimal one because all the preparation made in /etc/xdg/xfce4/xinitrc
+  before running xfce4-session won't be done.
+
+Managing shutdown
+-----------------
+
+There are three ways to enable user to shutdown the computer from Xfce:
+
+ - use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in sudoers
+ - use dbus and hal
+   - hal and dbus should be installed, up and running
+   - user should be in powerdev group
+ - use policykit and a compatible login manager (gdm is known to work)
--- xfce4-session-4.6.1.orig/debian/prerm
+++ xfce4-session-4.6.1/debian/prerm
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then
+  update-alternatives --remove x-session-manager /usr/bin/xfce4-session 
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-session-4.6.1.orig/debian/xfce4-session-settings.1
+++ xfce4-session-4.6.1/debian/xfce4-session-settings.1
@@ -0,0 +1,33 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
+.TH XFCE4-SESSION-SETTINGS "1" "March 2009" "xfce4-session-settings 4.6.0 (Xfce 4.6.0)" "User Commands"
+.SH NAME
+xfce4-session-settings \- Session settings for Xfce
+.SH DESCRIPTION
+.SS "Usage:"
+.IP
+xfce4\-session\-settings [OPTION...]
+.SS "Help Options:"
+.TP
+\-?, \fB\-\-help\fR
+Show help options
+.TP
+\fB\-\-help\-all\fR
+Show all help options
+.TP
+\fB\-\-help\-gtk\fR
+Show GTK+ Options
+.SS "Application Options:"
+.TP
+\fB\-s\fR, \fB\-\-socket\-id\fR=\fISOCKET\fR ID
+Settings manager socket
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Version information
+.TP
+\fB\-\-display\fR=\fIDISPLAY\fR
+X display to use
+.SH COPYRIGHT
+Copyright \(co 2004-2008
+        The Xfce development team. All rights reserved.
+.PP
+Please report bugs to <http://bugs.xfce.org/>.
--- xfce4-session-4.6.1.orig/debian/rules
+++ xfce4-session-4.6.1/debian/rules
@@ -0,0 +1,108 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# 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)
+
+
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
+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
+
+patch: patch-stamp
+patch-stamp:
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	touch patch-stamp
+
+unpatch:
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	rm -rf .pc patch-stamp
+
+config.status: configure patch-stamp
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc --libexecdir=/usr/sbin --enable-final --with-shutdown-style=hal
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	dh_lintian
+
+	# Add here commands to install the package into debian/xfce4-session.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/xfce4-session
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/splash/engines/*.la
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/*.la
+
+	chrpath -d -k `pwd`/debian/xfce4-session/usr/bin/* \
+		`pwd`/debian/xfce4-session/usr/sbin/xfsm-shutdown-helper \
+		`pwd`/debian/xfce4-session/usr/lib/xfce4/splash/engines/*so
+	
+	cat debian/debian-tips >> `pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips
+	strfile `pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips \
+		`pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips.dat
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs BUGS NEWS README TODO doc/README.Kiosk doc/FAQ
+	dh_installman debian/xfce4-autostart-editor.1 debian/xfce4-tips.1 \
+    debian/xfce4-session-settings.1
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps -l`pwd`/debian/xfce4-session/usr/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- xfce4-session-4.6.1.orig/debian/changelog
+++ xfce4-session-4.6.1/debian/changelog
@@ -0,0 +1,369 @@
+xfce4-session (4.6.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Fri, 10 Jul 2009 08:13:43 +0200
+
+xfce4-session (4.6.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sun, 19 Apr 2009 18:13:45 +0200
+
+xfce4-session (4.6.0-2) unstable; urgency=low
+
+  * Upload to unstable, and mark fixed bugs as such:
+    - now display suspend/hibernate at session logout.          closes: #490659
+  * debian/control:
+    - update standards version to 3.8.1.
+    - update debhelper build-dep to 7.
+    - move to xfce section.
+  * debian/rules:
+    - add -Wl,-z,defs -Wl,--as-needed to LDFLAGS
+    - replace dh_clean -k by dh_prep.
+  * debian/compat bumped to 7.
+  * add manpage for xfce4-session-settings.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 04 Apr 2009 01:26:03 +0200
+
+xfce4-session (4.6.0-1) experimental; urgency=low
+
+  [ Xfce 4.6 Alpha “Pinkie”]
+  * new upstream alpha release.
+    - xfce4-session now has a way to edit autostarted apps.     closes: #507948
+  * debian/control:
+    - update build deps for Xfce 4.6 alpha.
+    - update standards version to 3.8.0.
+    - replace recommends on xbase-clients by x11-xserver-utils.
+    - swap calls to dh_makeshlibs and dh_installdeb. 
+    - remove dep on xfce4-mcs-manager and replace it by xfconf,
+      xfce4-settings.
+    - explicitely add build-dep on libdbus-glib-1-dev.
+  * debian/patches:
+    - 06_rephrase-tips removed.
+    - 07_parallel-startup added, taken from upstream r28005.
+
+  [ Xfce 4.6 Beta 1 “Fuzzy”]
+  * new upstream beta release
+  * debian/control:
+    - update build-deps for Fuzzy.
+    - add build dep on libxfconf-0-dev, libglade2-dev.
+    - update build-dep on debhelper for a version with dh_lintian
+  * debian/patches:
+    - 02_use-mice-as-default-engine dropped.
+    - 07_parallel-startup removed, included upstream.
+    - other patches reordered. 
+  * debian/xfce4-session.xml:
+    - ship a xfconf config file for selecting the simple engine, put it in
+      desktop-base dirs until we can ship it in desktop-base package.
+  * debian/rules:
+    - don't manually install lintian overrides, use dh_lintian
+  * debian/lintian:
+    - renamed to debian/xfce4-session.lintian-overrides.
+    - updated to match Fuzzy.
+
+  [ Xfce 4.6 Beta 2 “Hopper”]
+  * new upstream beta release
+  * debian/control:
+    - update build-deps for Hopper.
+  * debian/xfce4-session.xml:
+    - now that simple engine configuration is handled is xfconf, provide a
+      desktop-base config file.
+  * debian/patches:
+    - 03_fix-suspend-errors-at-resume added, fix errors when resuming.
+  * debian/xfce4-session.lintian-overrides:
+    - update link for beta2.
+
+  [ Xfce 4.6 Beta 3 “Tuco-tuco”]
+  * new upstream beta release.
+  * debian/control:
+    - update build-deps for “Tuco-Tuco”.
+  * debian/patches:
+    - 02_xfce4-session-logout-manpage-typo dropped.
+    - 03_fix-suspend-errors-at-resume as well.
+
+  [ Xfce 4.6 RC1 “Capybara” ]
+  * new upstream release candidate.
+  * debian/control:
+    - update build-deps for “Capybara”.
+
+  [ Xfce 4.6 ]
+  * new upstream release.
+  * debian/control:
+    - update build-deps for 4.6.
+  * debian/README.Debian: add precisions about choices in GDM.
+  * debian/patches:
+    - 02_fix-fortune-path added, fix fortune call path.         closes: #497199
+  * debian/xfce4-session.xml removed, will be shipped in desktop-base.
+  * debian/rules: don't install xfce4-session.xml
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 28 Feb 2009 13:01:12 +0100
+
+xfce4-session (4.4.2-6) unstable; urgency=low
+
+  * debian/{postinst,prerm}: have them back, they manage the x-session-manager
+    alternative.                                                closes: #481933
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Tue, 20 May 2008 08:18:16 +0200
+
+xfce4-session (4.4.2-5) unstable; urgency=low
+
+  * switch to triggers:
+    - debian/{postinst,prerm} dropped.
+    - debian/control: conflict against non-triggers-enabled xfce4-mcs-manager. 
+  * debian/control:
+    - remove Conflicts/Replaces: xfce4-toys, since it's not in Etch.
+    - drop Martin Loschwitz from Uploaders.
+    - remove Conflicts on desktop-base since Etch as a correct version.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sun, 18 May 2008 19:45:02 +0200
+
+xfce4-session (4.4.2-4) unstable; urgency=low
+
+  * debian/patches: 06_rephrase-tip added.                      closes: #399694
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 17 May 2008 15:36:15 +0200
+
+xfce4-session (4.4.2-3) unstable; urgency=low
+
+  * debian/control: use dbus-x11 in Recommends: to make sure dbus users have a
+    session bus running.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sun, 27 Apr 2008 17:49:34 +0200
+
+xfce4-session (4.4.2-2) unstable; urgency=low
+
+  * debian/copyright: don't ship complete GFDL text.
+  * debian/patches: 05_fix-resize-simple-splash-engine added, fix resize in
+    simple engine config window.                                closes: #408445
+  * debian/control:
+    - updated standard versions to 3.7.3.
+    - updated my email address.
+    - add dependency on xfce4-mcs-manager because of settings plugins calling
+      xfce-setting-show
+  * debian/lintian: 
+    - override "desktop-command-not-in-package" for xfce-setting-show now we 
+      depend on it.
+    - edit overrides for "binary-without-manpage", using complete path.
+  * debian/copyright: use © sign.
+
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Thu, 28 Feb 2008 20:46:13 +0100
+
+xfce4-session (4.4.2-1) unstable; urgency=low
+
+  [ Yves-Alexis Perez ]
+  * New upstream release.
+  * debian/rules: don't ignore all make errors at clean stage.
+
+  [ Simon Huggins ]
+  * Fix shlibs for newer dpkg
+  * Add Vcs-* headers to debian/control
+
+ -- Simon Huggins <huggie@earth.li>  Tue, 27 Nov 2007 16:39:19 +0000
+
+xfce4-session (4.4.1-2) unstable; urgency=low
+
+  [ Yves-Alexis Perez ]
+  * debian/control: build against dbus to enable users to shutdown through hal.
+    See README.Debian for more details.                         closes: #431886
+  * debian/postinst: use posix kill -s to avoid problems on hurd.
+
+  [ Simon Huggins ]
+  * debian/prerm: Use kill -s to keep Hurd and lintian happy at the same time.
+  * debian/patches/03*: Add patch to -session.1 manpage for typos
+                                                                closes: #351424
+  * debian/patches/04*: Add patch to -session-logout.1 manpage for typos
+                                                                closes: #381398
+  * debian/control: Move fake Homepage field to a real one now dpkg
+    supports it.
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 20 Oct 2007 12:47:13 +0100
+
+xfce4-session (4.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/copyright: update licenses & copyright holders.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 15 Apr 2007 15:28:17 +0100
+
+xfce4-session (4.4.0-1) experimental; urgency=low
+  
+  (Yves-Alexis Perez)
+  * New upstream release.
+  * debian/control: updated build-deps against Xfce 4.4.
+
+  (Emanuele Rocca)
+  * xfce4-autostart-editor(1) and xfce4-tips(1) added.
+  * Wrote a couple of Debian related tips in debian/debian-tips.
+    Build-depend on fortune-mod to update tips.dat at build time.
+  * libxfsm-4.2-0 is a private library, added lintian override for
+    'package-name-doesnt-match-sonames'.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 04 Feb 2007 13:15:38 +0100
+
+xfce4-session (4.3.99.2-3) unstable; urgency=low
+
+  * Ship a xfce4-session.rc for failsafe session but use a default splash
+    engine if none is configured.				closes: #402708
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 18 Dec 2006 12:00:40 +0100
+
+xfce4-session (4.3.99.2-2) unstable; urgency=low
+
+  * Remove useless build-dep on libhal-dev. What the hell was I thinking
+    about that day ?						Closes: #402021
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Thu,  7 Dec 2006 17:54:33 +0100
+
+xfce4-session (4.3.99.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: updated build-deps against Xfce 4.4RC2 (4.3.99.2).
+  * Added a patch to disable shadows in simple engine.
+  * debian/rules: remove xfce4-session.rc from package so it uses by default
+    files from desktop-base if present.
+  * debian/control: conflicts against desktop-base << 0.3.20 because it needs
+    a correct xfce4-session.rc no present before.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 27 Nov 2006 08:41:39 +0100
+
+xfce4-session (4.3.99.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: updated build-dep against Xfce 4.4RC1 (4.3.99.1).
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sat, 23 Sep 2006 13:42:51 +0100
+
+xfce4-session (4.3.90.2-1) unstable; urgency=low
+  
+  (Yves-Alexis Perez)
+  * New upstream release.
+  * debian/postinst: fixed install on hurd by not using pkill.
+  * debian/control: updated standards version to 3.7.2. 
+  (Simon Huggins)
+  * Add rpath fixes.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 10 Jul 2006 19:25:08 +0200
+
+xfce4-session (4.3.90.1-1) unstable; urgency=low
+
+  (Yves-Alexis Perez) 
+   * New Upstream Release
+  (Simon Huggins)
+   * Remove all pointless .la files
+   * Depend on fortune-mod for xfce4-tips
+  
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 03 May 2006 18:35:05 +0100
+ 
+xfce4-session (4.2.3-1) unstable; urgency=low
+
+  * New Upstream Release
+  * Send xfce-mcs-manager a SIGUSR1 so it notices the plugin.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 06 Nov 2005 22:01:12 +0100
+
+xfce4-session (4.2.2-1) unstable; urgency=low
+
+  * SH: New Upstream Release
+  * SH: Fix description                                       closes: #300058
+  * ER: Add lintian override: no-shlibs-control-file,
+    postinst-must-call-ldconfig
+  * SH: Add more lintian overrides - no point splitting out to a dev file and
+    the binaries are private.
+  * SH: Change suite to unstable
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 18 Jun 2005 09:43:33 +0100
+
+xfce4-session (4.2.1-1) experimental; urgency=low
+
+  * ML: New Upstream Release (Xfce 4.2.1)
+  * ML: Upload to experimental to prevents problems with NEW packages
+  * ML: debian/control: Added/fixed Maintainer/Uploaders fields
+
+ -- Martin Loschwitz <madkiss@debian.org>  Sat, 19 Mar 2005 13:02:00 +0100
+
+xfce4-session (4.2.0-2) experimental; urgency=low
+
+  * Add --enable-final to configure
+  * Add a Homepage: to the description
+
+ -- Simon Huggins <huggie@earth.li>  Sun, 16 Jan 2005 16:01:58 +0000
+
+xfce4-session (4.2.0-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 15 Jan 2005 14:00:59 +0000
+
+xfce4-session (4.1.99.1-1) experimental; urgency=low
+
+  * New upstream release (4.1.99.1 aka 4.2 RC1)
+  * Build-Depend on xbase-clients for iceauth
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 20 Nov 2004 19:00:44 +0000
+
+xfce4-session (0.1.3+20031213-5) unstable; urgency=low
+
+  * Backport patch from CVS to allow --disable-tcp to work   closes: #254812
+  * Kludge in similar solution to upstream's CVS to always run
+    ~/Desktop/Autostart even when there is no session        closes: #254812
+  * This implied a libtool update which makes the previous renaming of
+    session_settings.so redundant
+  * Update the manpage to the one in CVS now that we support those commandline
+    options
+  * Disable smproxy in the default.session so that new sessions don't start
+    xfce4 twice                                              closes: #261431
+  * Add note in README.Debian about disabling smproxy and about not reporting
+    bugs to upstream
+  * Change upstreams manpage so it refers to the BTS not upstream
+
+ -- Simon Huggins <huggie@earth.li>  Wed, 04 Aug 2004 17:41:09 +0100
+
+xfce4-session (0.1.3+20031213-4) unstable; urgency=low
+
+  * Take over this package with permission from Oliver - thanks to Oliver for
+    his work on it.
+  * Add Daniel Silverstone and Martin Loschwitz to Uploaders ready for when
+    the xfce4 packages are group maintained.
+  * Remove unneccessary session_settings.la
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 10 Jul 2004 14:26:07 +0100
+
+xfce4-session (0.1.3+20031213-3) unstable; urgency=low
+
+  * fix "logout window" not shown when using with GLib 2.4.x
+    Thanks to Simon Huggins for digging up the patch
+    (Closes: #252715, #253309)
+  * manually rename session_settings to session_setting.so, somehow
+    new builds don't name the file correctly
+    (noticed by Michael Kebe and Simon Huggins)
+  * remove explict Build-Depends on xlibs-dev and libgtk2.0-dev.
+    These are now provided by libxfcegui4-dev >= 4.0.5. Bump required
+    versions of various xfce4 libs to 4.0.5
+  * Provide: x-session-manager and register as alternative for
+    /usr/bin/x-session-manager (Closes: #187748, #203510, #234014, #252870)
+  * bump up to Standards-Version: 3.6.1.0 (no changes)
+
+ -- Oliver M. Bolzer <oliver@debian.org>  Sat,  3 Jul 2004 11:58:00 +0200
+
+xfce4-session (0.1.3+20031213-2) unstable; urgency=low
+
+  * include xinitrc.xfce4-session mentioned in the README (Closes: #228318)
+
+ -- Oliver M. Bolzer <oliver@debian.org>  Mon, 16 Feb 2004 09:37:27 +0100
+
+xfce4-session (0.1.3+20031213-1) unstable; urgency=low
+
+  * Initial Upload to Archive. (Closes: #223536)
+  * sync to upstream CVS, crash bug fixed that could leave inconstent session
+  * man pages made now included upstream
+
+ -- Oliver M. Bolzer <oliver@debian.org>  Sat, 13 Dec 2003 14:03:18 +0100
+
+xfce4-session (0.1.3+20030922-1) unstable; urgency=low
+
+  * Initial Package.
+
+ -- Oliver M. Bolzer <oliver@debian.org>  Tue,  9 Dec 2003 09:40:42 +0100
+
--- xfce4-session-4.6.1.orig/debian/xfce4-tips.1
+++ xfce4-session-4.6.1/debian/xfce4-tips.1
@@ -0,0 +1,21 @@
+.\" Copyright (C) 2007 Emanuele Rocca
+.TH XFCE4-TIPS "1" "January 2007" "xfce4-tips" "User Commands"
+.SH NAME
+xfce4-tips \- XFce 4 Tips
+.SH SYNOPSIS
+.B xfce4-tips
+.SH DESCRIPTION
+.PP
+This command displays some usage tips about XFce.
+.SH FILES
+.TP
+.I /usr/share/xfce4/tips/tips
+List of tips.
+.SH SEE ALSO
+Upstream documentation in /usr/share/xfce4/doc/C/index.html
+.SH COPYRIGHT
+Copyright \(co 2007 Emanuele Rocca
+.br
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
--- xfce4-session-4.6.1.orig/debian/control
+++ xfce4-session-4.6.1/debian/control
@@ -0,0 +1,27 @@
+Source: xfce4-session
+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), libx11-dev, libxml-parser-perl, chrpath,
+ quilt, fortune-mod, libdbus-1-dev, libdbus-glib-1-dev, 
+ libxfce4util-dev (>= 4.6.0), libxfcegui4-dev (>= 4.6.0), libwnck-dev, 
+ x11-xserver-utils, libxfconf-0-dev (>= 4.6.0), libglade2-dev, 
+ intltool (>= 0.31)
+Standards-Version: 3.8.1
+Homepage: http://www.xfce.org/
+Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/xfce4-session/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfce4-session/
+
+Package: xfce4-session
+Section: xfce
+Architecture: any
+Depends: ${shlibs:Depends}, fortune-mod, xfce4-settings, xfconf
+Recommends: xfwm4, xfce4-utils, xfdesktop4, xfce4-panel, hal, dbus-x11, x11-xserver-utils
+Suggests: sudo
+Provides: x-session-manager
+Description: Xfce4 Session Manager
+ xfce4-session is an X11-compliant "session manager" designed for use with
+ the Xfce4 Desktop Environment. On log out, the session manager saves the
+ state of all your running applications. When you log back in, the session
+ manager restores the same applications with the same window positions.
--- xfce4-session-4.6.1.orig/debian/debian-tips
+++ xfce4-session-4.6.1/debian/debian-tips
@@ -0,0 +1,8 @@
+The Debian Xfce packages you're using right now are brought to you by the
+Debian Xfce Group. 
+
+See http://pkg-xfce.alioth.debian.org for more information.
+%
+On Debian systems you can get a selection of panel plugins installing the
+xfce4-goodies package.
+%
--- xfce4-session-4.6.1.orig/debian/xfce4-autostart-editor.1
+++ xfce4-session-4.6.1/debian/xfce4-autostart-editor.1
@@ -0,0 +1,18 @@
+.\" Copyright (C) 2007 Emanuele Rocca
+.TH XFCE4-AUTOSTART-EDITOR "1" "January 2007" "xfce4-autostart-editor" "User Commands"
+.SH NAME
+xfce4-autostart-editor \- XFce 4 Autostart Editor
+.SH SYNOPSIS
+.B xfce4-autostart-editor
+.SH DESCRIPTION
+.PP
+Starts the XFce 4 Autostart Editor, which allows to edit the list of
+autostarted applications.
+.SH SEE ALSO
+Upstream documentation in /usr/share/xfce4/doc/C/xfce4-session.html
+.SH COPYRIGHT
+Copyright \(co 2007 Emanuele Rocca
+.br
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
--- xfce4-session-4.6.1.orig/debian/watch
+++ xfce4-session-4.6.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.xfce.org/archive/xfce-(.*)/src/ \
+	xfce4-session-(.*)\.tar\.bz2
--- xfce4-session-4.6.1.orig/debian/patches/series
+++ xfce4-session-4.6.1/debian/patches/series
@@ -0,0 +1,2 @@
+01_correct_shadows.patch
+02_fix-fortune-path.patch
--- xfce4-session-4.6.1.orig/debian/patches/01_correct_shadows.patch
+++ xfce4-session-4.6.1/debian/patches/01_correct_shadows.patch
@@ -0,0 +1,26 @@
+--- xfce4-session/engines/simple/simple.c.orig	2006-09-02 19:27:37.000000000 +0200
++++ xfce4-session/engines/simple/simple.c	2006-10-06 15:19:59.000000000 +0200
+@@ -202,7 +202,6 @@
+ simple_next (XfsmSplashEngine *engine, const gchar *text)
+ {
+   Simple *simple = (Simple *) engine->user_data;
+-  GdkColor shcolor;
+   gint tw, th, tx, ty;
+ 
+   pango_layout_set_text (simple->layout, text, -1);
+@@ -220,15 +219,6 @@
+ 
+   gdk_gc_set_clip_rectangle (simple->gc, &simple->textbox);
+ 
+-  /* draw shadow */
+-  shcolor.red = (simple->fgcolor.red + simple->bgcolor.red) / 2;
+-  shcolor.green = (simple->fgcolor.green + simple->bgcolor.green) / 2;
+-  shcolor.blue = (simple->fgcolor.blue + simple->bgcolor.blue) / 2;
+-  shcolor.red = (shcolor.red + shcolor.green + shcolor.blue) / 3;
+-  shcolor.green = shcolor.red;
+-  shcolor.blue = shcolor.red;
+-
+-  gdk_gc_set_rgb_fg_color (simple->gc, &shcolor);
+   gdk_draw_layout (simple->pixmap, simple->gc,
+                    tx + 2, ty + 2, simple->layout);
+ 
--- xfce4-session-4.6.1.orig/debian/patches/02_fix-fortune-path.patch
+++ xfce4-session-4.6.1/debian/patches/02_fix-fortune-path.patch
@@ -0,0 +1,18 @@
+diff --git a/xfce4-tips/main.c b/xfce4-tips/main.c
+index 0961879..4f88935 100644
+--- a/xfce4-tips/main.c
++++ b/xfce4-tips/main.c
+@@ -115,11 +115,11 @@ next_cb(GtkWidget *btn, GtkTextBuffer *textbuf)
+ 
+   switch (option) {
+   case OPTION_TIPS:
+-    strcpy(buffer, "fortune " TIPSDIR "/tips");
++    strcpy(buffer, "/usr/games/fortune " TIPSDIR "/tips");
+     break;
+ 
+   case OPTION_FORTUNES:
+-    strcpy(buffer, "fortune");
++    strcpy(buffer, "/usr/games/fortune");
+     break;
+   }
+ 
