Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=f298a2af1e2e55974604cce7c30c9c5814467a46
commit f298a2af1e2e55974604cce7c30c9c5814467a46 Author: bouleetbil <bouleet...@frogdev.info> Date: Thu Sep 30 21:36:03 2010 +0000 gvfs-1.6.4-1-i686 *Version bump diff --git a/source/xapps/gvfs/FrugalBuild b/source/xapps/gvfs/FrugalBuild index 2c85c95..ec611d4 100644 --- a/source/xapps/gvfs/FrugalBuild +++ b/source/xapps/gvfs/FrugalBuild @@ -2,21 +2,20 @@ # Maintainer: bouleetbil <bouleet...@frogdev.info> pkgname=gvfs -pkgver=1.6.3 -pkgrel=2 +pkgver=1.6.4 +pkgrel=1 pkgdesc="gvfs is a userspace virtual filesystem designed to work with the i/o abstractions of gio." url="http://www.gnome.org/" depends=('glib2>=2.20.1' 'dbus' 'avahi-glib' 'avahi' 'hal') -makedepends=('intltool' 'gnome-doc-utils' 'samba' 'fuse' 'libsoup>=2.29.0' 'gconf' \ +makedepends=('intltool' 'gnome-doc-utils' 'samba' 'fuse' 'libsoup>=2.32.0' 'gconf' \ 'gnome-keyring>=2.30.0' 'libcdio' 'gphoto2' 'obexftp>=0.23-2' \ - 'bluez>=4.61' 'expat' 'openssh>=5.6p1' 'gnome-disk-utility') + 'bluez>=4.61' 'expat' 'openssh>=5.6p1' 'gnome-disk-utility>=2.32.0') groups=('xapps') archs=('i686' 'x86_64' 'ppc') Finclude gnome -source=($source gvfs-libsoup.diff ssh.diff) -sha1sums=('152d84a605465fb8065ae6796a6a28112c5e8847' \ - '1eb9391f6bf3716ddc8fbf75340257e537c61199' \ - '261a0ef299cabb5c494fd0115f0d6895ef30192d') +source=($source gvfs-libsoup.diff) +sha1sums=('b859dc23916d03e2e6eb7e000916929d223b32e8' \ + '1eb9391f6bf3716ddc8fbf75340257e537c61199') subpkgs=("gvfs-gconf") subdescs=('gvfs with gconf support for Gnome') diff --git a/source/xapps/gvfs/ssh.diff b/source/xapps/gvfs/ssh.diff deleted file mode 100644 index e6e89d3..0000000 --- a/source/xapps/gvfs/ssh.diff +++ /dev/null @@ -1,59 +0,0 @@ -https://bugzilla.gnome.org/show_bug.cgi?id=629184 -diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c -index 401484d..e5c5aec 100644 ---- a/daemon/gvfsbackendsftp.c -+++ b/daemon/gvfsbackendsftp.c -@@ -24,6 +24,7 @@ - #include <config.h> - - #include <stdlib.h> -+#include <sys/poll.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <sys/time.h> -@@ -852,6 +853,9 @@ handle_login (GVfsBackend *backend, - const gchar *authtype = NULL; - gchar *object = NULL; - char *prompt; -+ /* -+ * TODO: compare this with sshfs.c where the prompt appears on stdin_fd -+ */ - - if (op_backend->client_vendor == SFTP_VENDOR_SSH) - prompt_fd = stderr_fd; -@@ -864,14 +868,13 @@ handle_login (GVfsBackend *backend, - ret_val = TRUE; - while (1) - { -- FD_ZERO (&ifds); -- FD_SET (stdout_fd, &ifds); -- FD_SET (prompt_fd, &ifds); -- -- tv.tv_sec = SFTP_READ_TIMEOUT; -- tv.tv_usec = 0; -+ struct pollfd fds[2]; -+ fds[0].fd = stdout_fd; -+ fds[0].events = POLLIN; -+ fds[1].fd = prompt_fd; -+ fds[1].events = POLLIN; - -- ret = select (MAX (stdout_fd, prompt_fd)+1, &ifds, NULL, NULL, &tv); -+ ret = poll(fds, 2, SFTP_READ_TIMEOUT); - - if (ret <= 0) - { -@@ -882,11 +885,11 @@ handle_login (GVfsBackend *backend, - break; - } - -- if (FD_ISSET (stdout_fd, &ifds)) -+ if (fds[0].revents) - break; /* Got reply to initial INIT request */ - -- g_assert (FD_ISSET (prompt_fd, &ifds)); -- -+ if (!(fds[1].revents & POLLIN)) -+ continue; - - len = g_input_stream_read (prompt_stream, - buffer, sizeof (buffer) - 1, _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git