[SCM] granatier packaging branch, master, updated. debian/4.12.4-1-62-gd70ecc7

Maximiliano Curia maxy at moszumanska.debian.org
Tue Jul 29 21:00:40 UTC 2014


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/granatier.git;a=commitdiff;h=4dbe89e

The following commit has been merged in the master branch:
commit 4dbe89ec004a5962f3116325e38402e358dae853
Author: Maximiliano Curia <maxy at debian.org>
Date:   Tue Jul 29 22:47:28 2014 +0200

    Convert manpage to docbook.
---
 debian/changelog               |   1 +
 debian/granatier.manpages      |   2 +-
 debian/man-granatier.6.docbook | 105 ++++++++++++++++++++++++++++++++++
 debian/man/granatier.man       |  16 ------
 debian/man/kdeopt.part         | 126 -----------------------------------------
 debian/rules                   |   4 ++
 6 files changed, 111 insertions(+), 143 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d5878c9..04b9296 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 granatier (4:4.13.3-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Convert manpage to docbook.
 
  -- Maximiliano Curia <maxy at debian.org>  Wed, 16 Jul 2014 12:54:14 +0200
 
diff --git a/debian/granatier.manpages b/debian/granatier.manpages
index 0f4047a..6d9164f 100644
--- a/debian/granatier.manpages
+++ b/debian/granatier.manpages
@@ -1 +1 @@
-debian/man/out/granatier.6
+granatier.6
diff --git a/debian/man-granatier.6.docbook b/debian/man-granatier.6.docbook
new file mode 100644
index 0000000..c735279
--- /dev/null
+++ b/debian/man-granatier.6.docbook
@@ -0,0 +1,105 @@
+<?xml version="1.0" ?>
+<!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+<!ENTITY % English "INCLUDE">
+]>
+
+<refentry lang="&language;">
+    <refentryinfo>
+        <title>Games Manual</title>
+        <author>
+            <personname>
+                <firstname>Maximiliano</firstname>
+                <surname>Curia</surname>
+            </personname>
+            <email>maxy at debian.org</email>
+        </author>
+        <date>2014-07-29</date>
+        <releaseinfo>&kde; 4.13</releaseinfo>
+        <productname>K Desktop Environment</productname>
+    </refentryinfo>
+
+    <refmeta>
+        <refentrytitle><command>granatier</command></refentrytitle>
+        <manvolnum>6</manvolnum>
+    </refmeta>
+
+    <refnamediv>
+        <refname><command>granatier</command></refname>
+        <refpurpose>Bomberman clone</refpurpose>
+    </refnamediv>
+
+    <refsynopsisdiv>
+        <cmdsynopsis>
+            <command>granatier</command>
+            <arg choice="opt">&kde; Generic Options</arg>
+            <arg choice="opt">Qt Generic Options</arg>
+        </cmdsynopsis>
+    </refsynopsisdiv>
+
+    <refsect1>
+        <title>Description</title>
+        <para>Granatier is a clone of the classic Bomberman™ game, inspired by the work of the Clanbomber clone.</para>
+        <para>The object of the game is to run through an arena, using bombs to clear out blocks and eliminate your opponents. Several bonuses and handicaps are hidden underneath the blocks – these can either help or hinder your progress.</para>
+    </refsect1>
+
+    <refsect1>
+        <title>Options</title>
+
+        <para><variablelist>
+                <varlistentry>
+                    <term><option>--help</option></term>
+                    <listitem><para>Show help about options</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--help-qt</option></term>
+                    <listitem><para>Show Qt specific options</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--help-kde</option></term>
+                    <listitem><para>Show KDE specific options</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--help-all</option></term>
+                    <listitem><para>Show all options</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--author</option></term>
+                    <listitem><para>Show author information</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>-v --version</option></term>
+                    <listitem><para>Show version information</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--license</option></term>
+                    <listitem><para>Show license information</para></listitem>
+                </varlistentry>
+                <varlistentry>
+                    <term><option>--</option></term>
+                    <listitem><para>End of options</para></listitem>
+                </varlistentry>
+        </variablelist></para>
+
+    </refsect1>
+
+
+    <refsect1>
+        <title>See Also</title>
+        <para><replaceable>kdeoptions</replaceable>(7),
+            <replaceable>qtoptions</replaceable>(7)
+        </para>
+
+        <para>More detailed user documentation is available from <ulink
+                url="help:/granatier">help:/granatier</ulink>
+            (either enter this &URL; into &konqueror;, or run
+            <userinput><command>khelpcenter</command>
+                <parameter>help:/granatier</parameter></userinput>).</para>
+
+    </refsect1>
+
+    <refsect1>
+        <title>Bugs</title>
+        <para>There are probably tons of bugs. Use <ulink url="http://bugs.kde.org">bugs.kde.org</ulink> to report them.</para>
+    </refsect1>
+
+</refentry>
diff --git a/debian/man/granatier.man b/debian/man/granatier.man
deleted file mode 100644
index f5a0f37..0000000
--- a/debian/man/granatier.man
+++ /dev/null
@@ -1,16 +0,0 @@
-.TH GRANATIER 6
-.SH NAME
-granatier \- Bomberman Clone
-.SH SYNOPSIS
-.B granatier
-.I [Qt-options] [KDE-options]
-.SH DESCRIPTION
-.B Granatier
-is a clone of the classic Bomberman game, inspired by the work of
-the Clanbomber clone.
-.so kdeopt.part
-.SH SEE ALSO
-More detailed user documentation is available from
-.BR help:/granatier
-(either enter this URL into 
Bkonqueror
P, or run `khelpcenter
-help:/granatier').
diff --git a/debian/man/kdeopt.part b/debian/man/kdeopt.part
deleted file mode 100644
index 43a2f59..0000000
--- a/debian/man/kdeopt.part
+++ /dev/null
@@ -1,126 +0,0 @@
-.\" This portion of the manual page is from kdeopt.man
-.SH GENERIC OPTIONS
-.TP
-.B \-\-help
-Show help about options.
-.TP
-.B \-\-help-qt
-Show Qt specific options.
-.TP
-.B \-\-help-kde
-Show KDE specific options.
-.TP
-.B \-\-help-all
-Show all options.
-.TP
-.B \-\-author
-Show author information.
-.TP
-.B \-v, \-\-version
-Show version information.
-.TP
-.B \-\-license
-Show license information.
-.TP
-.B \-\-
-End of options.
-.SH QT OPTIONS
-.TP
-.B \-\-display 
I<displayname>
B
-Use the X-server display `displayname'.
-.TP
-.B \-\-session 
I<sessionId>
B
-Restore the application for the given `sessionId'.
-.TP
-.B \-\-cmap
-Causes the application to install a private color map on an 8\-bit
-display.
-.TP
-.B \-\-ncols 
I<count>
B
-Limits the number of colors allocated in the color cube on an 8\-bit
-display, if the application is using the QApplication::ManyColor color
-specification.
-.TP
-.B \-\-nograb
-Tells Qt to never grab the mouse or the keyboard.
-.TP
-.B \-\-dograb
-Running under a debugger can cause an implicit \-nograb, use \-dograb
-to override.
-.TP
-.B \-\-sync
-Switches to synchronous mode for debugging.
-.TP
-.B \-\-fn, \-\-font 
I<fontname>
B
-Defines the application font.
-.TP
-.B \-\-bg, \-\-background 
I<color>
B
-Sets the default background color and an application palette (light
-and dark shades are calculated).
-.TP
-.B \-\-fg, \-\-foreground 
I<color>
B
-Sets the default foreground color.
-.TP
-.B \-\-btn, \-\-button 
I<color>
B
-Sets the default button color.
-.TP
-.B \-\-name 
I<name>
B
-Sets the application name.
-.TP
-.B \-\-title 
I<title>
B
-Sets the application title (caption).
-.TP
-.B \-\-testability
-load the testability framework.
-.TP
-.B \-\-visual TrueColor
-Forces the application to use a TrueColor visual on an 8-bit display.
-.TP
-.B \-\-inputstyle 
I<inputstyle>
B
-Sets XIM (X Input Method) input style. Possible values are
-
Ionthespot
P, 
Ioverthespot
P, 
Ioffthespot
P and 
Iroot
P.
-.TP
-.B \-\-im 
I<XIM server>
B
-Set XIM server.
-.TP
-.B \-\-noxim
-Disable XIM.
-.TP
-.B \-\-reverse
-Mirrors the whole layout of widgets.
-.TP
-.B \-\-reverse
-mirrors the whole layout of widgets.
-.TP
-.B \-\-stylesheet 
I<file.qss>
B
-applies the Qt stylesheet to the application widgets.
-.TP
-.B \-\-graphicssystem 
I<system
B>
-use a different graphics system instead of the default one, options are raster
-and opengl (experimental).
-.TP
-.B \-\-qmljsdebugger 
I<port
B>
-QML JS debugger information. Application must be built with
-\-DQT_DECLARATIVE_DEBUG for the debugger to be enabled.
-.SH KDE OPTIONS
-.TP
-.B \-\-caption 
I<caption>
B
-Use `caption' as name in the titlebar.
-.TP
-.B \-\-icon 
I<icon>
B
-Use `icon' as the application icon.
-.TP
-.B \-\-config 
I<filename>
B
-Use alternative configuration file.
-.TP
-.B \-\-nocrashhandler
-Disable crash handler, to get core dumps.
-.TP
-.B \-\-waitforwm
-Waits for a WM_NET compatible windowmanager.
-.TP
-.B \-\-style 
I<style>
B
-Sets the application GUI style.
-.TP
-.B \-\-geometry 
I<geometry>
B
-Sets the client geometry of the main widget.
diff --git a/debian/rules b/debian/rules
index 1a1dd13..13fbb33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@ override_dh_auto_configure:
 override_dh_auto_install:
 	$(overridden_command) --destdir=debian/tmp
 
+override_dh_auto_build:
+	$(overridden_command)
+	meinproc4 --stylesheet /usr/share/kde4/apps/ksgmltools2/customization/kde-include-man.xsl --output /dev/null debian/man-granatier.6.docbook
+
 generate-icons:
 	while read src dest; do \
 		convert debian/tmp/$$src debian/icons/$$dest; \

-- 
granatier packaging



More information about the pkg-kde-commits mailing list