--- tmw-0.0.29.1.orig/debian/tmw.docs
+++ tmw-0.0.29.1/debian/tmw.docs
@@ -0,0 +1,4 @@
+AUTHORS
+README
+docs/progression.txt
+docs/FAQ.txt
--- tmw-0.0.29.1.orig/debian/copyright
+++ tmw-0.0.29.1/debian/copyright
@@ -0,0 +1,52 @@
+This package was debianized by Patrick Matthäi <patrick.matthaei@web.de> on
+Wed,  6 Feb 2007 09:16:23 +0100.
+
+It was downloaded from <http://www.themanaworld.org/>.
+
+Upstream Author: Eugenio Favalli <elvenprogrammer@gmail.com>
+
+License (src/utils/base64.h, src/utils/base64.cpp):
+
+	Copyright (C) 1997-1998 PHP Development Team
+
+	This program is free software; you can redistribute it and/or modify
+	it under the terms of one of the following licenses:
+
+	A) 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.
+
+	B) the PHP License as published by the PHP Development Team and
+	included in the distribution in the file: LICENSE
+
+	This program 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.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2 file.
+
+License (everything else):
+
+	Copyright (C) 2004-2007 The The Mana World Development Team
+
+	This program 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 program 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 program; 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 file.
+
+The Debian packaging is © 2009, Patrick Matthäi <pmatthaei@debian.org> and
+is licensed under the GPL, see above.
--- tmw-0.0.29.1.orig/debian/tmw-data.links
+++ tmw-0.0.29.1/debian/tmw-data.links
@@ -0,0 +1,2 @@
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf usr/share/games/tmw/data/fonts/dejavusans.ttf
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf usr/share/games/tmw/data/fonts/dejavusans-bold.ttf
--- tmw-0.0.29.1.orig/debian/watch
+++ tmw-0.0.29.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/themanaworld/tmw-(.*)\.tar\.gz
--- tmw-0.0.29.1.orig/debian/control
+++ tmw-0.0.29.1/debian/control
@@ -0,0 +1,48 @@
+Source: tmw
+Section: games
+Priority: optional
+Homepage: http://www.themanaworld.org/
+Maintainer: Patrick Matthäi <pmatthaei@debian.org>
+Build-Depends: debhelper (>= 7), libcurl4-gnutls-dev, libgl1-mesa-dev, libguichan-dev (>= 0.8.1), libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libphysfs-dev, libpng12-dev, libxml2-dev, zlib1g-dev, libsdl-ttf2.0-dev
+Standards-Version: 3.8.1
+
+Package: tmw
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, tmw-data (= ${source:Version})
+Recommends: tmw-music
+Description: The Mana World is a 2D MMORPG
+ The Mana World (short TMW) is a serious effort to create an innovative free
+ and open source MMORPG. The Mana World uses 2D graphics and aims to create a
+ large and diverse interactive world.
+ The player's story is built with quests, interaction and fighting against
+ monsters and in PvP mode against other players, too. Or you join other partys,
+ clans or groups and will contribute them.
+
+Package: tmw-dbg
+Section: debug
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, tmw (= ${binary:Version})
+Description: The Mana World is a 2D MMORPG (debugging symbols)
+ The Mana World (short TMW) is a serious effort to create an innovative free
+ and open source MMORPG. The Mana World uses 2D graphics and aims to create a
+ large and diverse interactive world.
+ The player's story is built with quests, interaction and fighting against
+ monsters and in PvP mode against other players, too. Or you join other partys,
+ clans or groups and will contribute them.
+ .
+ This package provides debugging symbols for the tmw package.
+
+Package: tmw-data
+Architecture: all
+Depends: ${misc:Depends}, ttf-dejavu-core
+Recommends: tmw
+Description: The Mana World is a 2D MMORPG (data files)
+ The Mana World (short TMW) is a serious effort to create an innovative free
+ and open source MMORPG. The Mana World uses 2D graphics and aims to create a
+ large and diverse interactive world.
+ The player's story is built with quests, interaction and fighting against
+ monsters and in PvP mode against other players, too. Or you join other partys,
+ clans or groups and will contribute them.
+ .
+ This package contains the data files.
--- tmw-0.0.29.1.orig/debian/tmw-data.install
+++ tmw-0.0.29.1/debian/tmw-data.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/share/locale usr/share/
+debian/tmp/usr/share/games/tmw/data/graphics usr/share/games/tmw/data/
+debian/tmp/usr/share/games/tmw/data/help usr/share/games/tmw/data/
+debian/tmp/usr/share/games/tmw/data/icons usr/share/games/tmw/data/
--- tmw-0.0.29.1.orig/debian/compat
+++ tmw-0.0.29.1/debian/compat
@@ -0,0 +1 @@
+7
--- tmw-0.0.29.1.orig/debian/tmw.install
+++ tmw-0.0.29.1/debian/tmw.install
@@ -0,0 +1,4 @@
+debian/tmp/usr/share/games/applications/tmw.desktop usr/share/applications/
+debian/tmp/usr/share/games/tmw/data/icons/tmw.png usr/share/icons/
+debian/tmp/usr/games/tmw usr/games/
+data/icons/tmw.xpm usr/share/pixmaps/
--- tmw-0.0.29.1.orig/debian/rules
+++ tmw-0.0.29.1/debian/rules
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# 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)
+
+config.status:
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+	--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
+	--datadir=/usr/share/games --bindir=/usr/games --mandir=/usr/share/man
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f debian/tmw.menu
+	rm -rf debian/tmp
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	cp tmw.menu debian/
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i NEWS
+	dh_installdocs -i
+	dh_install -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a NEWS
+	dh_installdocs -a
+	dh_install -a
+	dh_installmenu -a
+	dh_installman -a
+	dh_strip -a --dbg-package=tmw-dbg
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@uscan --force-download --destdir ../tarballs
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- tmw-0.0.29.1.orig/debian/changelog
+++ tmw-0.0.29.1/debian/changelog
@@ -0,0 +1,226 @@
+tmw (0.0.29.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Sun, 21 Jun 2009 18:44:49 +0200
+
+tmw (0.0.29.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Drop debian/tmw.xpm and use the one from upstream.
+  * Merge 0.0.29-1~bpo50+1 changelog.
+  * Remove NEWS from tmw.docs and add it as upstream changelog. This also fixes
+    a lintian warning.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Wed, 10 Jun 2009 13:42:43 +0200
+
+tmw (0.0.29-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Mon, 25 May 2009 18:44:32 +0200
+
+tmw (0.0.29-1) unstable; urgency=low
+
+  * New upstream release.
+  * Fix typo in get-orig-source target.
+  * Refer in debian/copyright to the GPL-2 file instead of GPL.
+  * Add my own copyright for the Debian packaging.
+  * Merge 0.0.28.1-1~bpo50+1 changelog.
+  * Install tmw.desktop from the upstream source.
+  * Update to compat 7.
+  * Use the tmw.menu file from upstream.
+  * Remove deprecated dh_desktop call.
+  * Rewrote parts of the debian/rules to use $(MAKE) install instead of
+    grepping again and again with new releases new files and directories.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Thu, 14 May 2009 11:35:10 +0200
+
+tmw (0.0.28.1-3) unstable; urgency=low
+
+  * Bump Standards-Version to 3.8.1 (no changes needed).
+  * Change section of tmw-dbg to debug.
+  * Change my email address.
+  * Remove DM-Upload-Allowed control field.
+  * Rebuild against physfs 2.0.0.
+
+ -- Patrick Matthäi <pmatthaei@debian.org>  Mon, 20 Apr 2009 19:40:36 +0200
+
+tmw (0.0.28.1-2) unstable; urgency=low
+
+  * Rebuild against physfs 1.0.1.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed,  4 Mar 2009 13:59:28 +0200
+
+tmw (0.0.28.1-1~bpo50+1) lenny-backports; urgency=low
+
+  * Rebuild for lenny-backports.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue, 17 Feb 2009 18:25:37 +0200
+
+tmw (0.0.28.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Symlink to the dejavu fonts and depend on it instead of using the
+      embedded one.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Thu, 12 Feb 2009 20:03:15 +0200
+
+tmw (0.0.28-1) unstable; urgency=low
+
+  * New upstream release.
+    - Add new build dependency libsdl-ttf2.0-dev.
+    - Add new usr/share/games/tmw/data/fonts files.
+  * Add get-orig-source target.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Mon, 26 Jan 2009 12:48:33 +0200
+
+tmw (0.0.27-1) unstable; urgency=low
+
+  * New upstream release.
+    - Fixes GCC 4.4 FTBFS.
+      Closes: #504967
+    - The upstream ChangeLog is not used anymore. Removing it from the docs.
+  * Add missing ${misc:Depends}. Thanks lintian.
+  * Corrected date of the last upload.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Sun,  7 Dec 2008 19:21:11 +0200
+
+tmw (0.0.26-2) unstable; urgency=low
+
+  * Uploading to unstable.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Mon,  1 Sep 2008 09:53:10 +0200
+
+tmw (0.0.26-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Fri, 29 Aug 2008 22:11:40 +0200
+
+tmw (0.0.25-1) experimental; urgency=low
+
+  * New upstream release.
+    Uploading to experimental, Lenny is frozen.
+  * Removed useless debhelper call.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Thu, 31 Jul 2008 19:28:00 +0200
+
+tmw (0.0.24.1+svn4436-1) unstable; urgency=low
+
+  * New svn snapshot.
+  * Fixed spelling error in last changelog entry.
+  * Updated build depends.
+  * Updated Standards-Version to 3.8.0 (no changes needed).
+  * Fixed categorie in tmw.desktop.
+  * Added DM-Upload-Allowed control field.
+  * Removed recommend from tmw-data on tmw-music, tmw does it also.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Sun, 20 Jul 2008 11:59:44 +0100
+
+tmw (0.0.24.1-1) unstable; urgency=low
+
+  * New upstream release.
+    - Drop 01-fix-gcc4.3-ftbfs.dpatch, merged in upstream.
+    - Adjusted tmw-data.install file. Some directorys in data/graphics has been
+      removed.
+  * Removed dpatch.
+  * Install the manpage with dh_installman.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Mon,  7 Apr 2008 18:19:44 +0100
+
+tmw (0.0.24-3) unstable; urgency=low
+
+  * Included again dpatch for the 01-fix-gcc4.3-ftbfs.dpatch.
+    Closes: #462420
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Thu, 20 Mar 2008 20:42:00 +0100
+
+tmw (0.0.24-2) unstable; urgency=low
+
+  * Cleaned debian/tmw.desktop file. It should now appear in the
+    KDE and Gnome menus.
+    Closes: #458242
+  * Rewritten long and short descriptions of the packages.
+  * Removed dpatch, because it is not needed in the last two builds.
+  * Removed not needed build depends on autotools-dev and dpkg-dev.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed,  2 Jan 2008 10:00:00 +0100
+
+tmw (0.0.24-1) unstable; urgency=low
+
+  * New upstream release.
+    - Removed debian/tmw.6 manpage, because it is in upstream now.
+    - Removed 01-set-gl-texture-zero and 02-guichan_0.7 patches,
+      because they are fixed in the current upstream release.
+  * Wrapped configure script options line to a more human readable
+    format.
+  * Bumped Standards-Version to 3.7.3.
+  * Changed description in debian/tmw.menu, it is now called as an
+    adventure instead of an arcade game.
+  * Removed the ugly hyphen in the description of debian/tmw.desktop.
+  * Removed now useless calls of dh_link and dh_installman in
+    debian/rules.
+  * Removed debian/tmw-data.docs, because the NEWS and AUTHORS file
+    is already in the tmw package.
+  * Removed deprecated encoding flag from debian/tmw.desktop.
+  * Added debian/watch file.
+  * Added homepage field to debian/control and removed the one from
+    the long descriptions.
+  * Added a break to the long description of tmw-data. It looks now
+    really better.
+  * Added the tmw-dbg package, which provides the debugging symbols.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Mon, 24 Dec 2007 17:10:00 +0100
+
+tmw (0.0.23-3) unstable; urgency=low
+
+  * Added missing files data/graphics/images/ambient/*.png to
+    release.
+    Closes: #439861
+  * Added guichan_0.7 patch to build tmw against guichan 0.7.1.
+  * debian/control: Changed guichan version to libguichan2 and
+    changed build dependencie from libcurl3-dev to libcurl4-gnutls-dev.
+  * debian/tmw.menu: Corrected menu entry categorie to Games/Adventure.
+    Thanks lintian.
+  * Fixed clean rule. Thanks lintian.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Thu,  6 Sep 2007 18:36:00 +0100
+
+tmw (0.0.23-2) unstable; urgency=low
+
+  * Added set-gl-texture-zero patch to set GL texture index
+    to zero when an image uses the SDL backend.
+    Closes: #427915
+  * debian/control: Removed dependencie of tmw-data to tmw.
+    Closes: #427920
+  * debian/control: Set tmw as recommends to tmw-data.
+  * debian/control: Added dpatch to the build dependencies.
+  * debian/control: Changed guichan version to libguichan1.
+    Closes: #435065
+  * debian/tmw.docs: Added upstream ChangeLog to package.
+  * debian/rules: Removed now unneeded '--with-opengl'
+    configure flag.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Wed,  20 Jun 2007 08:55:12 +0100
+
+tmw (0.0.23-1) unstable; urgency=low
+
+  * Uploaded tmw to unstable.
+    Closes: #418725, #423275
+  * New upstream release.
+  * debian/rules: No longer needed the tmw-icon rename
+    hack. Upstream renamed the icon files.
+  * debian/tmw.xpm: Added xpm icon file, because upstream
+    has forgotten it in the newest release.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Mon,  5 Jun 2007 21:05:36 +0100
+
+tmw (0.0.22.2-1) experimental; urgency=low
+
+  * Initial release.
+  * Uploading to experimental because we need libguichan0-dev (>= 0.6.1).
+  * src/main.cpp:
+     Moved tmw-icon.png to /usr/share/icons/tmw.png.
+
+ -- Patrick Matthäi <patrick.matthaei@web.de>  Tue,  6 Mar 2007 09:08:21 +0100
--- tmw-0.0.29.1.orig/debian/tmw.manpages
+++ tmw-0.0.29.1/debian/tmw.manpages
@@ -0,0 +1 @@
+docs/tmw.6
