From: Grazvydas Ignotas Date: Fri, 13 May 2016 23:20:20 +0000 (+0300) Subject: gconf: increase periodic cleanup interval X-Git-Tag: sz_176~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63d27f05ebf65bd615dc2d9716bfbc79ed19814;p=openembedded.git gconf: increase periodic cleanup interval doesn't look that important --- 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"