Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
@@ -0,0 +1,18 @@
$NetBSD: patch-addressbook_libebook_e-book.c,v 1.1 2016/01/31 07:01:55 richard Exp $
The e-calendar-factory process did not terminate automatically
when the user logged out of the graphical desktop environment, and
e-calendar-factory thus redundantly consumed system resources.
(https://bugzilla.redhat.com/show_bug.cgi?id=1141760 and upstream
https://bugzilla.gnome.org/show_bug.cgi?id=646117)
--- addressbook/libebook/e-book.c.orig 2011-04-21 19:35:35.000000000 +0000
+++ addressbook/libebook/e-book.c
@@ -333,7 +333,6 @@ e_book_activate (GError **error)
}
connection = g_dbus_proxy_get_connection (G_DBUS_PROXY (book_factory_proxy));
- g_dbus_connection_set_exit_on_close (connection, FALSE);
book_connection_closed_id = g_dbus_connection_signal_subscribe (connection,
NULL, /* sender */
"org.freedesktop.DBus", /* interface */
@@ -0,0 +1,18 @@
$NetBSD: patch-calendar_libecal_e-cal.c,v 1.1 2016/01/31 07:01:55 richard Exp $
The e-calendar-factory process did not terminate automatically
when the user logged out of the graphical desktop environment, and
e-calendar-factory thus redundantly consumed system resources.
(https://bugzilla.redhat.com/show_bug.cgi?id=1141760 and upstream
https://bugzilla.gnome.org/show_bug.cgi?id=646117)
--- calendar/libecal/e-cal.c.orig 2011-04-21 19:36:35.000000000 +0000
+++ calendar/libecal/e-cal.c
@@ -709,7 +709,6 @@ e_cal_activate (GError **error)
}
connection = g_dbus_proxy_get_connection (G_DBUS_PROXY (cal_factory_proxy));
- g_dbus_connection_set_exit_on_close (connection, FALSE);
cal_connection_closed_id = g_dbus_connection_signal_subscribe (connection,
NULL, /* sender */
"org.freedesktop.DBus", /* interface */
@@ -1,8 +1,14 @@
$NetBSD: patch-e_data_book_factory_c,v 1.1 2012/02/06 10:44:43 drochner Exp $
$NetBSD: patch-e_data_book_factory_c,v 1.2 2016/01/31 07:01:55 richard Exp $
Replace deprecated g_atomic_int_exchange_and_add()
1886d3d0573388aa5c13af99f714687ba6a66ec6
The e-calendar-factory process did not terminate automatically
when the user logged out of the graphical desktop environment, and
e-calendar-factory thus redundantly consumed system resources.
(https://bugzilla.redhat.com/show_bug.cgi?id=1141760 and upstream
https://bugzilla.gnome.org/show_bug.cgi?id=646117)
--- addressbook/libedata-book/e-data-book-factory.c.orig 2011-04-21 19:36:35.000000000 +0000
+++ addressbook/libedata-book/e-data-book-factory.c
@@ -229,7 +229,7 @@ construct_book_factory_path (void)
@@ -14,3 +20,15 @@ Replace deprecated g_atomic_int_exchange_and_add()
}
static gboolean
@@ -569,6 +569,11 @@ on_name_lost (GDBusConnection *connectio
}
g_mutex_unlock (factory->priv->connections_lock);
+ if (g_strcmp0 (name, E_DATA_BOOK_FACTORY_SERVICE_NAME) == 0) {
+ g_print ("Quitting on the D-Bus name lost...\n");
+ g_main_loop_quit (loop);
+ }
+
}
gint
@@ -1,8 +1,14 @@
$NetBSD: patch-e_data_cal_factory_c,v 1.1 2012/02/06 10:44:44 drochner Exp $
$NetBSD: patch-e_data_cal_factory_c,v 1.2 2016/01/31 07:01:55 richard Exp $
Replace deprecated g_atomic_int_exchange_and_add()
1886d3d0573388aa5c13af99f714687ba6a66ec6
The e-calendar-factory process did not terminate automatically
when the user logged out of the graphical desktop environment, and
e-calendar-factory thus redundantly consumed system resources.
(https://bugzilla.redhat.com/show_bug.cgi?id=1141760 and upstream
https://bugzilla.gnome.org/show_bug.cgi?id=646117)
--- calendar/libedata-cal/e-data-cal-factory.c.orig 2011-04-21 19:36:35.000000000 +0000
+++ calendar/libedata-cal/e-data-cal-factory.c
@@ -245,7 +245,7 @@ construct_cal_factory_path (void)
@@ -14,3 +20,16 @@ Replace deprecated g_atomic_int_exchange_and_add()
}
static gboolean
@@ -863,6 +863,12 @@ on_name_lost (GDBusConnection *connectio
g_list_foreach (copy, remove_data_cal_cb, NULL);
g_list_free (copy);
}
+
+ if (g_strcmp0 (name, E_DATA_CAL_FACTORY_SERVICE_NAME) == 0) {
+ g_print ("Quitting on the D-Bus name lost...\n");
+ g_main_loop_quit (loop);
+ }
+
}
gint