rpms/gvfs/devel gphoto-unmount-hang.patch, NONE, 1.1 gvfs.spec, 1.43, 1.44
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Thu Apr 17 02:56:45 UTC 2008
Author: mclasen
Update of /cvs/extras/rpms/gvfs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24837
Modified Files:
gvfs.spec
Added Files:
gphoto-unmount-hang.patch
Log Message:
Fix hangs when unmounting gphoto mounts
gphoto-unmount-hang.patch:
--- NEW FILE gphoto-unmount-hang.patch ---
diff -up gvfs-0.2.3/daemon/gvfsbackendgphoto2.c.gphoto-unmount-hang gvfs-0.2.3/daemon/gvfsbackendgphoto2.c
--- gvfs-0.2.3/daemon/gvfsbackendgphoto2.c.gphoto-unmount-hang 2008-04-16 22:53:04.000000000 -0400
+++ gvfs-0.2.3/daemon/gvfsbackendgphoto2.c 2008-04-16 22:52:39.000000000 -0400
@@ -1394,6 +1394,8 @@ do_mount (GVfsBackend *backend,
return;
}
+ dbus_connection_set_exit_on_disconnect (gphoto2_backend->dbus_connection, FALSE);
+
gphoto2_backend->hal_ctx = libhal_ctx_new ();
if (gphoto2_backend->hal_ctx == NULL)
{
Index: gvfs.spec
===================================================================
RCS file: /cvs/extras/rpms/gvfs/devel/gvfs.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- gvfs.spec 16 Apr 2008 06:41:50 -0000 1.43
+++ gvfs.spec 17 Apr 2008 02:56:10 -0000 1.44
@@ -1,7 +1,7 @@
Summary: Backends for the gio framework in GLib
Name: gvfs
Version: 0.2.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@@ -37,6 +37,7 @@
Patch2: gvfs-64clean.patch
Patch3: regexxer-crash.patch
Patch4: gvfs-0.2.2-only-show-allowed-mounts.patch
+Patch5: gphoto-unmount-hang.patch
%description
The gvfs package provides backend implementations for the gio
@@ -69,6 +70,7 @@
%patch2 -p1 -b .64clean
%patch3 -p1 -b .regexxer-crash
%patch4 -p0 -b .only-show-allowed-mounts
+%patch5 -p1 -b .gphoto-unmount-hang
%build
@@ -182,6 +184,9 @@
%changelog
+* Wed Apr 16 2008 Matthias Clasen <mclasen at redhat.com> - 0.2.3-5
+- Fix hangs when unmounting gphoto mounts
+
* Wed Apr 16 2008 David Zeuthen <davidz at redhat.com> - 0.2.3-4
- Only show mounts in /media and inside $HOME (#442189)
More information about the fedora-extras-commits
mailing list