--- xfce4-session-4.4.2.orig/debian/README.Debian
+++ xfce4-session-4.4.2/debian/README.Debian
@@ -0,0 +1,9 @@
+Managing shutdown
+-----------------
+
+There are two 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
--- xfce4-session-4.4.2.orig/debian/debian-tips
+++ xfce4-session-4.4.2/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.4.2.orig/debian/rules
+++ xfce4-session-4.4.2/debian/rules
@@ -0,0 +1,121 @@
+#!/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)
+
+
+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
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./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
+#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+#	cp -f /usr/share/misc/config.sub config.sub
+#endif
+#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+#	cp -f /usr/share/misc/config.guess config.guess
+#endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xfce4-session.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/xfce4-session
+	install -p -o root -g root -m 644 debian/lintian $(CURDIR)/debian/xfce4-session/usr/share/lintian/overrides/xfce4-session
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/mcs-plugins/*.la
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/mcs-plugins/*.a
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/splash/engines/*.la
+	rm -f $(CURDIR)/debian/xfce4-session/usr/lib/*.la
+
+	#Don't ship systemwide defaults as they will override desktop-base
+	#settings. We'll need something cleaner for post-etch.
+	#rm -f $(CURDIR)/debian/xfce4-session/etc/xdg/xfce4-session/xfce4-session.rc
+
+	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/*/*so \
+		`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
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_makeshlibs
+	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.4.2.orig/debian/control
+++ xfce4-session-4.4.2/debian/control
@@ -0,0 +1,24 @@
+Source: xfce4-session
+Section: x11
+Priority: optional
+Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
+Uploaders: Martin Loschwitz <madkiss@debian.org>, Emanuele Rocca <ema@debian.org>, Simon Huggins <huggie@earth.li>, Yves-Alexis Perez <corsac@debian.org>
+Build-Depends: debhelper (>= 4.0.0), xfce4-mcs-manager-dev (>= 4.4.2), xbase-clients, libxml-parser-perl, chrpath, quilt, fortune-mod, libdbus-1-dev
+Standards-Version: 3.7.2
+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
+Architecture: any
+Depends: ${shlibs:Depends}, fortune-mod
+Recommends: xbase-clients, xfwm4, xfce4-utils, xfdesktop4, xfce4-panel, hal
+Suggests: sudo
+Provides: x-session-manager
+Conflicts: xfce4-toys, desktop-base (<< 0.3.20)
+Replaces: xfce4-toys
+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.4.2.orig/debian/watch
+++ xfce4-session-4.4.2/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.xfce.org/archive/xfce-(.*)/src/ \
+	xfce4-session-(.*)\.tar\.bz2
--- xfce4-session-4.4.2.orig/debian/xfce4-autostart-editor.1
+++ xfce4-session-4.4.2/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.4.2.orig/debian/postinst
+++ xfce4-session-4.4.2/debian/postinst
@@ -0,0 +1,16 @@
+#!/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 
+
+  	# Get xfce-mcs-manager to reinit
+	kill -s USR1 `pidof xfce-mcs-manager` >/dev/null 2>&1|| true
+	
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-session-4.4.2.orig/debian/prerm
+++ xfce4-session-4.4.2/debian/prerm
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then
+  update-alternatives --remove x-session-manager /usr/bin/xfce4-session 
+fi
+
+if [ "$1" = "remove" ]; then
+  # Get xfce-mcs-manager to reinit
+  kill -s USR1 `pidof xfce-mcs-manager` >/dev/null 2>&1 || true
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfce4-session-4.4.2.orig/debian/lintian
+++ xfce4-session-4.4.2/debian/lintian
@@ -0,0 +1,8 @@
+xfce4-session: no-shlibs-control-file usr/lib/libxfsm-4.2.so.0.0.1
+xfce4-session: postinst-must-call-ldconfig usr/lib/libxfsm-4.2.so.0.0.1
+xfce4-session: non-dev-pkg-with-shlib-symlink usr/lib/libxfsm-4.2.so.0.0.1 usr/lib/libxfsm-4.2.so
+xfce4-session: package-name-doesnt-match-sonames libxfsm-4.2-0
+# These are all private
+xfce4-session: binary-without-manpage xfsm-shutdown-helper
+xfce4-session: binary-without-manpage balou-install-theme
+xfce4-session: binary-without-manpage balou-export-theme
--- xfce4-session-4.4.2.orig/debian/dirs
+++ xfce4-session-4.4.2/debian/dirs
@@ -0,0 +1 @@
+usr/share/lintian/overrides
--- xfce4-session-4.4.2.orig/debian/compat
+++ xfce4-session-4.4.2/debian/compat
@@ -0,0 +1 @@
+4
--- xfce4-session-4.4.2.orig/debian/changelog
+++ xfce4-session-4.4.2/debian/changelog
@@ -0,0 +1,230 @@
+xfce4-session (4.4.2-1~bpo40+2) etch-backports; urgency=low
+
+  * include all changelogs items since etch.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Fri, 28 Dec 2007 23:53:17 +0100
+
+xfce4-session (4.4.2-1~bpo40+1) etch-backports; urgency=low
+
+  * rebuild for etch-backports.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Fri, 21 Dec 2007 00:19:43 +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.
+  * build for etch-backports.
+
+  [ 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.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 21 Oct 2007 16:09:38 +0200
+
+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.4.2.orig/debian/xfce4-tips.1
+++ xfce4-session-4.4.2/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.4.2.orig/debian/copyright
+++ xfce4-session-4.4.2/debian/copyright
@@ -0,0 +1,411 @@
+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: (c) 2003-2006 Benedikt Meurer <benny@xfce.org>
+ xfce4-session/xfsm-legacy.c: (c) 2000 Matthias Ettrich <ettrich@kde.org>
+ xfce4-session/xfsm-manager.c: (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: (c) 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.
+
+Complete GFDL text follows:
+
+		GNU Free Documentation License
+		  Version 1.2, November 2002
+
+
+ Copyright (C) 2000,2001,2002  Free Software Foundation, Inc.
+     51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+0. PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document "free" in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of "copyleft", which means that derivative
+works of the document must themselves be free in the same sense.  It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does.  But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book.  We recommend this License
+principally for works whose purpose is instruction or reference.
+
+
+1. APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License.  Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein.  The "Document", below,
+refers to any such manual or work.  Any member of the public is a
+licensee, and is addressed as "you".  You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A "Modified Version" of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A "Secondary Section" is a named appendix or a front-matter section of
+the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall subject
+(or to related matters) and contains nothing that could fall directly
+within that overall subject.  (Thus, if the Document is in part a
+textbook of mathematics, a Secondary Section may not explain any
+mathematics.)  The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The "Invariant Sections" are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License.  If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant.  The Document may contain zero
+Invariant Sections.  If the Document does not identify any Invariant
+Sections then there are none.
+
+The "Cover Texts" are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License.  A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A "Transparent" copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters.  A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text.  A copy that is not "Transparent" is called "Opaque".
+
+Examples of suitable formats for Transparent copies include plain
+ASCII without markup, Texinfo input format, LaTeX input format, SGML
+or XML using a publicly available DTD, and standard-conforming simple
+HTML, PostScript or PDF designed for human modification.  Examples of
+transparent image formats include PNG, XCF and JPG.  Opaque formats
+include proprietary formats that can be read and edited only by
+proprietary word processors, SGML or XML for which the DTD and/or
+processing tools are not generally available, and the
+machine-generated HTML, PostScript or PDF produced by some word
+processors for output purposes only.
+
+The "Title Page" means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page.  For works in
+formats which do not have any title page as such, "Title Page" means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+A section "Entitled XYZ" means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language.  (Here XYZ stands for a
+specific section name mentioned below, such as "Acknowledgements",
+"Dedications", "Endorsements", or "History".)  To "Preserve the Title"
+of such a section when you modify the Document means that it remains a
+section "Entitled XYZ" according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document.  These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+
+2. VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no other
+conditions whatsoever to those of this License.  You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute.  However, you may accept
+compensation in exchange for copies.  If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+
+3. COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover.  Both covers must also clearly and legibly identify
+you as the publisher of these copies.  The front cover must present
+the full title with all words of the title equally prominent and
+visible.  You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to give
+them a chance to provide you with an updated version of the Document.
+
+
+4. MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it.  In addition, you must do these things in the Modified Version:
+
+A. Use in the Title Page (and on the covers, if any) a title distinct
+   from that of the Document, and from those of previous versions
+   (which should, if there were any, be listed in the History section
+   of the Document).  You may use the same title as a previous version
+   if the original publisher of that version gives permission.
+B. List on the Title Page, as authors, one or more persons or entities
+   responsible for authorship of the modifications in the Modified
+   Version, together with at least five of the principal authors of the
+   Document (all of its principal authors, if it has fewer than five),
+   unless they release you from this requirement.
+C. State on the Title page the name of the publisher of the
+   Modified Version, as the publisher.
+D. Preserve all the copyright notices of the Document.
+E. Add an appropriate copyright notice for your modifications
+   adjacent to the other copyright notices.
+F. Include, immediately after the copyright notices, a license notice
+   giving the public permission to use the Modified Version under the
+   terms of this License, in the form shown in the Addendum below.
+G. Preserve in that license notice the full lists of Invariant Sections
+   and required Cover Texts given in the Document's license notice.
+H. Include an unaltered copy of this License.
+I. Preserve the section Entitled "History", Preserve its Title, and add
+   to it an item stating at least the title, year, new authors, and
+   publisher of the Modified Version as given on the Title Page.  If
+   there is no section Entitled "History" in the Document, create one
+   stating the title, year, authors, and publisher of the Document as
+   given on its Title Page, then add an item describing the Modified
+   Version as stated in the previous sentence.
+J. Preserve the network location, if any, given in the Document for
+   public access to a Transparent copy of the Document, and likewise
+   the network locations given in the Document for previous versions
+   it was based on.  These may be placed in the "History" section.
+   You may omit a network location for a work that was published at
+   least four years before the Document itself, or if the original
+   publisher of the version it refers to gives permission.
+K. For any section Entitled "Acknowledgements" or "Dedications",
+   Preserve the Title of the section, and preserve in the section all
+   the substance and tone of each of the contributor acknowledgements
+   and/or dedications given therein.
+L. Preserve all the Invariant Sections of the Document,
+   unaltered in their text and in their titles.  Section numbers
+   or the equivalent are not considered part of the section titles.
+M. Delete any section Entitled "Endorsements".  Such a section
+   may not be included in the Modified Version.
+N. Do not retitle any existing section to be Entitled "Endorsements"
+   or to conflict in title with any Invariant Section.
+O. Preserve any Warranty Disclaimers.
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant.  To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled "Endorsements", provided it contains
+nothing but endorsements of your Modified Version by various
+parties--for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version.  Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity.  If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+
+5. COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy.  If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled "History"
+in the various original documents, forming one section Entitled
+"History"; likewise combine any sections Entitled "Acknowledgements",
+and any sections Entitled "Dedications".  You must delete all sections
+Entitled "Endorsements".
+
+
+6. COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other documents
+released under this License, and replace the individual copies of this
+License in the various documents with a single copy that is included in
+the collection, provided that you follow the rules of this License for
+verbatim copying of each of the documents in all other respects.
+
+You may extract a single document from such a collection, and distribute
+it individually under this License, provided you insert a copy of this
+License into the extracted document, and follow this License in all
+other respects regarding verbatim copying of that document.
+
+
+7. AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an "aggregate" if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+
+8. TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections.  You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers.  In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled "Acknowledgements",
+"Dedications", or "History", the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+
+9. TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document except
+as expressly provided for under this License.  Any other attempt to
+copy, modify, sublicense or distribute the Document is void, and will
+automatically terminate your rights under this License.  However,
+parties who have received copies, or rights, from you under this
+License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+
+10. FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions
+of the GNU Free Documentation License from time to time.  Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.  See
+http://www.gnu.org/copyleft/.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License "or any later version" applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation.  If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation.
--- xfce4-session-4.4.2.orig/debian/patches/series
+++ xfce4-session-4.4.2/debian/patches/series
@@ -0,0 +1,4 @@
+01_correct_shadows.patch
+02_use-mice-as-default-engine.patch
+03_xfce4-session-manpage-typo.patch
+04_xfce4-session-logout-manpage-typo.patch
--- xfce4-session-4.4.2.orig/debian/patches/01_correct_shadows.patch
+++ xfce4-session-4.4.2/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.4.2.orig/debian/patches/03_xfce4-session-manpage-typo.patch
+++ xfce4-session-4.4.2/debian/patches/03_xfce4-session-manpage-typo.patch
@@ -0,0 +1,28 @@
+--- a/xfce4-session/xfce4-session.1.orig	2005-11-27 05:53:02.000000000 -0500
++++ b/xfce4-session/xfce4-session.1	2006-02-04 15:02:36.000000000 -0500
+@@ -10,14 +10,14 @@
+ command.
+ .PP
+ The \fBxfce4-session\fP program starts up the Xfce Desktop Environment and
+-is typicaly executed by your login manager (e.g. xdm, gdm, kdm, wdm or from
++is typically executed by your login manager (e.g. xdm, gdm, kdm, wdm or from
+ your X startup scripts). It will load your last session or a default session
+ that includes the standard Xfce programs if no saved session is available.
+ 
+ \fBxfce4-session\fP is an standard X11R6 session manager that can manage
+ any X11R6 SM compliant program, including GNOME and KDE programs.
+ 
+-\fBxfce4-session\fP uses the contens of the ~/.cache/sessions/ directory
++\fBxfce4-session\fP uses the contents of the ~/.cache/sessions/ directory
+ for starting previously saved sessions.
+ 
+ 
+@@ -26,7 +26,7 @@
+ .TP
+ .B \-\-disable\-tcp
+ Disable binding to TCP ports in the ICE layer. This is not possible on every
+-plattform. If you use this option on a plattform that does not support it,
++platform. If you use this option on a platform that does not support it,
+ \fBxfce4-session\fP will print a warning message and ignore the setting.
+ .TP
+ .B \-\-help
--- xfce4-session-4.4.2.orig/debian/patches/02_use-mice-as-default-engine.patch
+++ xfce4-session-4.4.2/debian/patches/02_use-mice-as-default-engine.patch
@@ -0,0 +1,30 @@
+--- xfce4-session/xfce4-session/main.c.orig	2006-11-04 19:42:52.000000000 +0100
++++ xfce4-session/xfce4-session/main.c	2006-12-18 10:52:41.000000000 +0100
+@@ -61,6 +61,7 @@
+ #include <xfce4-session/xfsm-manager.h>
+ #include <xfce4-session/xfsm-startup.h>
+ 
++#define DEFAULT_SPLASH_ENGINE "mice"
+ 
+ void
+ setup_environment (void)
+@@ -134,7 +135,7 @@
+   gint n;
+ 
+   xfce_rc_set_group (rc, "Splash Screen");
+-  engine = xfce_rc_read_entry (rc, "Engine", NULL);
++  engine = xfce_rc_read_entry (rc, "Engine", DEFAULT_SPLASH_ENGINE);
+ 
+   splash_screen = xfsm_splash_screen_new (dpy, engine);  
+   xfsm_splash_screen_next (splash_screen, _("Loading desktop settings"));
+--- xfce4-session/xfce4-session.rc.orig	2006-11-04 19:42:56.000000000 +0100
++++ xfce4-session/xfce4-session.rc	2006-12-18 11:58:25.000000000 +0100
+@@ -44,8 +44,3 @@
+ Client2_PerScreen=False
+ Client3_Command=xfdesktop
+ Client3_PerScreen=False
+-
+-
+-# Default splash screen selection.
+-[Splash Screen]
+-Engine=mice
--- xfce4-session-4.4.2.orig/debian/patches/04_xfce4-session-logout-manpage-typo.patch
+++ xfce4-session-4.4.2/debian/patches/04_xfce4-session-logout-manpage-typo.patch
@@ -0,0 +1,16 @@
+--- a/xfce4-session-logout/xfce4-session-logout.1.orig	2006-05-30 15:02:15.000000000 -0400
++++ b/xfce4-session-logout/xfce4-session-logout.1	2006-08-04 00:09:45.000000000 -0400
+@@ -5,11 +5,7 @@
+ .B xfce4-session-logout
+ .br
+ .SH DESCRIPTION
+-This manual page documents briefly the
+-.B xfce4-session-logout
+-command.
+-.PP
+-The \fBxfce4-session-logout\fP command allows you to programmatically
++The \fBxfce4-session-logout\fP command allows you to
+ logout from your Xfce session. It requests the session manager to display
+ the logout confirmation screen.
+ 
+
