GNOME Bugzilla – Bug 627732
Add D-Bus API or library for other apps to archive files
Last modified: 2020-11-11 19:13:41 UTC
My use case would be to allow nautilus-sendto to pack up a number of files into an archive, and send that archive through. We currently use: file-roller --add-to=/tmp/file.zip [list of files...] but: - it pops up a dialogue when packing files takes a while, and we'd like to do the progress reporting within nautilus-sendto - it's not easy to spawn file-roller, do proper error checking, and be sure when the operation finished without making it synchronous This would be easier either through a D-Bus service, or through a library that would have async ways of doing packing (note that this would only be used to *archive* files, there are already a number of libraries available to extract files, and I don't think it would be helpful to export that).
there is now a D-Bus service in master and in version 2.91.2, the methods are documents in the server source here: http://git.gnome.org/browse/file-roller/tree/src/server.c and there is a test here: http://git.gnome.org/browse/file-roller/tree/src/test-server.c If you need some API changes, just ask and you'll be served :)
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use file-roller and if you still see this bug / want this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/file-roller/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (volunteer workforce and time is limited).