fepitre / rpms / gtk3

Forked from rpms/gtk3 4 years ago
Clone

Blame SOURCES/0003-docs-Add-a-man-page-fro-gtk3-demo-application.patch

0fe339
From 3cfd54ec6726e61096c6f37430d7fe75323db9e3 Mon Sep 17 00:00:00 2001
0fe339
From: Benjamin Otte <otte@redhat.com>
0fe339
Date: Fri, 3 Oct 2014 16:15:10 +0200
0fe339
Subject: [PATCH] docs: Add a man page fro gtk3-demo-application
0fe339
0fe339
It is an installed binary, so it needs a man page!
0fe339
---
0fe339
 docs/reference/gtk/Makefile.am               |  2 ++
0fe339
 docs/reference/gtk/gtk-docs.sgml             |  1 +
0fe339
 docs/reference/gtk/gtk3-demo-application.xml | 44 ++++++++++++++++++++++++++++
0fe339
 3 files changed, 47 insertions(+)
0fe339
 create mode 100644 docs/reference/gtk/gtk3-demo-application.xml
0fe339
0fe339
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
0fe339
index 968384c..0e94062 100644
0fe339
--- a/docs/reference/gtk/Makefile.am
0fe339
+++ b/docs/reference/gtk/Makefile.am
0fe339
@@ -152,6 +152,7 @@ content_files =					\
0fe339
 	windows.sgml				\
0fe339
 	x11.sgml				\
0fe339
 	gtk3-demo.xml				\
0fe339
+	gtk3-demo-application.xml		\
0fe339
 	gtk3-widget-factory.xml			\
0fe339
 	gtk-query-immodules-3.0.xml		\
0fe339
 	gtk-update-icon-cache.xml		\
0fe339
@@ -338,6 +339,7 @@ man_MANS = 				\
0fe339
	gtk-update-icon-cache.1		\
0fe339
 	gtk-launch.1			\
0fe339
 	gtk3-demo.1			\
0fe339
+	gtk3-demo-application.1		\
0fe339
 	gtk3-widget-factory.1		\
0fe339
 	broadwayd.1
0fe339
 
0fe339
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml
0fe339
index e3956d6..ad448fb 100644
0fe339
--- a/docs/reference/gtk/gtk-docs.sgml
0fe339
+++ b/docs/reference/gtk/gtk-docs.sgml
0fe339
@@ -395,6 +395,7 @@
0fe339
   <part>
0fe339
     <title>GTK+ Tools</title>
0fe339
     <xi:include href="gtk3-demo.xml" />
0fe339
+    <xi:include href="gtk3-demo-application.xml" />
0fe339
     <xi:include href="gtk3-widget-factory.xml" />
0fe339
     <xi:include href="gtk-query-immodules-3.0.xml" />
0fe339
     <xi:include href="gtk-update-icon-cache.xml" />
0fe339
diff --git a/docs/reference/gtk/gtk3-demo-application.xml b/docs/reference/gtk/gtk3-demo-application.xml
0fe339
new file mode 100644
0fe339
index 0000000..f7a9694
0fe339
--- /dev/null
0fe339
+++ b/docs/reference/gtk/gtk3-demo-application.xml
0fe339
@@ -0,0 +1,44 @@
0fe339
+
0fe339
+
0fe339
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
0fe339
+]>
0fe339
+<refentry id="gtk3-demo-application">
0fe339
+
0fe339
+<refentryinfo>
0fe339
+  <title>gtk3-demo-application</title>
0fe339
+  <productname>GTK+</productname>
0fe339
+  <authorgroup>
0fe339
+    <author>
0fe339
+      <contrib>Developer</contrib>
0fe339
+      <firstname>Matthias</firstname>
0fe339
+      <surname>Clasen</surname>
0fe339
+    </author>
0fe339
+  </authorgroup>
0fe339
+</refentryinfo>
0fe339
+
0fe339
+<refmeta>
0fe339
+  <refentrytitle>gtk3-demo-application</refentrytitle>
0fe339
+  <manvolnum>1</manvolnum>
0fe339
+  <refmiscinfo class="manual">User Commands</refmiscinfo>
0fe339
+</refmeta>
0fe339
+
0fe339
+<refnamediv>
0fe339
+  <refname>gtk3-demo-application</refname>
0fe339
+  <refpurpose>Demonstrate GtkApplication</refpurpose>
0fe339
+</refnamediv>
0fe339
+
0fe339
+<refsynopsisdiv>
0fe339
+<cmdsynopsis>
0fe339
+<command>gtk3-demo-application</command>
0fe339
+</cmdsynopsis>
0fe339
+</refsynopsisdiv>
0fe339
+
0fe339
+<refsect1><title>Description</title>
0fe339
+<para>
0fe339
+<command>gtk3-demo-application</command> is an example application
0fe339
+used by <command>gtk3-demo</command>. There is no need to call it
0fe339
+manually.
0fe339
+</para>
0fe339
+</refsect1>
0fe339
+
0fe339
+</refentry>
0fe339
-- 
0fe339
1.9.3
0fe339