[gvfs] man: Update pages for deprecated gvfs utils



commit c960ddaf68997e5ac68c64dfbedf4db06f52fbd4
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Oct 4 09:59:10 2016 +0200

    man: Update pages for deprecated gvfs utils
    
    Commit 2f28fa4 replaced various gvfs- utils in favour of new gio cmd
    tool. Update also relevant man pages with mention that they have been
    deprecated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769378

 man/Makefile.am            |   51 ++++++++++++++
 man/deprecated.xml.in      |   36 ++++++++++
 man/gvfs-cat.xml           |   91 -------------------------
 man/gvfs-copy.xml          |  125 ----------------------------------
 man/gvfs-info.xml          |  124 ---------------------------------
 man/gvfs-ls.xml            |  127 ----------------------------------
 man/gvfs-mime.xml          |  109 -----------------------------
 man/gvfs-mkdir.xml         |   93 -------------------------
 man/gvfs-monitor-dir.xml   |   89 ------------------------
 man/gvfs-monitor-file.xml  |   89 ------------------------
 man/gvfs-mount.xml         |  162 --------------------------------------------
 man/gvfs-move.xml          |  119 --------------------------------
 man/gvfs-open.xml          |   88 ------------------------
 man/gvfs-rename.xml        |   89 ------------------------
 man/gvfs-rm.xml            |   99 ---------------------------
 man/gvfs-save.xml          |  130 -----------------------------------
 man/gvfs-set-attribute.xml |  103 ----------------------------
 man/gvfs-trash.xml         |  113 ------------------------------
 man/gvfs-tree.xml          |  102 ---------------------------
 19 files changed, 87 insertions(+), 1852 deletions(-)
---
diff --git a/man/Makefile.am b/man/Makefile.am
index 22d7ef2..fa3a563 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -12,6 +12,57 @@ XSLTPROC_FLAGS = \
 %.7: %.xml
        $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
+gvfs-mount.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-mount|" -e "s|\@replacement\@|gio mount|" $< > $@
+
+gvfs-cat.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-cat|" -e "s|\@replacement\@|gio cat|" $< > $@
+
+gvfs-open.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-open|" -e "s|\@replacement\@|gio open|" $< > $@
+
+gvfs-save.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-save|" -e "s|\@replacement\@|gio save|" $< > $@
+
+gvfs-ls.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-ls|" -e "s|\@replacement\@|gio list|" $< > $@
+
+gvfs-tree.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-tree|" -e "s|\@replacement\@|gio tree|" $< > $@
+
+gvfs-info.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-info|" -e "s|\@replacement\@|gio info|" $< > $@
+
+gvfs-set-attribute.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-set-attribute|" -e "s|\@replacement\@|gio set|" $< > $@
+
+gvfs-trash.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-trash|" -e "s|\@replacement\@|gio trash|" $< > $@
+
+gvfs-rename.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-rename|" -e "s|\@replacement\@|gio rename|" $< > $@
+
+gvfs-rm.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-rm|" -e "s|\@replacement\@|gio remove|" $< > $@
+
+gvfs-copy.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-copy|" -e "s|\@replacement\@|gio copy|" $< > $@
+
+gvfs-move.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-move|" -e "s|\@replacement\@|gio move|" $< > $@
+
+gvfs-monitor-file.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-monitor-file|" -e "s|\@replacement\@|gio monitor|" $< > $@
+
+gvfs-monitor-dir.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-monitor-dir|" -e "s|\@replacement\@|gio monitor|" $< > $@
+
+gvfs-mkdir.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-mkdir|" -e "s|\@replacement\@|gio mkdir|" $< > $@
+
+gvfs-mime.xml: deprecated.xml.in Makefile
+       $(AM_V_GEN) $(SED) -e "s|\@original\@|gvfs-mime|" -e "s|\@replacement\@|gio mime|" $< > $@
+
 man_MANS = \
        gvfs-cat.1 \
        gvfs-copy.1 \
diff --git a/man/deprecated.xml.in b/man/deprecated.xml.in
new file mode 100644
index 0000000..c8d32e8
--- /dev/null
+++ b/man/deprecated.xml.in
@@ -0,0 +1,36 @@
+<?xml version='1.0'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+        "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
+
+<refentry id="@original@">
+
+        <refentryinfo>
+                <title>@original@</title>
+                <productname>gvfs</productname>
+        </refentryinfo>
+
+        <refmeta>
+                <refentrytitle>@original@</refentrytitle>
+                <manvolnum>1</manvolnum>
+                <refmiscinfo class="manual">User Commands</refmiscinfo>
+        </refmeta>
+
+        <refnamediv>
+                <refname>@original@</refname>
+        </refnamediv>
+
+        <refsect1>
+                <title>Description</title>
+
+                <para><command>@original@</command> has been deprecated and it is redirected to 
<command>@replacement@</command>.</para>
+        </refsect1>
+
+        <refsect1>
+                <title>See Also</title>
+                <para>
+                        
<citerefentry><refentrytitle>gio</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
+                        <ulink url="https://developer.gnome.org/gio/stable/gio.html";>GIO commandline 
tool</ulink>
+                </para>
+        </refsect1>
+
+</refentry>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]