Blame SOURCES/0001-Add-man-pages-for-gtk3-demo-and-gtk3-widget-factory.patch

0fe339
From 9af2710d843c9e17459737cb8530abf466a89b9e Mon Sep 17 00:00:00 2001
0fe339
From: Matthias Clasen <mclasen@redhat.com>
0fe339
Date: Mon, 19 May 2014 23:20:56 -0400
0fe339
Subject: [PATCH] Add man pages for gtk3-demo and gtk3-widget-factory
0fe339
0fe339
We install the applications, so they should also have some docs.
0fe339
---
0fe339
 docs/reference/gtk/Makefile.am             |  2 +
0fe339
 docs/reference/gtk/gtk-docs.sgml           |  2 +
0fe339
 docs/reference/gtk/gtk3-demo.xml           | 59 ++++++++++++++++++++++++++++++
0fe339
 docs/reference/gtk/gtk3-widget-factory.xml | 59 ++++++++++++++++++++++++++++++
0fe339
 4 files changed, 122 insertions(+)
0fe339
 create mode 100644 docs/reference/gtk/gtk3-demo.xml
0fe339
 create mode 100644 docs/reference/gtk/gtk3-widget-factory.xml
0fe339
0fe339
diff --git a/docs/reference/gtk/Makefile.am b/docs/reference/gtk/Makefile.am
0fe339
index c488aa0..8f44cc8 100644
0fe339
--- a/docs/reference/gtk/Makefile.am
0fe339
+++ b/docs/reference/gtk/Makefile.am
0fe339
@@ -151,6 +151,7 @@ content_files =					\
0fe339
 	tree_widget.sgml			\
0fe339
 	windows.sgml				\
0fe339
 	x11.sgml				\
0fe339
+	gtk3-demo.xml				\
0fe339
 	gtk-query-immodules-3.0.xml		\
0fe339
 	gtk-update-icon-cache.xml		\
0fe339
 	gtk-launch.xml				\
0fe339
@@ -447,6 +448,7 @@ man_MANS = 				\
0fe339
 	gtk-query-immodules-3.0.1	\
0fe339
 	gtk-update-icon-cache.1		\
0fe339
 	gtk-launch.1			\
0fe339
+	gtk3-demo.1			\
0fe339
 	broadwayd.1
0fe339
 
0fe339
 if ENABLE_MAN
0fe339
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml
0fe339
index 9353b15..8db7671 100644
0fe339
--- a/docs/reference/gtk/gtk-docs.sgml
0fe339
+++ b/docs/reference/gtk/gtk-docs.sgml
0fe339
@@ -378,6 +378,8 @@
0fe339
 
0fe339
   <part>
0fe339
     <title>GTK+ Tools</title>
0fe339
+    <xi:include href="gtk3-demo.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
     <xi:include href="gtk-launch.xml" />
0fe339
diff --git a/docs/reference/gtk/gtk3-demo.xml b/docs/reference/gtk/gtk3-demo.xml
0fe339
new file mode 100644
0fe339
index 0000000..47b32f5
0fe339
--- /dev/null
0fe339
+++ b/docs/reference/gtk/gtk3-demo.xml
0fe339
@@ -0,0 +1,59 @@
0fe339
+
0fe339
+
0fe339
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
0fe339
+]>
0fe339
+<refentry id="gtk3-demo">
0fe339
+
0fe339
+<refentryinfo>
0fe339
+  <title>gtk3-demo</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</refentrytitle>
0fe339
+  <manvolnum>1</manvolnum>
0fe339
+  <refmiscinfo class="manual">User Commands</refmiscinfo>
0fe339
+</refmeta>
0fe339
+
0fe339
+<refnamediv>
0fe339
+  <refname>gtk3-demo</refname>
0fe339
+  <refpurpose>Demonstrate GTK+ widgets</refpurpose>
0fe339
+</refnamediv>
0fe339
+
0fe339
+<refsynopsisdiv>
0fe339
+<cmdsynopsis>
0fe339
+<command>gtk3-demo</command>
0fe339
+<arg choice="opt">--help</arg>
0fe339
+</cmdsynopsis>
0fe339
+</refsynopsisdiv>
0fe339
+
0fe339
+<refsect1><title>Description</title>
0fe339
+<para>
0fe339
+<command>gtk3-demo</command> is a collection of examples.
0fe339
+Its purpose is to demonstrate many GTK+ widgets in a form
0fe339
+that is useful to application developers.
0fe339
+</para>
0fe339
+<para>
0fe339
+The application shows the source code for each example, as well as
0fe339
+other used resources, such as ui files and icons.
0fe339
+</para>
0fe339
+</refsect1>
0fe339
+
0fe339
+<refsect1><title>Options</title>
0fe339
+  <para>The following options are understood:</para>
0fe339
+  <variablelist>
0fe339
+    <varlistentry>
0fe339
+    <term><option>-h</option>, <option>--help</option></term>
0fe339
+      <listitem><para>Show help options</para></listitem>
0fe339
+    </varlistentry>
0fe339
+  </variablelist>
0fe339
+</refsect1>
0fe339
+
0fe339
+</refentry>
0fe339
diff --git a/docs/reference/gtk/gtk3-widget-factory.xml b/docs/reference/gtk/gtk3-widget-factory.xml
0fe339
new file mode 100644
0fe339
index 0000000..fa5d21d
0fe339
--- /dev/null
0fe339
+++ b/docs/reference/gtk/gtk3-widget-factory.xml
0fe339
@@ -0,0 +1,59 @@
0fe339
+
0fe339
+
0fe339
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
0fe339
+]>
0fe339
+<refentry id="gtk3-widget-factory">
0fe339
+
0fe339
+<refentryinfo>
0fe339
+  <title>gtk3-widget-factory</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-widget-factory</refentrytitle>
0fe339
+  <manvolnum>1</manvolnum>
0fe339
+  <refmiscinfo class="manual">User Commands</refmiscinfo>
0fe339
+</refmeta>
0fe339
+
0fe339
+<refnamediv>
0fe339
+  <refname>gtk3-widget-factory</refname>
0fe339
+  <refpurpose>Demonstrate GTK+ widgets</refpurpose>
0fe339
+</refnamediv>
0fe339
+
0fe339
+<refsynopsisdiv>
0fe339
+<cmdsynopsis>
0fe339
+<command>gtk3-widget-factory</command>
0fe339
+<arg choice="opt">--help</arg>
0fe339
+</cmdsynopsis>
0fe339
+</refsynopsisdiv>
0fe339
+
0fe339
+<refsect1><title>Description</title>
0fe339
+<para>
0fe339
+<command>gtk3-widget-factory</command> is a collection of examples.
0fe339
+Its purpose is to demonstrate many GTK+ widgets in a form
0fe339
+that is useful to GTK+ theme developers.
0fe339
+</para>
0fe339
+<para>
0fe339
+The application shows widgets in different, typical combinations
0fe339
+and states.
0fe339
+</para>
0fe339
+</refsect1>
0fe339
+
0fe339
+<refsect1><title>Options</title>
0fe339
+  <para>The following options are understood:</para>
0fe339
+  <variablelist>
0fe339
+    <varlistentry>
0fe339
+    <term><option>-h</option>, <option>--help</option></term>
0fe339
+      <listitem><para>Show help options</para></listitem>
0fe339
+    </varlistentry>
0fe339
+  </variablelist>
0fe339
+</refsect1>
0fe339
+
0fe339
+</refentry>
0fe339
-- 
0fe339
1.9.3
0fe339