--- rott-1.1.orig/debian/watch +++ rott-1.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.icculus.org/rott/releases/rott-(.*)\.tar\.gz --- rott-1.1.orig/debian/rott.dirs +++ rott-1.1/debian/rott.dirs @@ -0,0 +1 @@ +/usr/share/games/rott --- rott-1.1.orig/debian/rott.lintian-overrides +++ rott-1.1/debian/rott.lintian-overrides @@ -0,0 +1,2 @@ +# Directory created intentionally for data files. +rott: package-contains-empty-directory usr/share/games/rott/ --- rott-1.1.orig/debian/rules +++ rott-1.1/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +CFLAGS += -DDATADIR=\\\"/usr/share/games/rott/\\\" + +DEB_BUILDDIR := rott --- rott-1.1.orig/debian/copyright +++ rott-1.1/debian/copyright @@ -0,0 +1,56 @@ +Author: Apogee Software, Ltd. +Download: http://icculus.org/rott/ + +Files: * +Copyright: + © 1991-1992, FORTE + © 1992-1994, Creative Technology Ltd. + © 1992, Jim Kent + © 1993-1994, James R. Dose + © 1994-1995, Apogee Software, Ltd. + © 1995, Spacetec IMC Corporation + © 2002, John R. Hall +License: GPL-2+ + 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 Street, 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'. + +Files: debian/* +Copyright: © 2006-2008, Fabian Greffrath +License: GPL-2+ + The Debian packaging is licensed under the GPL. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +Files: debian/po/de.po +Copyright: + © 2006-2008, Fabian Greffrath + © 2007, Helge Kreutzmann +License: GPL-2+ + The Debian packaging is licensed under the GPL. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +Files: debian/po/pt_BR.po +Copyright: © 2007, Eder L. Marques +License: GPL-2+ + The Debian packaging is licensed under the GPL. + . + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. --- rott-1.1.orig/debian/README.Debian +++ rott-1.1/debian/README.Debian @@ -0,0 +1,20 @@ +Rise of the Triad for Debian +---------------------------- + + * The source code is currently configured to use the shareware data files. + If you want to use the registered version of ROTT, you need to get the + package source code, uncomment '00-registered-version.patch' in + 'debian/patches/series' and rebuild the package. + . + During package installation choose 'no' when asked to download the + shareware data files and copy the registered version data files into the + '/usr/share/games/rott' directory afterwards. + + * If you encounter game hangs like the one described in #498413, + please install the recommended packages 'timidity' and 'freepats'. + If you still encounter problems, please enable the ALSA MIDI Sequencer + in '/etc/default/timidity', restart timidity and try again. + . + Please note that this works around a bug in sdl-mixer1.2, not rott. + + -- Fabian Greffrath Thu, 8 Jan 2009 11:20:00 +0100 --- rott-1.1.orig/debian/rott.config +++ rott-1.1/debian/rott.config @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +db_input high rott/shareware || true +db_go --- rott-1.1.orig/debian/README.source +++ rott-1.1/debian/README.source @@ -0,0 +1,6 @@ +This package uses quilt to manage all modifications to the upstream source. +The fully patched source can be generated using the patch target provided by +`debian/rules'. + +If you want to know more about how to use quilt to manage Debian patches, read +/usr/share/doc/quilt/README.source. --- rott-1.1.orig/debian/rott.manpages +++ rott-1.1/debian/rott.manpages @@ -0,0 +1 @@ +doc/rott.6 --- rott-1.1.orig/debian/rott.prerm +++ rott-1.1/debian/rott.prerm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +SHAREDIR="/usr/share/games/rott" +DOCDIR="/usr/share/doc/rott" + +case "$1" in + remove|deconfigure) + rm -rf ${SHAREDIR}/* ${DOCDIR}/vendor.doc + ;; + + upgrade|failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- rott-1.1.orig/debian/templates +++ rott-1.1/debian/templates @@ -0,0 +1,19 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: rott/shareware +Type: boolean +Default: true +_Description: Download shareware data files? + The Rise of the Triad game requires additional data files which are + not available under a free license and cannot be distributed by + Debian. You may choose to automatically download the shareware data + files from the Internet and install them on the system now. + . + The installation will require about 15 MB of free disk space. --- rott-1.1.orig/debian/compat +++ rott-1.1/debian/compat @@ -0,0 +1 @@ +6 --- rott-1.1.orig/debian/rott.docs +++ rott-1.1/debian/rott.docs @@ -0,0 +1,2 @@ +README +doc/*.txt --- rott-1.1.orig/debian/rott.install +++ rott-1.1/debian/rott.install @@ -0,0 +1,3 @@ +rott/rott /usr/games/ +misc/rott.xpm /usr/share/pixmaps/ +misc/rott.desktop /usr/share/applications/ --- rott-1.1.orig/debian/rott.menu +++ rott-1.1/debian/rott.menu @@ -0,0 +1,5 @@ +?package(rott):needs="X11" section="Games/Action"\ + title="Rise of the Triad"\ + longtitle="A high quality, fast scrolling first-person perspective 3D action game"\ + command="/usr/games/rott -fullscreen -resolution 800x600"\ + icon="/usr/share/pixmaps/rott.xpm" --- rott-1.1.orig/debian/rott.postinst +++ rott-1.1/debian/rott.postinst @@ -0,0 +1,83 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +SHAREDIR="/usr/share/games/rott" +SHAREZIP="1rott13.zip" +SHAREURL="ftp://ftp.3drealms.com/share" +SHAREMD5="0fafd6b629eab80278fc726e31f9cf41" +DOCDIR="/usr/share/doc/rott" + +if [ -x "$(which unzip)" ]; then + UNZIP="unzip -o" +elif [ -x "$(which 7za)" ]; then + UNZIP="7za e -y" +elif [ -x "$(which 7z)" ]; then + UNZIP="7z e -y" +fi + +SUCCESS=0 +COUNTER=0 +MAXCOUNT=3 + +case "$1" in + configure) + # Have we read the question already? + db_fget rott/shareware seen + if [ "$RET" = "false" ]; then + exit + fi + + # Do we want to download the shareware zip file? + db_get rott/shareware + if [ "$RET" = "true" ]; then + + # Repeat until we succeed (or reach MAXCOUNT) + while [ $SUCCESS -eq 0 -a $COUNTER -lt $MAXCOUNT ]; do + + # Increase counter + COUNTER=$(($COUNTER+1)) + + # Download the shareware zip file in case it's not already there + if [ ! -e ${SHAREDIR}/${SHAREZIP} ]; then + wget --progress=dot --directory-prefix ${SHAREDIR} -c ${SHAREURL}/${SHAREZIP} || \ + echo "rott: Download of shareware data files failed!" >&2 + fi + + # Check zip file integrity, then install + if [ "$(md5sum $SHAREDIR/$SHAREZIP | cut -f1 -d' ')" = "$SHAREMD5" ]; then + cd ${SHAREDIR} && eval ${UNZIP} ${SHAREZIP} > /dev/null && \ + cd ${SHAREDIR} && eval ${UNZIP} ROTTSW13.SHR > /dev/null && \ + chmod -f 0644 ${SHAREDIR}/* && \ + rm -f ${SHAREDIR}/ROTTSW13.SHR ${SHAREDIR}/INSTALL.EXE ${SHAREDIR}/FILE_ID.DIZ && \ + ln -sf ${SHAREDIR}/VENDOR.DOC ${DOCDIR}/vendor.doc && \ + SUCCESS=1 + else + # File integrity check failed, delete the crap + echo "rott: File integrity check failed!" >&2 + rm -rf ${SHAREDIR}/* + fi + done + + # Unsuccessful? + if [ $SUCCESS -eq 0 ]; then + echo "rott: Installation of shareware data files failed!" >&2 + exit 1 + fi + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- rott-1.1.orig/debian/changelog +++ rott-1.1/debian/changelog @@ -0,0 +1,303 @@ +rott (1.1-3ubuntu0.1) karmic-proposed; urgency=low + + * debian/rott.postinst + + The shareware zip moved to /share/ on the ftp, + fix the download link again. (LP: #411262) + + -- Philip Muskovac Wed, 11 Nov 2009 18:12:11 +0100 + +rott (1.1-3) unstable; urgency=low + + * debian/rott.postinst: + + The shareware zip is now in pub/share/ on the ftp, fix the download link. + Closes: #530570, LP: #305779. + * debian/patches/11-add-nosound-to-manpage.patch: + + Add the nosound option to the manpage. + * debian/control: + + Add myself to Uploaders. + + Standards-Version: 3.8.1, no changes. + + rott-dbg goes to contrib/debug, not contrib/devel. + + -- Evgeni Golov Tue, 09 Jun 2009 10:38:11 +0200 + +rott (1.1-2) unstable; urgency=low + + * Upload to unstable. + * debian/patches/*, debian/README.Debian: + + Refreshed, renamed and commented all patches. + * debian/patches/00-ludicrous-gibs.patch: + + New patch to enable EKG mode by default, requires cheating + otherwise, disabled in debian/patches/series. + * debian/patches/03-desktop-file.patch, debian/rott.install: + + New patch to add a generic rott.desktop file into the misc/ directory. + * debian/rott.menu: + + Changed to match rott.desktop. + * debian/control, debian/rott.postinst: + + Accept p7zip-full as an alternative to unzip to extract the shareware + zip files. + * debian/README.Debian: + + Explained more detailed how to build the registered version of ROTT. + + Described how to work around game hangs like the one described in #498413. + * debian/control: + + Fixed "binary-control-field-duplicates-source section in package rott". + * debian/changelog: + + Simplified, it's all GPL after all. + * debian/po/gl.po: + + Updated the Galician translation of the debconf template + (Closes: #512692), thanks Marce Villarino . + + -- Fabian Greffrath Mon, 16 Feb 2009 13:16:00 +0100 + +rott (1.1-1) experimental; urgency=low + + * New upstream release. + + Uploaded to experimental due to the Lenny freeze. + * debian/copyright: + + Converted into machine-readable format. + + Added further copyright holders. + + Sourceless binary files have been removed upstream. + * debian/control: + + Bumped Standards-Version to 3.8.0. + + Re-added rott-dbg package. + + Promoted freepats and timidity to Recommends (Closes: #498984). + * debian/manpage/, debian/patches/, debian/pixmap/: + + Removed previous patchset, all applied upstream. + * debian/patches/rott-1.1-disable-audiolib.patch: + + Reverting parts of upstream r218 to disable audiolib, + for testing purposes, disabled in debian/patches/series. + * debian/patches/rott-1.1-registered-version.patch: + + Updated from the previous rott-1.0-registered.patch, + disabled in debian/patches/series. + * debian/patches/german-eszett-as-backslash.patch: + + New patch, accept the German eszett as a backslash key. + * debian/patches/svn-r240-gameover.patch: + + New patch from Hans de Goede to fix corrupted "Game Over" screen + in resolutions higher than 320x200. + * debian/patches/svn-r241-fix-end-level-display.patch: + + New patch from Hans de Goede to fix empty game statistics screen + after finishing a level in resolutions higher than 320x200. + * debian/README.Debian, debian/patches/series: + + Changed to reflect new patch names. + * debian/README.Debian, debian/rules: + + Removed get-orig-source rule. + * debian/README.source: + + Added due to Policy 3.8.0. + * debian/rott.docs, debian/rott.install, debian/rott.manpages: + + Adopted to new source directory structure. + * debian/rott.postinst: + + Change data file permissions to 0644. + * debian/rules: + + Set DEB_BUILDDIR := rott. + + -- Fabian Greffrath Sun, 14 Sep 2008 14:15:00 +0100 + +rott (1.0+dfsg-3) UNRELEASED; urgency=low + + * debian/control, debian/compat: + + Set Maintainer to Debian Games Team and added myself to Uploaders. + + Added Vcs-Svn and Vcs-Browser fields. + + Bumped Build-Depends to cdbs (>= 0.4.52) and debhelper (>= 6.0.7). + + Added rott-dbg package. + * debian/{config,dirs,docs,install,manpages,menu,postinst,prerm}: + + Renamed to debian/rott.*. + * debian/copyright: + + Mentioned deletion of two sourceless binary files. + + Substituted '(C)' for '©'. + * debian/install: + + Removed debian/lintian/rott. + * debian/rules: + + Added get-orig-source rule. + * debian/README.Debian: + + Documented how to use the registered version of ROTT. + + Indented paragraphs. + * debian/rott.menu: + + Set resolution to 800x600. + * debian/lintian/rott: + + Renamed to debian/rott.lintian-overrides. + * debian/manpage/rott.6: + + Added new options: aim, fullscreen, window and resolution. + + * debian/control, debian/rules, debian/patches/*: + + Switched from dpatch to quilt. + * debian/patches/*: + + Dropped the entire previous patchset in favour of the Fedora patchset + courtesy of + Hans de Goede . + * debian/patches/rott-1.0-winrott-fixes.patch: + + Adopted changes to rott-1.0/README to the -p2 patch level. + * debian/patches/rott-1.0-debian-specific.patch: + + New patch. Added overridable CFLAGS and custom data path to stay on par + with the previous Debian patchset. + + -- Fabian Greffrath Wed, 23 Apr 2008 17:00:00 +0100 + +rott (1.0+dfsg-2) unstable; urgency=low + + * debian/patches/01-custom-datapath.dpatch, + debian/patches/13-improve-makefile.dpatch: + + Changed DATADIR back to "/usr/share/games/rott/". + + -- Fabian Greffrath Sun, 27 Jan 2008 20:00:00 +0100 + +rott (1.0+dfsg-1) unstable; urgency=low + + * Rebuilt source tarball. + + Removed sourceless binary files: + - rott/audio_wf.lib + - rott/spball.lib + + Moved documentation into the rott/ directory. + + Packaged only the rott/ directory. + + See README.Debian. + + * debian/changelog: + + Rephrased previous changelog entry. + * debian/control: + + Added Build-Depends on cdbs. + + Bumped Standards-Version to 3.7.3. + * debian/docs, debian/patches/*: + + Adjusted to new source directory structure. + * debian/install, debian/README.Debian: + + Added. + * debian/rules: + + Converted Debian packaging to CDBS. + * debian/lintian/rott: + + Added to override 'package-contains-empty-directory'. + * debian/patches/11-new-fix32.dpatch: + + Improved to build on big-endian architectures. + * debian/pixmaps/rott.xpm: + + Posterized to 34 colors. + * debian/po/fi.po: + + Added Finnish translation of the debconf templates (Closes: #456953). + + -- Fabian Greffrath Fri, 11 Jan 2008 17:00:00 +0100 + +rott (1.0-5) unstable; urgency=low + + * debian/control: + + Added 'Homepage:' control field. + + Added 'Suggests: freepats, timidity' for music playback. + * debian/rules: + + Pass CFLAGS over to $(MAKE). + + Patch before clean, unpatch after clean. + + Do not manually remove 'rott/rott' anymore (see patch #13). + * debian/manpage/rott.6: + + Removed description of soundsetup option (see patch #21). + + * debian/patches/10-32bitisms.dpatch: + + Dropped in favour of a series of patches courtesy of Michael Karcher + : + * debian/patches/11-new-fix32.dpatch: + + Fixes assumptions about sizes of integral types. Important for + 64 bit architectures (see patch #14). + * debian/patches/12-fix-char-byte.dpatch: + + Makes signed/unsigned chars more consistent to suppress compiler + warnings. No functional change. + * debian/patches/13-improve-makefile.dpatch: + + Makes CFLAGS overridable and removes executable on clean. + * debian/patches/14-fix-modex-ptr.dpatch: + + Cleans up use of integers instead of pointers to hold the base + address of the frame buffer (see patch #11, Closes: #419035). + * debian/patches/16-fix-random-actors.dpatch: + + Fix direction of random opponents. + * debian/patches/17-no-newline-in-addmessage.dpatch: + + Remove unsupported newlines from game messages. Important unless + signed character fix from 18-fix-drawichar is applied. + (+ Applied instead of upstream SVN commit 220.) + * debian/patches/18-fix-drawichar.dpatch: + + Fix cast for indexing an array with a character. + * debian/patches/19-playerarrow.dpatch: + + Modify DrawMap_PlayerArrow to avoid a off-by-one bug trying to + access scanline 201. + * debian/patches/20-printf-no-long.dpatch: + + Change tons of printf format strings to not use the "l" modifier + when printing "int" or even "byte" variables. + + Also add gcc's format attribute to printf-like functions and + make Error() a noreturn function. + * debian/patches/21-no-soundsetup.dpatch: + + Disable sound setup except on DOS. + + * Applied another series of patches from upstream SVN: + * debian/patches/30-svn-210.dpatch: + + Implement missing UL_ChangeDirectory. + * debian/patches/31-svn-211.dpatch: + + Add keyboard updates. + * debian/patches/33-svn-213.dpatch: + + Add some missing include guards. + * debian/patches/35-svn-215ab.dpatch: + + Sparc fixes from Damian M Gryski . + + Force `size' to be a multiple of 4 in Z_Malloc + to prevent unaligned access (SIGBUS). + + Prevent SIGBUS in ConvertStringToPasswordString. + * debian/patches/36-svn-216.dpatch: + + Replace FixedMul with one from Dan that optimizes better. + * debian/patches/37-svn-217c.dpatch: + + Change AUDIO_S16 to AUDIO_S16SYS in rott/fx_man.c. + * debian/patches/39-svn-219.dpatch: + + Another attempt at restoring the original EKG mode. + * debian/patches/41-svn-221.dpatch: + + Fix an incorrect array access. + (+ Applied instead of Michael Karcher's patch #15.) + + -- Fabian Greffrath Sat, 29 Nov 2007 09:45:00 +0200 + +rott (1.0-4) unstable; urgency=low + + * debian/patches/10-32bitisms.dpatch: + + New patch to lower the severity of #419035. + Thanks, Dmitry V. Rutsky ! + + ROTT no longer crashes on start on AMD64. + + Remaining issues: Sound works, but music is just a loud humming. + Loading a game produces a segfault. + * debian/menu: + + Adjusted to the new menu structure. + + -- Fabian Greffrath Sat, 1 Sep 2007 09:39:00 +0200 + +rott (1.0-3) unstable; urgency=low + + [ Christian Perrier ] + * Debconf templates and debian/control reviewed by the debian-l10n- + english team as part of the Smith review project. Closes: #422184 + * Debconf translation updates: + - Swedish. Closes: #422779,#420259 + - Czech. Closes: #422810 + - Galician. Closes: #422832 + - Portuguese. Closes: #422903 + - Tamil. Closes: #423077 + - Russian. Closes: #423225 + - French. Closes: #423491 + - Brazilian Portuguese. Closes: #425587 + - Dutch. Closes: #425709 + - German. Closes: #425892 + + [ Fabian Greffrath ] + * debian/control: + + Fixed indentation of Homepage line. + * debian/rules: + + Do not change directories, call MAKE with optional -C instead. + * debian/patches/01-custom-datapath.dpatch: + + Added ifdef for DATADIR. + * debian/po/fr.po: + + s/root/rott/ . + * Thanks to Christian Perrier and all translators! + + -- Fabian Greffrath Tue, 29 May 2007 13:04:29 +0200 + +rott (1.0-2) unstable; urgency=low + + * debian/postinst: + + Fixed bashism (Closes: #418695). + * debian/patches/05-big.endian-fix-dpatch: + + New patch: Fixes sprite errors on powerpc (Closes: #418698). + Thanks, Filippo Giunchedi ! + * debian/patches/06-touchplate-fix.dpatch: + + New patch: Fixes crashes when stepping on some touchplates. + + -- Fabian Greffrath Fri, 13 Apr 2007 00:00:00 +0100 + +rott (1.0-1) unstable; urgency=low + + * Initial release (Closes: #412063). + * Removed CVS directory from source tarball (thanks lintian). + + -- Fabian Greffrath Mon, 1 May 2006 00:00:00 +0100 --- rott-1.1.orig/debian/control +++ rott-1.1/debian/control @@ -0,0 +1,40 @@ +Source: rott +Section: contrib/games +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Games Team +Uploaders: Fabian Greffrath , + Evgeni Golov +Build-Depends: cdbs (>= 0.4.52), debhelper (>= 6.0.7), libsdl1.2-dev, libsdl-mixer1.2-dev, quilt +Standards-Version: 3.8.1 +Homepage: http://icculus.org/rott/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/rott/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/rott/ + +Package: rott +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, wget, unzip | p7zip-full +Recommends: freepats, timidity +Description: Rise of the Triad -- The HUNT Begins + Rise of the Triad is a high quality, fast scrolling first-person perspective + 3D action game. It includes a lot of destructive enemies, an arsenal of + weapons from simple pistols to missile launchers, life-preserving armor, traps + and ambushes galore. + . + WARNING: Rise of the Triad features wanton and gratuitous violence. + . + This package contains no data files but can install the shareware data files + from the Internet. + +Package: rott-dbg +Section: contrib/debug +Priority: extra +Architecture: any +Depends: rott (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: Rise of the Triad -- The HUNT Begins (debug) + Rise of the Triad is a high quality, fast scrolling first-person perspective + 3D action game. It includes a lot of destructive enemies, an arsenal of + weapons from simple pistols to missile launchers, life-preserving armor, traps + and ambushes galore. + . + This package contains the debug symbols. --- rott-1.1.orig/debian/po/sv.po +++ rott-1.1/debian/po/sv.po @@ -0,0 +1,35 @@ +# Swedish translation for rott debconf template. +# Copyright (C) 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the rott package. +# Daniel Nylander , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-08 09:47+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Hämta datafiler från sharewareversionen?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The Rise of the Triad game requires additional data files which are not available under a free license and cannot be distributed by Debian. You may choose to automatically download the shareware data files from the Internet and install them on the system now." +msgstr "Rise of the Triad kräver ytterligare datafiler som inte finns tillgängliga under en fri licens och kan därför inte distribueras av Debian. Du kan välja att automatiskt hämta ner datafilerna från sharewareversionen från Internet och installera dem på ditt system." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "Installationen kräver ungefär 15 MB ledigt utrymme på din hårddisk." + --- rott-1.1.orig/debian/po/ta.po +++ rott-1.1/debian/po/ta.po @@ -0,0 +1,43 @@ +# translation of rott.po to TAMIL +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Dr.T.Vasudevan , 2007. +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-09 21:18+0530\n" +"Last-Translator: Dr.T.Vasudevan \n" +"Language-Team: TAMIL \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "பகிர்பொருள் தரவு கோப்புகளை தரவிறக்கவா? " + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"ரைஸ் ஆப் தி ட்ரையாட் விளையாட்டுக்கு கூடுதல் தரவு கோப்புகள் தேவை. அவை இலவச காப்பு " +"உரிமையில் கிடைப்பதில்லையாகையால் டெபியன் அவற்றை வினியோகிக்க இயலாது. இணையத்திலிருந்து " +"தானியங்கியாக பகிர்பொருள் தரவு கோப்புகளை தரவிறக்கி கணினியில் இப்போது நிறுவ நீங்கள் " +"தேர்ந்தெடுக்கலாம்." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "நிறுவலுக்கு வட்டில் 15 எம்பி(MB) இடம் தேவை" --- rott-1.1.orig/debian/po/gl.po +++ rott-1.1/debian/po/gl.po @@ -0,0 +1,47 @@ +# translation of rott_1.0+dfsg-2_gl.po to galician +# Galician translation of rott's debconf templates +# This file is distributed under the same license as the rott package. +# +# Jacobo Tarrio , 2007. +# Marce Villarino , 2009. +# mvillarino , 2009. +msgid "" +msgstr "" +"Project-Id-Version: rott_1.0+dfsg-2_gl\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2009-01-22 22:09+0100\n" +"Last-Translator: Marce Villarino \n" +"Language-Team: galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Desexa descargar os ficheiros de datos shareware?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"O xogo \"Rise of the Triad\" precisa de ficheiros de datos adicionais que " +"non están dispoñíbeis baixo unha licenza libre e que Debian non pode " +"distribuír. Pode obter automaticamente os ficheiros de datos shareware " +"de Internet e instalalos no sistema." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "A instalación ha precisar duns 15 MB de espazo libre no disco." + --- rott-1.1.orig/debian/po/pt.po +++ rott-1.1/debian/po/pt.po @@ -0,0 +1,42 @@ +# Portuguese translation for rott's debconf messages. +# Copyright (C) 2007 +# This file is distributed under the same license as the rott package. +# Ricardo Silva , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-08 09:53+0100\n" +"Last-Translator: Ricardo Silva \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Obter os ficheiros de dados shareware?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"O jogo Rise of the Triad necessita de ficheiros adicionais com dados que não " +"estão disponíveis numa licença livre e não podem ser distribuídos pela " +"Debian. Pode escolher obtê-los automaticamente da Internet e instalá-los " +"agora no seu sistema." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "A instalação vai precisar de cerca de 15 MB de disco livre." --- rott-1.1.orig/debian/po/nl.po +++ rott-1.1/debian/po/nl.po @@ -0,0 +1,43 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-16 19:18+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: debian-l10n-dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Wilt u shareware-databestanden ophalen?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"Het spel 'Rise of the Triad' vereist aanvullende databastanden die niet " +"beschikbaar zijn met een vrije licentie, en dus niet door Debian verspreid " +"kunnen worden. U kunt deze shareware-databastanden nu automatisch ophalen " +"via het Internet en ze zo op uw systeem installeren." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "De installatie vereist ongeveer 15MB aan vrije schijfruimte." --- rott-1.1.orig/debian/po/POTFILES.in +++ rott-1.1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- rott-1.1.orig/debian/po/fr.po +++ rott-1.1/debian/po/fr.po @@ -0,0 +1,44 @@ +# French translation of rott. +# Copyright (C) 2007 THE rott'S COPYRIGHT HOLDER +# This file is distributed under the same license as the rott package. +# Sylvain Archenault , 2007. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-08 12:22+0200\n" +"Last-Translator: Sylvain Archenault \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Faut-il télécharger les fichiers de données du partagiciel ?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"Le jeu « The Rise of the Triad » a besoin de fichiers de données " +"supplémentaires qui ne sont pas disponibles sous une licence libre et ne " +"peuvent pas être distribués par Debian. Vous pouvez les télécharger " +"automatiquement sur l'Internet et les installer maintenant sur le système." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "L'installation a besoin d'environ 15 Mo d'espace disque." --- rott-1.1.orig/debian/po/pt_BR.po +++ rott-1.1/debian/po/pt_BR.po @@ -0,0 +1,43 @@ +# rott Brazilian Portuguese translation +# Copyright (C) 2007, Eder L. Marques +# This file is distributed under the same license as the rott package. +# Eder L. Marques , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: rott 1.0-2\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-08 11:21-0300\n" +"Last-Translator: Eder L. Marques \n" +"Language-Team: l10n Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Baixar arquivos de dados shareware?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"O jogo Rise of the Triad necessita de arquivos de dados adicionais que não " +"estão disponíveis através de uma licença livre e não podem ser distribuídos " +"pelo Debian. Você pode escolher baixar automaticamente os arquivos de dados " +"shareware através da internet e instalá-los no sistema agora." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "A instalação irá precisar de cerca de 15 MB de espaço em disco livre." --- rott-1.1.orig/debian/po/ru.po +++ rott-1.1/debian/po/ru.po @@ -0,0 +1,45 @@ +# translation of rott_debconf_ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: 1.0-2\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-10 21:52+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Скачать файлы данных shareware?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"Для игры Rise of the Triad требуются файлы данных, которые недоступны под " +"свободной лицензией и не могут распространяться Debian. Вы можете " +"автоматически скачать файлы данных shareware из интернет и установить их в " +"систему прямо сейчас." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "Для установки потребуется около 15 МБ на диске." --- rott-1.1.orig/debian/po/cs.po +++ rott-1.1/debian/po/cs.po @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: rott\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-08 10:49+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Stáhnout sharewarové datové soubory?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"Hra The Rise of the Triad vyžaduje dodatečné datové soubory, které nejsou " +"šířeny pod svobodnou licencí a tedy nemohou být v Debianu distribuovány. " +"Nyní se můžete rozhodnout, zda tyto sharewarové soubory chcete stáhnout z " +"Internetu a nainstalovat do systému." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "Instalace bude potřebovat zhruba 15 MB volného místa na disku." --- rott-1.1.orig/debian/po/de.po +++ rott-1.1/debian/po/de.po @@ -0,0 +1,43 @@ +# Translation of rott debconf templates to German +# Copyright Fabian Greffrath , 2007. +# Copyright (C) Helge Kreutzmann , 2007. +# This file is distributed under the same license as the rott package. +# +msgid "" +msgstr "" +"Project-Id-Version: rott 1\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-05-24 21:41+0200\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Shareware-Datendateien herunterladen?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" +"Das Spiel »Rise of the Triad« benötigt zusätzliche Datendateien, die nicht " +"unter einer freien Lizenz verfügbar sind und von Debian nicht vertrieben " +"werden können. Bitte wählen sie, ob die Shareware-Daten jetzt automatisch " +"aus dem Internet heruntergeladen und auf Ihrem System installiert werden " +"sollen." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "Die Installation wird etwa 15 MB freien Festplattenspeicher benötigen." --- rott-1.1.orig/debian/po/templates.pot +++ rott-1.1/debian/po/templates.pot @@ -0,0 +1,39 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"The Rise of the Triad game requires additional data files which are not " +"available under a free license and cannot be distributed by Debian. You may " +"choose to automatically download the shareware data files from the Internet " +"and install them on the system now." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "" --- rott-1.1.orig/debian/po/fi.po +++ rott-1.1/debian/po/fi.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Project-Id-Version: rott_1.0-5\n" +"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" +"POT-Creation-Date: 2007-05-08 09:41+0200\n" +"PO-Revision-Date: 2007-12-18 19:53+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: Finland\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Download shareware data files?" +msgstr "Ladataanko maksullisina julkisohjelmina jaettavat datatiedostot?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The Rise of the Triad game requires additional data files which are not available under a free license and cannot be distributed by Debian. You may choose to automatically download the shareware data files from the Internet and install them on the system now." +msgstr "The Rise of the Triad -peli vaatii lisädatatiedostoja, joita ei ole saatavilla vapaasti lisensoituna ja joita ei voida jakaa Debianin mukana. Voit nyt halutessasi automaattisesti ladata nämä maksullisina julkisohjelmina jaettavat datatiedostot Internetistä ja asentaa ne järjestelmään." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "The installation will require about 15 MB of free disk space." +msgstr "Asennus vaatii noin 15 megatavua vapaata levytilaa." + --- rott-1.1.orig/debian/patches/10-german-eszett-as-backslash.patch +++ rott-1.1/debian/patches/10-german-eszett-as-backslash.patch @@ -0,0 +1,13 @@ +Accept the German eszett as a backslash key. + +--- rott-1.1.orig/rott/rt_in.c ++++ rott-1.1/rott/rt_in.c +@@ -1083,6 +1083,8 @@ + scancodes[SDLK_LSHIFT] = sc_RShift; /* sc_LShift */ + + scancodes[SDLK_BACKSLASH] = 0x2B; ++ /* Accept the German eszett as a backslash key */ ++ scancodes[SDLK_WORLD_63] = 0x2B; + scancodes[SDLK_z] = sc_Z; + scancodes[SDLK_x] = sc_X; + scancodes[SDLK_c] = sc_C; --- rott-1.1.orig/debian/patches/03-desktop-file.patch +++ rott-1.1/debian/patches/03-desktop-file.patch @@ -0,0 +1,13 @@ +Added a generic rott.desktop file into the misc/ directory. + +--- /dev/null ++++ rott-1.1/misc/rott.desktop +@@ -0,0 +1,8 @@ ++[Desktop Entry] ++Type=Application ++Name=Rise of the Triad ++Comment=A high quality, fast scrolling first-person perspective 3D action game ++Icon=rott ++TryExec=rott ++Exec=rott -fullscreen -resolution 800x600 ++Categories=Game;ActionGame; --- rott-1.1.orig/debian/patches/00-registered-version.patch +++ rott-1.1/debian/patches/00-registered-version.patch @@ -0,0 +1,16 @@ +The source code is setup to use shareware binaries. If you want to use the +registered version of ROTT, apply this patch and compile as normal. + +--- rott-1.1.orig/rott/develop.h ++++ rott-1.1/rott/develop.h +@@ -41,8 +41,8 @@ + + #define BNACRASHPREVENT 1 //bna added + // Make sure only one of the following are on at one time +-#define SHAREWARE 1 +-#define SUPERROTT 0 ++#define SHAREWARE 0 ++#define SUPERROTT 1 + #define SITELICENSE 0 + + // cute little dopefish thing, only works with special patch? --- rott-1.1.orig/debian/patches/11-add-nosound-to-manpage.patch +++ rott-1.1/debian/patches/11-add-nosound-to-manpage.patch @@ -0,0 +1,17 @@ +From: Evgeni Golov +Subject: Add the nosound option to the manpage +Date: 2009-06-04 12:28:17 +0200 +License: GPL-2+ +=================================================================== +--- rott-1.1.orig/doc/rott.6 2009-06-04 12:27:48.000000000 +0200 ++++ rott-1.1/doc/rott.6 2009-06-04 12:28:17.000000000 +0200 +@@ -36,6 +36,9 @@ + .BR nomouse + Disable check for mouse. + .TP ++.BR nosound ++Disable sound. ++.TP + .BR cyberman + Enable check for Cyberman. + .TP --- rott-1.1.orig/debian/patches/02-fix-end-level-display.patch +++ rott-1.1/debian/patches/02-fix-end-level-display.patch @@ -0,0 +1,24 @@ +Applied rott-1.1-fix-end-level-display.patch from Hans de Goede to fix +empty game statistics screen after finishing a level in resolutions higher +than 320x200. + +--- rott-1.1.orig/rott/rt_game.c ++++ rott-1.1/rott/rt_game.c +@@ -3426,7 +3426,7 @@ + tmpPic = ( pic_t * )W_CacheLumpName( "mmbk", PU_CACHE, Cvt_pic_t, 1 ); + VWB_DrawPic( 0, 0, tmpPic ); + VW_UpdateScreen(); +- DisableScreenStretch(); ++// DisableScreenStretch(); + + IN_StartAck(); + EndBonusVoice = 0; +@@ -3759,7 +3759,7 @@ + + + //bna section +- EnableScreenStretch();//bna++ ++// EnableScreenStretch();//bna++ + VW_UpdateScreen();//bna++ + // DisableScreenStretch();//bna++ + //bna section end --- rott-1.1.orig/debian/patches/series +++ rott-1.1/debian/patches/series @@ -0,0 +1,8 @@ +#00-disable-audiolib.patch +#00-ludicrous-gibs.patch +#00-registered-version.patch +01-gameover.patch +02-fix-end-level-display.patch +03-desktop-file.patch +10-german-eszett-as-backslash.patch +11-add-nosound-to-manpage.patch --- rott-1.1.orig/debian/patches/00-disable-audiolib.patch +++ rott-1.1/debian/patches/00-disable-audiolib.patch @@ -0,0 +1,56 @@ +Reverting parts of upstream r218 to disable audiolib, for testing purposes. + +--- rott-1.1.orig/rott/Makefile ++++ rott-1.1/rott/Makefile +@@ -69,6 +69,7 @@ + cin_util.o \ + dosutil.o \ + engine.o \ ++ fx_man.o \ + isr.o \ + modexlib.o \ + rt_actor.o \ +@@ -109,8 +110,6 @@ + watcom.o \ + z_zone.o \ + byteordr.o \ +- dukemusc.o \ +- audiolib/audiolib.a \ + winrott.o + $(CC) $^ $(LDLIBS) -o $@ + +--- rott-1.1.orig/rott/rt_sound.c ++++ rott-1.1/rott/rt_sound.c +@@ -395,6 +395,7 @@ + + snd=W_CacheLumpNum(SoundNumber(sndnum),PU_STATIC, CvtNull, 1); + ++#ifdef DOS + if ( *snd == 'C' ) + { + voice = FX_PlayVOC3D( snd, pitch, angle, distance, +@@ -405,6 +406,24 @@ + voice = FX_PlayWAV3D( snd, pitch, angle, distance, + sounds[sndnum].priority, (unsigned long) sndnum ); + } ++#else ++/* ++ Oh boy. The library used to implement these functions may need a ++ file size. So, let's just hack these in! ++ */ ++ if ( *snd == 'C' ) ++ { ++ voice = FX_PlayVOC3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ++ pitch, angle, distance, ++ sounds[sndnum].priority, (unsigned long) sndnum ); ++ } ++ else ++ { ++ voice = FX_PlayWAV3D_ROTT( snd, W_LumpLength(SoundNumber(sndnum)), ++ pitch, angle, distance, ++ sounds[sndnum].priority, (unsigned long) sndnum ); ++ } ++#endif + + if ( voice < FX_Ok ) + { --- rott-1.1.orig/debian/patches/01-gameover.patch +++ rott-1.1/debian/patches/01-gameover.patch @@ -0,0 +1,86 @@ +Applied rott-1.1-gameover.patch from Hans de Goede to fix corrupted "Game Over" +screen in resolutions higher than 320x200. + +--- rott-1.1.orig/rott/rt_vid.c ++++ rott-1.1/rott/rt_vid.c +@@ -1099,31 +1099,14 @@ + + void VL_DecompressLBM (lbm_t *lbminfo, boolean flip) + { +- byte *screen = (byte *)bufferofs; +- byte *orig; +- int count; +- byte b, +- rept; ++ int count; ++ byte b, rept; + byte *source = (byte *)&lbminfo->data; + byte *buf; + int ht = lbminfo->height; +- +- int x = 0; +- int y; +- byte *origbuf; + byte pal[768]; + +- +- orig = screen; +- +- if (iGLOBAL_SCREENWIDTH <= 320){ +- buf = (byte *) SafeMalloc (64000); +- }else{ +- buf = (byte *) SafeMalloc (iGLOBAL_SCREENWIDTH*iGLOBAL_SCREENHEIGHT); +- } +- origbuf = buf; +- +- VL_ClearBuffer (displayofs, 0); ++ EnableScreenStretch(); + + memcpy(&pal[0],lbminfo->palette,768); + +@@ -1131,6 +1114,8 @@ + + VW_MarkUpdateBlock (0, 0, 320, 200); + ++ buf = (byte *)bufferofs; ++ + while (ht--) + { + count = 0; +@@ -1163,36 +1148,7 @@ + buf += (iGLOBAL_SCREENWIDTH-320); //eg 800 - 320) + } + } +- //SetTextMode ( ); //12345678 +- +- { +- int cnt; +- +- cnt = 0; +- screen = orig; +- buf = origbuf; +- VGAMAPMASK (writemask); +- +- //bna section start +- if (iGLOBAL_SCREENWIDTH <= 320){ +- for (y = 0; y < (lbminfo->height*lbminfo->width); y++) +- +- { +- *screen++ = *(buf+y); +- } +- }else{ +- for (y = 0; y < (lbminfo->height); y++){ +- for (x = 0; x < iGLOBAL_SCREENWIDTH; x++){ +- *screen++ = *(buf++); +- } +- } +- } +- // bna section end +- +- } + +- SafeFree(origbuf); +- EnableScreenStretch();//bna++ shut on streech mode + if (flip==true) + VW_UpdateScreen (); + --- rott-1.1.orig/debian/patches/00-ludicrous-gibs.patch +++ rott-1.1/debian/patches/00-ludicrous-gibs.patch @@ -0,0 +1,13 @@ +Enable EKG mode by default, requires cheating otherwise. + +--- rott-1.1.orig/rott/rt_actor.c ++++ rott-1.1/rott/rt_actor.c +@@ -82,7 +82,7 @@ + } + + +-boolean ludicrousgibs=false; ++boolean ludicrousgibs=true; + + short colheight[15]; +