--- x11proto-input-2.0.2.orig/autogen.sh
+++ x11proto-input-2.0.2/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
--- x11proto-input-2.0.2.orig/debian/control
+++ x11proto-input-2.0.2/debian/control
@@ -0,0 +1,30 @@
+Source: x11proto-input
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Uploaders: Drew Parsons <dparsons@debian.org>, Cyril Brulebois <kibi@debian.org>
+Build-Depends:
+ debhelper (>= 8),
+ dh-autoreconf,
+ quilt,
+ xutils-dev (>= 1:7.5~1),
+Standards-Version: 3.9.2
+Vcs-Git: git://git.debian.org/git/pkg-xorg/proto/x11proto-input
+Vcs-Browser: http://git.debian.org/?p=pkg-xorg/proto/x11proto-input.git
+
+Package: x11proto-input-dev
+Architecture: all
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ x11proto-core-dev,
+Multi-Arch: foreign
+Description: X11 Input extension wire protocol
+ This package provides development headers describing the wire protocol
+ for the Input extension, used to control all manner of options related
+ to input device handling.
+ .
+ More information about X.Org can be found at:
+ <URL:http://www.X.org>
+ .
+ This package is built from the X.org inputproto proto module.
--- x11proto-input-2.0.2.orig/debian/copyright
+++ x11proto-input-2.0.2/debian/copyright
@@ -0,0 +1,65 @@
+This package was downloaded from
+http://xorg.freedesktop.org/releases/individual/proto/
+
+Copyright 1989, 1998  The Open Group
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of The Open Group shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from The Open Group.
+
+Copyright 1989 by Hewlett-Packard Company, Palo Alto, California.
+
+			All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Hewlett-Packard not be
+used in advertising or publicity pertaining to distribution of the
+software without specific, written prior permission.
+
+HEWLETT-PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+HEWLETT-PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
+
+Copyright © 2009 Red Hat, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice (including the next
+paragraph) shall be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
--- x11proto-input-2.0.2.orig/debian/rules
+++ x11proto-input-2.0.2/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+# Install in debian/tmp to retain control through dh_install:
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/tmp
+
+# Forget no-one:
+override_dh_install:
+	dh_install --fail-missing
+
+%:
+	dh $@ --with quilt,autoreconf --builddirectory=build/
--- x11proto-input-2.0.2.orig/debian/README.source
+++ x11proto-input-2.0.2/debian/README.source
@@ -0,0 +1,49 @@
+------------------------------------------------------
+Quick Guide To Patching This Package For The Impatient
+------------------------------------------------------
+
+1. Make sure you have quilt installed
+2. Unpack the package as usual with "dpkg-source -x"
+3. Run the "patch" target in debian/rules
+4. Create a new patch with "quilt new" (see quilt(1))
+5. Edit all the files you want to include in the patch with "quilt edit"
+   (see quilt(1)).
+6. Write the patch with "quilt refresh" (see quilt(1))
+7. Run the "clean" target in debian/rules
+
+Alternatively, instead of using quilt directly, you can drop the patch in to
+debian/patches and add the name of the patch to debian/patches/series.
+
+------------------------------------
+Guide To The X Strike Force Packages
+------------------------------------
+
+The X Strike Force team maintains X packages in git repositories on
+git.debian.org in the pkg-xorg subdirectory. Most upstream packages
+are actually maintained in git repositories as well, so they often
+just need to be pulled into git.debian.org in a "upstream-*" branch.
+Otherwise, the upstream sources are manually installed in the Debian
+git repository.
+
+The .orig.tar.gz upstream source file could be generated this
+"upstream-*" branch in the Debian git repository but it is actually
+copied from upstream tarballs directly.
+
+Due to X.org being highly modular, packaging all X.org applications
+as their own independent packages would have created too many Debian
+packages. For this reason, some X.org applications have been grouped
+into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
+x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
+Most packages, including the X.org server itself and all libraries
+and drivers are, however maintained independently.
+
+The Debian packaging is added by creating the "debian-*" git branch
+which contains the aforementioned "upstream-*" branch plus the debian/
+repository files.
+When a patch has to be applied to the Debian package, two solutions
+are involved:
+* If the patch is available in one of the upstream branches, it
+  may be git'cherry-picked into the Debian repository. In this
+  case, it appears directly in the .diff.gz.
+* Otherwise, the patch is added to debian/patches/ which is managed
+  with quilt as documented in /usr/share/doc/quilt/README.source.
--- x11proto-input-2.0.2.orig/debian/compat
+++ x11proto-input-2.0.2/debian/compat
@@ -0,0 +1 @@
+8
--- x11proto-input-2.0.2.orig/debian/x11proto-input-dev.install
+++ x11proto-input-2.0.2/debian/x11proto-input-dev.install
@@ -0,0 +1,4 @@
+usr/include/X11/extensions/*
+usr/lib/pkgconfig/inputproto.pc /usr/share/pkgconfig
+usr/share/doc/inputproto/XIproto.txt  usr/share/doc/x11proto-input-dev
+usr/share/doc/inputproto/XI2proto.txt usr/share/doc/x11proto-input-dev
--- x11proto-input-2.0.2.orig/debian/watch
+++ x11proto-input-2.0.2/debian/watch
@@ -0,0 +1,3 @@
+#git=git://anongit.freedesktop.org/xorg/proto/inputproto
+version=3
+http://xorg.freedesktop.org/releases/individual/proto/ inputproto-(.*)\.tar\.gz
--- x11proto-input-2.0.2.orig/debian/x11proto-input-dev.docs
+++ x11proto-input-2.0.2/debian/x11proto-input-dev.docs
@@ -0,0 +1,2 @@
+XIproto.txt
+XI2proto.txt
--- x11proto-input-2.0.2.orig/debian/changelog
+++ x11proto-input-2.0.2/debian/changelog
@@ -0,0 +1,190 @@
+x11proto-input (2.0.2-2) unstable; urgency=low
+
+  * Mark x11proto-input-dev Multi-Arch: foreign
+  * Install .pc file to /usr/share/pkgconfig insetad of
+    /usr/lib/pkgconfig
+
+ -- Steve Langasek <vorlon@debian.org>  Fri, 17 Jun 2011 08:56:37 -0700
+
+x11proto-input (2.0.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch to dh:
+    - Bump debhelper build-dep and compat to 8.
+    - Use dh-autoreconf and quilt sequences, rewrite rules file.
+    - Add placeholder quilt series file.
+  * Get rid of xsfbs accordingly.
+  * Update Uploaders list. Thanks, David and Andres!
+  * Get rid of old Breaks on libxi-dev, even squeeze has a higher version.
+  * Wrap (Build-)Depends.
+  * Bump Standards-Version (no changes).
+
+ -- Cyril Brulebois <kibi@debian.org>  Thu, 09 Jun 2011 15:30:57 +0200
+
+x11proto-input (2.0.1-1) unstable; urgency=low
+
+  [ Julien Cristau ]
+  * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
+    good reason.  Thanks, Colin Watson!
+  * Remove myself from Uploaders
+
+  [ Cyril Brulebois ]
+  * New upstream release.
+  * Update debian/copyright.
+  * No longer pass --disable-shared, this option is gone.
+  * Ship XIproto.txt and XI2proto.txt
+  * Switch from --list-missing to --fail-missing for additional safety.
+  * Add myself to Uploaders.
+
+ -- Cyril Brulebois <kibi@debian.org>  Fri, 12 Nov 2010 17:08:10 +0100
+
+x11proto-input (2.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 06 Jan 2010 12:30:54 +0000
+
+x11proto-input (2.0-1) experimental; urgency=low
+
+  [ Julien Cristau ]
+  * Add Depends on x11proto-core-dev.
+  * Install the XI1 and XI2 specs in the package.
+
+  [ Timo Aaltonen ]
+  * New upstream release.
+  * Bump the build-dep on xutils-dev (>= 1:7.5~1).
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 26 Nov 2009 15:34:18 +0100
+
+x11proto-input (1.9.99.902-1) experimental; urgency=low
+
+  [ Timo Aaltonen ]
+  * Add README.source from xsfbs. Bump Standards-Version to 3.8.1.
+
+  [ Julien Cristau ]
+  * Drop Pre-Depends on x11-common and Conflicts/Replaces on libxi-dev.  This
+    was only needed for upgrades from sarge.
+  * Bump Standards-Version to 3.8.3.
+  * New upstream release candidate
+    + XInput.h moved to libXi
+  * Breaks libxi-dev << 1.2.99 to make sure XInput.h doesn't go missing.
+  * Bump xutils-dev build-dep to 1:7.4+4.
+
+ -- Julien Cristau <jcristau@debian.org>  Sat, 12 Sep 2009 14:52:31 +0200
+
+x11proto-input (1.5.0-2) unstable; urgency=low
+
+  * Pull from upstream: Protect _XiDevicePresenceNotifyEvent declaration
+    against C++ includes.
+  * Upload to unstable.
+
+ -- Julien Cristau <jcristau@debian.org>  Sun, 15 Feb 2009 21:10:05 +0100
+
+x11proto-input (1.5.0-1) experimental; urgency=low
+
+  * New upstream release.
+  * Drop unused build-dep on libtool.
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 19 Dec 2008 15:27:32 +0100
+
+x11proto-input (1.4.4-1) unstable; urgency=low
+
+  [ Timo Aaltonen ]
+  * New upstream release.
+  * Switch to running autoreconf at build time, and build-depend on automake,
+    libtool and xutils-dev.
+
+  [ Julien Cristau ]
+  * debian/rules: allow parallel builds.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 28 Aug 2008 00:06:54 +0200
+
+x11proto-input (1.4.3-2) unstable; urgency=low
+
+  * Fix from upstream: don't include <X11/Xmd.h> in XI.h, and use unsigned int
+    instead of CARD32 (Closes: #470245).
+
+ -- Julien Cristau <jcristau@debian.org>  Mon, 10 Mar 2008 14:39:22 +0100
+
+x11proto-input (1.4.3-1) unstable; urgency=low
+
+  [ Brice Goglin ]
+  * Update the long description.
+  * Add URL in debian/copyright.
+  * Remove Fabio from Uploaders, with his permission.
+
+  [ Julien Cristau ]
+  * New upstream release.
+  * debian/control updates:
+    + add myself to Uploaders, and remove Branden with his permission
+    + bump Standards-Version to 3.7.3 (no changes)
+    + drop the XS- prefix from Vcs fields
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 07 Mar 2008 13:50:08 +0100
+
+x11proto-input (1.4.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- David Nusinow <dnusinow@debian.org>  Mon, 30 Apr 2007 20:07:45 -0400
+
+x11proto-input (1.4.1-2) unstable; urgency=low
+
+  * Add XS-Vcs-* to debian/control.
+  * Remove Fabio from Uploaders with his permission.
+  * Drop outdated CVS info from the description.
+  * Upload to unstable.
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 20 Apr 2007 21:51:49 +0200
+
+x11proto-input (1.4.1-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 15 Feb 2007 16:04:00 +0100
+
+x11proto-input (1.4-1) experimental; urgency=low
+
+  * New upstream version (X11R7.2).
+  * Use debhelper 5.
+
+ -- Drew Parsons <dparsons@debian.org>  Sun, 12 Nov 2006 20:44:18 +1100
+
+x11proto-input (1.3.2-4) unstable; urgency=low
+
+  * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build;
+    idempotency fix.
+  * Run dh_install w/ --list-missing.
+  * Change debhelper build-dep-indep to a normal build-dep, as dh_clean
+    is called inside the clean rule.
+  * Drop duplicate x11-common dep in -dev package.
+  * Bump standards version to 3.7.2.0.
+  * Version x11-common pre-dep in -dev package to 1:7.0.0 to match
+    the rest of Debian.
+
+ -- Andres Salomon <dilinger@debian.org>  Fri, 21 Jul 2006 02:57:18 -0400
+
+x11proto-input (1.3.2-3) unstable; urgency=low
+
+  * Upload to unstable
+
+ -- David Nusinow <dnusinow@debian.org>  Thu, 23 Mar 2006 21:36:06 -0500
+
+x11proto-input (1.3.2-2) experimental; urgency=low
+
+  * Add epoch to versioned Pre-Depends on x11-common to make upgrades
+    from monolithic x11-common work (Closes: #351779).
+
+ -- Michel Dänzer <daenzer@debian.org>  Thu,  9 Feb 2006 16:40:59 +0100
+
+x11proto-input (1.3.2-1) experimental; urgency=low
+
+  * First upload to Debian
+
+ -- David Nusinow <dnusinow@debian.org>  Fri, 30 Dec 2005 14:36:03 -0500
+
+x11proto-input (1.3-1) breezy; urgency=low
+
+  * First x11proto-input release.
+
+ -- Daniel Stone <daniel.stone@ubuntu.com>  Mon, 16 May 2005 22:10:17 +1000
--- x11proto-input-2.0.2.orig/debian/patches/series
+++ x11proto-input-2.0.2/debian/patches/series
@@ -0,0 +1 @@
+# placeholder
