gconf: increase periodic cleanup interval
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 May 2016 23:20:20 +0000 (02:20 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 May 2016 23:20:20 +0000 (02:20 +0300)
doesn't look that important

recipes/gnome/files/gconf_increase_timeout.patch [new file with mode: 0644]
recipes/gnome/gconf_2.28.0.bb

diff --git a/recipes/gnome/files/gconf_increase_timeout.patch b/recipes/gnome/files/gconf_increase_timeout.patch
new file mode 100644 (file)
index 0000000..fb6226e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur GConf-2.28.0_/gconf/gconfd.c GConf-2.28.0/gconf/gconfd.c
+--- GConf-2.28.0_/gconf/gconfd.c       2009-08-19 18:35:32.000000000 +0300
++++ GConf-2.28.0/gconf/gconfd.c        2016-05-14 02:10:05.314832924 +0300
+@@ -1042,7 +1042,7 @@
+   if (main_loops == NULL)
+     {
+-      gulong timeout_len = 60*0.5; /* 60 s/min * .5 min */
++      gulong timeout_len = 60*5; /* 5 min */
+       
+       g_assert(timeout_id == 0);
+       timeout_id = g_timeout_add_seconds (timeout_len,
index d7657e7..178cb6d 100644 (file)
@@ -4,11 +4,12 @@ LICENSE = "LGPL"
 DEPENDS = "glib-2.0 gtk+ dbus dbus-glib orbit2 libxml2 policykit"
 ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
 
-PR = "r2"
+PR = "r3"
 
 S = "${WORKDIR}/GConf-${PV}"
 
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.28/GConf-${PV}.tar.bz2;name=archive"
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/GConf/2.28/GConf-${PV}.tar.bz2;name=archive \
+           file://gconf_increase_timeout.patch;patch=1"
 SRC_URI[archive.md5sum] = "ad2aeb9c7d906b274954c51a615caeac"
 SRC_URI[archive.sha256sum] = "d057dcfe2bfb2a80e592349c2a78d7dce12d19542aeced466c64fb701c806ac8"