diff options
author | Ondrej Holy <oholy@redhat.com> | 2018-05-10 10:52:33 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2018-05-10 10:52:33 +0200 |
commit | 6d711c07cbd00768c6b2b468f3100f02afc58f6f (patch) | |
tree | 18cb3aa154bf53c00fc8d0466458324cc0804574 /programs | |
parent | 886f29d8ac5a97b39dbfaaffc579bbd5ca0dd2a2 (diff) | |
download | gvfs-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 'programs')
-rwxr-xr-x | programs/deprecated.in | 14 | ||||
-rwxr-xr-x | programs/gvfs-less | 23 | ||||
-rw-r--r-- | programs/meson.build | 37 |
3 files changed, 0 insertions, 74 deletions
diff --git a/programs/deprecated.in b/programs/deprecated.in deleted file mode 100755 index 7fedf927..00000000 --- a/programs/deprecated.in +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -replacement="gio @command@" -help="gio help @command@" - ->&2 echo "This tool has been deprecated, use '$replacement' instead." ->&2 echo "See '$help' for more info." ->&2 echo - -if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then - exec $help "$@:2" -else - exec $replacement "$@" -fi diff --git a/programs/gvfs-less b/programs/gvfs-less deleted file mode 100755 index b4c2cb80..00000000 --- a/programs/gvfs-less +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2006-2007 Red Hat, Inc. -# -# This library is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. -# -# Author: David Zeuthen <davidz@redhat.com> - -LESSOPEN="|gvfs-cat %s"; export LESSOPEN -exec less "$@" diff --git a/programs/meson.build b/programs/meson.build deleted file mode 100644 index 1dea6b74..00000000 --- a/programs/meson.build +++ /dev/null @@ -1,37 +0,0 @@ -script_names = [ - ['mount', 'mount'], - ['cat', 'cat'], - ['open', 'open'], - ['save', 'save'], - ['ls', 'list'], - ['tree', 'tree'], - ['info', 'info'], - ['set-attribute', 'set'], - ['trash', 'trash'], - ['rename', 'rename'], - ['rm', 'remove'], - ['copy', 'copy'], - ['move', 'move'], - ['monitor-file', 'monitor'], - ['monitor-dir', 'monitor'], - ['mkdir', 'mkdir'], - ['mime', 'mime'] -] - -foreach name: script_names - conf = configuration_data() - conf.set('command', name[1]) - - configure_file( - input: 'deprecated.in', - output: 'gvfs-' + name[0], - install: true, - install_dir: gvfs_bindir, - configuration: conf - ) -endforeach - -install_data( - 'gvfs-less', - install_dir: gvfs_bindir -) |