--- xmonad-contrib-0.7.orig/xmonad-contrib.cabal
+++ xmonad-contrib-0.7/xmonad-contrib.cabal
@@ -28,34 +28,12 @@
 cabal-version:      >= 1.2.1
 build-type:         Simple
 
-flag small_base
-  description: Choose the new smaller, split-up base package.
-
-flag use_xft
-  description: Use Xft to render text
-
-flag with_utf8
-  description: Enable Utf8 support
-
 flag testing
   description: Testing mode
   default: False
 
 library
-    if flag(small_base)
-        build-depends: base >= 3, containers, directory, process, random, old-time, old-locale
-    else
-        build-depends: base < 3
-
-    if flag(use_xft)
-        build-depends: X11-xft >= 0.2, utf8-string
-        extensions: ForeignFunctionInterface
-        cpp-options: -DXFT
-
-    if flag(with_utf8)
-        build-depends: utf8-string
-        extensions: ForeignFunctionInterface
-        cpp-options: -DUTF8
+    build-depends: base >= 3, containers, directory, process, random, old-time, old-locale
 
     build-depends:      mtl, unix, X11>=1.4.1, xmonad==0.7
     ghc-options:        -Wall
--- xmonad-contrib-0.7.orig/debian/libghc6-xmonad-contrib-dev.prerm
+++ xmonad-contrib-0.7/debian/libghc6-xmonad-contrib-dev.prerm
@@ -0,0 +1,33 @@
+#! /bin/sh
+# Generic prerm.in script for Haskell cabal libraries v8 by Ian Lynagh.
+#
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+
+case "$1" in
+    remove|upgrade|deconfigure|failed-upgrade)
+        /usr/lib/libghc6-xmonad-contrib-dev/unregister.sh
+    ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--- xmonad-contrib-0.7.orig/debian/copyright
+++ xmonad-contrib-0.7/debian/copyright
@@ -0,0 +1,775 @@
+This package was debianised by Joachim Breitner <nomeata@debian.org>
+27 Oct 2007. All of the Debian packaging scripts are released
+into the public domain.
+
+Upstream Author: Spencer Janssen and others
+
+All content is BSD licenced. Copies can be found in
+/usr/share/common-licenses/BSD on Debian systems. 
+
+XMonadContrib can be found on http://xmonad.org/
+
+The complete list of copyrights is:
+
+_darcs/pristine/XMonad/Layout/PerWorkspace.hs:
+-- Copyright   :  (c) Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/NoBorders.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Spiral.hs:
+-- Copyright   :  (c) Joe Thornber <joe.thornber@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/MosaicAlt.hs:
+-- Copyright   :  (c) 2007 James Webb
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Layout/ThreeColumns.hs:
+-- Copyright   :  (c) Kai Grossjohann <kai@emptydomain.de>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/LayoutScreens.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Grid.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Square.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/ShowWName.hs:
+-- Copyright   :  (c) Andrea Rossato 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Layout/ToggleLayouts.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Layout/LayoutHints.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Layout/DragPane.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/WindowNavigation.hs:
+-- Copyright   :  (c) 2007  David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/MultiToggle.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/LayoutCombinators.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Layout/Tabbed.hs:
+-- Copyright   :  (c) 2007 David Roundy, Andrea Rossato
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Layout/MagicFocus.hs:
+-- Copyright    : (c) Peter De Wachter <pdewacht@gmail.com>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Layout/ResizableTile.hs:
+-- Copyright   :  (c) MATSUYAMA Tomohiro <t.matsuyama.pub@gmail.com>
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Reflect.hs:
+-- Copyright   :  (c) Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/TwoPane.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Magnifier.hs:
+-- Copyright   :  (c) Peter De Wachter and Andrea Rossato 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Layout/WorkspaceDir.hs:
+-- Copyright   :  (c) 2007  David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Dishes.hs:
+-- Copyright   :  (c) Jeremy Apthorp
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/LayoutModifier.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Layout/HintedTile.hs:
+-- Copyright   :  (c) Peter De Wachter <pdewacht@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Mosaic.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Named.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Combo.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Roledex.hs:
+-- Copyright   :  (c) tim.thelion@gmail.com
+-- License     :  BSD
+
+_darcs/pristine/XMonad/Layout/Maximize.hs:
+-- Copyright   :  (c) 2007 James Webb
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Layout/Accordion.hs:
+-- Copyright   :  (c) glasser@mit.edu
+-- License     :  BSD
+
+_darcs/pristine/XMonad/Layout/Circle.hs:
+-- Copyright   :  (c) Peter De Wachter
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/XSelection.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, Matthew Sackman
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Util/Run.hs:
+-- Copyright   :  (C) 2007 Spencer Janssen, Andrea Rossato, glasser@mit.edu
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/WorkspaceCompare.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/CustomKeys.hs:
+-- Copyright  : (c) 2007 Valery V. Vorotyntsev
+-- License    : BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/XUtils.hs:
+-- Copyright   :  (c) 2007 Andrea Rossato
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Util/Invisible.hs:
+-- Copyright   :  (c) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Util/Timer.hs:
+-- Copyright   :  (c) Andrea Rossato and David Roundy 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+_darcs/pristine/XMonad/Util/NamedWindows.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/Anneal.hs:
+-- Copyright   :  (c) David Roundy
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/Dmenu.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Util/Dzen.hs:
+-- Copyright   :  (c) glasser@mit.edu
+-- License     :  BSD
+
+_darcs/pristine/XMonad/Util/EZConfig.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Config/Arossato.hs:
+-- Copyright   :  (c) Andrea Rossato 2007
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Config/Sjanssen.hs:
+
+_darcs/pristine/XMonad/Config/Droundy.hs:
+-- Copyright   :  (c) Spencer Janssen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Config/Dons.hs:
+-- Copyright : (c) Galois, Inc. 2007
+-- License   : BSD3
+
+_darcs/pristine/XMonad/Prompt.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Doc/Configuring.hs:
+-- Copyright   :  (C) 2007 Don Stewart and Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Doc/Developing.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Doc/Extending.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Hooks/SetWMName.hs:
+-- Copyright   :  © 2007 Ivan Tarasov <Ivan.Tarasov@gmail.com>
+-- License     :  BSD
+
+_darcs/pristine/XMonad/Hooks/XPropManage.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Hooks/EwmhDesktops.hs:
+-- Copyright    : (c) Joachim Breitner <mail@joachim-breitner.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Hooks/ManageDocks.hs:
+-- Copyright    : (c) Joachim Breitner <mail@joachim-breitner.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Hooks/UrgencyHook.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Hooks/ManageHelpers.hs:
+-- Copyright    : (c) Lukas Mai
+-- License      : BSD
+
+_darcs/pristine/XMonad/Hooks/DynamicLog.hs:
+-- Copyright   :  (c) Don Stewart <dons@cse.unsw.edu.au>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Prompt/AppendFile.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Prompt/Workspace.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Shell.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Window.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Prompt/XMonad.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Ssh.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Man.hs:
+-- Copyright   :  (c) 2007 Valery V. Vorotyntsev
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Prompt/Input.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Prompt/Directory.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Layout.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Prompt/Email.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/SinkAll.hs:
+-- License      : BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/NoBorders.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/DeManage.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/FlexibleManipulate.hs:
+-- Copyright   :  (c) Michael Sloan
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/RotView.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/WmiiActions.hs:
+-- Copyright    : (c) Juraj Hercek <juhe_xmonad@hck.sk>
+-- License      : BSD3
+
+_darcs/pristine/XMonad/Actions/FloatKeys.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Actions/MouseGestures.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/DynamicWorkspaces.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/FocusNth.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Actions/TagWindows.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+_darcs/pristine/XMonad/Actions/Commands.hs:
+-- Copyright   :  (c) David Glasser 2007
+-- License     :  BSD3
+
+_darcs/pristine/XMonad/Actions/SimpleDate.hs:
+-- Copyright   :  (c) Don Stewart 2007
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/Search.hs:
+ Copyright   :  (C) 2007 Gwern Branwen
+ License     :  None; public domain
+
+_darcs/pristine/XMonad/Actions/FlexibleResize.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/Submap.hs:
+-- Copyright   :  (c) Jason Creighton <jcreigh@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/Warp.hs:
+-- Copyright   :  (c) daniel@wagner-home.com
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/FindEmptyWorkspace.hs:
+-- Copyright   :  (c) Miikka Koskinen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/RotSlaves.hs:
+-- Copyright    : (c) Hans Philipp Annen <haphi@gmx.net>, Mischa Dieterle <der_m@freenet.de>
+-- License      : BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/CopyWindow.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/WindowBringer.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/SwapWorkspaces.hs:
+-- Copyright   :  (c) Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/DwmPromote.hs:
+-- Copyright   :  (c) Miikka Koskinen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/ConstrainedResize.hs:
+-- Copyright   :  (c) Dougal Stanton
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Actions/CycleWS.hs:
+-- Copyright   :  (c) Joachim Breitner <mail@joachim-breitner.de>,
+-- License     :  BSD3-style (see LICENSE)
+
+_darcs/pristine/XMonad/Doc.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Layout/PerWorkspace.hs:
+-- Copyright   :  (c) Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/NoBorders.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Spiral.hs:
+-- Copyright   :  (c) Joe Thornber <joe.thornber@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/MosaicAlt.hs:
+-- Copyright   :  (c) 2007 James Webb
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Layout/ThreeColumns.hs:
+-- Copyright   :  (c) Kai Grossjohann <kai@emptydomain.de>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/LayoutScreens.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Grid.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/Square.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/ShowWName.hs:
+-- Copyright   :  (c) Andrea Rossato 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Layout/ToggleLayouts.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+XMonad/Layout/LayoutHints.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+XMonad/Layout/DragPane.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/WindowNavigation.hs:
+-- Copyright   :  (c) 2007  David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/MultiToggle.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/LayoutCombinators.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+XMonad/Layout/Tabbed.hs:
+-- Copyright   :  (c) 2007 David Roundy, Andrea Rossato
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Layout/MagicFocus.hs:
+-- Copyright    : (c) Peter De Wachter <pdewacht@gmail.com>
+-- License      : BSD
+
+XMonad/Layout/ResizableTile.hs:
+-- Copyright   :  (c) MATSUYAMA Tomohiro <t.matsuyama.pub@gmail.com>
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/Reflect.hs:
+-- Copyright   :  (c) Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/TwoPane.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Magnifier.hs:
+-- Copyright   :  (c) Peter De Wachter and Andrea Rossato 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Layout/WorkspaceDir.hs:
+-- Copyright   :  (c) 2007  David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Dishes.hs:
+-- Copyright   :  (c) Jeremy Apthorp
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/LayoutModifier.hs:
+-- Copyright    : (c) David Roundy <droundy@darcs.net>
+-- License      : BSD
+
+XMonad/Layout/HintedTile.hs:
+-- Copyright   :  (c) Peter De Wachter <pdewacht@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Mosaic.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Named.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Combo.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Layout/Roledex.hs:
+-- Copyright   :  (c) tim.thelion@gmail.com
+-- License     :  BSD
+
+XMonad/Layout/Maximize.hs:
+-- Copyright   :  (c) 2007 James Webb
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Layout/Accordion.hs:
+-- Copyright   :  (c) glasser@mit.edu
+-- License     :  BSD
+
+XMonad/Layout/Circle.hs:
+-- Copyright   :  (c) Peter De Wachter
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Util/XSelection.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, Matthew Sackman
+-- License     :  BSD3
+
+XMonad/Util/Run.hs:
+-- Copyright   :  (C) 2007 Spencer Janssen, Andrea Rossato, glasser@mit.edu
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Util/WorkspaceCompare.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Util/CustomKeys.hs:
+-- Copyright  : (c) 2007 Valery V. Vorotyntsev
+-- License    : BSD3-style (see LICENSE)
+
+XMonad/Util/XUtils.hs:
+-- Copyright   :  (c) 2007 Andrea Rossato
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Util/Invisible.hs:
+-- Copyright   :  (c) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Util/Timer.hs:
+-- Copyright   :  (c) Andrea Rossato and David Roundy 2007
+-- License     :  BSD-style (see xmonad/LICENSE)
+
+XMonad/Util/NamedWindows.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Util/Anneal.hs:
+-- Copyright   :  (c) David Roundy
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Util/Dmenu.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Util/Dzen.hs:
+-- Copyright   :  (c) glasser@mit.edu
+-- License     :  BSD
+
+XMonad/Util/EZConfig.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Config/Arossato.hs:
+-- Copyright   :  (c) Andrea Rossato 2007
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Config/Sjanssen.hs:
+
+XMonad/Config/Droundy.hs:
+-- Copyright   :  (c) Spencer Janssen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Config/Dons.hs:
+-- Copyright : (c) Galois, Inc. 2007
+-- License   : BSD3
+
+XMonad/Prompt.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Doc/Configuring.hs:
+-- Copyright   :  (C) 2007 Don Stewart and Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Doc/Developing.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Doc/Extending.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Hooks/SetWMName.hs:
+-- Copyright   :  © 2007 Ivan Tarasov <Ivan.Tarasov@gmail.com>
+-- License     :  BSD
+
+XMonad/Hooks/XPropManage.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+XMonad/Hooks/EwmhDesktops.hs:
+-- Copyright    : (c) Joachim Breitner <mail@joachim-breitner.de>
+-- License      : BSD
+
+XMonad/Hooks/ManageDocks.hs:
+-- Copyright    : (c) Joachim Breitner <mail@joachim-breitner.de>
+-- License      : BSD
+
+XMonad/Hooks/UrgencyHook.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Hooks/ManageHelpers.hs:
+-- Copyright    : (c) Lukas Mai
+-- License      : BSD
+
+XMonad/Hooks/DynamicLog.hs:
+-- Copyright   :  (c) Don Stewart <dons@cse.unsw.edu.au>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Prompt/AppendFile.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Prompt/Workspace.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+XMonad/Prompt/Shell.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Prompt/Window.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Prompt/XMonad.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Prompt/Ssh.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
+XMonad/Prompt/Man.hs:
+-- Copyright   :  (c) 2007 Valery V. Vorotyntsev
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Prompt/Input.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Prompt/Directory.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+XMonad/Prompt/Layout.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato, David Roundy
+-- License     :  BSD3
+
+XMonad/Prompt/Email.hs:
+-- Copyright   :  (c) 2007 Brent Yorgey
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Actions/SinkAll.hs:
+-- License      : BSD3-style (see LICENSE)
+
+XMonad/Actions/NoBorders.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/DeManage.hs:
+-- Copyright   :  (c) Spencer Janssen <sjanssen@cse.unl.edu>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/FlexibleManipulate.hs:
+-- Copyright   :  (c) Michael Sloan
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/RotView.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/WmiiActions.hs:
+-- Copyright    : (c) Juraj Hercek <juhe_xmonad@hck.sk>
+-- License      : BSD3
+
+XMonad/Actions/FloatKeys.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+XMonad/Actions/MouseGestures.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/DynamicWorkspaces.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/FocusNth.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+XMonad/Actions/TagWindows.hs:
+-- Copyright    : (c) Karsten Schoelzel <kuser@gmx.de>
+-- License      : BSD
+
+XMonad/Actions/Commands.hs:
+-- Copyright   :  (c) David Glasser 2007
+-- License     :  BSD3
+
+XMonad/Actions/SimpleDate.hs:
+-- Copyright   :  (c) Don Stewart 2007
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/Search.hs:
+ Copyright   :  (C) 2007 Gwern Branwen
+ License     :  None; public domain
+
+XMonad/Actions/FlexibleResize.hs:
+-- Copyright   :  (c) Lukas Mai
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/Submap.hs:
+-- Copyright   :  (c) Jason Creighton <jcreigh@gmail.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/Warp.hs:
+-- Copyright   :  (c) daniel@wagner-home.com
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/FindEmptyWorkspace.hs:
+-- Copyright   :  (c) Miikka Koskinen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/RotSlaves.hs:
+-- Copyright    : (c) Hans Philipp Annen <haphi@gmx.net>, Mischa Dieterle <der_m@freenet.de>
+-- License      : BSD3-style (see LICENSE)
+
+XMonad/Actions/CopyWindow.hs:
+-- Copyright   :  (c) David Roundy <droundy@darcs.net>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/WindowBringer.hs:
+-- Copyright   :  Devin Mullins <me@twifkak.com>
+-- License     :  BSD-style (see LICENSE)
+
+XMonad/Actions/SwapWorkspaces.hs:
+-- Copyright   :  (c) Devin Mullins <me@twifkak.com>
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/DwmPromote.hs:
+-- Copyright   :  (c) Miikka Koskinen 2007
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/ConstrainedResize.hs:
+-- Copyright   :  (c) Dougal Stanton
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Actions/CycleWS.hs:
+-- Copyright   :  (c) Joachim Breitner <mail@joachim-breitner.de>,
+-- License     :  BSD3-style (see LICENSE)
+
+XMonad/Doc.hs:
+-- Copyright   :  (C) 2007 Andrea Rossato
+-- License     :  BSD3
+
--- xmonad-contrib-0.7.orig/debian/control.in
+++ xmonad-contrib-0.7/debian/control.in
@@ -0,0 +1,81 @@
+Source: xmonad-contrib
+Section: x11
+Priority: optional
+Maintainer: Joachim Breitner <nomeata@debian.org>
+Standards-Version: 3.7.3
+Build-Depends: &{canonicalise-comma-list:debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.10), ${impl:ghc6:lib:build_deps}, ${cabal:deps:ghc6:dev}, ${cabal:deps:ghc6:prof}, ${cabal:deps:ghc6:doc}, ${c_dev_libs}, ${extra_build_deps}}
+Homepage: http://xmonad.org/
+
+Package: libghc6-xmonad-contrib-dev
+Section: libdevel
+Architecture: any
+Depends: &{canonicalise-comma-list:${impl:ghc6:lib:dev_deps}, \${shlibs:Depends}, \${misc:Depends}, ${cabal:deps:ghc6:dev}, ${c_dev_libs}}
+Suggests: libghc6-xmonad-contrib-prof, libghc6-xmonad-contrib-doc
+Replaces: xmonadcontrib
+Conflicts: xmonadcontrib
+Description: Extensions to xmonad
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package is what you need to build your custom configured xmonad
+ binary.
+
+Package: libghc6-xmonad-contrib-prof
+Section: libdevel
+Architecture: any
+Depends: &{canonicalise-comma-list:\${shlibs:Depends}, \${misc:Depends}, ${this:ghc6:dev}, ${impl:ghc6:lib:prof_deps}, ${cabal:deps:ghc6:prof}, ${c_dev_libs}}
+Suggests: libghc6-xmonad-contrib-doc
+Description: Extensions to xmonad; profiling libraries
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package is what you need to profile your custom configured xmonad
+ binary.
+
+Package: libghc6-xmonad-contrib-doc
+Section: doc
+Architecture: all
+Depends: &{canonicalise-comma-list:\${shlibs:Depends}, \${misc:Depends}, ${impl:ghc6:lib:doc_deps}, ${cabal:deps:ghc6:doc}}
+Suggests: libghc6-xmonad-contrib-dev, libghc6-xmonad-contrib-prof
+Description: Extensions to xmonad; documentation
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package contains the documentation for building your custom
+ configured xmonad binary as well as example configuration files.
+
+
+
--- xmonad-contrib-0.7.orig/debian/changelog
+++ xmonad-contrib-0.7/debian/changelog
@@ -0,0 +1,74 @@
+xmonad-contrib (0.7-2) unstable; urgency=low
+
+  * Build against the new haskell-x11 with xinerama support
+  * Update standards version to 3.8.0, no change
+  * Add Homepage: field
+
+ -- Joachim Breitner <nomeata@debian.org>  Thu, 03 Jul 2008 17:29:41 +0200
+
+xmonad-contrib (0.7-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove VCS headers, darcs failed on me
+
+ -- Joachim Breitner <nomeata@debian.org>  Sun, 30 Mar 2008 23:21:00 +0200
+
+xmonad-contrib (0.6-4) unstable; urgency=low
+
+  * Update build-depends
+
+ -- Joachim Breitner <nomeata@debian.org>  Thu, 06 Mar 2008 19:41:40 +0100
+
+xmonad-contrib (0.6-3) unstable; urgency=low
+
+   * Start to use update-haskell-control for tighter dependencies 
+
+ -- Joachim Breitner <nomeata@debian.org>  Wed, 05 Mar 2008 14:30:03 +0100
+
+xmonad-contrib (0.6-2) unstable; urgency=low
+
+  * Fix versioned dependency on libghc6-x11-dev (instead libx11-dev)
+    (Closes: 465230)
+  * Update copyright file
+
+ -- Joachim Breitner <nomeata@debian.org>  Mon, 11 Feb 2008 16:39:49 +0100
+
+xmonad-contrib (0.6-1) unstable; urgency=low
+
+  * Upload to debian
+  * Depends on the haskell-x11 version that was NMU’ed and uploaded to 7-days
+    delayed, if anyone is wondering.
+  * Replaces xmonadcontrib
+
+ -- Joachim Breitner <nomeata@debian.org>  Mon, 04 Feb 2008 18:15:20 +0100
+
+xmonad-contrib (0.6-0.nomeata1) UNRELEASED; urgency=low
+
+  * New upstream release 
+
+ -- Joachim Breitner <nomeata@debian.org>  Mon, 28 Jan 2008 23:29:16 +0100
+
+xmonad-contrib (0.5-0.nomeata2) UNRELEASED; urgency=low
+
+  * Build against ghc6.8
+
+ -- Joachim Breitner <nomeata@debian.org>  Thu, 17 Jan 2008 00:31:56 +0100
+
+xmonad-contrib (0.5-0.nomeata1) UNRELEASED; urgency=low
+
+  * Beta package of xmonad 0.5 
+  * Changed source name to fit upstream naming
+
+ -- Joachim Breitner <nomeata@debian.org>  Tue, 25 Dec 2007 16:34:06 +0100
+
+xmonadcontrib (0.4-2) unstable; urgency=low
+
+  * add upstream url to copyright
+
+ -- Joachim Breitner <nomeata@debian.org>  Mon, 29 Oct 2007 18:42:35 +0100
+
+xmonadcontrib (0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #447967)
+
+ -- Joachim Breitner <nomeata@debian.org>  Sun, 28 Oct 2007 13:00:08 +0100
--- xmonad-contrib-0.7.orig/debian/rules
+++ xmonad-contrib-0.7/debian/rules
@@ -0,0 +1,120 @@
+#!/usr/bin/make -f
+# based on the example by Joey Hess.
+# This file is public domain software.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Get the Cabal package name, lower-cased.
+# Assumes that the Debian package name is standard.
+CABAL_PACKAGE = xmonad-contrib
+
+GHC6_PACKAGE      = libghc6-$(CABAL_PACKAGE)-dev
+GHC6_PROF_PACKAGE = libghc6-$(CABAL_PACKAGE)-prof
+GHC6_DOC_PACKAGE  = libghc6-$(CABAL_PACKAGE)-doc
+
+# Find ghc. The ghc in the path might point to some other version of
+# GHC, so use ghc6 if it exists (which it ought to when building for
+# Debian)
+GHC := $(firstword $(shell bash -c "type -p ghc6 ghc"))
+
+CONFIGURE_OPTS  = --enable-library-vanilla \
+                  --enable-library-profiling \
+                  --enable-library-for-ghci
+ifneq '$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), i386 amd64)' ''
+CONFIGURE_OPTS += --enable-split-objs
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	update-haskell-control --check
+	$(GHC) --make Setup.*hs -o setup-ghc
+	./setup-ghc configure --ghc --with-compiler=$(GHC) --prefix=/usr --docdir=/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE)  --htmldir=/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE) $(CONFIGURE_OPTS)
+	./setup-ghc build
+	./setup-ghc haddock --hyperlink-source
+
+
+
+	touch $@
+
+FILES = -type f
+PROF_FILE = \( -name "*.p_*" -o -name "lib*_p.a" \)
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	./setup-ghc copy --destdir=debian/tmp/
+	# XXX The file isn't necessarily called LICENSE, and may not even
+	# exist at all
+	rm debian/tmp/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE)/LICENSE
+	find debian/tmp/usr/lib -type f ! $(PROF_FILE) \
+	                                 > debian/$(GHC6_PACKAGE).install
+	find debian/tmp -type d -empty  >> debian/$(GHC6_PACKAGE).install
+	find debian/tmp/usr/lib -type f   $(PROF_FILE) \
+	                                 > debian/$(GHC6_PROF_PACKAGE).install
+	echo "debian/tmp/usr/share/doc"  > debian/$(GHC6_DOC_PACKAGE).install
+
+	./setup-ghc register --gen-script
+	./setup-ghc unregister --gen-script
+	mkdir -p         debian/$(GHC6_PACKAGE)/usr/lib/$(GHC6_PACKAGE)
+	mv register.sh   debian/$(GHC6_PACKAGE)/usr/lib/$(GHC6_PACKAGE)
+	mv unregister.sh debian/$(GHC6_PACKAGE)/usr/lib/$(GHC6_PACKAGE)
+
+	touch $@
+
+update-generated-files:
+#	update-debian-haskell-files
+	update-haskell-control
+#	sed "s/@PACKAGE@/$(GHC6_PACKAGE)/g" debian/$(GHC6_PACKAGE).prerm.in \
+#	                                  > debian/$(GHC6_PACKAGE).prerm
+#	sed "s/@PACKAGE@/$(GHC6_PACKAGE)/g" debian/$(GHC6_PACKAGE).postinst.in \
+#	                                  > debian/$(GHC6_PACKAGE).postinst
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp binary-common-stamp
+
+	-./setup-ghc clean
+	rm -f Setup.o Setup.hi setup-ghc
+	rm -f debian/*.install
+
+	dh_clean
+
+# Build architecture-dependent files here.
+binary-common: binary-common-stamp
+binary-common-stamp: install-stamp
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install --fail-missing
+	dh_link
+	dh_strip
+	dh_compress -X.haddock
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# binary-indep and binary-arch both build everything, as otherwise
+# # "dh_install --fail-missing" falls over
+
+# Build architecture-independent files here.
+binary-indep: binary-common-stamp
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: binary-common-stamp
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary-common binary install
--- xmonad-contrib-0.7.orig/debian/libghc6-xmonad-contrib-doc.postinst
+++ xmonad-contrib-0.7/debian/libghc6-xmonad-contrib-doc.postinst
@@ -0,0 +1,39 @@
+#! /bin/sh
+# Generic doc postinst script for Haskell cabal libraries v9 by Ian Lynagh.
+#
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
+        cd /usr/share/doc/ghc6-doc/libraries
+        /usr/lib/ghc6-doc/gen_contents_index
+    ;;
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- xmonad-contrib-0.7.orig/debian/copyright-extract-snipped
+++ xmonad-contrib-0.7/debian/copyright-extract-snipped
@@ -0,0 +1 @@
+for file in $(find XMonad/ -name *.hs); do echo $file:; grep Copyright $file; grep License $file; echo; done > /tmp/copyright
--- xmonad-contrib-0.7.orig/debian/libghc6-xmonad-contrib-dev.postinst
+++ xmonad-contrib-0.7/debian/libghc6-xmonad-contrib-dev.postinst
@@ -0,0 +1,39 @@
+#! /bin/sh
+# Generic postinst script for Haskell cabal libraries v8 by Ian Lynagh.
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
+        /usr/lib/libghc6-xmonad-contrib-dev/register.sh
+    ;;
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--- xmonad-contrib-0.7.orig/debian/control
+++ xmonad-contrib-0.7/debian/control
@@ -0,0 +1,81 @@
+Source: xmonad-contrib
+Section: x11
+Priority: optional
+Maintainer: Joachim Breitner <nomeata@debian.org>
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 5), haddock (>= 0.8-2), hscolour, haskell-utils (>= 1.10), ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+), ghc6-doc (>= 6.8.2), ghc6-doc (<< 6.8.2+), libghc6-mtl-dev (= 1.1.0.0-2), libghc6-x11-dev (= 1.4.2-1), libghc6-xmonad-dev (= 0.7-2), libghc6-mtl-prof (= 1.1.0.0-2), libghc6-x11-prof (= 1.4.2-1), libghc6-xmonad-prof (= 0.7-2), libghc6-mtl-doc (= 1.1.0.0-2), libghc6-x11-doc (= 1.4.2-1), libghc6-xmonad-doc (= 0.7-2), libx11-dev, libxinerama1
+Homepage: http://xmonad.org/
+
+Package: libghc6-xmonad-contrib-dev
+Section: libdevel
+Architecture: any
+Depends: ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), ${shlibs:Depends}, ${misc:Depends}, libghc6-mtl-dev (= 1.1.0.0-2), libghc6-x11-dev (= 1.4.2-1), libghc6-xmonad-dev (= 0.7-2), libx11-dev, libxinerama1
+Suggests: libghc6-xmonad-contrib-prof, libghc6-xmonad-contrib-doc
+Replaces: xmonadcontrib
+Conflicts: xmonadcontrib
+Description: Extensions to xmonad
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package is what you need to build your custom configured xmonad
+ binary.
+
+Package: libghc6-xmonad-contrib-prof
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libghc6-xmonad-contrib-dev, ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+), libghc6-mtl-prof (= 1.1.0.0-2), libghc6-x11-prof (= 1.4.2-1), libghc6-xmonad-prof (= 0.7-2), libx11-dev, libxinerama1
+Suggests: libghc6-xmonad-contrib-doc
+Description: Extensions to xmonad; profiling libraries
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package is what you need to profile your custom configured xmonad
+ binary.
+
+Package: libghc6-xmonad-contrib-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ghc6-doc (>= 6.8.2), ghc6-doc (<< 6.8.2+), libghc6-mtl-doc (= 1.1.0.0-2), libghc6-x11-doc (= 1.4.2-1), libghc6-xmonad-doc (= 0.7-2)
+Suggests: libghc6-xmonad-contrib-dev, libghc6-xmonad-contrib-prof
+Description: Extensions to xmonad; documentation
+ This is a huge extensions library for xmonad, providing alternative
+ layout algorithms, key bindings, extended operations, and much more.
+ .
+ Xmonad is a minimalist tiling window manager for X, written in
+ Haskell.  Windows are managed using automatic layout algorithms,
+ which can be dynamically reconfigured. At any time windows are
+ arranged so as to maximise the use of screen real estate. All
+ features of the window manager are accessible purely from the
+ keyboard: a mouse is entirely optional.  Xmonad is configured in
+ Haskell, and custom layout algorithms may be implemented by the user
+ in config files. A principle of Xmonad is predictability: the user
+ should know in advance precisely the window arrangement that will
+ result from any action. 
+ . 
+ This package contains the documentation for building your custom
+ configured xmonad binary as well as example configuration files.
+
+
+
--- xmonad-contrib-0.7.orig/debian/compat
+++ xmonad-contrib-0.7/debian/compat
@@ -0,0 +1 @@
+5
--- xmonad-contrib-0.7.orig/debian/libghc6-xmonad-contrib-doc.postrm
+++ xmonad-contrib-0.7/debian/libghc6-xmonad-contrib-doc.postrm
@@ -0,0 +1,21 @@
+#! /bin/sh
+# Generic doc postrm script for Haskell cabal libraries v9 by Ian Lynagh.
+
+set -e
+
+DIR=/usr/share/doc/ghc6-doc/libraries
+GEN=/usr/lib/ghc6-doc/gen_contents_index
+
+case "$1" in
+    *)
+        [ -d $DIR ] && [ -e $GEN ] && cd $DIR && $GEN
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--- xmonad-contrib-0.7.orig/debian/varfiles/varfile
+++ xmonad-contrib-0.7/debian/varfiles/varfile
@@ -0,0 +1,3 @@
+c_dev_libs="libx11-dev, libxinerama1"
+extra_build_deps=""
+
