pacho       14/12/05 12:03:00

  Added:                gnome-user-share-3.10.2-launch-obexd.patch
  Log:
  Ensure obexd is launched when needed and add missing rdepend on bluez[obex] 
(#531376 by Chris Mayo)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.1                  
gnome-extra/gnome-user-share/files/gnome-user-share-3.10.2-launch-obexd.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-user-share/files/gnome-user-share-3.10.2-launch-obexd.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-user-share/files/gnome-user-share-3.10.2-launch-obexd.patch?rev=1.1&content-type=text/plain

Index: gnome-user-share-3.10.2-launch-obexd.patch
===================================================================
>From 5bca8742e96bc5f3447be18e9c6ac5692cc3e3cd Mon Sep 17 00:00:00 2001
From: Mario Sanchez Prada <[email protected]>
Date: Thu, 30 Oct 2014 11:06:44 -0700
Subject: obex: Make sure obexd daemon is launched if needed when starting to
 watch it

This fixes a situation where files can't be sent to the computer (e.g.
from a phone) until you enable and then disable the bluetooth sharing
options at least once, as the shutting down will cause the obexd daemon
to run due to the UnregisterAgent D-Bus call in obex_agent_down().

https://bugzilla.gnome.org/show_bug.cgi?id=739417

diff --git a/src/obexpush.c b/src/obexpush.c
index 6424bd2..6d305d7 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -740,7 +740,7 @@ on_bus_acquired (GDBusConnection *connection,
 
        self->obexd_watch_id = g_bus_watch_name_on_connection (self->connection,
                                                               MANAGER_SERVICE,
-                                                              
G_BUS_NAME_WATCHER_FLAGS_NONE,
+                                                              
G_BUS_NAME_WATCHER_FLAGS_AUTO_START,
                                                               
obexd_appeared_cb,
                                                               NULL,
                                                               self,
-- 
cgit v0.10.1





Reply via email to