summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-05-10 10:52:33 +0200
committerOndrej Holy <oholy@redhat.com>2018-05-10 10:52:33 +0200
commit6d711c07cbd00768c6b2b468f3100f02afc58f6f (patch)
tree18cb3aa154bf53c00fc8d0466458324cc0804574 /man
parent886f29d8ac5a97b39dbfaaffc579bbd5ca0dd2a2 (diff)
downloadgvfs-6d711c07cbd00768c6b2b468f3100f02afc58f6f.tar.gz
programs: Remove deprecated gvfs utils
Before two years, gvfs utils has been replaced by wrapper script which just calls gio tool and prints warning. Let's remove this completely. I suppose that 3 stable releases are enough for people to port to gio tool.
Diffstat (limited to 'man')
-rw-r--r--man/deprecated.xml.in43
-rw-r--r--man/gvfs-less.xml72
-rw-r--r--man/meson.build41
3 files changed, 5 insertions, 151 deletions
diff --git a/man/deprecated.xml.in b/man/deprecated.xml.in
deleted file mode 100644
index 31b6f780..00000000
--- a/man/deprecated.xml.in
+++ /dev/null
@@ -1,43 +0,0 @@
-<?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>
-
- <author>
- <contrib>Developer</contrib>
- <firstname>Ondrej</firstname>
- <surname>Holy</surname>
- <email>oholy@redhat.com</email>
- </author>
- </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>
diff --git a/man/gvfs-less.xml b/man/gvfs-less.xml
deleted file mode 100644
index c8925e8f..00000000
--- a/man/gvfs-less.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<?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="gvfs-less">
-
- <refentryinfo>
- <title>gvfs-less</title>
- <productname>gvfs</productname>
-
- <authorgroup>
- <author>
- <contrib>Developer</contrib>
- <firstname>David</firstname>
- <surname>Zeuthen</surname>
- <email>davidz@redhat.com</email>
- </author>
- </authorgroup>
-
- </refentryinfo>
-
- <refmeta>
- <refentrytitle>gvfs-less</refentrytitle>
- <manvolnum>1</manvolnum>
- <refmiscinfo class="manual">User Commands</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>gvfs-less</refname>
- <refpurpose>Execute less on the output of gvfs-cat</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>gvfs-less <arg choice="opt" rep="repeat">OPTION</arg> <arg rep="repeat">LOCATION</arg></command>
- </cmdsynopsis>
- </refsynopsisdiv>
-
- <refsect1>
- <title>Description</title>
-
- <para><command>gvfs-less</command> executes <command>less</command>
- on the output of <command>gvfs-cat</command>.</para>
-
- <para><command>gvfs-less</command> works just like the
- traditional less utility, but using gvfs locations instead
- of local files: for example you can use something like
- smb://server/resource/file.txt as location.</para>
- </refsect1>
-
- <refsect1>
- <title>Options</title>
-
- <para>See <citerefentry><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry> for the options.</para>
- </refsect1>
-
- <refsect1>
- <title>Exit status</title>
-
- <para>On success 0 is returned, a non-zero failure
- code otherwise.</para>
- </refsect1>
-
- <refsect1>
- <title>See Also</title>
- <para>
- <citerefentry><refentrytitle>less</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>gvfs-cat</refentrytitle><manvolnum>1</manvolnum></citerefentry>
- </para>
- </refsect1>
-
-</refentry>
diff --git a/man/meson.build b/man/meson.build
index 31f7fd3c..ccac1fa9 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -15,45 +15,14 @@ xsltproc_cmd = [
]
mans = [
- ['gvfs-cat', 'gio cat'],
- ['gvfs-copy', 'gio copy'],
- ['gvfs-info', 'gio info'],
- ['gvfs-less', ''],
- ['gvfs-ls', 'gio list'],
- ['gvfs-mime', 'gio mime'],
- ['gvfs-mkdir', 'gio mkdir'],
- ['gvfs-monitor-dir', 'gio monitor'],
- ['gvfs-monitor-file', 'gio monitor'],
- ['gvfs-mount', 'gio mount'],
- ['gvfs-move', 'gio move'],
- ['gvfs-open', 'gio open'],
- ['gvfs-rename', 'gio rename'],
- ['gvfs-rm', 'gio remove'],
- ['gvfs-save', 'gio save'],
- ['gvfs-set-attribute', 'gio set'],
- ['gvfs-trash', 'gio trash'],
- ['gvfs-tree', 'gio tree'],
- ['gvfsd', ''],
- ['gvfsd-fuse', ''],
- ['gvfsd-metadata', '']
+ 'gvfsd',
+ 'gvfsd-fuse',
+ 'gvfsd-metadata'
]
foreach man: mans
- if man[1].strip() == ''
- xml = man[0] + '.xml'
- else
- conf = configuration_data()
- conf.set('original', man[0])
- conf.set('replacement', man[1])
-
- xml = configure_file(
- input: 'deprecated.xml.in',
- output: man[0] + '.xml',
- configuration: conf
- )
- endif
-
- output = man[0] + '.1'
+ xml = man + '.xml'
+ output = man + '.1'
custom_target(
output,