--- libxfce4util-4.6.1.orig/debian/libxfce4util4.install
+++ libxfce4util-4.6.1/debian/libxfce4util4.install
@@ -0,0 +1,3 @@
+usr/lib/lib*.so.*
+usr/sbin/xfce4-kiosk-query
+usr/share/locale/
--- libxfce4util-4.6.1.orig/debian/compat
+++ libxfce4util-4.6.1/debian/compat
@@ -0,0 +1 @@
+7
--- libxfce4util-4.6.1.orig/debian/copyright
+++ libxfce4util-4.6.1/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Martin Loschwitz <madkiss@debian.org> on
+Thu, 26 Jun 2003 15:11:52 +0200.
+
+libxfce4util can be downloaded from the official Xfce4 website, which is
+http://www.xfce.org/
+
+Upstream author and copyright holders are: 
+© 2002-2007 Benedikt Meurer <benny@xfce.org>
+© 2004 Jasper Huijsmans <jasper@xfce.org>
+© 2003 Olivier Fourdan <fourdan@xfce.org>
+
+Maarten Boekhold <boekhold@emirates.net.ae>, cygwin patches.
+
+libxfce4util/abicheck.sh contains code © 2004 The GLib Development Team.
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
--- libxfce4util-4.6.1.orig/debian/libxfce4util-dev.install
+++ libxfce4util-4.6.1/debian/libxfce4util-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/share/gtk-doc/html/libxfce4util/*
--- libxfce4util-4.6.1.orig/debian/rules
+++ libxfce4util-4.6.1/debian/rules
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+
+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
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
+
+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 --sysconfdir=/etc --enable-final
+
+build: build-stamp
+build-stamp: config.status
+	
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean: unpatch
+	
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean
+
+install: build
+	
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+	rm -f `pwd`/debian/tmp/usr/lib/libxfce4util.la
+
+	chrpath -d -k `pwd`/debian/tmp/usr/lib/*.so.* \
+		`pwd`/debian/tmp/usr/sbin/*
+
+binary-indep: build install
+binary-arch: build install
+	
+	dh_testdir
+	dh_testroot
+	
+	dh_installchangelogs ChangeLog
+	dh_installdocs NEWS TODO
+	dh_installman -p libxfce4util4 debian/xfce4-kiosk-query.8 
+	
+	dh_install --fail-missing --sourcedir=debian/tmp
+	dh_strip --dbg-package=libxfce4util4-dbg
+
+	dh_compress
+	dh_fixperms
+
+	dh_makeshlibs -V 'libxfce4util4 (>= 4.6.0)'
+	dh_installdeb
+
+	dh_shlibdeps
+	dh_gencontrol
+	
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- libxfce4util-4.6.1.orig/debian/changelog
+++ libxfce4util-4.6.1/debian/changelog
@@ -0,0 +1,285 @@
+libxfce4util (4.6.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 25 Apr 2009 19:43:41 +0200
+
+libxfce4util (4.6.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    - move lib to libs section, -dbg to debug one.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sun, 19 Apr 2009 13:32:29 +0200
+
+libxfce4util (4.6.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+  * debian/compat: bump to 7.
+  * debian/control:
+    - update build-dep on dh to 7 accordingly.
+    - update standards version to 3.8.1.
+    - move to section xfce.
+    - drop now useless conflicts/replaces.
+  * debian/rules:
+    - add -Wl,-z,defs -Wl,--as-needed to LDFLAGS.
+    - replace dh_clean -k by dh_prep. 
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 04 Apr 2009 00:46:41 +0200
+
+libxfce4util (4.6.0-1) experimental; urgency=low
+
+  [ Xfce 4.6 Alpha “Pinkie”]
+  * debian/rules:
+    - update shlibs.
+    - fail if dh_install misses files.
+
+  [ Xfce 4.6 Beta 1 “Fuzzy”]
+  * new upstream beta release.
+  * debian/control:
+    - no need to depends on gtk, libxfce4util is glib-only.
+  * debian/rules:
+    - bump shlibs for Fuzzy.
+
+  [ Xfce 4.6 Beta 2 “Hopper”]
+  * new upstream beta release.
+  * debian/rules:
+    - bump shlibs for 4.5.92.
+
+  [ Xfce 4.6 Beta 3 “Tuco-tuco”]
+  * new upstream beta release.
+  * debian/rules:
+    - bump shlibs for 4.5.93.
+
+  [ Xfce 4.6 RC1 “Capybara” ]
+  * new upstream release candidate.
+  * debian/rules:
+    - bump shlibs for 4.5.99.1.
+
+  [ Xfce 4.6.0 ]
+  * new upstream release.
+  * debian/rules:
+    - bump shlibs for 4.6.0.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 28 Feb 2009 12:00:49 +0100
+
+libxfce4util (4.4.2-3) unstable; urgency=low
+
+  * debian/control:
+    - fixed typo in short description.                          closes: #489493
+    - removed Martin Loschwitz from Uploaders.
+    - updated standards version to 3.8.0.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sun, 06 Jul 2008 10:58:49 +0200
+
+libxfce4util (4.4.2-2) unstable; urgency=low
+
+  * debian/control: 
+    - add a -dbg package
+    - update standards version to 3.7.3.
+    - update my email address.
+  * debian/rules: put debug infos in -dbg package.
+  * debian/compat: updated to 5 so dh_strip behaves nicely.
+  * debian/libxfce4util-dev.install: remove /usr/share/xfce4/m4, not present.
+  * debian/copyright: use © sign.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 01 Mar 2008 23:46:50 +0100
+
+libxfce4util (4.4.2-1) unstable; urgency=low
+
+  [ Simon Huggins ]
+  * Use ${binary:Version} so we are binNMU safe.
+  * debian/control: Move fake Homepage field to a real one now dpkg
+    supports it.
+
+  [ Yves-Alexis Perez ]
+  * New upstream release.
+  * debian/rules: don't ignore all make errors at clean stage.
+
+  [ Simon Huggins ]
+  * Add Vcs-* headers to debian/control
+
+ -- Simon Huggins <huggie@earth.li>  Tue, 27 Nov 2007 16:39:16 +0000
+
+libxfce4util (4.4.1-1) unstable; urgency=low
+
+  * New upstream release. 
+  * debian/copyright: updated copyright holders.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 15 Apr 2007 15:28:17 +0100
+
+libxfce4util (4.4.0-2) experimental; urgency=low
+
+  * debian/rules: remove /usr/lib/libxfce4util.la from package.
+  * debian/libxfce4util4.install: ship locales.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Thu, 25 Jan 2007 01:08:59 +0100
+
+libxfce4util (4.4.0-1) experimental; urgency=low
+
+  * (Yves-Alexis Perez) 
+    - New upstream release. 
+  * (Emanuele Rocca)
+    - debian/control: Added a note about the manual and suggest devhelp.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 24 Jan 2007 22:32:30 +0100
+
+libxfce4util (4.3.99.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * 01_add-desktop-base-in-config-dirs: enable use of config files provided
+    by desktop-base package. Quick & dirty patch for Etch.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 20 Nov 2006 12:54:53 +0100
+
+libxfce4util (4.3.99.1-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sat, 23 Sep 2006 13:46:27 +0100
+
+libxfce4util (4.3.90.2-2) unstable; urgency=low
+
+  * rpath fixes: call chrpath in debian/rules and add it to the build 
+    dependencies.
+  * Move the dh_makeshlibs call to the right place so we run ldconfig in
+    postinst.
+
+ -- Simon Huggins <huggie@earth.li>  Thu, 20 Jul 2006 17:54:53 +0100
+
+libxfce4util (4.3.90.2-1) experimental; urgency=low
+
+  (Yves-Alexis Perez)
+  * New upstream release.
+  * debian/control: updated standards version to 3.7.2.
+  * Bumped soname version to 4 and renamed binary package accordingly.
+  (Simon Huggins)
+  * Upload to experimental so we can clear NEW without issues.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 12 Jul 2006 17:48:20 +0100
+
+libxfce4util (4.3.90.1-1) unstable; urgency=low
+
+  * New Upstream Release
+  * Changed binary package name to reflects soname change
+  * Remove pointless .la files.
+  
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 18 Apr 2006 15:09:22 +0200
+ 
+libxfce4util (4.2.3.2-1) unstable; urgency=low
+
+  * Yves-Alexis Perez
+   * New Upstream Release
+  * Simon Huggins
+   * Configure sysconfdir correctly                             closes: #329139
+ 
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 27 Nov 2005 12:08:34 +0000
+
+libxfce4util (4.2.2-1) unstable; urgency=low
+
+  * New Upstream Release
+  * Fix shlibs to be > 4.2.0 to help fix upstream's soname breakage
+  * Moved xfce4-kiosk-query.8 from the -dev to libxfce4util-1
+  * Change suite to unstable
+  
+ -- Simon Huggins <huggie@earth.li>  Sat, 18 Jun 2005 09:50:03 +0100
+
+libxfce4util (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 Maintainer/Uploaders fields
+  
+ -- Martin Loschwitz <madkiss@debian.org>  Sat, 19 Mar 2005 13:02:00 +0100
+
+libxfce4util (4.2.0-2) experimental; urgency=low
+
+  * Add the xfce4-kiosk-query.8 from Benny
+  * --enable-final to configure
+  * Add a Homepage: to the description
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 15 Jan 2005 10:45:10 +0000
+
+libxfce4util (4.2.0-1) experimental; urgency=low
+
+  * New Upstream Release
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 15 Jan 2005 10:45:10 +0000
+
+libxfce4util (4.1.99.1-1) experimental; urgency=low
+
+  * ML: New Upstream Release (4.1.99.1 alias XFce4 4.2 RC1)
+  * ML: libxfce4util-1.install: nls.alias is gone, don't try to install it
+  * ML: libxfce4util-dev.install: Added usr/share/gtk-doc/html/libxfce4util/*
+  * ML: libxfce4util-1.install Added usr/bin/xfce4-kiosk-query
+
+ -- Martin Loschwitz <madkiss@debian.org>  Fri, 19 Nov 2004 15:26:00 +0100
+
+libxfce4util (4.0.6-1) unstable; urgency=high
+
+  * urgency high to avoid previous buildd mess; there are 4 more upload stages
+    each requiring the dev packages from the previous stage to be installed on
+    all archs before we can upload (see http://wiki.earth.li/XfceDebian)
+  * New upstream release
+  * Upstream have incorporated the fix for PATH_MAX definition closes: #254383
+  * Remove Norbert Tretkowski from Uploaders as requested.
+
+ -- Simon Huggins <huggie@earth.li>  Mon, 12 Jul 2004 21:05:33 +0100
+
+libxfce4util (4.0.5-1) unstable; urgency=high
+
+  * urgency high to avoid previous buildd mess; there are 4 more upload stages
+    each requiring the dev packages from the previous stage to be installed on
+    all archs before we can upload (see http://wiki.earth.li/XfceDebian)
+  * New upstream release
+  * Update upstream's libtool
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 17 Apr 2004 12:17:35 +0100
+
+libxfce4util (4.0.3-2) unstable; urgency=low
+
+  * Update libtool
+  * Snarf depends.m4 from CVS for XFCE_MCS_PLUGINS so I can update libtool
+    elsewhere (thanks benny)
+  * Just adding Daniel wasn't enough.  Add self to Uploaders so katie doesn't
+    think this is an NMU again.
+
+ -- Simon Huggins <huggie@earth.li>  Tue, 09 Mar 2004 13:12:14 +0000
+
+libxfce4util (4.0.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Add libgtk2.0-dev to Depends: closes: #220410
+  * Add Daniel Silverstone <dsilvers@debian.org> to Uploaders as approved by
+    madkiss
+  * Thanks to Daniel for checking and uploading these packages
+
+ -- Simon Huggins <huggie@earth.li>  Tue, 24 Feb 2004 22:40:08 +0000
+
+libxfce4util (4.0.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Martin Loschwitz <madkiss@debian.org>  Fri, 26 Dec 2003 15:41:00 +0100
+
+libxfce4util (4.0.0.final-1) unstable; urgency=low
+ 
+  * New upstream release
+  * New Co-Maintainer: Norbert Tretkowski.
+  * Many cleanups in debian/-subdir
+  * Renamed libxfce4util-0-dev to libxfce4util-dev
+  * libxfce4util-1 instead of libxfce4util-0
+
+ -- Martin Loschwitz <madkiss@debian.org>  Tue, 29 Sep 2003 15:49:00 +0200
+ 
+libxfce4util (0.2.0+cvs.20030421-1) unstable; urgency=low
+
+  * New CVS checkout
+
+ -- Martin Loschwitz <madkiss@debian.org>  Mon, 21 Apr 2003 18:58:00 +0200
+
+libxfce4util (0.0.0+cvs.20030324-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Martin Loschwitz <madkiss@debian.org>  Mon, 24 Mar 2003 16:47:40 +0100
--- libxfce4util-4.6.1.orig/debian/xfce4-kiosk-query.8
+++ libxfce4util-4.6.1/debian/xfce4-kiosk-query.8
@@ -0,0 +1,47 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH XFCE4-KIOSK-QUERY 8 "January 10, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+xfce4-kiosk-query \- Queries Xfce4 kiosk capabilities
+.SH SYNOPSIS
+.B xfce4-kiosk-query
+.RI [ options ] module capability...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B xfce4-kiosk-query
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBxfce4-kiosk-query\fP is a program that queries the given
+capabilities of module for the current user and reports whether
+the user has the capabilities or not. This tool is mainly ment
+for system administrators to test their Kiosk setup.
+.SH OPTIONS
+A summary of options is included below.
+.TP
+.B \-h
+Show summary of options.
+.TP
+.B \-v
+Show version of program.
+.SH AUTHOR
+xfce4-kiosk-query was written by Benedikt Meurer <benny@xfce.org>.
+.PP
+This manual page was written by Benedikt Meurer <bm@os-cillation.de>,
+for the Debian project (but may be used by others).
--- libxfce4util-4.6.1.orig/debian/control
+++ libxfce4util-4.6.1/debian/control
@@ -0,0 +1,42 @@
+Source: libxfce4util
+Priority: optional
+Section: xfce
+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.0.0), libglib2.0-dev, chrpath, quilt
+Standards-Version: 3.8.1
+Homepage: http://www.xfce.org/
+Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/libxfce4util/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/libxfce4util/
+
+Package: libxfce4util-dev
+Section: libdevel
+Architecture: any
+Depends: libxfce4util4 (= ${binary:Version}), libglib2.0-dev
+Suggests: devhelp
+Description: Development files for libxfce4util4
+ This package contains the headers and the static library
+ for libxfce4util4. If you intend to code applications
+ for the Xfce4 desktop environment, you need to install 
+ this package.
+ .
+ The libxfce4util4 Reference Manual is also included and 
+ it can be consulted using Devhelp or a web browser.
+
+Package: libxfce4util4
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Utility functions library for Xfce4
+ This package contains libxfce4util4, the basic utility
+ function library for Xfce4. If you intend to run Xfce4,
+ you need this library.
+
+Package: libxfce4util4-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, libxfce4util4 (= ${binary:Version})
+Description: debugging informations for libxfce4util4
+ This package contains debugging symbols for libxfce4util4, the basic
+ utility function library for Xfce4.
--- libxfce4util-4.6.1.orig/debian/watch
+++ libxfce4util-4.6.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.xfce.org/archive/xfce-(.*)/src/ \
+	libxfce4util-(.*)\.tar\.bz2
--- libxfce4util-4.6.1.orig/debian/patches/series
+++ libxfce4util-4.6.1/debian/patches/series
@@ -0,0 +1 @@
+01_add-desktop-base-in-config-dirs.patch
--- libxfce4util-4.6.1.orig/debian/patches/01_add-desktop-base-in-config-dirs.patch
+++ libxfce4util-4.6.1/debian/patches/01_add-desktop-base-in-config-dirs.patch
@@ -0,0 +1,17 @@
+Index: libxfce4util-4.3.99.2/libxfce4util/xfce-resource.c
+===================================================================
+--- libxfce4util-4.3.99.2.orig/libxfce4util/xfce-resource.c	2006-11-17 15:31:52.000000000 +0100
++++ libxfce4util-4.3.99.2/libxfce4util/xfce-resource.c	2006-11-17 15:32:08.000000000 +0100
+@@ -184,6 +184,12 @@
+   _res_split_and_append (dirs, XFCE_RESOURCE_CONFIG);
+   _res_split_and_append (SYSCONFDIR "/xdg", XFCE_RESOURCE_CONFIG);
+ 
++  /* add desktop-base config files to the list. quick and dirty
++   * patch for Etch
++   */
++  _res_split_and_append ("/usr/share/desktop-base/profiles/xdg-config", 
++		  XFCE_RESOURCE_CONFIG);
++
+   /*
+    * Icons dirs
+    */
