--- extremetuxracer-0.5beta.orig/debian/copyright
+++ extremetuxracer-0.5beta/debian/copyright
@@ -0,0 +1,69 @@
+This package was debianized by Alexander Schmehl <alexander@schmehl.info> on
+Thu, 14 Feb 2008 14:51:59 +0100.
+
+It was downloaded from http://www.extremetuxracer.com/?download
+
+
+Upstream Authors:
+
+    The Extreme Tux Racer Team:
+
+    Andreas Tarandi <torandi@gmail.com>
+    Steven Bell  <botsnlinux@gmail.com>
+    Hamish Morrison <hamishm@blueyonder.co.uk>
+
+
+    The PlanetPenguin Racer Team:
+
+    Volker StrÃ¶bel <volker@planetpenguin.de>
+
+
+    The TuxRacer Team:
+
+    Patrick Gilhuly <pogilhul@sunspirestudios.com>
+    Eric Hall <ehall@sunspirestudios.com>
+    Rick Knowles <rdknowle@sunspirestudios.com>
+    Vincent Ma <vma@sunspirestudios.com>
+    Jasmin Patry <jfpatry@sunspirestudios.com>
+    Mark Riddell <mrriddel@sunspirestudios.com>
+
+Copyright:
+    Copyright (C) 2007-2009 The Extreme Tux Racer Team
+    Copyright (C) 2004-2005 The PlanetPenguin Racer Team
+    Copyright (C) 1999-2002 The TuxRacer Team
+
+    src/quadtree.cpp:
+    Copyright (C) 1999-2000 Thatcher Ulrich <tu@tulrich.com>
+
+All other files are Copyright by their specific owners (see AUTHORS or the
+specific file) and published under the Terms of the GNU General Public Licence,
+Version 2 or (at your option) any later version.
+
+License: 
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This package 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 General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this package; 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/GPL-2'.
+
+src/quadtree.cpp license, by Thatcher Ulrich:
+
+    This code may be freely modified and redistributed.  I make no
+    warrantees about it; use at your own risk.  If you do incorporate
+    this code into a project, I'd appreciate a mention in the credits.
+
+The Debian packaging is Copyright 2005-2009 by Alexander Schmehl
+<tolimar@debian.org> and published under the Terms of the GNU General
+Public Licence Version 2 or (at your option) any later version, see above.
--- extremetuxracer-0.5beta.orig/debian/control
+++ extremetuxracer-0.5beta/debian/control
@@ -0,0 +1,76 @@
+Source: extremetuxracer
+Section: games
+Priority: optional
+Homepage: http://www.extremetuxracer.com/
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Uploaders: Alexander Reichle-Schmehl <tolimar@debian.org>
+Build-Depends: debhelper (>= 5.0.51~), tcl8.5-dev, libxmu-dev, libpng12-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libfreetype6-dev, docbook-to-man, sharutils, libgl1-mesa-dev, libxi-dev, quilt, pkg-config, autotools-dev
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/extremetuxracer/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/extremetuxracer/?op=log
+
+Package: extremetuxracer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, extremetuxracer-data (>= ${source:Version})
+#Recommends: planetpenguin-racer-extras
+Replaces: planetpenguin-racer
+Description: 3D racing game featuring Tux, the Linux penguin
+ Extreme Tux Racer, or etracer as it is called for short, is a simple OpenGL
+ racing game featuring Tux, the Linux mascot. The goal of the game is to slide
+ down a snow- and ice-covered mountain as quickly as possible, avoiding the
+ trees and rocks that will slow you down.
+ .
+ Collect herrings and other goodies while sliding down the hill, but avoid fish
+ bones.
+ .
+ This game is based on the GPL version of the famous game TuxRacer.
+ .
+ You must have working 3D acceleration or this game will run quite slowly.
+Tag: game::arcade, interface::3d, uitoolkit::sdl, use::gameplaying, x11::application
+
+Package: extremetuxracer-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: extremetuxracer (>= ${source:Version})
+Description: 3D racing game featuring Tux, the Linux penguin (debugging symbols)
+ Extreme Tux Racer, or etracer as it is called for short, is a simple OpenGL
+ racing game featuring Tux, the Linux mascot. The goal of the game is to slide
+ down a snow- and ice-covered mountain as quickly as possible, avoiding the
+ trees and rocks that will slow you down.
+ .
+ Collect herrings and other goodies while sliding down the hill, but avoid fish
+ bones.
+ .
+ This game is based on the GPL version of the famous game TuxRacer.
+ .
+ You must have working 3D acceleration or this game will run quite slowly.
+ .
+ This package contains the debugging symbols for extremetuxracer.
+Tag: game::arcade, interface::3d, uitoolkit::sdl, use::gameplaying, x11::application
+
+Package: extremetuxracer-data
+Architecture: all
+Recommends: extremetuxracer
+Replaces: planetpenguin-racer-data, planetpenguin-racer-extra
+Description: data files for the game Extreme Tux Racer
+ Extreme Tux Racer, or etracer as it is called for short, is a simple OpenGL
+ racing game featuring Tux, the Linux mascot. The goal of the game is to slide
+ down a snow- and ice-covered mountain as quickly as possible, avoiding the
+ trees and rocks that will slow you down.
+ .
+ This game is based on the GPL version of famous game TuxRacer.
+ .
+ This package contains data like graphics and courses.  If you want to play the
+ game, you need to install the package extremetuxracer.
+Tag: game::arcade, interface::3d, role::content:data, special::auto-inst-parts, use::gameplaying, x11::application
+
+Package: planetpenguin-racer
+Architecture: all
+Depends: extremetuxracer (>= ${source:Version})
+Replaces: planetpenguin-racer-dbg (<= 0.3.1-11)
+Conflicts: planetpenguin-racer-dbg (<= 0.3.1-11)
+Description: Dummy transition package for extremetuxracer
+ This is a dummy package to ease the transition to extremetuxracer, the fork of
+ planetpenguin-racer.
+
--- extremetuxracer-0.5beta.orig/debian/extremetuxracer.6.de.sgml
+++ extremetuxracer-0.5beta/debian/extremetuxracer.6.de.sgml
@@ -0,0 +1,131 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>ALEXANDER</firstname>">
+  <!ENTITY dhsurname   "<surname>SCHMEHL</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>Februar  6, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>6</manvolnum>">
+  <!ENTITY dhemail     "<email>tolimar@debian.org</email>">
+  <!ENTITY dhusername  "Alexander Schmehl">
+  <!ENTITY dhucpackage "<refentrytitle>ETRACER</refentrytitle>">
+  <!ENTITY dhpackage   "etracer">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+
+  <!ENTITY url         "http://www.extremetuxracer.com/">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005-2008</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>3D Rennspiel mit Tux, dem Linux Pinguin</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>BESCHREIBUNG</title>
+
+    <para>Diese manpage dokumentiert kurz das <command>&dhpackage;</command>.</para>
+
+    <para>Diese manpage wurde für die &debian;-Distribution geschrieben, weil
+    das orginal Programm keine manpage hatte.</para>
+
+    <para><command>&dhpackage;</command>
+    Extreme Tux Racer ist ein einfaches OpenGL Rennspiel mit Tux, dem Linux
+    Maskottchen.  Ziel ist es einen schnee- und eisbedeckten Berg so schnell
+    wie möglich hinunterzu rutschen und dabei möglichst viele Fische
+    auszusammeln.  Vermeiden sie Bäume und felsigen Untergrund, der sie
+    abbremsen wird.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONEN</title>
+
+    <para>Für dieses Kommando existieren keine Kommdozeilen-Parameter.
+    </para>
+  </refsect1>
+  <!--refsect1>
+    <title>SEE ALSO</title>
+
+    <para>The programs are documented fully by <citetitle>READMA</citetitle> available via the
+      <file>/usr/share/doc/extremetuxracer/README</para>
+  </refsect1-->
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>Diese manpage wurde von &dhusername; &dhemail; für das &debian;
+    System geschrieben (und darf von anderen benutzt werden).  Es ist ihnen
+    erlaubt, sie zu kopieren, weiterzugeben und/oder Modifikationen dieses
+    Dokumentes unter den Bedingungen der &gnu; General Public License, Version
+    2 oder jede spätere, veröffentlich durch die Free Software Foundation, vorzunehmen.
+    </para>
+	<para>
+	  Auf Debian-Systemen finden sie den kompletten text der &gnu; General Public License unter /usr/share/common-licenses/GPL-2
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
--- extremetuxracer-0.5beta.orig/debian/extremetuxracer.desktop
+++ extremetuxracer-0.5beta/debian/extremetuxracer.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Extreme Tux Racer
+GenericName=Arcade Game
+GenericName[de]=Arkade-Spiel
+GenericName[ro_RO]=Joc de arcadÄƒ
+Comment=Race a penguin down a mountain
+Comment[de]=Rutsche mit einem Pinguin einen HÃ¼gel hinab
+Comment[ro_RO]=Curse cu un pinguin pe munte, la vale
+Icon=etracer
+
+Exec=etracer
+Terminal=false
+StartupNotify=false
+
+Categories=Game;ArcadeGame;
--- extremetuxracer-0.5beta.orig/debian/changelog
+++ extremetuxracer-0.5beta/debian/changelog
@@ -0,0 +1,66 @@
+extremetuxracer (0.5beta-2) experimental; urgency=low
+
+  [ Paul Wise ]
+  * Capitalize "racer" in the Debian menu (Closes: #528996)
+  * Correct the path to the README in the manual page (Closes: #529182)
+
+  [ Alexander Reichle-Schmehl ]
+  * Add kfreebsd_glutesselator.diff to fix FTBFS on kfreebsd-* (Closes:
+    #565805)
+    Thanks to Felix Geyer for providing the patch
+
+ -- Alexander Reichle-Schmehl <tolimar@debian.org>  Tue, 20 Jul 2010 14:11:12 +0200
+
+extremetuxracer (0.5beta-1) experimental; urgency=low
+
+  [ GonÃ©ri Le Bouder ]
+  * New upstream (beta) release
+   - drop 10_norwegian_translation.diff, upstream switched to gettext
+   - drop 40_fix_keyboard_config.diff, doesn't appy anymore, is that still
+     needed?
+   - refresh fix_segfault_in_race_select_menu.diff
+  * Refresh debian/copyright
+  * Add planetpenguin-racer, a dummy package to help
+    the extremetuxracer transition
+  * Clean etracer.6 etracer.de.6
+
+  [ Paul Wise ]
+  * Make extremetuxracer.desktop file valid according to desktop-file-validate
+
+ -- GonÃ©ri Le Bouder <goneri@rulezlan.org>  Sat, 11 Apr 2009 23:53:00 +0200
+
+extremetuxracer (0.4-2) unstable; urgency=low
+
+  [ Alexander Schmehl ]
+  * Improve package description as proposed by Christian Perrier
+  * Fix copy paste errors in package descriptions refering to ppracer packages,
+    thanks, Guillaume Martres (Closes: #500246)
+
+  [ Eddy PetriÈ™or ]
+  * add missing Vcs-Svn headers
+
+  [ Alexander Reichle-Schmehl ]
+  * Adopt debian/control to my new name
+
+  [ GonÃ©ri Le Bouder ]
+  * Add myself in uploaders:
+  * Bump the versionned dep on debhelper, Guillaume Martres (Closes: #500255) 
+  * Do not apply fix_cups_cheat.diff, fix upstream, thanks Guillaume Martres
+    (Closes: #500280)
+  * Use the .xpm file for the icon since the .svg has some side effect,
+    Mark Purcell (Closes: #488510)
+  * Drop the dependency on the obsolete libglu1-xorg-dev
+  * extremetuxracer replaces planetpenguin-racer and extremetuxracer-data
+    replaces planetpenguin-racer-data and planetpenguin-racer-extras, thanks
+    Sven Joachim (Closes: #517887)
+  * Bump de standard version to 3.8.1 
+  * Apply Guillaume Martres patch against debian/copyright, again, thanks!
+    (Closes: #500135)
+
+ -- GonÃ©ri Le Bouder <goneri@rulezlan.org>  Sun, 15 Mar 2009 14:04:33 +0100
+
+extremetuxracer (0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #465660, #461911, #435288)
+
+ -- Alexander Schmehl <tolimar@debian.org>  Wed, 13 Feb 2008 18:47:03 +0100
--- extremetuxracer-0.5beta.orig/debian/extremetuxracer.menu
+++ extremetuxracer-0.5beta/debian/extremetuxracer.menu
@@ -0,0 +1,7 @@
+?package(extremetuxracer): \
+	needs="X11" \
+	section="Games/Action" \
+	title="etracer" \
+	longtitle="Extreme Tux Racer" \
+	command="/usr/games/etracer" \
+	icon="/usr/share/pixmaps/etracer.xpm"
--- extremetuxracer-0.5beta.orig/debian/etracer.xpm
+++ extremetuxracer-0.5beta/debian/etracer.xpm
@@ -0,0 +1,481 @@
+/* XPM */
+static char * etracericon_xpm[] = {
+"32 32 446 2",
+"  	c None",
+". 	c #D76F2B",
+"+ 	c #C8692A",
+"@ 	c #BA6026",
+"# 	c #B15A23",
+"$ 	c #AC561F",
+"% 	c #AA541C",
+"& 	c #AB5118",
+"* 	c #B35216",
+"= 	c #BF5512",
+"- 	c #CC5710",
+"; 	c #CA6A2B",
+"> 	c #BA662D",
+", 	c #BE672D",
+"' 	c #D06D2C",
+") 	c #DE7028",
+"! 	c #E47125",
+"~ 	c #E86F21",
+"{ 	c #E66C1E",
+"] 	c #E0681A",
+"^ 	c #D36017",
+"/ 	c #BE5513",
+"( 	c #A84B10",
+"_ 	c #AC4B0C",
+": 	c #C1510A",
+"< 	c #CD6824",
+"[ 	c #BB652D",
+"} 	c #C66B2D",
+"| 	c #EA792D",
+"1 	c #FD802D",
+"2 	c #FF812D",
+"3 	c #FD7E2A",
+"4 	c #FB7A27",
+"5 	c #F97723",
+"6 	c #F77420",
+"7 	c #F7721C",
+"8 	c #F67019",
+"9 	c #F66E15",
+"0 	c #F16A12",
+"a 	c #D55C0E",
+"b 	c #AE4B0B",
+"c 	c #AE4A08",
+"d 	c #CA5205",
+"e 	c #BC4B00",
+"f 	c #B44E0A",
+"g 	c #E6762B",
+"h 	c #FE812D",
+"i 	c #FF802C",
+"j 	c #FC7D29",
+"k 	c #FA7925",
+"l 	c #F87622",
+"m 	c #F7731E",
+"n 	c #F6711B",
+"o 	c #F66F17",
+"p 	c #F66D14",
+"q 	c #F66B11",
+"r 	c #F3670D",
+"s 	c #CF570A",
+"t 	c #A94506",
+"u 	c #C25004",
+"v 	c #B64800",
+"w 	c #B94A00",
+"x 	c #F46100",
+"y 	c #FF6E0E",
+"z 	c #FD7F2B",
+"A 	c #FB7B27",
+"B 	c #F97824",
+"C 	c #F87520",
+"D 	c #F6721D",
+"E 	c #F6701A",
+"F 	c #F66D16",
+"G 	c #F66C12",
+"H 	c #F76A0F",
+"I 	c #F8690C",
+"J 	c #E35F08",
+"K 	c #AD4805",
+"L 	c #BE4E01",
+"M 	c #BD4C00",
+"N 	c #FB6400",
+"O 	c #FF6600",
+"P 	c #FF7315",
+"Q 	c #FD7E29",
+"R 	c #FA7A26",
+"S 	c #F97622",
+"T 	c #F7741F",
+"U 	c #F66E18",
+"V 	c #F66D15",
+"W 	c #F7690E",
+"X 	c #F9680A",
+"Y 	c #EC6207",
+"Z 	c #B04703",
+"` 	c #C85000",
+" .	c #C75000",
+"..	c #B34800",
+"+.	c #F86400",
+"@.	c #FF7A21",
+"#.	c #FE7F2B",
+"$.	c #FC7C28",
+"%.	c #F97924",
+"&.	c #F87621",
+"*.	c #F6711A",
+"=.	c #F66E17",
+"-.	c #F66C13",
+";.	c #F66B10",
+">.	c #F96709",
+",.	c #E65F05",
+"'.	c #AB4502",
+").	c #D25400",
+"!.	c #AC4500",
+"~.	c #EF5F00",
+"{.	c #FF6804",
+"].	c #FF7F29",
+"^.	c #F7751F",
+"/.	c #F6721C",
+"(.	c #F66F19",
+"_.	c #F8690B",
+":.	c #FA6707",
+"<.	c #D75804",
+"[.	c #B54800",
+"}.	c #C14D00",
+"|.	c #CB5200",
+"1.	c #FF6701",
+"2.	c #FF6D0C",
+"3.	c #FE802C",
+"4.	c #F66C14",
+"5.	c #F76B10",
+"6.	c #F7690D",
+"7.	c #B64902",
+"8.	c #CE5200",
+"9.	c #AB4400",
+"0.	c #F56504",
+"a.	c #FF771C",
+"b.	c #BE5B21",
+"c.	c #9B512A",
+"d.	c #FA6C0E",
+"e.	c #DD5C07",
+"f.	c #B14801",
+"g.	c #CA5100",
+"h.	c #BD4D01",
+"i.	c #FF6E0D",
+"j.	c #FF6702",
+"k.	c #DC5E0D",
+"l.	c #8F4B29",
+"m.	c #5C403C",
+"n.	c #433A45",
+"o.	c #3C3948",
+"p.	c #433F4D",
+"q.	c #5C484A",
+"r.	c #8B5841",
+"s.	c #C26C37",
+"t.	c #FC802D",
+"u.	c #DA671F",
+"v.	c #614641",
+"w.	c #142F56",
+"x.	c #F96B0F",
+"y.	c #F66B12",
+"z.	c #AB4603",
+"A.	c #D55700",
+"B.	c #B84900",
+"C.	c #D85905",
+"D.	c #FF6F0F",
+"E.	c #F06305",
+"F.	c #674238",
+"G.	c #163055",
+"H.	c #343D55",
+"I.	c #575E73",
+"J.	c #687C99",
+"K.	c #6A86A8",
+"L.	c #667D9C",
+"M.	c #546480",
+"N.	c #394762",
+"O.	c #183156",
+"P.	c #293753",
+"Q.	c #7C5243",
+"R.	c #DF722E",
+"S.	c #D96C28",
+"T.	c #6C4941",
+"U.	c #193156",
+"V.	c #2A4469",
+"W.	c #515A72",
+"X.	c #2A344F",
+"Y.	c #F86A0E",
+"Z.	c #F9721A",
+"`.	c #BF5006",
+" +	c #C55002",
+".+	c #AA4400",
+"++	c #EE680F",
+"@+	c #D75D0F",
+"#+	c #32364B",
+"$+	c #323A53",
+"%+	c #6D85A7",
+"&+	c #91B1D5",
+"*+	c #A1BDDB",
+"=+	c #A2BDDC",
+"-+	c #9CB9D9",
+";+	c #87A9CD",
+">+	c #5D789C",
+",+	c #2F415E",
+"'+	c #183056",
+")+	c #203354",
+"!+	c #173057",
+"~+	c #2A4368",
+"{+	c #6587AE",
+"]+	c #99B6D7",
+"^+	c #655E6B",
+"/+	c #534043",
+"(+	c #F8731D",
+"_+	c #D45D0E",
+":+	c #B54A04",
+"<+	c #FB731A",
+"[+	c #E56009",
+"}+	c #2E354D",
+"|+	c #4B4A59",
+"1+	c #7EA1C8",
+"2+	c #94B3D4",
+"3+	c #94B2D3",
+"4+	c #93B2D3",
+"5+	c #92B1D3",
+"6+	c #91B0D3",
+"7+	c #91B0D2",
+"8+	c #89A9CE",
+"9+	c #6384AA",
+"0+	c #395378",
+"a+	c #5E81AA",
+"b+	c #88AACF",
+"c+	c #8EAED1",
+"d+	c #8CACD0",
+"e+	c #474455",
+"f+	c #7C4B38",
+"g+	c #E06516",
+"h+	c #AA4506",
+"i+	c #CE5100",
+"j+	c #AB4500",
+"k+	c #FF7C24",
+"l+	c #FE6D0C",
+"m+	c #4F3D40",
+"n+	c #454251",
+"o+	c #769CC3",
+"p+	c #7FA3C8",
+"q+	c #7FA2C8",
+"r+	c #7EA2C7",
+"s+	c #7DA1C7",
+"t+	c #7CA1C7",
+"u+	c #7CA0C6",
+"v+	c #7BA0C6",
+"w+	c #7A9FC6",
+"x+	c #799EC5",
+"y+	c #789EC5",
+"z+	c #749BC3",
+"A+	c #353C52",
+"B+	c #8A4F35",
+"C+	c #F77623",
+"D+	c #E56C1F",
+"E+	c #A84708",
+"F+	c #CC5100",
+"G+	c #AD4500",
+"H+	c #FF7F2A",
+"I+	c #BE5C21",
+"J+	c #66748C",
+"K+	c #678FB9",
+"L+	c #668FB9",
+"M+	c #668EB8",
+"N+	c #658EB8",
+"O+	c #504B59",
+"P+	c #574243",
+"Q+	c #F67826",
+"R+	c #E46F25",
+"S+	c #A7470A",
+"T+	c #F86E15",
+"U+	c #3F3946",
+"V+	c #46404C",
+"W+	c #6487AD",
+"X+	c #628AB3",
+"Y+	c #626D83",
+"Z+	c #183055",
+"`+	c #E3681B",
+" @	c #F67E30",
+".@	c #E06E25",
+"+@	c #A8490C",
+"@@	c #F17625",
+"#@	c #FF761B",
+"$@	c #DF5E0C",
+"%@	c #443F4D",
+"&@	c #607EA0",
+"*@	c #6086AE",
+"=@	c #5A7FA7",
+"-@	c #44526E",
+";@	c #273B5C",
+">@	c #354D70",
+",@	c #476991",
+"'@	c #5D82AA",
+")@	c #5F85AD",
+"!@	c #273652",
+"~@	c #9E5630",
+"{@	c #F6833A",
+"]@	c #D56722",
+"^@	c #B04D0E",
+"/@	c #B24800",
+"(@	c #DE6515",
+"_@	c #E05E0B",
+":@	c #3D3947",
+"<@	c #293450",
+"[@	c #5C5E6E",
+"}@	c #5B80A8",
+"|@	c #5D82A9",
+"1@	c #53779D",
+"2@	c #465570",
+"3@	c #203456",
+"4@	c #353A50",
+"5@	c #995D3E",
+"6@	c #644B48",
+"7@	c #1F3355",
+"8@	c #193157",
+"9@	c #354765",
+"0@	c #1F3354",
+"a@	c #724A3E",
+"b@	c #F68D4B",
+"c@	c #C45C19",
+"d@	c #BC5410",
+"e@	c #C54E00",
+"f@	c #C45206",
+"g@	c #FF8C40",
+"h@	c #FF6905",
+"i@	c #F76403",
+"j@	c #85492D",
+"k@	c #1E3152",
+"l@	c #273551",
+"m@	c #4D4A58",
+"n@	c #575B6D",
+"o@	c #57667E",
+"p@	c #55647D",
+"q@	c #4F5A70",
+"r@	c #494D60",
+"s@	c #2E3A54",
+"t@	c #3D3E4F",
+"u@	c #A0603E",
+"v@	c #F97F2E",
+"w@	c #F77C2B",
+"x@	c #B86535",
+"y@	c #764E40",
+"z@	c #4D4048",
+"A@	c #B86639",
+"B@	c #F49051",
+"C@	c #AE5015",
+"D@	c #CB5B11",
+"E@	c #D35500",
+"F@	c #AD4600",
+"G@	c #FB883A",
+"H@	c #FF771D",
+"I@	c #F16305",
+"J@	c #A25122",
+"K@	c #443A44",
+"L@	c #33374B",
+"M@	c #35364A",
+"N@	c #4D3D41",
+"O@	c #6B4436",
+"P@	c #974E26",
+"Q@	c #DA5D0D",
+"R@	c #F78C47",
+"S@	c #E27B39",
+"T@	c #AB5117",
+"U@	c #D65F0F",
+"V@	c #FF8F45",
+"W@	c #FF7C25",
+"X@	c #F98032",
+"Y@	c #F89C61",
+"Z@	c #C05E20",
+"`@	c #C45A19",
+" #	c #D55600",
+".#	c #AF4600",
+"+#	c #F7873C",
+"@#	c #FF8533",
+"##	c #FF7D27",
+"$#	c #FA9D60",
+"%#	c #E47F3F",
+"&#	c #B1571F",
+"*#	c #BF4D00",
+"=#	c #C05004",
+"-#	c #FD9753",
+";#	c #FF7E28",
+">#	c #FF822E",
+",#	c #FE9E5E",
+"'#	c #F49A60",
+")#	c #B75F25",
+"!#	c #CC631D",
+"~#	c #B34700",
+"{#	c #CD590D",
+"]#	c #FF9E5D",
+"^#	c #FF8331",
+"/#	c #FFA163",
+"(#	c #FCA972",
+"_#	c #C3682C",
+":#	c #C36426",
+"<#	c #C9580D",
+"[#	c #FD9E5E",
+"}#	c #FF8E43",
+"|#	c #FF6C0A",
+"1#	c #FF7113",
+"2#	c #FF9E5E",
+"3#	c #F7A36B",
+"4#	c #C76C30",
+"5#	c #C26729",
+"6#	c #B24700",
+"7#	c #BD4F05",
+"8#	c #F39251",
+"9#	c #FFA365",
+"0#	c #FF8635",
+"a#	c #FF6B08",
+"b#	c #FF7010",
+"c#	c #FF8F44",
+"d#	c #FFA569",
+"e#	c #E9813C",
+"f#	c #B34903",
+"g#	c #C05B17",
+"h#	c #B94900",
+"i#	c #AC4400",
+"j#	c #CF6016",
+"k#	c #F89C60",
+"l#	c #FFA86E",
+"m#	c #FF9854",
+"n#	c #FF8838",
+"o#	c #FF7B23",
+"p#	c #FF822F",
+"q#	c #FF8B3D",
+"r#	c #FFA96F",
+"s#	c #F18E4E",
+"t#	c #C3540A",
+"u#	c #C24D00",
+"v#	c #B44700",
+"w#	c #C35309",
+"x#	c #DD7129",
+"y#	c #F19050",
+"z#	c #FDA468",
+"A#	c #FFAB73",
+"B#	c #FFAA72",
+"C#	c #FB9F63",
+"D#	c #EE8A48",
+"E#	c #D76920",
+"F#	c #BC4F05",
+"G#	c #BB4B00",
+"H#	c #D05300",
+"I#	c #C54F00",
+"J#	c #B14800",
+"K#	c #B74900",
+"L#	c #CC5300",
+"M#	c #CC5400",
+"                                                                ",
+"                      . + @ # $ % & * = -                       ",
+"                  ; > , ' ) ! ~ { ] ^ / ( _ :                   ",
+"              < [ } | 1 2 3 4 5 6 7 8 9 0 a b c d               ",
+"            e f g h 2 2 2 i j k l m n o p q r s t u             ",
+"          v w x y i 2 2 2 2 z A B C D E F G H I J K L           ",
+"        e M N O O P 2 2 2 2 2 Q R S T n U V q W X Y Z `         ",
+"       ...+.O O O O @.2 2 2 2 #.$.%.&.m *.=.-.;.I >.,.'.).      ",
+"      !.~.O O O O O {.].2 2 2 2 3 4 5 ^./.(.V G W _.:.<.[.      ",
+"    }.|.1.O O O O O O 2.2 2 2 2 3.$.k l m n =.4.5.6.>.:.7.8.    ",
+"    9.0.{.O O O O O O O a.2 2 2 2 z A B C D 8 F G b.c.d.e.f.    ",
+"  g.h.i.j.O O O k.l.m.n.o.p.q.r.s.t.j R l T n u.v.w.w.x.y.z.A.  ",
+"  B.C.D.O O E.F.G.H.I.J.K.L.M.N.O.P.Q.R.%.S.T.U.V.W.X.Y.Z.`. +  ",
+"  .+++i.O @+#+$+%+&+*+=+=+=+=+-+;+>+,+'+)+!+~+{+]+^+/+W (+_+:+  ",
+"  .+<+i.[+}+|+1+2+3+3+4+5+5+5+6+7+7+8+9+0+a+b+c+d+e+f+5.6 g+h+  ",
+"i+j+k+l+m+n+o+p+q+q+r+s+s+s+t+u+u+v+w+w+x+x+x+y+z+A+B+G C+D+E+  ",
+"F+G+H+I+w.J+K+K+K+L+L+M+L+M+M+M+N+N+N+N+N+N+N+N+N+O+P+p Q+R+S+  ",
+"  .+z T+U+V+W+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+X+Y+Z+`+ @.@+@  ",
+"  .+@@#@$@}+%@&@*@*@*@*@*@*@*@*@*@*@*@=@-@;@>@,@'@)@!@~@{@]@^@  ",
+"  /@(@i O _@:@<@[@}@|@|@|@|@|@|@|@1@2@3@4@5@6@7@8@9@0@a@b@c@d@  ",
+"  e@f@g@h@O i@j@k@l@m@n@o@p@q@r@s@w.t@u@v@2 2 w@x@y@z@A@B@C@D@  ",
+"  E@F@G@H@O O O I@J@F.K@L@M@N@O@P@Q@H@2 2 2 2 i j k l R@S@T@    ",
+"    w U@V@{.O O O O O O O O O O O O j.W@2 2 2 2 z A X@Y@Z@`@    ",
+"     #.#+#@#O O O O O O O O O O O O O h@##2 2 2 2 1 $#%#&#      ",
+"      *#=#-#;#O O O O O O O O O O O O O h@W@2 2 >#,#'#)#!#      ",
+"        ~#{#]#>#O O O O O O O O O O O O O 1.a.^#/#(#_#:#        ",
+"          G+<#[#}#|#O O O O O O O O O O O O 1#2#3#4#5#          ",
+"            6#7#8#9#0#a#O O O O O O O O b#c#d#e#f#g#            ",
+"              h#i#j#k#l#m#n#i @.o#p#q#]#r#s#t#.+u#              ",
+"                |.v#G+w#x#y#z#A#B#C#D#E#F#.+G#                  ",
+"                    H#I#J#.+.+!.9..+.+K#`                       ",
+"                              L#M#                              "};
--- extremetuxracer-0.5beta.orig/debian/rules
+++ extremetuxracer-0.5beta/debian/rules
@@ -0,0 +1,134 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	--with-data-dir=\$${prefix}/share/games/extremetuxracer --with-tcl=/usr/lib/tcl8.5 \
+	--with-tcl-inc=/usr/include/tcl8.5
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp:  config.status
+	# compile the binary
+	$(MAKE)
+	# create the manpages
+	/usr/bin/docbook-to-man debian/extremetuxracer.6.sgml > etracer.6
+	/usr/bin/docbook-to-man debian/extremetuxracer.6.de.sgml > etracer.de.6
+	touch build-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp:  config.status
+	touch build-indep-stamp
+
+
+clean:
+	dh_testdir
+	dh_testroot
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	[ ! -f Makefile ] || $(MAKE) distclean
+	# remove temporary directory used for the additional documentation in the -data package
+	rm -rf debian/docs-data/
+	# Remove files from previous builds.
+	rm -rf .pc
+	dh_clean etracer.6 etracer.de.6 config.sub config.guess \
+	  config.status build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+
+
+
+install: install-indep install-arch
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i
+	dh_installdirs -i
+	##
+	## extremetuxracer-gimp-dev
+	##
+	# the scripts and paletes for the gimp-dev package
+	#dh_install -pextremetuxracer-gimp-dev contrib/palettes/* /usr/share/gimp/2.0/palettes/
+	#dh_install -pextremetuxracer-gimp-dev contrib/script-fu/* /usr/share/gimp/2.0/scripts/
+	##
+	## extremetuxracer-data
+	##
+	# install the game data
+	dh_install -pextremetuxracer-data --exclude=Makefile --exclude=README --exclude=readme data/* /usr/share/games/extremetuxracer/
+	find debian/extremetuxracer-data/usr -type f -exec chmod 644 {} \;
+	# the herring run event contains some addiontal documentation, let's install them, too
+	# first in a temporary directory...
+	mkdir -p debian/docs-data/b-herring_run
+	for HAS_DOC in $(shell find data/courses/events/b-herring_run/ -iname readme | cut --delimiter=/ --fields=5) ; do \
+		cp -af data/courses/events/b-herring_run/$$HAS_DOC/[rR][eE][aA][dD][mM][eE] debian/docs-data/b-herring_run/README.$$HAS_DOC ; \
+	done
+	# and a bit documentation about the ingame music. Put that in the temporary doc-dir, too
+	cp -af data/music/readme debian/docs-data/README.music
+	# and now install it to the -data package
+	dh_installdocs -pextremetuxracer-data debian/docs-data/*
+
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s
+	dh_installdirs -s
+	## extremetuxracer
+	dh_install -s src/etracer /usr/games/
+	dh_install -s debian/extremetuxracer.desktop /usr/share/applications/
+	dh_install -s debian/etracer.xpm /usr/share/pixmaps/
+	dh_install -s etracericon.svg /usr/share/pixmaps/
+	dh_installman -s etracer.6 etracer.de.6
+	dh_installdocs -s AUTHORS
+
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installmenu
+	dh_icons
+	dh_strip --dbg-package=extremetuxracer-dbg
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
--- extremetuxracer-0.5beta.orig/debian/extremetuxracer.6.sgml
+++ extremetuxracer-0.5beta/debian/extremetuxracer.6.sgml
@@ -0,0 +1,185 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>ALEXANDER</firstname>">
+  <!ENTITY dhsurname   "<surname>SCHMEHL</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>Februar  6, 2005</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>6</manvolnum>">
+  <!ENTITY dhemail     "<email>tolimar@debian.org</email>">
+  <!ENTITY dhusername  "Alexander Schmehl">
+  <!ENTITY dhucpackage "<refentrytitle>ETRACER</refentrytitle>">
+  <!ENTITY dhpackage   "etracer">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+
+  <!ENTITY url         "http://www.extremetuxracer.com/">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2005</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>3D racing game featuring Tux, the Linux penguin</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> Extreme Tux Racer is a simple OpenGL
+    racing game featuring Tux, the Linux mascot. The goal of the game is to
+    slide down a snow- and ice-covered mountain as quickly as possible while
+    collecting fishes and avoiding the trees and rocks that will slow you
+    down.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para><command>&dhpackage;</command> accepts the following options on the
+    command-line:</para>
+    <variablelist>
+      <varlistentry>
+        <term><option>-c</option>
+        </term>
+        <listitem>
+          <para>Configuration file to be used.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-f</option>
+        </term>
+        <listitem>
+          <para>Select course to play.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-m</option>
+        </term>
+        <listitem>
+          <para>Max frames.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-a</option>
+        </term>
+        <listitem>
+          <para>Benchmark::setMode(Benchmark::AUTO)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-p</option>
+        </term>
+        <listitem>
+          <para>vector position</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-t</option>
+        </term>
+        <listitem>
+          <para>Time step</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-rc</option>
+        </term>
+        <listitem>
+          <para>race condition</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+
+  </refsect1>
+
+  <!--refsect1>
+    <title>SEE ALSO</title>
+
+    <para>The programs are documented fully by <citetitle>READMA</citetitle> available via the
+      <file>/usr/share/doc/extremetuxracer/README</para>
+  </refsect1-->
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the &gnu; General Public
+	  License can be found in /usr/share/common-licenses/GPL-2.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
--- extremetuxracer-0.5beta.orig/debian/watch
+++ extremetuxracer-0.5beta/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/extremetuxracer/extremetuxracer-(.+)\.tar\.gz
--- extremetuxracer-0.5beta.orig/debian/compat
+++ extremetuxracer-0.5beta/debian/compat
@@ -0,0 +1 @@
+5
--- extremetuxracer-0.5beta.orig/debian/patches/series
+++ extremetuxracer-0.5beta/debian/patches/series
@@ -0,0 +1,2 @@
+fix_segfault_in_race_select_menu.diff 
+kfreebsd_glutesselator.diff
--- extremetuxracer-0.5beta.orig/debian/patches/fix_segfault_in_race_select_menu.diff
+++ extremetuxracer-0.5beta/debian/patches/fix_segfault_in_race_select_menu.diff
@@ -0,0 +1,21 @@
+Index: b/src/event_race_select.cpp
+===================================================================
+--- a/src/event_race_select.cpp
++++ b/src/event_race_select.cpp
+@@ -479,13 +479,13 @@
+ 			UIMgr.setDirty();
+ 			return true;
+ 		case 'c': 
+-	    	mp_conditionsSSBtn->simulateMouseClick();
++	 //   	mp_conditionsSSBtn->simulateMouseClick();
+ 	    	return true;
+ 		case 'w': 
+-	    	mp_windSSBtn->simulateMouseClick();
++	  //  	mp_windSSBtn->simulateMouseClick();
+ 	    	return true;
+ 		case 'm':
+-	    	mp_mirrorSSBtn->simulateMouseClick();
++	  //  	mp_mirrorSSBtn->simulateMouseClick();
+ 	    	return true;
+ 		default:
+ 			return false;
--- extremetuxracer-0.5beta.orig/debian/patches/10_norwegian_translation.diff
+++ extremetuxracer-0.5beta/debian/patches/10_norwegian_translation.diff
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_norwegian_translation.dpatch by  <alexander@schmehl.info>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: corrects bad translations in the norwegian language file, reported by Petter Reinholdtsen <pere@hungry.com>
+
+@DPATCH@
+diff -urNad ppracer-0.3.1~/data/translations/nb_NO.tcl ppracer-0.3.1/data/translations/nb_NO.tcl
+--- ppracer-0.3.1~/data/translations/nb_NO.tcl	2005-02-28 09:17:47.000000000 +0100
++++ ppracer-0.3.1/data/translations/nb_NO.tcl	2005-11-05 20:06:29.000000000 +0100
+@@ -9,8 +9,8 @@
+ #game_type_select
+ pp_translate_string "Enter an event" "KjÃ¸r et renn"
+ pp_translate_string "Practice" "Ã˜velsesrenn"
+-pp_translate_string "Configuration" "Konfigurasjon"
+-pp_translate_string "Credits" "Kreditering"
++pp_translate_string "Configuration" "Oppsett"
++pp_translate_string "Credits" "Bidragsytere"
+ pp_translate_string "Quit" "Avslutt"
+ 
+ #configuration 
--- extremetuxracer-0.5beta.orig/debian/patches/30_G++4.1-fix.diff
+++ extremetuxracer-0.5beta/debian/patches/30_G++4.1-fix.diff
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## G++4.1-fix.dpatch by  Martin Michlmayr <tbm@cyrius.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: This fixes a FTBFS with g++ 4.1
+
+@DPATCH@
+diff -urNad ppracer-0.3.1~/src/ppgltk/FT/FTTextureGlyph.h ppracer-0.3.1/src/ppgltk/FT/FTTextureGlyph.h
+--- ppracer-0.3.1~/src/ppgltk/FT/FTTextureGlyph.h	2005-02-18 11:16:04.000000000 +0100
++++ ppracer-0.3.1/src/ppgltk/FT/FTTextureGlyph.h	2006-03-30 02:11:04.000000000 +0200
+@@ -52,7 +52,7 @@
+          * Reset the currently active texture to zero to get into a known state before
+          * drawing a string. This is to get round possible threading issues.
+          */
+-        static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
++        static void ResetActiveTexture(){ activeTextureID = 0;}
+         
+     private:
+         /**
--- extremetuxracer-0.5beta.orig/debian/patches/40_fix_keyboard_config.diff
+++ extremetuxracer-0.5beta/debian/patches/40_fix_keyboard_config.diff
@@ -0,0 +1,167 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_fix_keyboard_config.dpatch by Stefan Potyra <sistpoty@ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: backported keyboardconfig.cpp from the unstable release, because
+## DP: otherwise you can't configure the keyboard to use arrow keys.
+
+@DPATCH@
+diff -urNad ppracer-0.3.1~/src/keyboardconfig.cpp ppracer-0.3.1/src/keyboardconfig.cpp
+--- ppracer-0.3.1~/src/keyboardconfig.cpp	2005-02-18 11:15:44.000000000 +0100
++++ ppracer-0.3.1/src/keyboardconfig.cpp	2006-03-25 01:09:52.000000000 +0100
+@@ -25,14 +25,17 @@
+ 	
+ struct KeyMap{
+ 	SDLKey key;
+-	char string[10];
++	const char *string;
+ };
+ 
+ static KeyMap keymap[] = {
+-	{SDLK_LEFT,"left"},
+-	{SDLK_RIGHT,"right"},
+-	{SDLK_UP,"up"},
+-	{SDLK_DOWN,"down"},
++	{SDLK_BACKSPACE,"backspace"},
++	{SDLK_TAB,"tab"},
++	{SDLK_CLEAR,"clear"},
++	{SDLK_PAUSE,"pause"},
++	{SDLK_SPACE,"space"},
++	{SDLK_DELETE,"delete"},
++		
+ 	{SDLK_KP0,"keypad 0"},
+ 	{SDLK_KP1,"keypad 1"},
+ 	{SDLK_KP2,"keypad 2"},
+@@ -46,12 +49,61 @@
+ 	{SDLK_KP_PERIOD,"keypad ."},
+ 	{SDLK_KP_DIVIDE,"keypad /"},
+ 	{SDLK_KP_MULTIPLY,"keypad *"},
+-	{SDLK_KP_MINUS,"keypad m"},
++	{SDLK_KP_MINUS,"keypad -"},
+ 	{SDLK_KP_PLUS,"keypad +"},
+-	{SDLK_KP_EQUALS,"keypad ="}	
+-};
++	{SDLK_KP_EQUALS,"keypad ="},
++	{SDLK_KP_ENTER,"keypad enter"},
+ 
++	{SDLK_LEFT,"left"},
++	{SDLK_RIGHT,"right"},
++	{SDLK_UP,"up"},
++	{SDLK_DOWN,"down"},
++	
++	{SDLK_INSERT,"insert"},
++	{SDLK_HOME,"home"},
++	{SDLK_END,"end"},
++	{SDLK_PAGEUP,"page up"},
++	{SDLK_PAGEDOWN,"page down"},
+ 	
++	{SDLK_F1,"F1"},
++	{SDLK_F2,"F2"},
++	{SDLK_F3,"F3"},
++	{SDLK_F4,"F4"},
++	{SDLK_F5,"F5"},
++	{SDLK_F6,"F6"},
++	{SDLK_F7,"F7"},
++	{SDLK_F8,"F8"},
++	{SDLK_F9,"F9"},
++	{SDLK_F10,"F10"},
++	{SDLK_F11,"F11"},
++	{SDLK_F12,"F12"},
++	{SDLK_F13,"F13"},
++	{SDLK_F14,"F14"},
++	{SDLK_F15,"F15"},
++	
++	{SDLK_NUMLOCK,"numlock"},
++	{SDLK_CAPSLOCK,"capslock"},
++	{SDLK_SCROLLOCK,"scrollock"},
++	{SDLK_RSHIFT,"right shift"},
++	{SDLK_LSHIFT,"left shift"},
++	{SDLK_RCTRL,"right ctrl"},
++	{SDLK_LCTRL,"left ctrl"},
++	{SDLK_RALT,"right alt"},
++	{SDLK_LALT,"left alt"},
++	{SDLK_RMETA,"right meta"},
++	{SDLK_LMETA,"left meta"},
++	{SDLK_LSUPER,"left windows key"},
++	{SDLK_RSUPER,"right windows key"},
++	{SDLK_MODE,"mode shift"},
++	{SDLK_HELP,"help"},
++	{SDLK_PRINT,"print-screen"},
++	{SDLK_SYSREQ,"SysRq"},
++	{SDLK_BREAK,"break"},
++	{SDLK_MENU,"menu"},
++	{SDLK_POWER,"power"},
++	{SDLK_EURO,"euro"}	
++};
++
+ 	
+ KeyboardConfig::KeyboardConfig()
+ {
+@@ -172,33 +224,31 @@
+ void
+ KeyboardConfig::setKey(pp::Entry* widget, SDLKey key)
+ {
+-	std::string content="";
+-	
+-	if(key==SDLK_BACKSPACE){
+-		widget->setContent(content);
+-		return;
+-	}else{
+-		content = getKey(key);
+-	}
+-	
+-	if (content!=""){
+-		widget->setContent(content);
+-	}
++	widget->setContent(getKey(key));
+ }
+ 
+ std::string KeyboardConfig::getKey(SDLKey key)
+ {
+-	std::string content="";
+-	if(isalnum(key)){
+-		content=key;
+-	}else{
+-		for(unsigned int i=0;i<sizeof(keymap)/sizeof(KeyMap);i++){
+-			if(key==keymap[i].key){
+-				content=keymap[i].string;
+-				break;
+-			}
++	std::string content;
++	
++	for(unsigned int i=0;i<sizeof(keymap)/sizeof(KeyMap);i++){
++		if(key==keymap[i].key){
++			content=keymap[i].string;
++			break;
+ 		}
+ 	}
++		
++	if(content.empty()){
++		if(isprint(key)){
++			content=key;
++		}else{
++			char temp[10];
++			sprintf(temp,"%d",key);
++			content = "key ";
++			content += temp;
++		}
++	}
++	
+ 	return content;
+ }
+ 
+@@ -211,6 +261,14 @@
+ 				return keymap[i].key;
+ 			}
+ 		}
++		
++		if(string.length()>5){
++			if(!strncmp("key ",string.c_str(),4)){
++				int key = atoi(string.c_str()+4);
++				return SDLKey(key);				
++			}
++		}
++		
+ 		return SDLKey(string.c_str()[0]);		
+ 	}else{
+ 		return SDLKey(0);
--- extremetuxracer-0.5beta.orig/debian/patches/kfreebsd_glutesselator.diff
+++ extremetuxracer-0.5beta/debian/patches/kfreebsd_glutesselator.diff
@@ -0,0 +1,16 @@
+Description: Fix FTBFS on kfreebsd
+Bug-Debian: http://bugs.debian.org/565805
+Author: Felix Geyer <debfx-pkg@fobos.de>
+
+diff -Nur extremetuxracer-0.5beta.orig/src/ppgltk/FT/FTVectoriser.cpp extremetuxracer-0.5beta/src/ppgltk/FT/FTVectoriser.cpp
+--- extremetuxracer-0.5beta.orig/src/ppgltk/FT/FTVectoriser.cpp	2008-07-22 15:45:49.000000000 +0200
++++ extremetuxracer-0.5beta/src/ppgltk/FT/FTVectoriser.cpp	2010-05-08 19:04:48.902567309 +0200
+@@ -7,7 +7,7 @@
+ 
+ #ifdef __APPLE_CC__    
+     typedef GLvoid (*GLUTesselatorFunction)(...);
+-#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__)
++#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__FreeBSD_kernel__)
+     typedef GLvoid (*GLUTesselatorFunction)();
+ #elif defined ( WIN32)
+     typedef GLvoid (CALLBACK *GLUTesselatorFunction)( );
--- extremetuxracer-0.5beta.orig/debian/patches/fix_cups_cheat.diff
+++ extremetuxracer-0.5beta/debian/patches/fix_cups_cheat.diff
@@ -0,0 +1,14 @@
+Index: ppracer-0.3.1/src/ppgltk/widget.cpp
+===================================================================
+--- ppracer-0.3.1.orig/src/ppgltk/widget.cpp
++++ ppracer-0.3.1/src/ppgltk/widget.cpp
+@@ -176,6 +176,9 @@
+ void
+ Widget::simulateMouseClick()
+ {
++	if ( !m_sensitive ) {
++		return;
++	}
+ 	performClickAction();
+ }
+ 
--- extremetuxracer-0.5beta.orig/debian/patches/20_german_translation.diff
+++ extremetuxracer-0.5beta/debian/patches/20_german_translation.diff
@@ -0,0 +1,122 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_german_translation.dpatch by  <alexander@schmehl.info>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: corrects bad translations in the german language file, reported by oli <fuschfitter@gmx.net>, corrected by Sven Joachim <sven_joachim@web.de> 
+
+@DPATCH@
+diff -urNad ppracer-0.3.1~/data/translations/de_DE.tcl ppracer-0.3.1/data/translations/de_DE.tcl
+--- ppracer-0.3.1~/data/translations/de_DE.tcl	2005-02-28 09:17:47.000000000 +0100
++++ ppracer-0.3.1/data/translations/de_DE.tcl	2005-11-05 20:00:07.000000000 +0100
+@@ -1,7 +1,7 @@
+ 
+ #common strings
+ pp_translate_string "Back" "ZurÃ¼ck"
+-pp_translate_string "PRESS ANY KEY TO START" "Beliebige Taste drÃ¼cken um fortzufahren"
++pp_translate_string "PRESS ANY KEY TO START" "Start mit beliebiger Taste"
+ 
+ 
+ #game_type_select
+@@ -12,32 +12,32 @@
+ pp_translate_string "Quit" "Beenden"
+ 
+ #configuration
+-pp_translate_string "Graphics" "Grafiken"
++pp_translate_string "Graphics" "Grafik"
+ #pp_translate_string "Video" "Video"
+-pp_translate_string "Audio" "Toneinstellungen"
++pp_translate_string "Audio" "Ton"
+ pp_translate_string "Keyboard" "Tastatur"
+ #pp_translate_string "Joystick" "Joystick"
+ 
+ #config mode
+ pp_translate_string "Cancel" "Abbrechen"
+-pp_translate_string "Ok" "Ãœbernehmen"
++pp_translate_string "Ok" "Ok"
+ 
+ #graphics configuration
+-pp_translate_string "Graphics Configuration" "Konfiguration der Grafiken"
++pp_translate_string "Graphics Configuration" "Grafikeinstellungen"
+ pp_translate_string "Language:" "Sprache:"
+ pp_translate_string "Show UI Snow:" "Schnee im UI:"
+ pp_translate_string "Display FPS:" "Zeige FPS:"
+-pp_translate_string "Display Progress Bar:" "Zeige Vortschrittsbalken:"
++pp_translate_string "Display Progress Bar:" "Zeige Fortschrittsbalken:"
+ pp_translate_string "Draw Fog:" "Nebel:"
+ pp_translate_string "Reflections:" "Reflektionen:"
+ pp_translate_string "Shadows:" "Schatten:"
+ 
+ #video configuration
+-pp_translate_string "Video Configuration" "Video konfigurieren"
++pp_translate_string "Video Configuration" "Videoeinstellungen"
+ pp_translate_string "Resolution:" "AuflÃ¶sung:"
+ pp_translate_string "Bits Per Pixel:" "Bits pro Pixel:"
+ pp_translate_string "Fullscreen:" "Vollbild:"
+-pp_translate_string "Experimental (needs restart)" "Experimentell (benÃ¶tigen Neustart)"
++pp_translate_string "Experimental (needs restart)" "Experimentell (benÃ¶tigt Neustart)"
+ pp_translate_string "Enable FSAA:" "Aktiviere FSAA:"
+ 
+ #audio configuration
+@@ -51,7 +51,7 @@
+ pp_translate_string "Samples Per Second:" "Samples pro Sekunde:"
+ 
+ #keyboard configuration
+-pp_translate_string "Keyboard Configuration" "Tastaturkonfiguration"
++pp_translate_string "Keyboard Configuration" "Tastatureinstellungen"
+ pp_translate_string "Turn left:" "Links:"
+ pp_translate_string "Turn right:" "Rechts:"
+ pp_translate_string "Paddle:" "Paddeln:"
+@@ -61,11 +61,11 @@
+ pp_translate_string "Reset:" "ZurÃ¼cksetzen:"
+ 
+ #joystick configuration
+-pp_translate_string "Joystick Configuration" "Joystickkonfiguration"
++pp_translate_string "Joystick Configuration" "Joystickeinstellungen"
+ pp_translate_string "Enable Joystick" "Aktiviere Joystick"
+ 
+ #race select
+-pp_translate_string "Race!" "Start"
++pp_translate_string "Race!" "Start!"
+ pp_translate_string "Select a race" "Rennen auswÃ¤hlen"
+ pp_translate_string "Contributed by:" "Autor:"
+ pp_translate_string "Unknown" "Unbekannt"
+@@ -78,18 +78,18 @@
+ pp_translate_string "Select event and cup" "Veranstaltung und Wettbewerb wÃ¤hlen"
+ pp_translate_string "Event:" "Veranstaltung:"
+ pp_translate_string "Cup:" "Wettbewerb:"
+-pp_translate_string "You've won this cup!" "Du hast diesen Wettbewerb gewonnen"
++pp_translate_string "You've won this cup!" "Du hast diesen Wettbewerb gewonnen!"
+ pp_translate_string "You must complete this cup next" "Du must diesen Wettbewerb jetzt absolvieren"
+ pp_translate_string "You cannot enter this cup yet" "Du kannst an diesem Wettbewerb noch nicht teilnehmen"
+ 
+ #event race select
+-pp_translate_string "You don't have any lives left." "Du hast keine Leben mehr Ã¼brig"
+-pp_translate_string "Race won! Your result:" "Abfahrt gewonnen. Deine Ergebnisse:"
++pp_translate_string "You don't have any lives left." "Du hast keine Leben mehr Ã¼brig."
++pp_translate_string "Race won! Your result:" "Abfahrt gewonnen! Deine Ergebnisse:"
+ pp_translate_string "Needed to advance:" "BenÃ¶tigt:"
+-pp_translate_string "You can't enter this race yet." "Du musst erst die vorherigen Rennen gewinnen"
++pp_translate_string "You can't enter this race yet." "Du kannst an diesem Rennen noch nicht teilnehmen"
+ 
+ #loading
+-pp_translate_string "Loading, Please Wait..." "Laden Abfahrt, bitte warten..."
++pp_translate_string "Loading, Please Wait..." "Lade Abfahrt, bitte warten..."
+ 
+ #paused
+ pp_translate_string "Resume" "Weiterspielen"
+@@ -103,11 +103,11 @@
+ pp_translate_string "Max speed: %3d km/h" "Maximale Geschwindigkeit: %3d km/h"
+ pp_translate_string "Was flying: %.01f %% of time" "Geflogen: %.01f %% der Zeit"
+ pp_translate_string "Race aborted" "Rennen abgebrochen"
+-pp_translate_string "You beat your best score!" "Du hast eine neue Bestzeit aufgestellt"
+-pp_translate_string "Congratulations! You won the event!" "Gratulation! Du hast die Veranstaltung gewonnen"
++pp_translate_string "You beat your best score!" "Du hast deine Bestleistung Ã¼berboten!"
++pp_translate_string "Congratulations! You won the event!" "Gratulation! Du hast die Veranstaltung gewonnen!"
+ pp_translate_string "Congratulations! You won the cup!" "Gratulation! Du hast den Wettbewerb gewonnen"
+-pp_translate_string "You advanced to the next race!" "Du hast dich fÃ¼r das nÃ¤chste Rennen qualifiziert"
+-pp_translate_string "You didn't advance." "Du hast es leider nicht geschafft"
++pp_translate_string "You advanced to the next race!" "Du hast dich fÃ¼r das nÃ¤chste Rennen qualifiziert!"
++pp_translate_string "You didn't advance." "Du hast es leider nicht geschafft."
+ 
+ #HUD
+ #Strings are prefixed to prevent collisions with the UI
