diff -Nru rott-1.1.1/debian/changelog rott-1.1.1/debian/changelog --- rott-1.1.1/debian/changelog 2010-06-03 05:38:58.000000000 +0000 +++ rott-1.1.1/debian/changelog 2011-03-24 15:47:26.000000000 +0000 @@ -1,3 +1,47 @@ +rott (1.1.1-6) unstable; urgency=low + + * bump version for dak (I fumbled the last upload) + + -- Jon Dowland Thu, 24 Mar 2011 15:47:04 +0000 + +rott (1.1.1-5) unstable; urgency=low + + [ Fabian Greffrath ] + * Add "Recommends: game-data-packager (>= 24)" and + move rott-data to Suggests. + * On remove, if rott-data is installed, delete all files + that are not in rott-data, delete the whole directory else. + * Remove debian/rott.dirs, don't claim the /usr/share/games/rott + directory for this package anymore, it belongs to rott-data. + + [ Jon Dowland ] + * restore prerm/postinst for alternative. Whoops! That's what + experimental is for, folks! + + -- Jon Dowland Wed, 23 Mar 2011 12:53:28 +0000 + +rott (1.1.1-4) experimental; urgency=low + + [ Fabian Greffrath ] + * Add Japanese po-debconf template translation, + thanks Hideki Yamane (Closes: #599886). + * Build all four variants of the game: Shareware Version, Commercial Version, + CD Version and Site License CD Version (LP: #511810). + * Handle variants via update-alternatives, document this in the manual page + and in README-Debian, add symlinks for the manual pages. + * Add lintian overrides for desktop-command-not-in-package + and menu-command-not-in-package. + * Fix another typo (parameter) spotted by lintian. + * Remove the debug package, it has never been of any use. + * Update Standards-Version and debhelper compat. + * Make sure object files get rebuilt whenever develop.h is changed. + + [ Jon Dowland ] + * add Recommends: rott-data (to be provided by packages generated + by game-data-packager) + + -- Jon Dowland Sun, 16 Jan 2011 23:49:32 +0000 + rott (1.1.1-3.1) unstable; urgency=low * Non-maintainer upload. diff -Nru rott-1.1.1/debian/clean rott-1.1.1/debian/clean --- rott-1.1.1/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ rott-1.1.1/debian/clean 2011-01-03 15:35:19.000000000 +0000 @@ -0,0 +1,2 @@ +rott/rott +rott/rott-* diff -Nru rott-1.1.1/debian/compat rott-1.1.1/debian/compat --- rott-1.1.1/debian/compat 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/compat 2011-01-03 14:40:22.000000000 +0000 @@ -1 +1 @@ -6 +7 diff -Nru rott-1.1.1/debian/control rott-1.1.1/debian/control --- rott-1.1.1/debian/control 2009-12-21 13:31:04.000000000 +0000 +++ rott-1.1.1/debian/control 2011-01-18 06:57:46.000000000 +0000 @@ -3,18 +3,19 @@ Priority: optional Maintainer: Debian Games Team Uploaders: Fabian Greffrath , - Evgeni Golov -Build-Depends: debhelper (>= 7.3), libsdl1.2-dev, libsdl-mixer1.2-dev -Standards-Version: 3.8.3 + Evgeni Golov , Jon Dowland +Build-Depends: debhelper (>= 7.0.50~), libsdl1.2-dev, libsdl-mixer1.2-dev +Standards-Version: 3.9.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 +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: freepats, timidity, game-data-packager (>= 24) +Suggests: rott-data +Description: SDL-Port of Rise of the Triad 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 @@ -22,18 +23,5 @@ . 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. + This package contains no data files: use `game-data-packager' to generate + a suitable data package before installing rott. diff -Nru rott-1.1.1/debian/copyright rott-1.1.1/debian/copyright --- rott-1.1.1/debian/copyright 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/copyright 2011-01-16 23:38:36.000000000 +0000 @@ -36,21 +36,3 @@ . 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'. diff -Nru rott-1.1.1/debian/patches/00-registered-version.patch rott-1.1.1/debian/patches/00-registered-version.patch --- rott-1.1.1/debian/patches/00-registered-version.patch 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/patches/00-registered-version.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -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? diff -Nru rott-1.1.1/debian/patches/03-parameter-typo.patch rott-1.1.1/debian/patches/03-parameter-typo.patch --- rott-1.1.1/debian/patches/03-parameter-typo.patch 1970-01-01 00:00:00.000000000 +0000 +++ rott-1.1.1/debian/patches/03-parameter-typo.patch 2011-01-03 14:37:40.000000000 +0000 @@ -0,0 +1,39 @@ +Description: paramater -> parameter +Author: Fabian Greffrath + +--- rott-1.1.1.orig/doc/rott.6 ++++ rott-1.1.1/doc/rott.6 +@@ -73,13 +73,13 @@ Turn off sound reverb. + Exit program when demo is terminated. + .TP + .BR warp\ \fIlevel\fP +-Warp to specific ROTT level (next paramater is level to start on). ++Warp to specific ROTT level (next parameter is level to start on). + .TP + .BR timelimit\ \fItime\fP +-Play ROTT in time limit mode (next paramater is time in seconds). ++Play ROTT in time limit mode (next parameter is time in seconds). + .TP + .BR maxtimelimit\ \fItime\fP +-Maximimum time to count down from (next paramater is time in seconds). ++Maximimum time to count down from (next parameter is time in seconds). + .TP + .BR dopefish + ? +--- rott-1.1.1.orig/rott/rt_main.c ++++ rott-1.1.1/rott/rt_main.c +@@ -616,11 +616,11 @@ void CheckCommandLineParameters( void ) + printf (" NOECHO - Turn off sound reverb\n"); + printf (" DEMOEXIT - Exit program when demo is terminated\n"); + printf (" WARP - Warp to specific ROTT level\n"); +- printf (" next paramater is level to start on\n"); ++ printf (" next parameter is level to start on\n"); + printf (" TIMELIMIT - Play ROTT in time limit mode\n"); +- printf (" next paramater is time in seconds\n"); ++ printf (" next parameter is time in seconds\n"); + printf (" MAXTIMELIMIT - Maximimum time to count down from\n"); +- printf (" next paramater is time in seconds\n"); ++ printf (" next parameter is time in seconds\n"); + printf (" DOPEFISH - ?\n"); + printf (" \n"); + printf ("CONTROLS\n"); diff -Nru rott-1.1.1/debian/patches/04-objs-depend-on-develop_h.patch rott-1.1.1/debian/patches/04-objs-depend-on-develop_h.patch --- rott-1.1.1/debian/patches/04-objs-depend-on-develop_h.patch 1970-01-01 00:00:00.000000000 +0000 +++ rott-1.1.1/debian/patches/04-objs-depend-on-develop_h.patch 2011-01-10 08:45:32.000000000 +0000 @@ -0,0 +1,26 @@ +Description: Make sure object files get rebuilt whenever develop.h is changed. +Author: Fabian Greffrath + +--- rott-1.1.1.orig/rott/Makefile ++++ rott-1.1.1/rott/Makefile +@@ -60,7 +60,7 @@ all: rott + audiolib/audiolib.a: + $(MAKE) -C audiolib CC="$(CC)" CFLAGS="$(ALL_CFLAGS)" LDLIBS="$(LDLIBS)" + +-rott: \ ++OBJS = \ + cin_actr.o \ + cin_efct.o \ + cin_evnt.o \ +@@ -110,8 +110,10 @@ rott: \ + z_zone.o \ + byteordr.o \ + dukemusc.o \ +- audiolib/audiolib.a \ + winrott.o ++ ++$(OBJS): develop.h ++rott: $(OBJS) audiolib/audiolib.a + $(CC) $^ $(LDLIBS) -o $@ + + clean: diff -Nru rott-1.1.1/debian/patches/10-all-variants.patch rott-1.1.1/debian/patches/10-all-variants.patch --- rott-1.1.1/debian/patches/10-all-variants.patch 1970-01-01 00:00:00.000000000 +0000 +++ rott-1.1.1/debian/patches/10-all-variants.patch 2011-01-04 09:53:09.000000000 +0000 @@ -0,0 +1,48 @@ +Description: Document we support all variants of the game +Author: Fabian Greffrath +Forwarded: not-needed + +--- rott-1.1.1.obsolete.0.838742770793946.orig/doc/rott.6 ++++ rott-1.1.1.obsolete.0.838742770793946/doc/rott.6 +@@ -7,11 +7,41 @@ rott \- Rise of the Triad + .B rott + .RI [ options ] + ++.B rott-shareware ++.RI [ options ] ++ ++.B rott-commercial ++.RI [ options ] ++ ++.B rott-superrott ++.RI [ options ] ++ ++.B rott-sitelicense ++.RI [ options ] ++ + .SH DESCRIPTION + .B ROTT + is a port of Apogee's 3D action title Rise of the Triad, originally released in 1994. + This port duplicates the functionality of the original game on modern operating systems, including Linux, Win32, and Mac OS X. + ++The ++.B rott-shareware, ++.B rott-commercial, ++.B rott-superrott ++and ++.B rott-sitelicense ++binaries start the ++.B Shareware Version, ++.B Commercial Version, ++.B CD Version ++and ++.B Site License CD Version ++of the game, respectively. The ++.B rott ++binary is a symbolic link to one of these and is handled via Debian's ++.B update-alternatives ++mechanism. ++ + .SH OPTIONS + .TP + .BR aim diff -Nru rott-1.1.1/debian/patches/series rott-1.1.1/debian/patches/series --- rott-1.1.1/debian/patches/series 2009-12-21 13:38:04.000000000 +0000 +++ rott-1.1.1/debian/patches/series 2011-01-10 08:45:32.000000000 +0000 @@ -1,5 +1,7 @@ #00-disable-audiolib.patch #00-ludicrous-gibs.patch -#00-registered-version.patch 01-demo-datadir.patch 02-persistent-typo.patch +03-parameter-typo.patch +04-objs-depend-on-develop_h.patch +10-all-variants.patch diff -Nru rott-1.1.1/debian/po/cs.po rott-1.1.1/debian/po/cs.po --- rott-1.1.1/debian/po/cs.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/cs.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -# 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" -"Language: cs\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." diff -Nru rott-1.1.1/debian/po/da.po rott-1.1.1/debian/po/da.po --- rott-1.1.1/debian/po/da.po 2010-06-01 05:34:21.000000000 +0000 +++ rott-1.1.1/debian/po/da.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -# Danish translation rott. -# Copyright (C) 2010 rott & nedenst??ende overs??ttere. -# This file is distributed under the same license as the rott package. -# Joe Hansen , 2010. -# -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: 2010-05-31 17:30+01:00\n" -"Last-Translator: Joe Hansen \n" -"Language-Team: Danish \n" -"Language: \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 "Hent sharewaredatafiler?" - -#. 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 "" -"Spillet The Rise of the Triad kr??ver yderligere datafiler, som endnu ikke " -"er tilg??ngelige under en fri licens, og derfor ikke kan distribueres sammen " -"med Debian. Du kan nu v??lge automatisk at hente sharewaredatafilerne fra " -"internettet og installere dem p?? systemet." - -#. Type: boolean -#. Description -#: ../templates:2001 -msgid "The installation will require about 15 MB of free disk space." -msgstr "Installationen vil kr??ve cirka 15 MB ledig diskplads." diff -Nru rott-1.1.1/debian/po/de.po rott-1.1.1/debian/po/de.po --- rott-1.1.1/debian/po/de.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/de.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -# 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" -"Language: de\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." diff -Nru rott-1.1.1/debian/po/es.po rott-1.1.1/debian/po/es.po --- rott-1.1.1/debian/po/es.po 2010-05-22 07:52:59.000000000 +0000 +++ rott-1.1.1/debian/po/es.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ -# rott po-debconf translation to Spanish -# Copyright (C) 2009, 2010 Software in the Public Interest -# This file is distributed under the same license as the root package. -# -# Changes: -# - Initial translation -# Gary Ariel Sandi Vigabriel , 2009 -# -# - Updates -# Francisco Javier Cuadrado , 2010 -# -# Traductores, si no conocen el formato PO, merece la pena leer la -# documentación de gettext, especialmente las secciones dedicadas a este -# formato, por ejemplo ejecutando: -# info -n '(gettext)PO Files' -# info -n '(gettext)Header Entry' -# -# Equipo de traducción al español, por favor lean antes de traducir -# los siguientes documentos: -# -# - El proyecto de traducción de Debian al español -# http://www.debian.org/intl/spanish/ -# especialmente las notas de traducción en -# http://www.debian.org/intl/spanish/notas -# -# - La guía de traducción de po's de debconf: -# /usr/share/doc/po-debconf/README-trans -# o http://www.debian.org/intl/l10n/po-debconf/README-trans -# -msgid "" -msgstr "" -"Project-Id-Version: rott 1.1.1-3\n" -"Report-Msgid-Bugs-To: fabian@debian-unofficial.org\n" -"POT-Creation-Date: 2007-05-08 09:41+0200\n" -"PO-Revision-Date: 2010-01-08 09:53+0100\n" -"Last-Translator: Francisco Javier Cuadrado \n" -"Language-Team: Debian l10n Spanish \n" -"Language: \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 "¿Desea descargar archivos «shareware» (versión de prueba)?" - -#. 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 "" -"El juego «The Rise of the Triad» necesita archivos de datos adicionales que " -"no están disponibles bajo una licencia libre y no se pueden distribuir en " -"Debian. Puede elegir descargar automáticamente los archivos de datos " -"«shareware» desde internet e instalarlos en el sistema ahora." - -#. Type: boolean -#. Description -#: ../templates:2001 -msgid "The installation will require about 15 MB of free disk space." -msgstr "" -"La instalación necesita aproximadamente 15 MB de espacio libre en el disco. " diff -Nru rott-1.1.1/debian/po/fi.po rott-1.1.1/debian/po/fi.po --- rott-1.1.1/debian/po/fi.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/fi.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -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" -"Language: fi\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." diff -Nru rott-1.1.1/debian/po/fr.po rott-1.1.1/debian/po/fr.po --- rott-1.1.1/debian/po/fr.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/fr.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -# 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" -"Language: fr\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." diff -Nru rott-1.1.1/debian/po/gl.po rott-1.1.1/debian/po/gl.po --- rott-1.1.1/debian/po/gl.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/gl.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,47 +0,0 @@ -# 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" -"Language: \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." diff -Nru rott-1.1.1/debian/po/nl.po rott-1.1.1/debian/po/nl.po --- rott-1.1.1/debian/po/nl.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/nl.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -# 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" -"Language: \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." diff -Nru rott-1.1.1/debian/po/POTFILES.in rott-1.1.1/debian/po/POTFILES.in --- rott-1.1.1/debian/po/POTFILES.in 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/po/POTFILES.in 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -[type: gettext/rfc822deb] templates diff -Nru rott-1.1.1/debian/po/pt_BR.po rott-1.1.1/debian/po/pt_BR.po --- rott-1.1.1/debian/po/pt_BR.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/pt_BR.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -# 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" -"Language: \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." diff -Nru rott-1.1.1/debian/po/pt.po rott-1.1.1/debian/po/pt.po --- rott-1.1.1/debian/po/pt.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/pt.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -# 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" -"Language: pt\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." diff -Nru rott-1.1.1/debian/po/ru.po rott-1.1.1/debian/po/ru.po --- rott-1.1.1/debian/po/ru.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/ru.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,46 +0,0 @@ -# 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" -"Language: ru\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 МБ на диске." diff -Nru rott-1.1.1/debian/po/sv.po rott-1.1.1/debian/po/sv.po --- rott-1.1.1/debian/po/sv.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/sv.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -# 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" -"Language: sv\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." diff -Nru rott-1.1.1/debian/po/ta.po rott-1.1.1/debian/po/ta.po --- rott-1.1.1/debian/po/ta.po 2010-05-27 05:12:38.000000000 +0000 +++ rott-1.1.1/debian/po/ta.po 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -# 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" -"Language: \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) இடம் தேவை" diff -Nru rott-1.1.1/debian/po/templates.pot rott-1.1.1/debian/po/templates.pot --- rott-1.1.1/debian/po/templates.pot 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/po/templates.pot 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ -# 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 "" diff -Nru rott-1.1.1/debian/README.Debian rott-1.1.1/debian/README.Debian --- rott-1.1.1/debian/README.Debian 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/README.Debian 2011-01-04 09:51:09.000000000 +0000 @@ -1,14 +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. + * The rott package in Debian supports all four variants of the game: + Shareware Version, Commercial Version, CD Version and Site License CD + Version. The corresponding binaries are named 'rott-shareware', + 'rott-commercial', 'rott-superrott' and 'rott-sitelicense', respectively. + In order to select which variant is started by the 'rott' command and the + desktop and menu files, Debian's 'update-alternatives' mechanism is used: . - 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. + $ update-alternatives --config rott + . + By default, the 'rott-shareware' alternative is preferred. + . + The game expects its data files in the '/usr/share/games/rott' directory + (with upper case file names), so make sure to also copy the appropriate data + files into this directory when changing the 'rott' alternative. * If you encounter game hangs like the one described in #498413, please install the recommended packages 'timidity' and 'freepats'. @@ -17,4 +23,4 @@ . Please note that this works around a bug in sdl-mixer1.2, not rott. - -- Fabian Greffrath Thu, 8 Jan 2009 11:20:00 +0100 + -- Fabian Greffrath Mon, 03 Jan 2011 15:10:21 +0100 diff -Nru rott-1.1.1/debian/rott.config rott-1.1.1/debian/rott.config --- rott-1.1.1/debian/rott.config 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/rott.config 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e - -. /usr/share/debconf/confmodule - -db_input high rott/shareware || true -db_go diff -Nru rott-1.1.1/debian/rott.dirs rott-1.1.1/debian/rott.dirs --- rott-1.1.1/debian/rott.dirs 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/rott.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/usr/share/games/rott diff -Nru rott-1.1.1/debian/rott.install rott-1.1.1/debian/rott.install --- rott-1.1.1/debian/rott.install 2009-08-07 16:44:48.000000000 +0000 +++ rott-1.1.1/debian/rott.install 2011-01-03 14:30:16.000000000 +0000 @@ -1,3 +1,3 @@ -rott /usr/games/ +rott-* /usr/games/ ../misc/rott.xpm /usr/share/pixmaps/ ../misc/rott.desktop /usr/share/applications/ diff -Nru rott-1.1.1/debian/rott.links rott-1.1.1/debian/rott.links --- rott-1.1.1/debian/rott.links 1970-01-01 00:00:00.000000000 +0000 +++ rott-1.1.1/debian/rott.links 2011-01-04 09:51:09.000000000 +0000 @@ -0,0 +1,4 @@ +usr/share/man/man6/rott.6.gz usr/share/man/man6/rott-shareware.6.gz +usr/share/man/man6/rott.6.gz usr/share/man/man6/rott-commercial.6.gz +usr/share/man/man6/rott.6.gz usr/share/man/man6/rott-superrott.6.gz +usr/share/man/man6/rott.6.gz usr/share/man/man6/rott-sitelicense.6.gz diff -Nru rott-1.1.1/debian/rott.lintian-overrides rott-1.1.1/debian/rott.lintian-overrides --- rott-1.1.1/debian/rott.lintian-overrides 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/rott.lintian-overrides 2011-01-16 23:38:36.000000000 +0000 @@ -1,2 +1,5 @@ -# Directory created intentionally for data files. -rott: package-contains-empty-directory usr/share/games/rott/ +# The /usr/games/rott binary is handled via update-alternatives. +rott: desktop-command-not-in-package +rott: menu-command-not-in-package +# False positive: This is not a license file +rott: extra-license-file usr/games/rott-sitelicense diff -Nru rott-1.1.1/debian/rott.postinst rott-1.1.1/debian/rott.postinst --- rott-1.1.1/debian/rott.postinst 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/rott.postinst 2011-01-17 22:39:06.000000000 +0000 @@ -1,77 +1,15 @@ #!/bin/sh - set -e -. /usr/share/debconf/confmodule - -SHAREDIR="/usr/share/games/rott" -SHAREZIP="1rott13.zip" -SHAREURL1="ftp://ftp.3drealms.com/share" -SHAREURL2="ftp://ftp.3drealms.com/pub/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 ${SHAREURL1}/${SHAREZIP} || \ - wget --progress=dot --directory-prefix ${SHAREDIR} -c ${SHAREURL2}/${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|configure) + update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-shareware 30 + update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-commercial 20 + update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-superrott 20 + update-alternatives --quiet --install /usr/games/rott rott /usr/games/rott-sitelicense 20 ;; - abort-upgrade|abort-remove|abort-deconfigure) + abort-remove|abort-deconfigure) ;; *) diff -Nru rott-1.1.1/debian/rott.prerm rott-1.1.1/debian/rott.prerm --- rott-1.1.1/debian/rott.prerm 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/rott.prerm 2011-03-16 09:22:55.000000000 +0000 @@ -1,13 +1,34 @@ #!/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 + update-alternatives --quiet --remove-all rott + + rm -f /usr/share/doc/rott/vendor.doc + + if [ "`dpkg -l rott-data 2> /dev/null | grep ^ii`" ] + then + # rott-data is installed, delete all data files + # that are definitely not in rott-data + rm -f /usr/share/games/rott/1rott13.zip \ + /usr/share/games/rott/FILE_ID.DIZ \ + /usr/share/games/rott/INSTALL.EXE \ + /usr/share/games/rott/ROTTSW13.SHR \ + /usr/share/games/rott/MODEM.PCK \ + /usr/share/games/rott/ORDER.FRM \ + /usr/share/games/rott/README.EXE \ + /usr/share/games/rott/ROTT.EXE \ + /usr/share/games/rott/ROTTHELP.EXE \ + /usr/share/games/rott/ROTTIPX.EXE \ + /usr/share/games/rott/ROTTSER.EXE \ + /usr/share/games/rott/SETUP.EXE \ + /usr/share/games/rott/SNDSETUP.EXE + else + # rott-data is not (yet) installed, it is safe + # to delete the whole directory. + rm -rf /usr/share/games/rott + fi ;; upgrade|failed-upgrade) diff -Nru rott-1.1.1/debian/rules rott-1.1.1/debian/rules --- rott-1.1.1/debian/rules 2009-12-21 13:24:04.000000000 +0000 +++ rott-1.1.1/debian/rules 2011-01-10 08:45:32.000000000 +0000 @@ -6,5 +6,39 @@ %: dh --sourcedir=rott $@ -override_dh_strip: - dh_strip --dbg-package=rott-dbg +override_dh_auto_build: + # Shareware Version + sed -e "s/^\(#define SHAREWARE\).*/\1 1/" \ + -e "s/^\(#define SUPERROTT\).*/\1 0/" \ + -e "s/^\(#define SITELICENSE\).*/\1 0/" \ + -i rott/develop.h + dh_auto_build + mv -fv rott/rott rott/rott-shareware + # Commercial Version + sed -e "s/^\(#define SHAREWARE\).*/\1 0/" \ + -e "s/^\(#define SUPERROTT\).*/\1 0/" \ + -e "s/^\(#define SITELICENSE\).*/\1 0/" \ + -i rott/develop.h + dh_auto_build + mv -fv rott/rott rott/rott-commercial + # CD Version + sed -e "s/^\(#define SHAREWARE\).*/\1 0/" \ + -e "s/^\(#define SUPERROTT\).*/\1 1/" \ + -e "s/^\(#define SITELICENSE\).*/\1 0/" \ + -i rott/develop.h + dh_auto_build + mv -fv rott/rott rott/rott-superrott + # Site License CD Version + sed -e "s/^\(#define SHAREWARE\).*/\1 0/" \ + -e "s/^\(#define SUPERROTT\).*/\1 0/" \ + -e "s/^\(#define SITELICENSE\).*/\1 1/" \ + -i rott/develop.h + dh_auto_build + mv -fv rott/rott rott/rott-sitelicense + +override_dh_auto_clean: + sed -e "s/^\(#define SHAREWARE\).*/\1 1/" \ + -e "s/^\(#define SUPERROTT\).*/\1 0/" \ + -e "s/^\(#define SITELICENSE\).*/\1 0/" \ + -i rott/develop.h + dh_auto_clean diff -Nru rott-1.1.1/debian/templates rott-1.1.1/debian/templates --- rott-1.1.1/debian/templates 2009-08-04 12:23:48.000000000 +0000 +++ rott-1.1.1/debian/templates 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -# 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.