--- xcb-proto-1.10.orig/HACKING
+++ xcb-proto-1.10/HACKING
@@ -0,0 +1,20 @@
+Make patches more descriptive
+=============================
+
+By default hunk headers of a patch will look like this:
+
+    @@ -1227,6 +1227,8 @@ authorization from the authors.
+
+Which is not very usefull as it doesn't give a hint where the change
+happened (except for the line number). To make those hunk headers more
+descriptive, i.e.:
+
+    @@ -1227,6 +1227,8 @@ <struct name="HierarchyChange">
+
+Add these 2 lines to your .git/config file:
+
+    [diff "xcb"]
+        xfuncname = "(<\\b(xcb|enum|event|request|struct|union)\\b.*>)"
+
+For more background on this magic have a look at src/.gitattributes and
+the man page gitattributes(5) chapter "Defining a custom hunk-header".
--- xcb-proto-1.10.orig/debian/xcb-proto.install
+++ xcb-proto-1.10/debian/xcb-proto.install
@@ -0,0 +1,2 @@
+usr/lib/pkgconfig/xcb-proto.pc usr/share/pkgconfig
+usr/share/xcb
--- xcb-proto-1.10.orig/debian/control
+++ xcb-proto-1.10/debian/control
@@ -0,0 +1,58 @@
+Source: xcb-proto
+Section: libdevel
+Priority: optional
+Maintainer: XCB Developers <xcb@lists.freedesktop.org>
+Uploaders: Julien Danjou <acid@debian.org>, Cyril Brulebois <kibi@debian.org>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ dh-autoreconf,
+ libxml2-utils,
+ python-all (>= 2.6.6-3~),
+ automake
+Standards-Version: 3.9.4
+X-Python-Version: >= 2.5
+Homepage: http://xcb.freedesktop.org
+Vcs-Git: git://anonscm.debian.org/collab-maint/xcb-proto.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/xcb-proto.git
+
+Package: xcb-proto
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Description: X C Binding - protocol descriptions
+ xcb-proto contains descriptions of the X Window System core protocol and
+ selected extensions in an XML-based data format. The X C Binding (XCB)
+ library uses these descriptions to generate much of its code. You only need
+ this package if you want to compile XCB or otherwise make use of these
+ protocol descriptions.
+ .
+ The XCB library provides an interface to the X Window System protocol,
+ designed to replace the Xlib interface.  XCB provides several advantages over
+ Xlib:
+ .
+  * Size: small library and lower memory footprint
+  * Latency hiding: batch several requests and wait for the replies later
+  * Direct protocol access: one-to-one mapping between interface and protocol
+  * Thread support: access XCB from multiple threads, with no explicit locking
+  * Easy creation of new extensions: automatically generates interface from
+    machine-parsable protocol descriptions
+
+Package: python-xcbgen
+Section: python
+Architecture: all
+Multi-Arch: foreign
+Depends: ${python:Depends}, ${misc:Depends}
+Description: X C Binding - protocol binding generator
+ python-xcbgen generates the X protocol C language bindings from XML
+ descriptions.
+ .
+ The XCB library provides an interface to the X Window System protocol,
+ designed to replace the Xlib interface.  XCB provides several advantages over
+ Xlib:
+ .
+  * Size: small library and lower memory footprint
+  * Latency hiding: batch several requests and wait for the replies later
+  * Direct protocol access: one-to-one mapping between interface and protocol
+  * Thread support: access XCB from multiple threads, with no explicit locking
+  * Easy creation of new extensions: automatically generates interface from
+    machine-parsable protocol descriptions
--- xcb-proto-1.10.orig/debian/python-xcbgen.install
+++ xcb-proto-1.10/debian/python-xcbgen.install
@@ -0,0 +1 @@
+usr/lib/python*
--- xcb-proto-1.10.orig/debian/rules
+++ xcb-proto-1.10/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with autoreconf --with python2
--- xcb-proto-1.10.orig/debian/changelog
+++ xcb-proto-1.10/debian/changelog
@@ -0,0 +1,186 @@
+xcb-proto (1.10-1) precise; urgency=low
+
+  * New upstream release.
+
+  [ Michele Cane ]
+  * Bump Standard-version to 3.9.4.
+
+  [ Julien Cristau ]
+  * Revert to source format 1.0.
+
+ -- Julien Cristau <jcristau@debian.org>  Sun, 22 Dec 2013 18:26:02 +0100
+
+xcb-proto (1.8-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Julien Cristau <jcristau@debian.org>  Sun, 09 Jun 2013 19:32:00 +0200
+
+xcb-proto (1.7.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump standard version
+  * Use source format 3.0
+
+ -- Julien Danjou <acid@debian.org>  Fri, 23 Mar 2012 23:44:43 +0100
+
+xcb-proto (1.7-1) unstable; urgency=low
+
+  [ Arnaud Fontaine ]
+  * Switch from deprecated python-support to dh_python2.
+  * Revert source format change.
+
+  [ Christopher James Halse Rogers ]
+  * Point VCS-Git at the correct repositories, and drop unnecessary XS- prefix.
+
+  [ Timo Aaltonen ]
+  * New upstream release.
+
+  [ Cyril Brulebois ]
+  * Add myself to Uploaders.
+  * Bump Standards-Version to 3.9.2 (no changes needed).
+
+ -- Arnaud Fontaine <arnau@debian.org>  Wed, 25 Jan 2012 14:26:55 +0900
+
+xcb-proto (1.6-3) unstable; urgency=low
+
+  * Remove Jamey Sharp and Josh Triplett from the Uploaders list
+    (closes: #568275).
+  * Make the packages Multi-Arch: foreign.
+  * Add single-debian-patch to debian/source/options because they broke
+    dpkg-source (again).
+  * Use dh-autoreconf instead of manual autoreconf so we clean things up
+    properly.
+
+ -- Julien Cristau <jcristau@debian.org>  Sat, 12 Nov 2011 01:20:40 +0100
+
+xcb-proto (1.6-2) unstable; urgency=low
+
+  * Drop cdbs in favor of dh 7 (Closes: #564351)
+
+ -- Julien Danjou <acid@debian.org>  Tue, 12 Jan 2010 10:54:16 +0100
+
+xcb-proto (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Switch to format 3.0
+  * Bump standard version
+
+ -- Julien Danjou <acid@debian.org>  Wed, 02 Dec 2009 10:16:19 +0100
+
+xcb-proto (1.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Julien Danjou <acid@debian.org>  Fri, 29 May 2009 09:14:15 +0200
+
+xcb-proto (1.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Julien Danjou <acid@debian.org>  Tue, 17 Feb 2009 11:22:17 +0100
+
+xcb-proto (1.3-1) experimental; urgency=low
+
+  * New upstream release.
+  * Add myself as uploader.
+  * Bump standard version.
+  * Add ${misc:Depends} in debian/control.
+  * Move homepage out of description, it has its own field.
+  * Move python-xcbgen in section python.
+
+ -- Julien Danjou <acid@debian.org>  Fri, 02 Jan 2009 11:32:07 +0100
+
+xcb-proto (1.2-0.1) experimental; urgency=low
+
+  * New upstream release.
+  * New python-xcbgen package.
+  * Run autoreconf at build time, update clean rule to match.
+
+ -- Julien Cristau <jcristau@debian.org>  Wed, 12 Nov 2008 21:07:15 +0100
+
+xcb-proto (1.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jamey Sharp <sharpone@debian.org>  Tue, 06 Nov 2007 13:37:24 -0800
+
+xcb-proto (1.0-2) unstable; urgency=low
+
+  * Change XS-X-Vcs-Git to XS-Vcs-Git.
+  * Add XS-Vcs-Browser field.
+  * Upload to unstable.
+
+ -- Josh Triplett <josh@freedesktop.org>  Mon, 21 May 2007 13:06:31 -0700
+
+xcb-proto (1.0-1) experimental; urgency=low
+
+  * New upstream release.
+  * The "Thanksgiving" release: We feel thankful to have it released.
+  * Add XS-X-Vcs-Git field.
+  * Bump debhelper version requirement to 5, to satisfy cdbs and lintian.
+
+ -- Josh Triplett <josh@freedesktop.org>  Fri, 24 Nov 2006 00:28:05 -0800
+
+xcb-proto (0.9.92-1) experimental; urgency=low
+
+  * New upstream release.
+
+  [ Josh Triplett ]
+  * No longer installs files to /usr/include/X11, so remove Pre-Depends on
+    x11-common.
+  * Update to Standards-Version 3.7.2 (no changes required).
+  * Point specifically to http://xcb.freedesktop.org/dist in copyright file,
+    rather than http://xcb.freedesktop.org .
+  * Add debian/watch file.
+  * Drop Depends line, which only contained empty substitution variables.
+  * Add debian/xcb-proto.install, to install the pkgconfig file to /usr/share
+    rather than /usr/lib.  Add DEB_DH_INSTALL_SOURCEDIR and DEB_DESTDIR to
+    debian/rules, pointing to debian/tmp, to allow use of dh_install for
+    renaming files.
+
+ -- Jamey Sharp <sharpone@debian.org>  Sat, 07 Oct 2006 22:55:07 -0700
+
+xcb-proto (0.9-3) experimental; urgency=low
+
+  * Stop running autoreconf in debian/rules, and remove Build-Depends for
+    autoconf and automake.
+  * Debian X11R7 transition:
+    * Install protocol descriptions to /usr/include/X11, not
+      /usr/X11R6/include/X11.
+    * Pre-Depends: x11-common (>= 1:1.09).
+  * Validate the protocol descriptions during the build:
+    * Set DEB_MAKE_CHECK_TARGET=check in debian/rules.
+    * Add Build-Depends on libxml2-utils for xmllint.
+  * Remove Bugs field in control, so bugs go to the Debian BTS.
+  * Set distribution to experimental.
+
+ -- Josh Triplett <josh@freedesktop.org>  Sat, 29 Apr 2006 10:57:24 -0700
+
+xcb-proto (0.9-2) unstable; urgency=low
+
+  * Change Architecture from any to all; these protocol descriptions are
+    architecture-independent.
+  * Remove fd.o prefix from package name.
+  * Change Maintainer to xcb@lists.freedesktop.org, move myself to
+    Uploaders, and add Jamey Sharp to Uploaders.  Update copyright.debian
+    accordingly.
+  * Add Bugs field pointing to xcb@lists.freedesktop.org.
+  * Update homepage URL in description and copyright.debian to
+    http://xcb.freedesktop.org, and put it in a Homepage: field in the
+    description.
+
+ -- Josh Triplett <josh@freedesktop.org>  Wed, 23 Mar 2005 13:03:45 -0800
+
+fd.o-xcb-proto (0.9-1) unstable; urgency=low
+
+  * New version with XML protocol descriptions.
+  * Updated Debian packaging.
+
+ -- Josh Triplett <josh@freedesktop.org>  Fri, 29 Oct 2004 15:11:09 -0700
+
+fd.o-xcb-proto (0.8-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jamey Sharp <sharpone@debian.org>  Thu, 18 Mar 2004 00:09:03 -0800
--- xcb-proto-1.10.orig/debian/copyright
+++ xcb-proto-1.10/debian/copyright
@@ -0,0 +1,42 @@
+This package was debianized by Jamey Sharp <sharpone@debian.org> on
+Thu, 18 Mar 2004 00:48:42 -0800, and later updated by Josh Triplett
+<josh@freedesktop.org>.  The package is co-maintained by the XCB developers
+via the XCB mailing list <xcb@lists.freedesktop.org>.
+
+It was downloaded from http://xcb.freedesktop.org/dist
+
+Upstream Authors: Jamey Sharp <sharpone@debian.org>
+                  Josh Triplett <josh@freedesktop.org>
+
+Copyright:
+
+Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
+All Rights Reserved.
+
+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 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
+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 names of the authors
+or their institutions 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
+authors.
--- xcb-proto-1.10.orig/debian/docs
+++ xcb-proto-1.10/debian/docs
@@ -0,0 +1,3 @@
+doc/xml-xcb.txt
+README
+TODO
--- xcb-proto-1.10.orig/debian/compat
+++ xcb-proto-1.10/debian/compat
@@ -0,0 +1 @@
+7
--- xcb-proto-1.10.orig/debian/watch
+++ xcb-proto-1.10/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://xcb.freedesktop.org/dist/xcb-proto-([0-9].*)\.tar\.gz