r12389 - packages/trunk/warzone2100/debian
Paul Wise
pabs at alioth.debian.org
Tue May 17 04:23:27 UTC 2011
Author: pabs
Date: 2011-05-17 04:23:18 +0000 (Tue, 17 May 2011)
New Revision: 12389
Added:
packages/trunk/warzone2100/debian/clean
packages/trunk/warzone2100/debian/warzone2100-data.doc-base
Removed:
packages/trunk/warzone2100/debian/warzone2100.6
packages/trunk/warzone2100/debian/warzone2100.manpages
Modified:
packages/trunk/warzone2100/debian/changelog
packages/trunk/warzone2100/debian/control
packages/trunk/warzone2100/debian/rules
packages/trunk/warzone2100/debian/warzone2100-data.install
packages/trunk/warzone2100/debian/warzone2100.install
Log:
Build and install new upstream docs
Modified: packages/trunk/warzone2100/debian/changelog
===================================================================
--- packages/trunk/warzone2100/debian/changelog 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/changelog 2011-05-17 04:23:18 UTC (rev 12389)
@@ -2,6 +2,7 @@
* New upstream release
- Refresh miniupnpc removal patch
+ - Build and install new upstream docs
-- Paul Wise <pabs at debian.org> Tue, 17 May 2011 10:02:50 +0800
Added: packages/trunk/warzone2100/debian/clean
===================================================================
--- packages/trunk/warzone2100/debian/clean (rev 0)
+++ packages/trunk/warzone2100/debian/clean 2011-05-17 04:23:18 UTC (rev 12389)
@@ -0,0 +1,3 @@
+doc/quickstartguide.html
+doc/quickstartguide.pdf
+doc/warzone2100.6
Modified: packages/trunk/warzone2100/debian/control
===================================================================
--- packages/trunk/warzone2100/debian/control 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/control 2011-05-17 04:23:18 UTC (rev 12389)
@@ -22,6 +22,14 @@
glee-dev,
libminiupnpc-dev,
pkg-config,
+ asciidoc,
+ wkhtmltopdf,
+ libxml2-utils,
+ docbook-xml,
+ docbook-xsl,
+ xsltproc,
+ xauth,
+ xvfb,
zip,
unzip
Standards-Version: 3.9.1
@@ -58,10 +66,11 @@
Depends: ${misc:Depends}
Recommends: warzone2100
Description: data files for warzone2100
- This package contains data and translations for the warzone2100 game.
+ This package contains data, docs and translations for the warzone2100 game.
.
It contains the campaign and multiplayer data, several mods (including
- a more advanced AI, different terrain textures, new maps and scavengers).
+ a more advanced AI, different terrain textures, new maps and scavengers)
+ and documentation for the game.
Package: warzone2100-dbg
Section: debug
Modified: packages/trunk/warzone2100/debian/rules
===================================================================
--- packages/trunk/warzone2100/debian/rules 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/rules 2011-05-17 04:23:18 UTC (rev 12389)
@@ -21,5 +21,18 @@
--with-distributor="$(shell dpkg-vendor --query vendor)" \
--disable-debug
+override_dh_auto_build:
+ # The HTML to PDF converter needs an X server
+ # The default bit depth is too low for the images in the PDF
+ xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" dh_auto_build
+
+override_dh_auto_install:
+ dh_auto_install
+ rm -f debian/*/usr/share/doc/warzone2100/COPYING*
+ rm -f debian/*/usr/share/doc/warzone2100/ChangeLog*
+
override_dh_strip:
dh_strip --dbg-package=warzone2100-dbg
+
+override_dh_compress:
+ dh_compress -X.pdf
Added: packages/trunk/warzone2100/debian/warzone2100-data.doc-base
===================================================================
--- packages/trunk/warzone2100/debian/warzone2100-data.doc-base (rev 0)
+++ packages/trunk/warzone2100/debian/warzone2100-data.doc-base 2011-05-17 04:23:18 UTC (rev 12389)
@@ -0,0 +1,12 @@
+Document: warzone2100
+Title: Warzone 2100 Quick Start Guide
+Author: Ben Latimore <BlueMaxima>, Guangcong Luo <Zarel>
+Abstract: This guide will help you get started playing Warzone 2100.
+Section: Games/Strategy
+
+Format: HTML
+Index: /usr/share/doc/warzone2100/quickstartguide.html
+Files: /usr/share/doc/warzone2100/quickstartguide.html
+
+Format: PDF
+Files: /usr/share/doc/warzone2100/quickstartguide.pdf
Modified: packages/trunk/warzone2100/debian/warzone2100-data.install
===================================================================
--- packages/trunk/warzone2100/debian/warzone2100-data.install 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/warzone2100-data.install 2011-05-17 04:23:18 UTC (rev 12389)
@@ -1,3 +1,4 @@
+usr/share/doc
usr/share/locale
usr/share/games/warzone2100/*.wz
usr/share/games/warzone2100/mods/multiplay
Deleted: packages/trunk/warzone2100/debian/warzone2100.6
===================================================================
--- packages/trunk/warzone2100/debian/warzone2100.6 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/warzone2100.6 2011-05-17 04:23:18 UTC (rev 12389)
@@ -1,86 +0,0 @@
-.\" Forwarded to http://developer.wz2100.net/ticket/357
-.TH WARZONE2100 6 "2007-04-29"
-.SH NAME
-warzone2100 \- 3D real time strategy game
-.SH SYNOPSIS
-.B warzone2100
-.RI [ OPTION ]...
-.RI [ ARGS ]...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B warzone2100
-commands.
-.PP
-.B warzone2100
-is a 3D science fiction real time strategy game.
-.SH OPTIONS
-.TP
-.B \-\-cheat
-Run in cheat mode.
-.TP
-\fB\-\-datadir \fP\fIDIR\fP
-Set default datadir to \fIDIR\fP.
-.TP
-\fB\-\-debug \fP\fIFLAGS\fP
-Show debug for \fIFLAGS\fP.
-.TP
-\fB\-\-debugfile \fP\fIFILE\fP
-Log debug output in \fIFILE\fP.
-.TP
-.B \-\-fullscreen
-Play in fullscreen mode.
-.TP
-.B \-\-help
-Show help and exit.
-.TP
-\fB\-\-mod \fP\fIMOD\fP
-Enable global mod \fIMOD\fP.
-.TP
-\fB\-\-mod\_ca \fP\fIMOD\fP
-Enable campaign only mod \fIMOD\fP.
-.TP
-\fB\-\-mod\_mp \fP\fIMOD\fP
-Enable multiplay only mod \fIMOD\fP.
-.TP
-\fB\-\-savegame \fP\fINAME\fP
-Load a saved game \fINAME\fP.
-.TP
-.B \-\-window
-Play in windowed mode.
-.TP
-.B \-\-version
-Output version info and exit.
-.TP
-\fB\-\-resolution \fP\fIWIDTH\fPx\fIHEIGHT\fP
-Run at
-.I WIDTH
-times
-.I HEIGHT
-screen resolution. This needs to be a resolution supported by your X
-server.
-.TP
-.B \-\-(no)shadows
-Toggle the shadows.
-.TP
-.B \-\-(no)sound
-Toggle the sound.
-.PP
-The fullscreen/window, resolution, sound, and shadows settings are stored,
-so they only need to be specified once, or when you want to change them.
-.SH EXAMPLES
-.TP
-.I warzone2100 \-\-fullscreen \-\-resolution 800x600
-Run in full screen at 800x600 screen resolution.
-.TP
-.I warzone2100 \-\-window \-\-resolution 800x600
-Run in a window at 800x600 screen resolution.
-.TP
-.I warzone2100
-Run using the parameters specified last time.
-.SH AUTHORS
-See the
-.I copyright
-file included in the package.
-.PP
-This manual page was written by Linas Zvirblis <0x0007 at gmail.com>
-for the Debian project (but may be used by others).
Modified: packages/trunk/warzone2100/debian/warzone2100.install
===================================================================
--- packages/trunk/warzone2100/debian/warzone2100.install 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/warzone2100.install 2011-05-17 04:23:18 UTC (rev 12389)
@@ -1,4 +1,5 @@
usr/games
+usr/share/man
usr/share/icons
usr/share/applications
../../debian/warzone2100-16x16.xpm usr/share/pixmaps
Deleted: packages/trunk/warzone2100/debian/warzone2100.manpages
===================================================================
--- packages/trunk/warzone2100/debian/warzone2100.manpages 2011-05-17 02:18:28 UTC (rev 12388)
+++ packages/trunk/warzone2100/debian/warzone2100.manpages 2011-05-17 04:23:18 UTC (rev 12389)
@@ -1 +0,0 @@
-debian/warzone2100.6
More information about the Pkg-games-commits
mailing list