--- xfwm4-4.4.2.orig/config.guess
+++ xfwm4-4.4.2/config.guess
@@ -139,23 +139,6 @@
 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 
-if [ "${UNAME_SYSTEM}" = "Linux" ] ; then
-	eval $set_cc_for_build
-	cat << EOF > $dummy.c
-	#include <features.h>
-	#ifdef __UCLIBC__
-	# ifdef __UCLIBC_CONFIG_VERSION__
-	LIBC=uclibc __UCLIBC_CONFIG_VERSION__
-	# else
-	LIBC=uclibc
-	# endif
-	#else
-	LIBC=gnu
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`
-fi
-
 # Note: order is significant - the case branches are not exclusive.
 
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@@ -850,28 +833,28 @@
 	echo ${UNAME_MACHINE}-pc-minix
 	exit ;;
     arm*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     avr32*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     cris:Linux:*:*)
-	echo cris-axis-linux-${LIBC}
+	echo cris-axis-linux-gnu
 	exit ;;
     crisv32:Linux:*:*)
-	echo crisv32-axis-linux-${LIBC}
+	echo crisv32-axis-linux-gnu
 	exit ;;
     frv:Linux:*:*)
-    	echo frv-unknown-linux-${LIBC}
+    	echo frv-unknown-linux-gnu
 	exit ;;
     ia64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     m32r*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     m68*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     mips:Linux:*:*)
 	eval $set_cc_for_build
@@ -894,7 +877,7 @@
 		s: ::g
 		p
 	    }'`"
-	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     mips64:Linux:*:*)
 	eval $set_cc_for_build
@@ -917,16 +900,16 @@
 		s: ::g
 		p
 	    }'`"
-	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     or32:Linux:*:*)
-	echo or32-unknown-linux-${LIBC}
+	echo or32-unknown-linux-gnu
 	exit ;;
     ppc:Linux:*:*)
-	echo powerpc-unknown-linux-${LIBC}
+	echo powerpc-unknown-linux-gnu
 	exit ;;
     ppc64:Linux:*:*)
-	echo powerpc64-unknown-linux-${LIBC}
+	echo powerpc64-unknown-linux-gnu
 	exit ;;
     alpha:Linux:*:*)
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -939,40 +922,40 @@
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
         esac
 	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
-	if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 	exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
 	# Look for CPU level
 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
-	  PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
-	  PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
-	  *)    echo hppa-unknown-linux-${LIBC} ;;
+	  PA7*) echo hppa1.1-unknown-linux-gnu ;;
+	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
+	  *)    echo hppa-unknown-linux-gnu ;;
 	esac
 	exit ;;
     parisc64:Linux:*:* | hppa64:Linux:*:*)
-	echo hppa64-unknown-linux-${LIBC}
+	echo hppa64-unknown-linux-gnu
 	exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
 	echo ${UNAME_MACHINE}-ibm-linux
 	exit ;;
     sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     sh*:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
-	echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     vax:Linux:*:*)
-	echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+	echo ${UNAME_MACHINE}-dec-linux-gnu
 	exit ;;
     x86_64:Linux:*:*)
-	echo x86_64-unknown-linux-${LIBC}
+	echo x86_64-unknown-linux-gnu
 	exit ;;
     xtensa:Linux:*:*)
-    	echo xtensa-unknown-linux-${LIBC}
+    	echo xtensa-unknown-linux-gnu
 	exit ;;
     i*86:Linux:*:*)
 	# The BFD linker knows what the default object file format is, so
@@ -987,22 +970,20 @@
 				    p'`
         case "$ld_supported_targets" in
 	  elf32-i386)
-		TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
+		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
 		;;
 	  a.out-i386-linux)
-		echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
+		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
 		exit ;;
 	  coff-i386)
-		echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
+		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
 		exit ;;
 	  "")
 		# Either a pre-BFD a.out linker (linux-gnuoldld) or
 		# one that does not give us useful --help.
-		echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
+		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
 		exit ;;
 	esac
-	# This should get integrated into the C code below, but now we hack
-	if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
 	# Determine whether the default compiler is a.out or elf
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
--- xfwm4-4.4.2.orig/debian/README.Debian
+++ xfwm4-4.4.2/debian/README.Debian
@@ -0,0 +1,9 @@
+[Added by Martin Loschwitz <madkiss@madkiss.org> at 19 Jan 2003]
+
+As of xfwm4-4.0.0+cvs.20031901, the behaviour of Xfwm4 has changed.
+In order to move it into background (aka "daemon mode"), appending
+& to the program call won't work anymore. You should pass --daemon
+to xfwm4 to start it in daemon mode. Please change your local config
+files to reflect these changes.
+
+ -- Martin Loschwitz <madkiss@madkiss.org>  Sun, 19 Jan 2003 15:05:00 +0100
--- xfwm4-4.4.2.orig/debian/rules
+++ xfwm4-4.4.2/debian/rules
@@ -0,0 +1,97 @@
+#!/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)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+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
+
+configure: patch configure-stamp
+configure-stamp:
+
+	dh_testdir
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-final --enable-compositor
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure
+	
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	
+	dh_testdir
+	dh_testroot
+	
+	-rm -f configure-stamp build-stamp 
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+	-test -r /usr/share/misc/config.sub && \
+	  cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+	  cp -f /usr/share/misc/config.guess config.guess
+
+	dh_clean
+
+install: build
+
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) install DESTDIR=`pwd`/debian/xfwm4
+
+	rm -f `pwd`/debian/xfwm4/usr/lib/xfce4/mcs-plugins/*.la
+	rm -f `pwd`/debian/xfwm4/usr/lib/xfce4/mcs-plugins/*.a
+
+	install -d `pwd`/debian/xfwm4/usr/share/man/man1
+	install `pwd`/debian/xfwm4.1 `pwd`/debian/xfwm4/usr/share/man/man1
+
+	chrpath -d -k `pwd`/debian/xfwm4/usr/bin/* \
+		`pwd`/debian/xfwm4/usr/lib/xfce4/mcs-plugins/*
+
+	install -D -p -o root -g root -m 644 `pwd`/debian/lintian \
+	  `pwd`/debian/xfwm4/usr/share/lintian/overrides/xfwm4
+
+
+binary-indep: build install
+binary-arch: build install
+	
+	dh_testdir
+	dh_testroot
+
+	dh_installdocs -a README TODO
+	dh_installmenu -a
+
+	dh_installchangelogs ChangeLog -a
+	dh_strip -a
+	dh_compress -a
+	
+	dh_fixperms -a
+	dh_installdeb -a
+	
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- xfwm4-4.4.2.orig/debian/control
+++ xfwm4-4.4.2/debian/control
@@ -0,0 +1,28 @@
+Source: xfwm4
+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.1.26), libgtk2.0-dev, libxft-dev, xfce4-mcs-manager-dev (>= 4.4.2), quilt, libxdamage-dev, libxrender-dev, libxcomposite-dev, libxfixes-dev, chrpath
+Standards-Version: 3.7.2
+Homepage: http://www.xfce.org/
+Vcs-Svn: svn://svn.debian.org/pkg-xfce/desktop/trunk/xfwm4/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-xfce/desktop/trunk/xfwm4/
+
+Package: xfwm4
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: xfwm4-themes, xfce4-mcs-manager, librsvg2-common
+Suggests: xfce4
+Provides: x-window-manager
+Replaces: xfwm4-themes (<< 4.0.0.final-1)
+Conflicts: xfwm4-themes (<< 4.0.0.final-1)
+Description: window manager of the Xfce project
+ This package contains xfwm4 which is the window manager for Xfce4.  It is
+ designed to run with the rest of Xfce4 but makes a capable window manager
+ for GNOME or KDE.
+ .
+ Install xfwm4 if you want a small, resource saving window manager which
+ complies to the standards defined at http://www.freedesktop.org/. Without
+ xfce4 installed this only gives you a window manager not the full
+ environment.
--- xfwm4-4.4.2.orig/debian/watch
+++ xfwm4-4.4.2/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.xfce.org/archive/xfce-(.*)/src/ \
+	xfwm4-(.*)\.tar\.bz2
--- xfwm4-4.4.2.orig/debian/postinst
+++ xfwm4-4.4.2/debian/postinst
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# install alternatives links
+
+if [ "$1" = "configure" ]; then
+	update-alternatives --install /usr/bin/x-window-manager \
+	x-window-manager /usr/bin/xfwm4 60 --slave \
+	/usr/share/man/man1/x-window-manager.1.gz \
+	x-window-manager.1.gz /usr/share/man/man1/xfwm4.1.gz
+	
+	# Get xfce-mcs-manager to reinit
+	kill -s USR1 `pidof xfce-mcs-manager` >/dev/null 2>&1|| true
+
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfwm4-4.4.2.orig/debian/prerm
+++ xfwm4-4.4.2/debian/prerm
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# remove alternatives links
+
+if [ "$1" = "remove" ]; then
+  update-alternatives --remove x-window-manager /usr/bin/xfwm4
+
+  # Get xfce-mcs-manager to reinit
+  kill -s USR1 `pidof xfce-mcs-manager` >/dev/null 2>&1 || true
+fi
+
+#DEBHELPER#
+
+exit 0
--- xfwm4-4.4.2.orig/debian/lintian
+++ xfwm4-4.4.2/debian/lintian
@@ -0,0 +1,4 @@
+#xfwm4 use xfce-mcs-manager to manage its settings.
+xfwm4: desktop-command-not-in-package
+#Xfce doesn't have its FD.O category yet.
+xfwm4: desktop-entry-invalid-category
--- xfwm4-4.4.2.orig/debian/compat
+++ xfwm4-4.4.2/debian/compat
@@ -0,0 +1 @@
+4
--- xfwm4-4.4.2.orig/debian/changelog
+++ xfwm4-4.4.2/debian/changelog
@@ -0,0 +1,276 @@
+xfwm4 (4.4.2-1~bpo40+2) etch-backports; urgency=low
+
+  * include all changelog items since etch.
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 29 Dec 2007 00:10:32 +0100
+
+xfwm4 (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:20:04 +0100
+
+xfwm4 (4.4.2-1) unstable; urgency=low
+
+  [ Simon Huggins ]
+  * Use kill -s to keep Hurd and lintian happy at the same time.
+  * debian/control: Move fake Homepage field to a real one now dpkg
+    supports it.
+  * Add Vcs-* headers to debian/control
+
+  [ Yves-Alexis Perez ]
+  * New upstream release.
+  * debian/patches:
+   - 01_xfwm4-fix-transient-windows.patch removed, included upstream.
+   - 02_fix-xfwm4-hang.patch removed, included upstream.
+  * debian/rules: fix parallel builds.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 02 Dec 2007 11:33:02 +0100
+
+xfwm4 (4.4.1-3) unstable; urgency=high
+
+  * debian/xfwm4.1: update bugs reporting in manpage.
+  * debian/xfwm4.menu: switch to new menu policy.
+  * debian/postinst: use posix kill -s to avoid problems on hurd.
+  * debian/rules: enable output of distclean target.
+  * debian/lintian: ignore safe lintian warnings.
+  * debian/patches/02_fix-xfwm-hang.patch added to fix deadlock with gtk 2.12
+    urgency=high because gtk 2.12 entered archive so we need to reach testing
+    before it does.
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Fri, 21 Sep 2007 08:43:40 +0200
+
+xfwm4 (4.4.1-2) unstable; urgency=low
+
+  * debian/patches: 01_xfwm4-fix-transient-windows.patch added to correct
+    behavior with transient windows.                            closes: #367616
+  * switch from dpatch to quilt. 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 26 Jun 2007 23:41:22 +0200
+
+xfwm4 (4.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: added versionned build-dep against gtk 2.10.
+  * debian/copyright: update copyright holders. 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sun, 15 Apr 2007 15:28:17 +0100
+
+xfwm4 (4.4.0-1) experimental; urgency=low
+
+  (Yves-Alexis Perez)
+  * New upstream release.                     closes: #390462, #379442, #380639
+  * debian/control:
+    - updated build-deps against Xfce 4.4.
+    - recommends librsvg2-common so svg icons are preferred over png ones. 
+
+  (Emanuele Rocca)
+  * debian/rules: s/theme=microdeck2/theme=curve/ removed to keep upstream's
+    /usr/share/xfwm4/defaults
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Mon, 29 Jan 2007 12:08:33 +0100
+
+xfwm4 (4.3.99.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: updated build-deps against Xfce 4.4RC2 (4.3.99.2).
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Thu, 16 Nov 2006 16:37:06 +0100
+
+xfwm4 (4.3.99.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control: updated build-dep against Xfce 4.4RC1 (4.3.99.1).
+  * Cycle windows keybinding is back.				Closes: #370310 
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Sat, 23 Sep 2006 13:43:51 +0100
+
+xfwm4 (4.3.90.2-2) unstable; urgency=low
+
+  * Add upstream patch to fix mouse focus grab.
+    See http://bugzilla.xfce.org/show_bug.cgi?id=2022
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Tue, 25 Jul 2006 09:59:09 +0200
+
+xfwm4 (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:26:50 +0200
+
+xfwm4 (4.3.90.1-1) unstable; urgency=low
+  
+  * New upstream release
+
+ -- Yves-Alexis Perez <corsac@corsac.net>  Wed, 03 May 2006 18:35:05 +0100
+
+xfwm4 (4.2.3.2-2) unstable; urgency=low
+
+  * Add patch to fix moving windows to other workspaces        closes: #341058
+
+ -- Simon Huggins <huggie@earth.li>  Thu, 05 Jan 2006 00:41:18 +0000
+
+xfwm4 (4.2.3.2-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
+
+xfwm4 (4.2.2-1) unstable; urgency=low
+
+  * New Upstream Release
+  * Remove Build-Depends on libstartup-notification0-dev as this should be
+    satisfied via libxfce4gui-dev now
+  * Change suite to unstable
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 18 Jun 2005 09:45:36 +0100
+
+xfwm4 (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
+
+xfwm4 (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 17:01:33 +0000
+
+xfwm4 (4.2.0-1) experimental; urgency=low
+
+  * New Upstream Release
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 15 Jan 2005 13:41:19 +0000
+
+xfwm4 (4.1.99.1-1) experimental; urgency=low
+
+  * ML: New Upstream Release (4.1.99.1 alias XFce4 4.2 RC1)
+  * ML: rules: example.xfwm4rc is gone, don't try to install it
+
+ -- Martin Loschwitz <madkiss@debian.org>  Fri, 19 Nov 2004 17:23:00 +0100
+
+xfwm4 (4.0.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove Norbert Tretkowski as requested
+  * Improve description
+  * Suggests: xfce4
+
+ -- Simon Huggins <huggie@earth.li>  Sat, 24 Jul 2004 18:29:50 +0100
+
+xfwm4 (4.0.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Update upstream's libtool
+  * Correct path in manpage
+  * Add recommends on xfce4-mcs-manager the settings manager
+  * Add depends on libstartup-notification0
+
+ -- Simon Huggins <huggie@earth.li>  Sun, 02 May 2004 19:12:09 +0100
+
+xfwm4 (4.0.3.1-2) unstable; urgency=low
+
+  * Update libtool
+  * 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:56:19 +0000
+
+xfwm4 (4.0.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add Daniel Silverstone <dsilvers@debian.org> to Uploaders as approved by
+    madkiss
+  * Add a manpage for xfwm4 referring to the packaged docs
+    closes: #226032, #188734
+  * Remove .la and .a files from mcs-plugins dir
+  * Quote needs in menu for lintian
+  * Thanks to Daniel for checking and uploading these packages
+
+ -- Simon Huggins <huggie@earth.li>  Wed, 25 Feb 2004 12:11:05 +0000
+ 
+xfwm4 (4.0.2-2) unstable; urgency=low
+
+  * Fixed Recommends/Replaces stuff in debian/control
+
+ -- Martin Loschwitz <madkiss@debian.org>  Sat, 27 Dec 2003 12:25:00 +0100
+ 
+xfwm4 (4.0.2-1) unstable; urgency=low
+
+  * Acknowledging NMU (Closes:#211804)
+  * New Upstream release
+
+ -- Martin Loschwitz <madkiss@debian.org>  Fri, 26 Dec 2003 16:17:00 +0100
+
+xfwm4 (4.0.0.final-1.1) unstable; urgency=low
+
+  * NMU
+  * remove --slave part from "update-alternatives --remove" in prerm 
+    (Closes:#211804)
+
+ -- Guido Guenther <agx@debian.org>  Thu, 20 Nov 2003 12:14:48 +0100
+
+xfwm4 (4.0.0.final-1) unstable; urgency=low
+
+  * New Upstream release.
+  * New Co-Maintainer: Norbert Tretkowski.
+  * Various cleanups in debian/ subdirectory.
+  * Deleted xfwm4-themes, has its own source package now.
+  * Bumped Standards-Version to 3.6.1 (no changes).
+
+ -- Martin Loschwitz <madkiss@debian.org>  Tue, 29 Sep 2003 16:58:00 +0200
+
+xfwm4 (4.0.0+cvs.20030421-1) unstable; urgency=low
+
+  * New CVS checkout (2003-04-21)
+
+ -- Martin Loschwitz <madkiss@debian.org>  Mon, 21 Apr 2003 19:33:00 +0100
+ 
+xfwm4 (4.0.0+cvs.20030301-1) unstable; urgency=low
+
+  * New CVS checkout (Using Xfce CVS, 2003-03-01)
+  * Official release (really this time!) (last release was never made public)
+  * debian/control: Changed Maintainer e-mail address
+
+ -- Martin Loschwitz <madkiss@debian.org>  Sat, 01 Mar 2003 14:09:00 +0100 
+
+xfwm4 (4.0.0+cvs.20030216-1) unstable; urgency=low
+
+  * New CVS checkout (Using Xfce CVS, 2003-02-16)
+  * Official release (last release was never made public)
+    
+ -- Martin Loschwitz <madkiss@madkiss.org>  Sun, 16 Feb 2003 12:57:00 +0100
+ 
+xfwm4 (4.0.0+cvs.20030119-1) unstable; urgency=low
+
+  * New CVS checkout (Using Xfce4 cvs, 2003-01-19)
+  * debian/control: Use Xft2
+  * debian/control: Build depend on libxfce4-mcs
+  * debian/control: Suggest xfce-mce-manager
+ 
+ -- Martin Loschwitz <madkiss@madkiss.org>  Sun, 19 Jan 2003 14:52:00 +0100
+
+xfwm4 (4.0.0+cvs.20021222-1) unstable; urgency=low
+
+  * New CVS checkout (Using Xfce4 cvs, 2002-12-22)
+  * debian/rules: Install example configuration file into doc-dir
+  * debian/control: Changed some Recommends: to Suggests:
+  * debian/xfwm4-themes.install: Added new theme koynacity
+
+ -- Martin Loschwitz <madkiss@madkiss.org>  Sun, 22 Dec 2002 14:09:00 +0100
+
+xfwm4 (4.0.0+cvs.20021127-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #166641)
+  
+ -- Martin Loschwitz <madkiss@madkiss.org>  Wed, 27 Nov 2002 15:14:00 +0100
--- xfwm4-4.4.2.orig/debian/copyright
+++ xfwm4-4.4.2/debian/copyright
@@ -0,0 +1,54 @@
+This package was debianized by Martin Loschwitz <madkiss@madkiss.org> on
+Fri, 11 Oct 2002 13:08:04 +0200.
+
+You can fetch xfwm4 from http://www.xfce.org/
+
+Upstream Author is Olivier Fourdan <fourdan@xfce.org>, but different 
+portions of code are based on the work of the following projects:
+
+   Oroborus: Ken Lynch <kenlynch@blueyonder.co.uk>
+   Metacity: Havoc Pennington <hp@redhat.com>
+   Sawfish:  John Harper <jsh@unfactored.org>
+
+The "kindaker" theme is based on a KDE theme called "Keramik" by:
+
+   Keramik style:
+   --------------
+   Malte Starostik (malte@kde.org)
+
+   Keramik decorations:
+   --------------------
+   Fredrik Hoglund (fredrik@kde.org)
+
+
+xfwm4 is (c) 2002-2006 Olivier Fourdan
+mypixmap.c contains code (c) 2001 Ken Lynch
+original xpm load routines are from gdk-pixbuf:
+  (c) 1999 Mark Crichton
+  (c) 1999 The Free Software Foundation
+mcs-plugin is (c) 2002-2003 Jasper Huijsmans, with:
+  xfwm4_shortcuteditor (c) 2004 Jean François Wauthy
+
+Translations are (c) 2002-2006 The Xfce development team except:
+  gl.po (c) 2006 Canonical Ltd, and Rosetta Contributors 2006
+
+Manual is:
+(c) 2004 François Le Clainche
+(c) 2004 Jasper Huijsmans
+Copyright:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   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 General Public License for more details.
+
+   You should have received a copy of the GNU 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 General Public 
+License can be found in `/usr/share/common-licenses/GPL'.
--- xfwm4-4.4.2.orig/debian/xfwm4.1
+++ xfwm4-4.4.2/debian/xfwm4.1
@@ -0,0 +1,18 @@
+.\" Copyright (C) 2004 Simon Huggins
+.TH XFWM4 "1" "February 2004" "xfwm4 0.1" "User Commands"
+.SH NAME
+xfwm4 \- XFce 4 Window Manager
+.SH SYNOPSIS
+.B xfwm4
+.SH DESCRIPTION
+.PP
+Starts the XFce 4 window manager.
+.SH SEE ALSO
+Upstream documentation in /usr/share/xfce4/doc/C/xfwm4.html
+.SH "REPORTING BUGS"
+Report bugs to http://bugs.debian.org
+.SH COPYRIGHT
+Copyright \(co 2004 Simon Huggins
+.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.
--- xfwm4-4.4.2.orig/debian/xfwm4.menu
+++ xfwm4-4.4.2/debian/xfwm4.menu
@@ -0,0 +1,2 @@
+?package(xfwm4): needs="wm" section="Window Managers" command="xfwm4" \
+  title="XFwm" longtitle="Xfce Window Manager" hints="Window manager"
--- xfwm4-4.4.2.orig/config.sub
+++ xfwm4-4.4.2/config.sub
@@ -244,7 +244,7 @@
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 	| bfin \
 	| c4x | clipper \
-	| d10v | d30v | dlx | dsp16xx | dvp \
+	| d10v | d30v | dlx | dsp16xx \
 	| fido | fr30 | frv \
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
@@ -277,7 +277,7 @@
 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 	| pyramid \
 	| score \
-	| sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
 	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
@@ -358,7 +358,7 @@
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 	| pyramid-* \
 	| romp-* | rs6000-* \
-	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 	| sparclite-* \
@@ -694,24 +694,6 @@
 		basic_machine=m68k-atari
 		os=-mint
 		;;
-	mipsEE* | ee | ps2)
-		basic_machine=mips64r5900el-scei
-		case $os in
-		    -linux*)
-			;;
-		    *)
-			os=-elf
-			;;
-		esac
-		;;
-	iop)
-		basic_machine=mipsel-scei
-		os=-irx
-		;;
-	dvp)
-		basic_machine=dvp-scei
-		os=-elf
-		;;
 	mips3*-*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
 		;;
@@ -1244,7 +1226,7 @@
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
+	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
