diff options
author | Monsta <[email protected]> | 2015-01-02 13:00:59 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-01-02 13:00:59 +0300 |
commit | 41df2edd48bea4025862c66a4a41810b74ed02a9 (patch) | |
tree | deaf40f6338add6deaa88553b6bdef22291fa865 | |
parent | dd03f1765a2ddf2c38199509631e54b9fb8fa2b5 (diff) | |
download | mate-power-manager-41df2edd48bea4025862c66a4a41810b74ed02a9.tar.bz2 mate-power-manager-41df2edd48bea4025862c66a4a41810b74ed02a9.tar.xz |
add missing manpages
taken from Debian patch:
http://anonscm.debian.org/cgit/pkg-mate/mate-power-manager.git/commit/?id=324a45a723c377765337900667ea385cbedddb8c
fixes https://github.com/mate-desktop/mate-power-manager/issues/56
also fixes https://github.com/mate-desktop/mate-power-manager/issues/102
-rw-r--r-- | man/Makefile.am | 10 | ||||
-rw-r--r-- | man/mate-power-backlight-helper.sgml | 145 | ||||
-rw-r--r-- | man/mate-power-manager-bugreport.sgml | 103 |
3 files changed, 258 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 32d0ff2..5645617 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,11 +1,15 @@ EXTRA_DIST = \ mate-power-manager.sgml \ + mate-power-manager-bugreport.sgml \ + mate-power-backlight-helper.sgml \ mate-power-statistics.sgml \ mate-power-preferences.sgml if HAVE_DOCBOOK2MAN man_MANS = \ mate-power-manager.1 \ + mate-power-manager-bugreport.1 \ + mate-power-backlight-helper.1 \ mate-power-statistics.1 \ mate-power-preferences.1 endif @@ -14,6 +18,12 @@ if HAVE_DOCBOOK2MAN mate-power-manager.1: mate-power-manager.sgml docbook2man $? +mate-power-manager-bugreport.1: mate-power-manager-bugreport.sgml + docbook2man $? + +mate-power-backlight-helper.1: mate-power-backlight-helper.sgml + docbook2man $? + mate-power-preferences.1: mate-power-preferences.sgml docbook2man $? diff --git a/man/mate-power-backlight-helper.sgml b/man/mate-power-backlight-helper.sgml new file mode 100644 index 0000000..d562a63 --- /dev/null +++ b/man/mate-power-backlight-helper.sgml @@ -0,0 +1,145 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY date "<date>21 April, 2014</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY package "mate-power-backlight-helper"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + <email>[email protected]</email>; + </address> + <author> + <firstname>Richard</firstname> + <surname>Hughes</surname> + </author> + <copyright> + <year>2005</year> + <holder>Richard Hughes</holder> + </copyright> + &date; + </refentryinfo> + <refmeta> + <refentrytitle>mate-power-backlight-helper</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + <refnamediv> + <refname>&package;</refname> + + <refpurpose>helper application for MATE's power management backlight control</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&package;</command> + <arg><option>--help</option></arg> + <arg><option>--set-brightness</option></arg> + <arg><option>--get-brightness</option></arg> + <arg><option>--get-max-brightness</option></arg> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&package;</command> command.</para> + + <para><command>&package;</command> is a helper utility for controlling the backlight of TFT displays via the MATE power manager userspace daemon.</para> + <para>The <command>&package;</command> requires to be run with root privileges.</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>This program follows the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. </para> + + <variablelist> + <varlistentry> + <term> + <option>--help</option> + </term> + <listitem> + <para>Show summary of options.</para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <option>--set-brightness BRIGHTNESS_LEVEL</option> + </term> + <listitem> + <para>Set the given brightness.</para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <option>--get-brightness</option> + </term> + <listitem> + <para>Get the current brightness.</para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <option>--get-max-brightness</option> + </term> + <listitem> + <para>Get the number of brightness levels supported.</para> + </listitem> + </varlistentry> + + </variablelist> + </refsect1> + <refsect1> + <title>SEE ALSO</title> + + <para>mate-power-manager (1).</para> + + </refsect1> + <refsect1> + <title>AUTHOR</title> + + <para>This manual page has been written by Mike Gabriel <email>[email protected]</email> for + the <productname>Debian</productname> system (but may be used by others). + </para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> diff --git a/man/mate-power-manager-bugreport.sgml b/man/mate-power-manager-bugreport.sgml new file mode 100644 index 0000000..a458a4e --- /dev/null +++ b/man/mate-power-manager-bugreport.sgml @@ -0,0 +1,103 @@ +<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ + +<!-- Process this file with docbook-to-man to generate an nroff manual + page: `docbook-to-man manpage.sgml > manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + <!-- Please adjust the date whenever revising the manpage. --> + <!ENTITY date "<date>21 April, 2014</date>"> + <!-- SECTION should be 1-8, maybe w/ subsection other parameters are + allowed: see man(7), man(1). --> + <!ENTITY package "mate-power-manager-bugreport"> + <!ENTITY gnu "<acronym>GNU</acronym>"> + <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> +]> + +<refentry> + <refentryinfo> + <address> + <email>[email protected]</email>; + </address> + <author> + <firstname>Richard</firstname> + <surname>Hughes</surname> + </author> + <copyright> + <year>2005</year> + <holder>Richard Hughes</holder> + </copyright> + &date; + </refentryinfo> + <refmeta> + <refentrytitle>mate-power-manager-bugreport</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + <refnamediv> + <refname>&package;</refname> + + <refpurpose>collect system information for mate power manager bugreports</refpurpose> + </refnamediv> + <refsynopsisdiv> + <cmdsynopsis> + <command>&package;</command> + </cmdsynopsis> + </refsynopsisdiv> + <refsect1> + <title>DESCRIPTION</title> + + <para>This manual page documents briefly the + <command>&package;</command> command.</para> + + <para><command>&package;</command> is a helper script to gather system information for proper mate-power-manager bug reports.</para> + + </refsect1> + <refsect1> + <title>OPTIONS</title> + + <para>This script does not have any known options.</para> + + </refsect1> + <refsect1> + <title>SEE ALSO</title> + + <para>mate-power-manager (1).</para> + + </refsect1> + <refsect1> + <title>AUTHOR</title> + + <para>This manual page has been written by Mike Gabriel <email>[email protected]</email> for + the <productname>Debian</productname> system (but may be used by others). + </para> + + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:2 +sgml-indent-data:t +sgml-parent-document:nil +sgml-default-dtd-file:nil +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +--> |