From c63d27f05ebf65bd615dc2d9716bfbc79ed19814 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 14 May 2016 02:20:20 +0300 Subject: [PATCH] gconf: increase periodic cleanup interval doesn't look that important --- recipes/gnome/files/gconf_increase_timeout.patch | 12 ++++++++++++ recipes/gnome/gconf_2.28.0.bb | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 recipes/gnome/files/gconf_increase_timeout.patch diff --git a/recipes/gnome/files/gconf_increase_timeout.patch b/recipes/gnome/files/gconf_increase_timeout.patch new file mode 100644 index 0000000000..fb6226efdb --- /dev/null +++ b/recipes/gnome/files/gconf_increase_timeout.patch @@ -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, diff --git a/recipes/gnome/gconf_2.28.0.bb b/recipes/gnome/gconf_2.28.0.bb index d7657e761e..178cb6dada 100644 --- a/recipes/gnome/gconf_2.28.0.bb +++ b/recipes/gnome/gconf_2.28.0.bb @@ -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" -- 2.39.5