I'm porting a Debian native app (deb-gview) from GnomeVFS to GIO and GVfs. It's mostly done but it used to be able to view remote files but I can't get that working anymore under GIO/GVfs. http://dpkg-view.alioth.debian.org/ http://alioth.debian.org/plugins/scmcvs/cvsweb.php/dpkg-view/?cvsroot=dpkg-view I'm a bit lost in the gvfs documentation - should gio and gvfs be able to open a file like: http://ftp.debian.org/debian/pool/main/g/gpe-tetris/gpe-tetris_0.6.4-1.dsc without having to parse the scheme, mount the FTP and stream the file with individual function calls? I want the app to be able to open files like: http://ftp.debian.org/debian/pool/main/g/gpe-tetris/gpe-tetris_0.6.4-1_i386.deb from the command line - as GnomeVFS did. (deb-gview is a GNOME viewer for .deb files, it reads the archives, decompresses the files within the package and allows the user to view any .deb and any file within the .deb without worrying about the architecture of the file. It's useful for cross-builders and architecture porters.) So the process involves passing data from a GInputStream to libarchive. It works for local files. What am I missing? -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
signature.asc
Description: This is a digitally signed message part