--- mesa-demos-9.0.0.orig/debian/README.source
+++ mesa-demos-9.0.0/debian/README.source
@@ -0,0 +1,55 @@
+------------------------------------------------------
+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.
+
+While building from git, dpkg-source can complain about symlinks vs.
+normal files mismatches. To work around this issue, before uploading,
+and without committing:
+
+  find -type l | while read dest; do src=$(readlink -f $dest); rm $dest; cp $src $dest; done
+
+------------------------------------
+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 using 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.
--- mesa-demos-9.0.0.orig/debian/changelog
+++ mesa-demos-9.0.0/debian/changelog
@@ -0,0 +1,201 @@
+mesa-demos (9.0.0-1) experimental; urgency=medium
+
+  * New upstream release.
+  * watch: Updated.
+  * no_eglfbdev.diff: Dropped, with meson eglfbdev is only built on
+    Linux.
+  * control: Add libdecor-0-dev and libxkbcommon-dev build-deps for
+    wayland support.
+  * install: Add new tools.
+  * Enable vulkan support, adds vkgears.
+
+ -- Timo Aaltonen <tjaalton@debian.org>  Fri, 24 Mar 2023 10:50:02 +0200
+
+mesa-demos (8.5.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * watch: Updated. (Closes: #1012161)
+  * Update signing-key.asc.
+  * control, rules: Migrate to meson, add wayland-protocols to build-
+    depends.
+
+ -- Timo Aaltonen <tjaalton@debian.org>  Tue, 31 May 2022 15:02:00 +0300
+
+mesa-demos (8.4.0-2) unstable; urgency=medium
+
+  * control: Migrate to debhelper-compat, bump to 13.
+  * control: Bump policy to 4.6.0.
+  * Merge -extra in mesa-utils, and add a separate package for native
+    binaries. (Closes: #792223)
+  * control: Update vcs urls.
+  * control: Drop Maarten from uploaders.
+
+ -- Timo Aaltonen <tjaalton@debian.org>  Wed, 13 Apr 2022 14:53:10 +0300
+
+mesa-demos (8.4.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Drop configure.ac-Auto-detect-wayland-support.diff, upstream.
+  * Drop configure.ac-Fix-default-behavior-of-AC_ARG_WITH-glut.patch,
+    upstream.
+  * Update watch url.
+  * Distribute eglinfo within mesa-utils-extra.
+  * Bump debhelper compat to 11.
+  * Bump standards version to 4.1.3.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Fri, 23 Feb 2018 11:35:05 +0100
+
+mesa-demos (8.3.0-5) unstable; urgency=medium
+
+  * Switch mesa3d.org URLs to https.
+  * Upload to unstable.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Fri, 23 Jun 2017 12:11:59 +0200
+
+mesa-demos (8.3.0-4) experimental; urgency=medium
+
+  * control: Drop libgles1-mesa-dev from build-depends. (Closes:
+    #855122) (LP: #1670674)
+
+ -- Timo Aaltonen <tjaalton@debian.org>  Tue, 07 Mar 2017 15:36:16 +0200
+
+mesa-demos (8.3.0-3) unstable; urgency=medium
+
+  * Bump debhelper compat to 10.
+    - Drop build-deps on dh-autoreconf, autoconf and automake.
+  * No need to pass --disable-silent-rules to configure, debhelper does
+    that for a while.
+  * No need for --destdir=debian/tmp as we have multiple binary
+    packages.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Thu, 22 Dec 2016 16:58:32 +0100
+
+mesa-demos (8.3.0-2) unstable; urgency=medium
+
+  [ Sven Joachim ]
+  * Build mesa-utils-extra on all architectures (Closes: #835270).
+
+  [ Andreas Boll ]
+  * watch: Update url to use https instead of ftp.
+  * control: Bump Standards-Version to 3.9.8 (no changes).
+  * source/local-options: Add more files to extend-diff-ignore option.
+    Fixes 31 patch-system-but-direct-changes-in-diff lintian warnings.
+  * Enable and ship es2gears_wayland on Linux (Closes: #829276)
+    - Add configure.ac-Auto-detect-wayland-support.diff.
+    - Add build-dep on libwayland-dev.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Tue, 06 Sep 2016 17:40:28 +0200
+
+mesa-demos (8.3.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Remove duplicated field "Priority" from package mesa-utils-extra.
+  * Update debian/copyright from mesa's docs/license.html and remove the
+    unused LGPL (src/util/glstate.[ch] got removed upstream).
+  * Drop unneeded egl-Remove-demos-using-EGL_MESA_screen_surface.diff.
+  * Add configure.ac-Fix-default-behavior-of-AC_ARG_WITH-glut.patch to
+    fix the default behavior of configure if glut isn't installed.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Fri, 11 Dec 2015 10:08:53 +0100
+
+mesa-demos (8.2.0-3) unstable; urgency=medium
+
+  * Run quilt before autoreconf, should fix FTBFS on kfreebsd-i386.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Thu, 05 Nov 2015 23:05:53 +0100
+
+mesa-demos (8.2.0-2) unstable; urgency=medium
+
+  * Add egl-Remove-demos-using-EGL_MESA_screen_surface.diff, fixes FTBFS
+    against mesa >= 10.6 (Closes: #796373).
+  * Refresh no_eglfbdev.diff.
+  * Remove obsolete es2gears_screen from installation.
+  * Remove obsolete Replaces from pre-squeeze.
+  * Update Vcs-* fields.
+  * Bump standards version to 3.9.6.
+  * Enable parallel build.
+  * Add debian/source/local-options with --extend-diff-ignore.
+  * Add myself to Uploaders.
+
+ -- Andreas Boll <andreas.boll.dev@gmail.com>  Thu, 05 Nov 2015 18:05:47 +0100
+
+mesa-demos (8.2.0-1) unstable; urgency=high
+
+  [ Andreas Boll ]
+  * New upstream release.
+    - drawtex: resolve glDrawTexfOES extension function (Closes: #753192).
+
+  [ Julien Cristau ]
+  * Add pgpsigurlmangle option to debian/watch, and add
+    debian/upstream/signing-key.asc to let uscan verify tarball sigs.
+  * High urgency upload for RC bug fix.
+
+ -- Julien Cristau <jcristau@debian.org>  Tue, 08 Jul 2014 15:00:10 +0200
+
+mesa-demos (8.1.0-2) unstable; urgency=low
+
+  [ Sven Joachim ]
+  * Don't build mesa-utils-extra on hurd, libegl1-mesa-dev is not
+    available there.
+  * New patch no_eglfbdev.diff: don't build the eglfbdev demo program
+    which does not compile on non-Linux architectures and is not
+    installed anyway.
+    - Add a build dependency on quilt and a README.Source boilerplate.
+
+ -- Cyril Brulebois <kibi@debian.org>  Mon, 02 Sep 2013 02:40:33 +0200
+
+mesa-demos (8.1.0-1) unstable; urgency=low
+
+  [ Sven Joachim ]
+  * New upstream release (Closes: #706022).
+  * Build-depend on libglew-dev rather than libglew1.5-dev.
+
+  [ Andreas Boll ]
+  * Fix typo in es2_info man page.
+
+  [ Riku Voipio ]
+  * Add package mesa-utils-extra containing the EGL/GLES2 demos.
+    (Closes: #635764)
+
+  [ Robert Hooker ]
+  * Install es2gears_x11 and es2gears_screen, create es2gears symlink
+    pointing to es2gears_x11 for general usage.
+
+  [ Andreas Boll ]
+  * Use debhelper 9 to use hardened compiler flags.
+  * Disable silent rules.
+
+  [ Maarten Lankhorst ]
+  * Add symlinks for es2gears manpages.
+  * Bump standards-version to 3.9.4.
+  * Add self to uploaders.
+
+ -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com>  Mon, 05 Aug 2013 18:26:47 +0200
+
+mesa-demos (8.0.1-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Julien Cristau <jcristau@debian.org>  Tue, 08 Feb 2011 16:06:03 +0100
+
+mesa-demos (8.0.1-1) experimental; urgency=low
+
+  * Initial upload to debian as a separate source package.
+  * Set Maintainer to the Debian X Strike Force.
+  * Set Homepage to mesa3d.org instead of mesa3d.sf.net.
+  * Add a bunch more copyright notices and MIT-like license variants to
+    debian/copyright.
+
+ -- Julien Cristau <jcristau@debian.org>  Sat, 13 Nov 2010 01:47:56 +0100
+
+mesa-demos (8.0.1-0ubuntu1) maverick; urgency=low
+
+  [ Robert Hooker ]
+  * Initial debian packaging of mesa demos now that they are split out
+    of the mesa source. (LP: #648401)
+  [ Christopher James Halse Rogers]
+  * Add debian/watch
+  * Split package drops the glxgears_is_not_a_benchmark patch.  Not printing
+    the FPS of glxgears isn't really important enough to patch out.
+
+ -- Christopher James Halse Rogers <raof@ubuntu.com>  Mon, 27 Sep 2010 16:18:27 +1000
--- mesa-demos-9.0.0.orig/debian/control
+++ mesa-demos-9.0.0/debian/control
@@ -0,0 +1,52 @@
+Source: mesa-demos
+Section: utils
+Priority: optional
+Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
+Uploaders: Andreas Boll <andreas.boll.dev@gmail.com>
+Standards-Version: 4.6.0
+Build-Depends: debhelper-compat (= 13),
+ quilt (>= 0.63-8.2~),
+ pkg-config,
+ glslang-tools [linux-any],
+ libdecor-0-dev [linux-any],
+ libgl1-mesa-dev,
+ libglew-dev,
+ libglu1-mesa-dev,
+ libegl1-mesa-dev,
+ libgles2-mesa-dev,
+ libvulkan-dev [linux-any],
+ libwayland-dev [linux-any],
+ libxcb1-dev [linux-any],
+ libx11-dev,
+ libxext-dev,
+ libxkbcommon-dev [linux-any],
+ libxkbcommon-x11-dev [linux-any],
+ meson,
+ wayland-protocols,
+Homepage: https://mesa3d.org/
+Vcs-Git: https://salsa.debian.org/xorg-team/app/mesa-demos.git
+Vcs-Browser: https://salsa.debian.org/xorg-team/app/mesa-demos
+
+Package: mesa-utils
+Section: x11
+Architecture: any
+Depends:
+ ${misc:Depends},
+ mesa-utils-bin,
+Conflicts: mesa-utils-extra
+Provides: mesa-utils-extra
+Replaces: mesa-utils-extra
+Description: Miscellaneous Mesa utilities -- symlinks
+ This package provides symlinks to several native utilities provided by Mesa,
+ including glxinfo and glxgears.
+
+Package: mesa-utils-bin
+Section: x11
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+Multi-Arch: same
+Description: Miscellaneous Mesa utilities -- native applications
+ This package provides native builds of utilities provided by Mesa, including
+ glxinfo and glxgears.
--- mesa-demos-9.0.0.orig/debian/copyright
+++ mesa-demos-9.0.0/debian/copyright
@@ -0,0 +1,232 @@
+This package was debianized by Robert Hooker 
+(robert.hooker@canonical.com) on Tue, 24 Aug 2010 11:01:39 -0400
+
+It was downloaded from https://www.mesa3d.org/download.html
+
+For more information see:
+
+  https://www.mesa3d.org/
+
+-------------------------------------------------------------------------------
+The Mesa distribution consists of several components. Different copyrights and
+licenses apply to different components. For example, some demo programs are
+copyrighted by SGI, some of the Mesa device drivers are copyrighted by their
+authors. See below for a list of Mesa's main components and the license for
+each.
+
+The core Mesa library is licensed according to the terms of the MIT license.
+This allows integration with the XFree86, Xorg and DRI projects.
+
+The default Mesa license is as follows:
+
+Copyright (C) 1999-2007  Brian Paul   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 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.
+
+Attention, Contributors
+
+When contributing to the Mesa project you must agree to the licensing terms of
+the component to which you're contributing. The following section lists the
+primary components of the Mesa distribution and their respective licenses.
+
+----------------------------------------------------------------------
+
+Some files listed below are made available from Silicon Graphics,
+Inc. under a more liberal, MIT-style license, as follows:
+
+   Permission to use, copy, modify, and distribute this software for
+   any purpose and without fee is hereby granted, provided that the above
+   copyright notice appear in all copies and that both the copyright notice
+   and this permission notice appear in supporting documentation, and that
+   the name of Silicon Graphics, Inc. not be used in advertising
+   or publicity pertaining to distribution of the software without specific,
+   written prior permission.
+
+   THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+   AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE
+   INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+   FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
+   GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+   SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+   KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+   LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+   THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
+   ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+   ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+   POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+   
+   US Government Users Restricted Rights
+   Use, duplication, or disclosure by the Government is subject to
+   restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
+   (c)(1)(ii) of the Rights in Technical Data and Computer Software
+   clause at DFARS 252.227-7013 and/or in similar or successor
+   clauses in the FAR or the DOD or NASA FAR Supplement.
+   Unpublished-- rights reserved under the copyright laws of the
+   United States.  Contractor/manufacturer is Silicon Graphics,
+   Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
+
+--------------------------------------------------------------------------
+
+ Mesa Component Licenses:
+
+ Component       Files                 Primary Author      License
+ ----------------------------------------------------------------------------
+ demo programs   src/demos/*           various             see source files
+
+ X demos         src/xdemos/*          Brian Paul          see source files
+
+ SGI demos       progs/samples/*       SGI                 SGI MIT-style
+
+ RedBook demos   progs/redbook/*       SGI                 SGI MIT-style
+
+
+mesa-demos build system, src/xdemos/msctest.c:
+  Copyright © 2009 Intel Corporation
+src/tests/unfilledclip.c, src/tests/lineclip.c:
+  Copyright © 2008 Intel Corporation
+src/xdemos/glsync.c:
+  Copyright © 2007 Intel Corporation
+src/xdemos/omlsync.c:
+  Copyright © 2007-2010 Intel Corporation
+src/tests/cva_huge.c:
+  Copyright © 2010 Pauli Nieminen
+src/tests/fog.c:
+  Copyright 2005 Eric Anholt
+  All Rights Reserved.
+src/glsl/vsraytrace.c, src/glsl/fsraytrace.c:
+  Copyright (c) 2010 Kristóf Ralovich
+
+  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.
+
+src/tests/api_speed.c:
+  (C) Copyright IBM Corporation 2002
+src/tests/api_speed.py, src/tests/no_s3tc.c:
+  (C) Copyright IBM Corporation 2004
+src/tests/texfilt.c, src/tests/bug_3101.c, src/tests/interleave.c, src/tests/invert.c:
+  (C) Copyright IBM Corporation 2005
+src/tests/prog_parameter.c, src/tests/bug_3050.c, src/demos/vao_demo.c:
+  (C) Copyright IBM Corporation 2006
+src/tests/arraytexture.c:
+  (C) Copyright IBM Corporation 2007
+  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
+  on the rights to use, copy, modify, merge, publish, distribute, sub
+  license, 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 NON-INFRINGEMENT.  IN NO EVENT SHALL
+  IBM AND/OR THEIR SUPPLIERS 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.
+
+src/tests/bumpmap.c, src/tests/scissor-viewport.c, src/tests/condrender.c,
+src/tests/scissor.c, src/glsl/samplers.c, src/wgl/wglinfo.c, src/perf/*.c, src/xdemos/multictx.c, src/rbug/*.c:
+  Copyright (c) 2009 VMware, Inc.  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
+  VMWARE 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.
+
+src/demos/geartrain.c:
+  Copyright (C) 1999  Shobhan Kumar Dutta  All Rights Reserved.
+  <skdutta@del3.vsnl.net.in>
+
+  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
+  SHOBHAN KUMAR DUTTA 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.
+
+src/xdemos/ipc.c:
+  Copyright (c) 2003 Tungsten Graphics, 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, the Tungsten
+  Graphics splash screen, 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 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.
+
+------------------------------------------------------------------------------
+
+The Debian packaging is (C) 2010, Robert Hooker <robert.hooker@canonical.com>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
--- mesa-demos-9.0.0.orig/debian/es2_info.1
+++ mesa-demos-9.0.0/debian/es2_info.1
@@ -0,0 +1,21 @@
+.TH es2_info 1 "2011-02-01"
+.SH NAME
+es2_info \- list OpenGL ES extensions
+.SH SYNOPSIS
+.B es2_info
+.RI [ options ]
+.SH DESCRIPTION
+The \fIes2_info\fP program shows information about the supported OpenGL ES
+extensions.
+.SH OPTIONS
+.TP 8
+.B \-display \fIdisplay\fP
+Specify the X display to run on.
+.TP 8
+.B \-h
+Print usage information.
+.SH AUTHOR
+es2_info was written by Tungsten Graphics.
+.PP
+This manual page was written by Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>,
+for the Debian project (but may be used by others).
--- mesa-demos-9.0.0.orig/debian/es2gears.1
+++ mesa-demos-9.0.0/debian/es2gears.1
@@ -0,0 +1,14 @@
+.TH es2gears 1 "2011-02-01"
+.SH NAME
+es2gears \- ``gears'' demo for GLES2
+.SH SYNOPSIS
+.B es2gears
+.SH DESCRIPTION
+The \fIes2gears\fP program is a port of the ``gears'' demo to GLES2. It displays
+a set of rotating gears and prints out the frame rate at regular intervals. It
+has become quite popular as basic benchmarking tool.
+.SH AUTHOR
+glxgears was written by Brian Paul <brian.paul@tungstengraphics.com>.
+.PP
+This manual page was written by Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>,
+for the Debian project (but may be used by others).
--- mesa-demos-9.0.0.orig/debian/es2tri.1
+++ mesa-demos-9.0.0/debian/es2tri.1
@@ -0,0 +1,14 @@
+.TH es2tri 1 "2011-02-01"
+.SH NAME
+es2tri \- a draw demonstration using X/EGL and OpenGL ES 2.x
+.SH SYNOPSIS
+.B es2tri
+.SH DESCRIPTION
+The \fIes2tri\fP program demonstrate the usage of X/EGL and OpenGL ES 2.x by
+drawing a triangle at the screen. This program is most useful when studied
+in its source code form.
+.SH AUTHOR
+es2tri was written by Tungsten Graphics.
+.PP
+This manual page was written by Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>,
+for the Debian project (but may be used by others).
--- mesa-demos-9.0.0.orig/debian/gbp.conf
+++ mesa-demos-9.0.0/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+# the default branch for upstream sources:
+upstream-branch = upstream-ubuntu
+# the default branch for the debian patch:
+debian-branch = ubuntu
+# use pristine-tar:
+pristine-tar = True
--- mesa-demos-9.0.0.orig/debian/glxdemo.1
+++ mesa-demos-9.0.0/debian/glxdemo.1
@@ -0,0 +1,15 @@
+.TH glxdemo 1 "2006-11-29"
+.SH NAME
+glxdemo \- a demonstration of the GLX functions
+.SH SYNOPSIS
+.B glxdemo
+.SH DESCRIPTION
+The \fIglxdemo\fP program shows how to use the GLX functions in order to
+create an OpenGL program running on top of an X server. This program is most
+useful when studied in its source code form.
+.SH AUTHOR
+glxdemo was written by Brian Paul <brian.paul@tungstengraphics.com>.
+.PP
+This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
+Debian project (but may be used by others).
+
--- mesa-demos-9.0.0.orig/debian/glxgears.1
+++ mesa-demos-9.0.0/debian/glxgears.1
@@ -0,0 +1,29 @@
+.TH glxgears 1 "2006-11-29"
+.SH NAME
+glxgears \- ``gears'' demo for GLX
+.SH SYNOPSIS
+.B glxgears
+.RI [ options ]
+.SH DESCRIPTION
+The \fIglxgears\fP program is a port of the ``gears'' demo to GLX. It displays
+a set of rotating gears and prints out the frame rate at regular intervals. It
+has become quite popular as basic benchmarking tool.
+.SH OPTIONS
+.TP 8
+.B \-display \fIdisplay\fP
+Specify which X display to run on.
+.TP 8
+.B \-info
+Display OpenGL renderer information.
+.TP 8
+.B \-stereo
+Use a stereo enabled GLX visual.
+.TP 8
+.B \-fullscreen
+Run in fullscreen mode.
+.SH AUTHOR
+glxgears was written by Brian Paul <brian.paul@tungstengraphics.com>.
+.PP
+This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
+Debian project (but may be used by others).
+
--- mesa-demos-9.0.0.orig/debian/glxheads.1
+++ mesa-demos-9.0.0/debian/glxheads.1
@@ -0,0 +1,30 @@
+.TH glxheads 1 "2006-11-29"
+.SH NAME
+glxheads \- exercise multiple GLX connections
+.SH SYNOPSIS
+.B glxheads
+[\fIdisplay\fP ...]
+.SH DESCRIPTION
+The \fIglxheads\fP program will try to open GLX connections on multiple X
+displays as specified on the command-line. If a connection can be made it will
+try to create a direct GLX context (and fallback to using indirect contexts if
+that fails) and open a window displaying a spinning green triangle.
+.PP
+If no display names are specified, \fIglxheads\fP will default to opening a
+single local connection on display 0.
+.SH EXAMPLE
+To open a local connection on display 0 and two remote connections to the
+hosts \fImars\fP (display 0) and \fIvenus\fP (display 1), run glxheads with
+the following command-line:
+.PP
+.RS 3n
+.nf
+$ glxheads :0 mars:0 venus:1
+.fi
+.RE
+.SH AUTHOR
+glxheads was written by Brian Paul <brian.paul@tungstengraphics.com>.
+.PP
+This manual page was written by Thierry Reding <thierry@gilfi.de> for the
+Debian project (but may be used by others).
+
--- mesa-demos-9.0.0.orig/debian/glxinfo.1
+++ mesa-demos-9.0.0/debian/glxinfo.1
@@ -0,0 +1,41 @@
+.TH glxinfo 1 "2006-11-29"
+.SH NAME
+glxinfo \- show information about the GLX implementation
+.SH SYNOPSIS
+.B glxinfo
+.RI [ options ]
+.SH DESCRIPTION
+The \fIglxinfo\fP program shows information about the OpenGL and GLX
+implementations running on a given X display.
+.PP
+The information includes details about the server- and client-side GLX
+implementation, the OpenGL and GLU implementations as well as a list
+of available GLX visuals.
+.SH OPTIONS
+.TP 8
+.B \-v
+Print visuals info in verbose form.
+.TP 8
+.B \-t
+Print verbose table.
+.TP 8
+.B \-display \fIdisplay\fP
+Specify the X display to interrogate.
+.TP 8
+.B \-h
+Print usage information.
+.TP 8
+.B \-i
+Force an indirect rendering context.
+.TP 8
+.B \-b
+Find the "best" visual and print its number.
+.TP 8
+.B \-l
+Print interesting OpenGL limits.
+.SH AUTHOR
+glxinfo was written by Brian Paul <brian.paul@tungstengraphics.com>.
+.PP
+This manual page was written by Thierry Reding <thierry@gilfi.de>, for the
+Debian project (but may be used by others).
+
--- mesa-demos-9.0.0.orig/debian/mesa-utils-bin.install
+++ mesa-demos-9.0.0/debian/mesa-utils-bin.install
@@ -0,0 +1,16 @@
+usr/bin/eglinfo.${DEB_HOST_MULTIARCH}
+usr/bin/eglgears_wayland.${DEB_HOST_MULTIARCH}
+usr/bin/eglgears_x11.${DEB_HOST_MULTIARCH}
+usr/bin/egltri_wayland.${DEB_HOST_MULTIARCH}
+usr/bin/egltri_x11.${DEB_HOST_MULTIARCH}
+usr/bin/es2_info.${DEB_HOST_MULTIARCH}
+usr/bin/es2gears_x11.${DEB_HOST_MULTIARCH}
+usr/bin/es2tri.${DEB_HOST_MULTIARCH}
+usr/bin/glxdemo.${DEB_HOST_MULTIARCH}
+usr/bin/glxgears.${DEB_HOST_MULTIARCH}
+usr/bin/glxheads.${DEB_HOST_MULTIARCH}
+usr/bin/glxinfo.${DEB_HOST_MULTIARCH}
+usr/bin/peglgears.${DEB_HOST_MULTIARCH}
+usr/bin/vkgears.${DEB_HOST_MULTIARCH}
+usr/bin/xeglgears.${DEB_HOST_MULTIARCH}
+usr/bin/xeglthreads.${DEB_HOST_MULTIARCH}
--- mesa-demos-9.0.0.orig/debian/mesa-utils.install
+++ mesa-demos-9.0.0/debian/mesa-utils.install
@@ -0,0 +1,17 @@
+usr/bin/eglinfo
+usr/bin/eglgears_wayland
+usr/bin/eglgears_x11
+usr/bin/egltri_wayland
+usr/bin/egltri_x11
+usr/bin/es2_info
+usr/bin/es2gears_x11
+usr/bin/es2tri
+usr/bin/glxdemo
+usr/bin/glxgears
+usr/bin/glxheads
+usr/bin/glxinfo
+usr/bin/peglgears
+usr/bin/vkgears
+usr/bin/xeglgears
+usr/bin/xeglthreads
+usr/share/mesa-demos
--- mesa-demos-9.0.0.orig/debian/mesa-utils.manpages
+++ mesa-demos-9.0.0/debian/mesa-utils.manpages
@@ -0,0 +1,7 @@
+debian/es2_info.1
+debian/es2gears.1
+debian/es2tri.1
+debian/glxdemo.1
+debian/glxgears.1
+debian/glxheads.1
+debian/glxinfo.1
--- mesa-demos-9.0.0.orig/debian/patches/series
+++ mesa-demos-9.0.0/debian/patches/series
@@ -0,0 +1 @@
+#placeholder
--- mesa-demos-9.0.0.orig/debian/rules
+++ mesa-demos-9.0.0/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
+NOT_INSTALLED = glsync \
+	glthreads \
+	glxcontexts \
+	glxgears_fbconfig \
+	glxgears_pixmap \
+	glxpbdemo \
+	glxpixmap \
+	glxsnoop \
+	glxswapcontrol \
+	manywin \
+	multictx \
+	offset \
+	overlay \
+	pbdemo \
+	pbinfo \
+	shape \
+	sharedtex \
+	sharedtex_mt \
+	texture_from_pixmap \
+	wincopy \
+	xfont \
+	xrotfontdemo
+
+%:
+	dh $@ --with=quilt \
+		--builddirectory=build/ \
+		--buildsystem=meson
+
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/tmp
+	for app in $(NOT_INSTALLED); do \
+		rm -f debian/tmp/usr/bin/$$app; \
+	done
+
+override_dh_install:
+	for app in `ls debian/tmp/usr/bin`; do \
+		mv -f debian/tmp/usr/bin/$$app debian/tmp/usr/bin/$$app.${DEB_HOST_MULTIARCH}; \
+		ln -s /usr/bin/$$app.${DEB_HOST_MULTIARCH} debian/tmp/usr/bin/$$app; \
+		done
+
+	dh_install
+
+  ifeq ($(DEB_HOST_ARCH_OS), linux)
+	mv debian/tmp/usr/bin/es2gears_wayland \
+		debian/mesa-utils/usr/bin
+	mv debian/tmp/usr/bin/es2gears_wayland.* \
+		debian/mesa-utils-bin/usr/bin
+  endif
--- mesa-demos-9.0.0.orig/debian/source/format
+++ mesa-demos-9.0.0/debian/source/format
@@ -0,0 +1 @@
+1.0
--- mesa-demos-9.0.0.orig/debian/upstream/signing-key.asc
+++ mesa-demos-9.0.0/debian/upstream/signing-key.asc
@@ -0,0 +1,399 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1
+

+2ZG7agRCxqs=
+=41qq
+-----END PGP PUBLIC KEY BLOCK-----
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+

+=sZF/
+-----END PGP PUBLIC KEY BLOCK-----
--- mesa-demos-9.0.0.orig/debian/watch
+++ mesa-demos-9.0.0/debian/watch
@@ -0,0 +1,4 @@
+#https://gitlab.freedesktop.org/mesa/demos.git
+version=3
+opts="uversionmangle=s/-rc/~rc/,pgpsigurlmangle=s/$/.sig/" \
+https://archive.mesa3d.org/demos/ mesa-demos-(.*)\.tar\.xz
