--- x11proto-dri2-2.1.orig/debian/watch
+++ x11proto-dri2-2.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://xorg.freedesktop.org/releases/individual/proto/ dri2proto-(.*)\.tar\.gz
--- x11proto-dri2-2.1.orig/debian/changelog
+++ x11proto-dri2-2.1/debian/changelog
@@ -0,0 +1,36 @@
+x11proto-dri2 (2.1-0ubuntu0sarvatt~jaunty) jaunty; urgency=low
+
+  * New upstream release.
+    - Introduces DRI2GetBuffersWithFormat protocol which replaces DRI2GetBuffers.
+  * Drop ChangeLog install - Unshipped in upstream archive.
+
+ -- Robert Hooker (Sarvatt) <sarvatt@gmail.com>  Thu, 18 Jun 2009 19:30:22 -0400
+
+x11proto-dri2 (2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add build-dep on xutils-dev >= 1:7.4+4.
+  * Install the upstream changelog.
+  * Bump Standards-Version to 3.8.1.
+  * Bump dh compat to 5 to make lintian happy.
+
+ -- Julien Cristau <jcristau@debian.org>  Mon, 08 Jun 2009 16:50:28 +0200
+
+x11proto-dri2 (1.99.3-1) unstable; urgency=low
+
+  [ Timo Aaltonen ]
+  * New upstream release.
+
+  [ Julien Cristau ]
+  * debian/rules: drop some useless code (we don't need to set CFLAGS or set
+    the architecture, we don't build anything).
+  * Install dri2proto.txt.
+  * debian/copyright: update copyright year.
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 09 Jan 2009 06:57:20 +0100
+
+x11proto-dri2 (1.1-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Julien Cristau <jcristau@debian.org>  Thu, 05 Jun 2008 22:14:02 +0200
--- x11proto-dri2-2.1.orig/debian/control
+++ x11proto-dri2-2.1/debian/control
@@ -0,0 +1,25 @@
+Source: x11proto-dri2
+Section: x11
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Uploaders: Julien Cristau <jcristau@debian.org>
+Build-Depends: debhelper, autoconf, automake, xutils-dev (>= 1:7.4+4)
+Standards-Version: 3.8.1
+Vcs-Git: git://git.debian.org/git/pkg-xorg/proto/x11proto-dri2
+Vcs-Browser: http://git.debian.org/?p=pkg-xorg/proto/x11proto-dri2.git
+
+Package: x11proto-dri2-dev
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: x11-common (>= 1:7.0.0)
+Description: X11 DRI2 extension wire protocol
+ This package provides development headers describing the wire protocol
+ for the DRI2 extension, used to organise direct rendering support
+ for 3D clients, and replace the XFree86-DRI extension.
+ .
+ More information about X.Org can be found at:
+ <URL:http://www.X.org>
+ <URL:http://xorg.freedesktop.org>
+ <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+ .
+ This package is built from the X.org dri2proto proto module.
--- x11proto-dri2-2.1.orig/debian/x11proto-dri2-dev.install
+++ x11proto-dri2-2.1/debian/x11proto-dri2-dev.install
@@ -0,0 +1,2 @@
+usr/include/X11/extensions/*
+usr/lib/pkgconfig/dri2proto.pc
--- x11proto-dri2-2.1.orig/debian/rules
+++ x11proto-dri2-2.1/debian/rules
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# debian/rules for the Debian x11proto-dri2 package.
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
+# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
+# Copyright © 2005 David Nusinow <dnusinow@debian.org>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE = x11proto-dri2-dev
+
+.PHONY: autogen
+autogen: autogen-stamp
+autogen-stamp:
+	dh_testdir
+
+	autoreconf -vfi
+	touch autogen-stamp
+
+.PHONY: configure
+configure: configure-stamp
+configure-stamp: autogen-stamp
+	dh_testdir
+
+	test -d obj-$(DEB_BUILD_GNU_TYPE) || mkdir obj-$(DEB_BUILD_GNU_TYPE)
+	cd obj-$(DEB_BUILD_GNU_TYPE) && \
+	../configure --prefix=/usr --mandir=\$${prefix}/share/man \
+	             --infodir=\$${prefix}/share/info --disable-shared \
+	             $(confflags) CFLAGS="$(CFLAGS)" 
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f *-stamp
+
+	rm -f config.cache config.log config.status
+	rm -f */config.cache */config.log */config.status
+	rm -f conftest* */conftest*
+	rm -rf autom4te.cache */autom4te.cache
+	rm -rf obj-*
+	rm -f aclocal.m4 configure install-sh missing
+	rm -f Makefile.in
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+
+	dh_installdocs dri2proto.txt
+	dh_installman
+	dh_install --sourcedir=debian/tmp --list-missing
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# Nothing to do
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- x11proto-dri2-2.1.orig/debian/compat
+++ x11proto-dri2-2.1/debian/compat
@@ -0,0 +1 @@
+5
--- x11proto-dri2-2.1.orig/debian/copyright
+++ x11proto-dri2-2.1/debian/copyright
@@ -0,0 +1,34 @@
+This package was downloaded from
+http://xorg.freedesktop.org/releases/individual/proto/
+
+Packaging by Julien Cristau <jcristau@debian.org>.
+
+Copyright © 2008 Red Hat, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Soft-
+ware"), to deal in the Software without restriction, including without
+limitation the rights to use, copy, modify, merge, publish, distribute,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, provided that the above copyright
+notice(s) and this permission notice appear in all copies of the Soft-
+ware and that both the above copyright notice(s) and this permission
+notice appear in supporting documentation.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
+ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY
+RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN
+THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSE-
+QUENTIAL 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 PERFOR-
+MANCE OF THIS SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder shall
+not be used in advertising or otherwise to promote the sale, use or
+other dealings in this Software without prior written authorization of
+the copyright holder.
+
+Authors:
+  Kristian Høgsberg (krh@redhat.com)
