--- clutter-0.6.0.orig/debian/libclutter-0.6-dev.install
+++ clutter-0.6.0/debian/libclutter-0.6-dev.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/*.so
+debian/tmp/usr/lib/pkgconfig/
+debian/tmp/usr/include/
--- clutter-0.6.0.orig/debian/libclutter-0.6-0.install
+++ clutter-0.6.0/debian/libclutter-0.6-0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.*
--- clutter-0.6.0.orig/debian/rules
+++ clutter-0.6.0/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
+DEB_COMPRESS_EXCLUDE = .c
+
+common-binary-predeb-arch:: list-missing
--- clutter-0.6.0.orig/debian/patches/01_enable_tiled_texture.patch
+++ clutter-0.6.0/debian/patches/01_enable_tiled_texture.patch
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' clutter-0.6.0/clutter/cogl/gl/cogl.c clutter-0.6.0.new/clutter/cogl/gl/cogl.c
+--- clutter-0.6.0/clutter/cogl/gl/cogl.c	2008-02-03 12:01:54.000000000 +0000
++++ clutter-0.6.0.new/clutter/cogl/gl/cogl.c	2008-08-18 17:08:49.000000000 +0100
+@@ -385,7 +385,7 @@
+ #ifdef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB
+   if (target == CGL_TEXTURE_RECTANGLE_ARB)
+     {
+-      GLint max_size = 0;
++      GLint max_size = 480;
+ 
+       GE( glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB, &max_size) );
+ 
--- clutter-0.6.0.orig/debian/changelog
+++ clutter-0.6.0/debian/changelog
@@ -0,0 +1,96 @@
+clutter (0.6.0-2netbook1) hardy; urgency=low
+
+  * Add support for tiling textures larger than 480px
+
+ -- Neil J. Patel <neil.patel@canonical.com>  Thu, 28 Aug 2008 13:00:36 +0100
+
+clutter (0.6.0-2) unstable; urgency=low
+
+  * Switch dependency to libgl1-mesa-dev|libgl-dev rather than
+    just libgl1-mesa-dev so that it does not conflict with other installed
+    OpenGL headers.
+
+ -- Rob Bradford <robster@debian.org>  Thu, 28 Feb 2008 14:54:24 +0000
+
+clutter (0.6.0-1) unstable; urgency=low
+
+  * New upstream release.
+  - Replace deprecated substvars.
+  - Update debian/copyright file.
+
+ -- Rob Bradford <robster@debian.org>  Mon, 18 Feb 2008 13:27:15 +0000
+
+clutter (0.5.6-1) unstable; urgency=low
+
+  * New (unstable) upstream release.
+
+ -- Rob Bradford <robster@debian.org>  Mon, 11 Feb 2008 17:21:32 +0000
+
+clutter (0.5.2-1) unstable; urgency=low
+
+  * New (unstable) upstream release.
+
+ -- Rob Bradford <robster@debian.org>  Mon, 14 Jan 2008 13:34:58 +0000
+
+clutter (0.5.0-1) unstable; urgency=low
+
+  * New (unstable) upstream release.
+
+ -- Rob Bradford <robster@debian.org>  Thu, 10 Jan 2008 15:58:27 +0000
+
+clutter (0.4.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Tue, 18 Sep 2007 11:30:38 +0100
+
+clutter (0.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Mon, 20 Aug 2007 13:55:10 +0100
+
+clutter (0.4.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Tue,  7 Aug 2007 20:50:46 +0100
+
+clutter (0.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Tue, 24 Jul 2007 09:13:14 +0100
+
+clutter (0.2.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ross Burton <ross@debian.org>  Wed, 11 Apr 2007 18:37:12 +0100
+
+clutter (0.2.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Don't compress the examples.
+
+ -- Ross Burton <ross@debian.org>  Wed, 14 Feb 2007 09:26:01 +0000
+
+clutter (0.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Upstream package split up, remove Python packaging
+
+ -- Ross Burton <ross@debian.org>  Wed,  7 Feb 2007 16:18:44 +0000
+
+clutter (0.1.0-2) unstable; urgency=low
+
+  * Ship the Python bindings in python2.4-clutter (thanks to Jeff Waugh)
+
+ -- Ross Burton <ross@debian.org>  Fri, 23 Jun 2006 11:48:12 +0100
+
+clutter (0.1.0-1) unstable; urgency=low
+
+  * Initial upload.
+
+ -- Ross Burton <ross@debian.org>  Wed, 21 Jun 2006 17:46:05 +0100
+
--- clutter-0.6.0.orig/debian/libclutter-doc.install
+++ clutter-0.6.0/debian/libclutter-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc/html/clutter
--- clutter-0.6.0.orig/debian/libclutter-doc.links
+++ clutter-0.6.0/debian/libclutter-doc.links
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/clutter usr/share/doc/libclutter-doc/html
--- clutter-0.6.0.orig/debian/copyright
+++ clutter-0.6.0/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Ross Burton <ross@debian.org> on Wed, 21 Jun 2006
+17:40:36 +0100.
+
+It was downloaded from http://projects.o-hand.com/clutter
+
+Upstream Authors:
+Matthew Allum <mallum@o-hand.com>
+Emmanuele Bassi <ebassi@o-hand.com>
+Iain Holmes <iain@o-hand.com>
+Jorn Baayen <jorn@o-hand.com>
+
+Copyright (C) 2008 OpenedHand Ltd.
+
+License:
+
+  This library is free software; you can redistribute it and/or modify it under
+  the terms of the GNU Lesser General Public License as published by the Free
+  Software Foundation; either version 2 of the License, or (at your option) any
+  later version.
+
+  This library 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 Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public License along
+  with this library; 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/LGPL-2'.
--- clutter-0.6.0.orig/debian/compat
+++ clutter-0.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- clutter-0.6.0.orig/debian/control
+++ clutter-0.6.0/debian/control
@@ -0,0 +1,54 @@
+Source: clutter
+Section: libs
+Priority: optional
+Maintainer: Ross Burton <ross@debian.org>
+Uploaders: Rob Bradford <robster@debian.org>
+Build-Depends: debhelper (>= 5), cdbs, libgl1-mesa-dev|libgl-dev, libgtk2.0-dev, gtk-doc-tools
+Standards-Version: 3.7.2
+
+Package: libclutter-0.6-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Open GL based interactive canvas library
+ Clutter is an Open GL based interactive canvas library, designed for creating
+ fast, mainly 2D single window applications such as media box UIs,
+ presentations, kiosk style applications and so on.
+
+Package: libclutter-0.6-dev
+Section: libdevel
+Architecture: any
+Depends: libclutter-0.6-0 (= ${binary:Version}), pkg-config, libgtk2.0-dev, libgl1-mesa-dev|libgl-dev, ${misc:Depends}
+Suggests: libclutter-doc
+Description: Open GL based interactive canvas library (development files)
+ Clutter is an Open GL based interactive canvas library, designed for creating
+ fast, mainly 2D single window applications such as media box UIs,
+ presentations, kiosk style applications and so on.
+ .
+ This package contains the development files.
+
+Package: libclutter-0.6-dbg
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: libclutter-0.6-0 (= ${binary:Version})
+Description: Open GL based interactive canvas library (debug files)
+ Clutter is an Open GL based interactive canvas library, designed for creating
+ fast, mainly 2D single window applications such as media box UIs,
+ presentations, kiosk style applications and so on.
+ .
+ This package contains the debug files.
+
+Package: libclutter-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: devhelp
+Conflicts: libclutter-0.1-doc
+Replaces: libclutter-0.1-doc
+Description: Open GL based interactive canvas library (documentation)
+ Clutter is an Open GL based interactive canvas library, designed for creating
+ fast, mainly 2D single window applications such as media box UIs,
+ presentations, kiosk style applications and so on.
+ .
+ This package contains the documentation.
--- clutter-0.6.0.orig/debian/libclutter-0.6-dev.examples
+++ clutter-0.6.0/debian/libclutter-0.6-dev.examples
@@ -0,0 +1,2 @@
+tests/*.c
+tests/*.png
