summaryrefslogtreecommitdiff
path: root/extra/gvfs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
committerroot <root@rshg054.dnsready.net>2012-11-09 01:24:21 -0800
commitc865fc041a0945e396f139a86315f6a25b1d4dec (patch)
tree95e232fb3fc00a803572f8e58af5b08d55ca070f /extra/gvfs
parente5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (diff)
Fri Nov 9 01:24:21 PST 2012
Diffstat (limited to 'extra/gvfs')
-rw-r--r--extra/gvfs/PKGBUILD19
-rw-r--r--extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch24
-rw-r--r--extra/gvfs/proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch25
-rw-r--r--extra/gvfs/proxy-volume-monitor-Dont-force-close-the-session-bus.patch23
4 files changed, 87 insertions, 4 deletions
diff --git a/extra/gvfs/PKGBUILD b/extra/gvfs/PKGBUILD
index 9b966cd4c..2f78c521a 100644
--- a/extra/gvfs/PKGBUILD
+++ b/extra/gvfs/PKGBUILD
@@ -1,19 +1,25 @@
-# $Id: PKGBUILD 170252 2012-11-06 11:45:54Z foutrelis $
+# $Id: PKGBUILD 170569 2012-11-08 21:40:53Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=gvfs
pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-afp' 'gvfs-gphoto2' 'gvfs-obexftp')
pkgver=1.14.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
license=('LGPL')
makedepends=('avahi' 'bluez' 'dbus-glib' 'fuse' 'intltool' 'libarchive' 'libcdio' 'libgphoto2' 'libimobiledevice' 'libsoup-gnome' 'smbclient' 'udisks2' 'libsecret' 'docbook-xsl' 'gtk3')
url="http://www.gnome.org"
options=(!libtool)
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
- do-not-emit-connected-added-signals-at-object-creation.patch)
+ do-not-emit-connected-added-signals-at-object-creation.patch
+ gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch
+ proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch
+ proxy-volume-monitor-Dont-force-close-the-session-bus.patch)
sha256sums=('0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a'
- '2596b5a35e08566c4c3a8c8cc48f93534ee93c47eb13b649a8b399a9b656f9d0')
+ '2596b5a35e08566c4c3a8c8cc48f93534ee93c47eb13b649a8b399a9b656f9d0'
+ '0d509e335f931aceff2b5ce613dd3dec5a7f8ebbca379d8b3e3e4cf0848a9a72'
+ '26225a7ebfa0144d0481b4af0e9c141920c91c022c67003e92b875f8ecc38069'
+ 'af7d7bcc5777f356169b13aa86308222fb59c8ba56744f6393a97db0f80c3ed6')
build() {
cd "$pkgbase-$pkgver"
@@ -22,6 +28,11 @@ build() {
# https://bugzilla.gnome.org/show_bug.cgi?id=684677
patch -Np1 -i "$srcdir/do-not-emit-connected-added-signals-at-object-creation.patch"
+ # Fixes from gnome-3-6 branch
+ patch -Np1 -i "$srcdir/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch"
+ patch -Np1 -i "$srcdir/proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch"
+ patch -Np1 -i "$srcdir/proxy-volume-monitor-Dont-force-close-the-session-bus.patch"
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/gvfs \
diff --git a/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch b/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch
new file mode 100644
index 000000000..2d3bcb6c4
--- /dev/null
+++ b/extra/gvfs/gdaemonmount-Check-for-a-NULL-GMountOperation-when-unmounting.patch
@@ -0,0 +1,24 @@
+From 4a0915c25815647c165e7ca6047f3da84ece04ea Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@gnome.org>
+Date: Mon, 22 Oct 2012 13:07:04 +0000
+Subject: gdaemonmount: Check for a NULL GMountOperation when unmounting
+
+https://bugzilla.gnome.org/show_bug.cgi?id=686637
+---
+diff --git a/client/gdaemonmount.c b/client/gdaemonmount.c
+index 53f22b5..ca77648 100644
+--- a/client/gdaemonmount.c
++++ b/client/gdaemonmount.c
+@@ -330,8 +330,9 @@ g_daemon_mount_unmount_with_operation (GMount *mount,
+ data = g_new0 (AsyncProxyCreate, 1);
+ data->mount = g_object_ref (mount);
+ data->mount_info = daemon_mount->mount_info;
+- data->mount_operation = g_object_ref (mount_operation);
+ data->flags = flags;
++ if (mount_operation)
++ data->mount_operation = g_object_ref (mount_operation);
+ if (cancellable)
+ data->cancellable = g_object_ref (cancellable);
+
+--
+cgit v0.9.0.2
diff --git a/extra/gvfs/proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch b/extra/gvfs/proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch
new file mode 100644
index 000000000..e56a46ac6
--- /dev/null
+++ b/extra/gvfs/proxy-volume-monitor-Dont-disable-exit_on_close-on-session-bus.patch
@@ -0,0 +1,25 @@
+From 5265dff7b56d892917640367414cf5d3f5e7ddb7 Mon Sep 17 00:00:00 2001
+From: Tomas Bzatek <tbzatek@redhat.com>
+Date: Thu, 01 Nov 2012 13:37:37 +0000
+Subject: proxy volume monitor: Don't disable exit_on_close on session bus
+
+We're on shared session bus, let's exit when connection closes
+(usually tied to running desktop session).
+
+https://bugzilla.gnome.org/show_bug.cgi?id=687074
+(cherry picked from commit f70800d655ca6b222625cd72af820f17404bdb4d)
+---
+diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c
+index 1af6c34..e0d17b7 100644
+--- a/monitor/proxy/gproxyvolumemonitor.c
++++ b/monitor/proxy/gproxyvolumemonitor.c
+@@ -1418,7 +1418,6 @@ g_proxy_volume_monitor_setup_session_bus_connection (void)
+ g_error_free (error);
+ goto out;
+ }
+- g_dbus_connection_set_exit_on_close (the_session_bus, FALSE);
+
+ the_volume_monitors = g_hash_table_new (g_direct_hash, g_direct_equal);
+
+--
+cgit v0.9.0.2
diff --git a/extra/gvfs/proxy-volume-monitor-Dont-force-close-the-session-bus.patch b/extra/gvfs/proxy-volume-monitor-Dont-force-close-the-session-bus.patch
new file mode 100644
index 000000000..1a09ef7e6
--- /dev/null
+++ b/extra/gvfs/proxy-volume-monitor-Dont-force-close-the-session-bus.patch
@@ -0,0 +1,23 @@
+From 5dfdaf9a18971bf5504a0d3fe00f747a853ee800 Mon Sep 17 00:00:00 2001
+From: Tomas Bzatek <tbzatek@redhat.com>
+Date: Thu, 01 Nov 2012 13:46:10 +0000
+Subject: proxy volume monitor: Don't force-close the session bus
+
+Simple fix to prevent bus closing on GIO module unload.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=687074
+---
+diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c
+index e0d17b7..df99935 100644
+--- a/monitor/proxy/gproxyvolumemonitor.c
++++ b/monitor/proxy/gproxyvolumemonitor.c
+@@ -1435,7 +1435,6 @@ g_proxy_volume_monitor_teardown_session_bus_connection (void)
+ G_LOCK (proxy_vm);
+ if (the_session_bus != NULL)
+ {
+- g_dbus_connection_close_sync (the_session_bus, NULL, NULL);
+ g_object_unref (the_session_bus);
+ the_session_bus = NULL;
+
+--
+cgit v0.9.0.2