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

Bug#877738: cinnamon-common: Depends: gvfs-bin, which contains only deprecated tools



On Thu, 05 Oct 2017 at 11:33:50 +0800, Paul Wise wrote:
> This package Depends: gvfs-bin, which contains only deprecated tools.
> Please port it to the equivalent `gio` commands from libglib2.0-bin

"gvfs-trash --empty" can be replaced by using GLib APIs to open a
GFile for "trash:" and delete all its children recursively (probably
the preferred option, see the source code of gio-tool), or by "gio
trash --empty".

"gvfs-open URL" can be replaced by
imports.Gio.AppInfo.launch_default_for_uri_async() (preferred) or by
"gio open URL". Some of its uses follow this comment:

    // TODO: remove this after gnome 3 release

so they can probably just be removed? The GNOME 3 release was several
years ago now.

The upstream developers of gvfs have now removed all the tools that
are packaged in gvfs-bin. For now I'm going to keep providing them
as a Debian-specific addition, but I intend to remove the gvfs-bin
package after buster is released, at which point this bug will become
release-critical.

Thanks,
    smcv


Reply to: