--- freedoom-0.7.orig/debian/freedm.6
+++ freedoom-0.7/debian/freedm.6
@@ -0,0 +1,24 @@
+.TH FREEDM 6 local
+.SH NAME
+freedm \- Open Source multiplayer-only Doom-clone
+.SH SYNOPSIS
+.B freedm
+[\| engine arguments \|]
+.SH DESCRIPTION
+.B freedm
+is a small shell script which invokes
+.B boom
+with the FreeDM resources supplied as an argument. This will start a
+game of FreeDM. Please note that FreeDM is a multiplayer-only game.
+.PP
+.SH OPTIONS
+All options are passed through to the
+.B boom
+program. Check to see what package is providing your
+.B boom(6)
+to see what options are available for your
+.B boom
+implementation.
+.SH AUTHOR
+This manpage was written by Jon Dowland <jmtd@debian.org> for
+Debian GNU/Linux.
--- freedoom-0.7.orig/debian/compat
+++ freedoom-0.7/debian/compat
@@ -0,0 +1 @@
+7
--- freedoom-0.7.orig/debian/watch
+++ freedoom-0.7/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://download.savannah.gnu.org/releases-noredirect/freedoom/source/freedoom-(.*)\.tar\.gz
--- freedoom-0.7.orig/debian/freedm.desktop
+++ freedoom-0.7/debian/freedm.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Free DM
+GenericName=Multiplayer-only Clone of the first person shooter Doom
+Comment=First Person Shooter Game
+Exec=/usr/games/freedm
+Icon=freedm
+Terminal=false
+Type=Application
+Categories=Game;ActionGame;
--- freedoom-0.7.orig/debian/rules
+++ freedoom-0.7/debian/rules
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+#export DH_COMPAT=3
+
+# upstream makefile invokes 'deutex' which lives in
+# /usr/games
+PATH := /usr/games:$(PATH)
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+
+build-stamp:
+ dh_testdir
+ $(MAKE) wads/doom2.wad
+ $(MAKE) wads/freedm.wad
+
+ # icon stuff
+ convert sprites/heada1.gif freedoom.xpm
+ sed -i 's/cyan/None/' freedoom.xpm
+ convert sprites/sht2a0.gif freedm.xpm
+ sed -i 's/cyan/None/' freedm.xpm
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ dh_clean
+ $(MAKE) clean
+ rm -f freedoom.xpm freedm.xpm
+
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ dh_install
+ mv -i wads/doom2.wad debian/freedoom/usr/share/games/doom/freedoom.wad
+
+binary: binary-indep
+
+binary-arch:
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -A
+ dh_installman
+ dh_installchangelogs ChangeLog
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- freedoom-0.7.orig/debian/freedoom.manpages
+++ freedoom-0.7/debian/freedoom.manpages
@@ -0,0 +1 @@
+debian/freedoom.6
--- freedoom-0.7.orig/debian/freedm.install
+++ freedoom-0.7/debian/freedm.install
@@ -0,0 +1,4 @@
+debian/wrappers/freedm usr/games
+wads/freedm.wad usr/share/games/freedoom
+debian/freedm.desktop usr/share/applications
+freedm.xpm /usr/share/pixmaps
--- freedoom-0.7.orig/debian/freedoom.desktop
+++ freedoom-0.7/debian/freedoom.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Freedoom
+GenericName=Clone of the legendary first person shooter Doom
+Comment=First Person Shooter Game
+Exec=/usr/games/freedoom
+Icon=freedoom
+Terminal=false
+Type=Application
+Categories=Game;ActionGame;
--- freedoom-0.7.orig/debian/freedm.manpages
+++ freedoom-0.7/debian/freedm.manpages
@@ -0,0 +1 @@
+debian/freedm.6
--- freedoom-0.7.orig/debian/freedoom.docs
+++ freedoom-0.7/debian/freedoom.docs
@@ -0,0 +1,3 @@
+CREDITS
+NEWS
+README
--- freedoom-0.7.orig/debian/freedoom.install
+++ freedoom-0.7/debian/freedoom.install
@@ -0,0 +1,3 @@
+debian/wrappers/freedoom usr/games
+debian/freedoom.desktop usr/share/applications
+freedoom.xpm /usr/share/pixmaps
--- freedoom-0.7.orig/debian/changelog
+++ freedoom-0.7/debian/changelog
@@ -0,0 +1,178 @@
+freedoom (0.7-1) unstable; urgency=low
+
+ * New upstream version.
+ * adjust graphics/titlepic/create_caption to not be too
+ clever. This ensures the titlepic gets the correct version
+ string appended.
+
+ -- Jon Dowland <jmtd@debian.org> Mon, 24 Jan 2011 22:30:01 +0000
+
+freedoom (0.6.4-5) unstable; urgency=low
+
+ * update VCS fields to reflect move to Git.
+ * Remove Moritz Muehlenhoff from uploaders, by request.
+ Thanks Moritz for your work!
+ * adjust an Imagemagick/composite argument so that
+ graphicsmagick works for builds (see #413954)
+ * bump standards version
+ * add misc:Depends for freedm (quiet, lintian!)
+
+ -- Jon Dowland <jmtd@debian.org> Fri, 03 Sep 2010 15:49:20 +0100
+
+freedoom (0.6.4-4) unstable; urgency=low
+
+ * Stop providing doom2.wad alternative: we are not
+ vanilla compatible. Remove older alternatives in
+ postinst for upgrades.
+ * Adjust PATH in debian/rules to avoid needing to
+ patch Makefile: thus, remove quilt dependency and
+ patching boilerplate
+ * bump Debhelper and compat to 7
+ * changes for debhelper 7
+ * install "freedm" and "freedoom" invoke-scripts into
+ /usr/games and corresponding manpages. Reference
+ the scripts in the .desktop files.
+ * Remove lintian overrides. These were for calling
+ "boom" in the desktop files but not installing it
+ (fixed with invoke-scripts); creating a directory
+ with no files in it (which we installed alternatives
+ into).
+
+ -- Jon Dowland <jmtd@debian.org> Sat, 11 Jul 2009 12:31:40 +0100
+
+freedoom (0.6.4-3) unstable; urgency=low
+
+ * Bump debhelper dependency to match compat level
+ * .desktop files reference "boom" not "doom"
+ * conflicts prboom that provides: boom-engine but does not
+ provide a /usr/games/boom alternative
+ * Update homepage
+
+ -- Jon Dowland <jmtd@debian.org> Thu, 02 Jul 2009 18:29:42 +0100
+
+freedoom (0.6.4-2) experimental; urgency=low
+
+ * use python-minimal instead of python.
+ * require boom-engine instead of doom-engine.
+
+ -- Jon Dowland <jon@alcopop.org> Wed, 17 Jun 2009 22:05:07 +0100
+
+freedoom (0.6.4-1) unstable; urgency=low
+
+ * Add Build-Depends-Indep: on python. Thanks Daniel Schepler
+ and Peter Green. Closes: #521922
+ * new upstream version, removing some non-free files.
+ Closes: #533135
+ * fixed watch file, thanks Marco Rodrigues. Closes: #531619
+ * bump standards version.
+
+ -- Jon Dowland <jon@alcopop.org> Sun, 14 Jun 2009 18:05:07 +0100
+
+freedoom (0.6.3-3) unstable; urgency=low
+
+ * upload to unstable.
+
+ -- Jon Dowland <jon@alcopop.org> Sun, 15 Mar 2009 19:07:48 +0000
+
+freedoom (0.6.3-2) experimental; urgency=low
+
+ * fix watch file. Closes: #453552.
+
+ -- Jon Dowland <jon@alcopop.org> Sun, 18 Jan 2009 17:42:27 +0000
+
+freedoom (0.6.3-1) experimental; urgency=low
+
+ [ Ansgar Burchardt ]
+ * debian/control: Add Homepage field
+
+ [ Jon Dowland ]
+ * new upstream version
+ * remove version.patch: unnecessary with 0.6.3
+ * update standards version
+
+ -- Jon Dowland <jon@alcopop.org> Fri, 02 Jan 2009 01:00:29 +0000
+
+freedoom (0.6.2-1) unstable; urgency=low
+
+ [ Jon Dowland ]
+ * implement a new binary-package "freedm"
+
+ [ Cyril Brulebois ]
+ * Added XS-Vcs-Svn and XS-Vcs-Browser fields in the control file.
+
+ [ Jon Dowland ]
+ * move to quilt for patch management
+
+ [ Ansgar Burchardt ]
+ * debian/control: Change XS-Vcs-* to Vcs-*
+
+ [ Jon Dowland ]
+ * new upstream version (three, actually!).
+ * Add a lintian override for empty-dir /usr/share/games/doom: we
+ install an alternative into the directory.
+ * bump standards version
+ * Add .desktop files for the games (which use /usr/games/doom) and Depends:
+ on doom-engine (packages which should provide an alternative for that
+ binary)
+ * Add icons generated at build-time
+ * adjust alternatives priority to be in-line with the doom packaging
+ guidelines
+
+ -- Jon Dowland <jon@alcopop.org> Thu, 20 Mar 2008 22:30:32 +0000
+
+freedoom (0.5-1) unstable; urgency=low
+
+ [ Jon Dowland ]
+ * new upstream version
+ * build system reworked to call upstream Makefile
+ * Build-Depends needs gsfonts, imagemagick, deutex
+ * add myself to uploaders
+ * add VERSION file, missing upstream
+ * explicitly specify /usr/games/deutex in Makefile
+ * bump standards version
+
+ -- Jon Dowland <jon@alcopop.org> Thu, 7 Sep 2006 12:55:18 +0100
+
+freedoom (0.4.1-1) unstable; urgency=low
+
+ [ Gonéri Le Bouder ]
+ * watch file
+
+ -- Moritz Muehlenhoff <jmm@debian.org> Wed, 22 Mar 2006 22:24:30 +0100
+
+freedoom (0.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #348152)
+ * Changed dependency on prboom | doom-engine into a recommendation to
+ prevent circular dependencies with prboom
+
+ -- Moritz Muehlenhoff <jmm@debian.org> Mon, 2 Jan 2006 13:30:42 +0100
+
+freedoom (0.3-2) unstable; urgency=low
+
+ * Add alternative to allow freedoom's WAD file to co-exist with the
+ WAD file packages generated by the upcoming doom-data installer.
+ (Closes: #327500)
+ * Bumped Standards-Version (no changed needed).
+
+ -- Moritz Muehlenhoff <jmm@inutil.org> Tue, 13 Sep 2005 15:46:50 +0200
+
+freedoom (0.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Moritz Muehlenhoff <jmm@inutil.org> Sun, 2 Jan 2005 16:27:20 +0100
+
+freedoom (0.2-2) unstable; urgency=low
+
+ * Depend on doom-engine, instead of only recommending it.
+ (Closes: #270037)
+
+ -- Moritz Muehlenhoff <jmm@inutil.org> Wed, 22 Sep 2004 23:12:26 +0200
+
+freedoom (0.2-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #206139)
+
+ -- Moritz Muehlenhoff <jmm@inutil.org> Sun, 18 Jul 2004 14:29:43 +0200
+
--- freedoom-0.7.orig/debian/freedoom.dirs
+++ freedoom-0.7/debian/freedoom.dirs
@@ -0,0 +1,2 @@
+usr/share/games/doom
+usr/share/games/freedoom
--- freedoom-0.7.orig/debian/freedoom.postinst
+++ freedoom-0.7/debian/freedoom.postinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+# postinst script for freedoom
+
+set -e
+
+case "$1" in
+ configure|abort-upgrade)
+ if dpkg --compare-versions "$2" lt "0.6.4-5"; then
+ update-alternatives --quiet --remove doom2.wad \
+ /usr/share/games/freedoom/doom2.wad
+ fi
+ ;;
+
+ abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- freedoom-0.7.orig/debian/freedm.postinst
+++ freedoom-0.7/debian/freedm.postinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+# postinst script for freedm
+
+set -e
+
+case "$1" in
+ configure|abort-upgrade)
+ if dpkg --compare-versions "$2" lt "0.6.4-5"; then
+ update-alternatives --quiet --remove doom2.wad \
+ /usr/share/games/freedoom/freedm.wad
+ fi
+ ;;
+
+ abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- freedoom-0.7.orig/debian/freedm.dirs
+++ freedoom-0.7/debian/freedm.dirs
@@ -0,0 +1,2 @@
+usr/share/games/doom
+usr/share/games/freedoom
--- freedoom-0.7.orig/debian/copyright
+++ freedoom-0.7/debian/copyright
@@ -0,0 +1,40 @@
+This package was debianized by Moritz Muehlenhoff
+<jmm@inutil.org> on 2004-04-15
+
+The packaging has been kindly reviewed and sponsored for
+upload by Emanuele Rocca <ema@debian.org>.
+
+freedoom was downloaded from http://freedoom.nongnu.org/
+
+Copyright (c) 2001-2003 Contributors to the Freedoom project.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of the freedoom project nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+For a list of contributors to the freedoom project, see the file
+CREDITS.
--- freedoom-0.7.orig/debian/freedoom.6
+++ freedoom-0.7/debian/freedoom.6
@@ -0,0 +1,24 @@
+.TH FREEDOOM 6 local
+.SH NAME
+freedoom \- Open Source Doom-clone
+.SH SYNOPSIS
+.B freedoom
+[\| engine arguments \|]
+.SH DESCRIPTION
+.B freedoom
+is a small shell script which invokes
+.B boom
+with the FreeDoom resources supplied as an argument. This will start a
+game of FreeDoom.
+.PP
+.SH OPTIONS
+All options are passed through to the
+.B boom
+program. Check to see what package is providing your
+.B boom(6)
+to see what options are available for your
+.B boom
+implementation.
+.SH AUTHOR
+This manpage was written by Jon Dowland <jmtd@debian.org> for
+Debian GNU/Linux.
--- freedoom-0.7.orig/debian/control
+++ freedoom-0.7/debian/control
@@ -0,0 +1,45 @@
+Source: freedoom
+Section: games
+Priority: optional
+Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
+Uploaders: Jon Dowland <jmtd@debian.org>
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: deutex, imagemagick, gsfonts, python (>= 2.4)
+Standards-Version: 3.9.1
+Vcs-Git: git://git.debian.org/git/pkg-games/freedoom
+Vcs-Browser: http://git.debian.org/?p=pkg-games/freedoom.git
+Homepage: http://freedoom.nongnu.org/
+DM-Upload-Allowed: yes
+
+Package: freedoom
+Architecture: all
+Depends: boom-engine, ${misc:Depends}
+Provides: boom-wad
+Conflicts: prboom (<< 2:2.5.0+dfsg1-5)
+Description: free game files for the 3D game DOOM
+ Freedoom is a project to create a complete Doom II-compatible IWAD file
+ which is Free Software.
+ .
+ The IWAD file is the file used by Doom which contains all the game data
+ (graphics, sound effects, music, etc.). While the Doom source code is
+ Free, you currently still need one of the proprietary IWAD files from id
+ in order to play Doom. Freedoom aims to create a Free alternative.
+ .
+ Combined with any boom compatible Doom engine (such as prboom) this will
+ result in a complete Free Doom-based game.
+
+Package: freedm
+Architecture: all
+Depends: boom-engine, ${misc:Depends}
+Provides: boom-wad
+Conflicts: prboom (<< 2:2.5.0+dfsg1-5)
+Description: multiplayer-oriented maps for Doom
+ Freedoom is a project to create a complete Doom II-compatible IWAD file
+ which is Free Software.
+ .
+ FreeDM is a sub-project to create a set of levels designed for deathmatch
+ play.
+ .
+ FreeDM does not require Freedoom to play and can be used in conjunction
+ with a boom-engine. Please note that this is designed for multiplayer and
+ will not be of much use for single player.
--- freedoom-0.7.orig/debian/freedm.docs
+++ freedoom-0.7/debian/freedm.docs
@@ -0,0 +1,3 @@
+CREDITS
+NEWS
+README
--- freedoom-0.7.orig/debian/wrappers/freedm
+++ freedoom-0.7/debian/wrappers/freedm
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -u
+set -e
+
+/usr/games/boom -iwad /usr/share/games/freedoom/freedm.wad "$@"
--- freedoom-0.7.orig/debian/wrappers/freedoom
+++ freedoom-0.7/debian/wrappers/freedoom
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -u
+set -e
+
+/usr/games/boom -iwad /usr/share/games/doom/freedoom.wad "$@"