summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2008-06-10 23:36:50 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2008-06-10 23:36:50 +0000
commit11a47156a02034cf00a912d9355fc00a3a5a0e9f (patch)
tree493d387a79b568fe1a1d6ef8954b4239ad574620
parent800f21af65e57b56ce3b539f91437a1c26fcfb6a (diff)
downloadgnome-panel-11a47156a02034cf00a912d9355fc00a3a5a0e9f.tar.gz
gnome-panel-11a47156a02034cf00a912d9355fc00a3a5a0e9f.tar.xz
gnome-panel-11a47156a02034cf00a912d9355fc00a3a5a0e9f.zip
avoid unnecessary wakeupsgnome-panel-2_23_3-2_fc10
-rw-r--r--clock-wakeups.patch23
-rw-r--r--gnome-panel.spec9
2 files changed, 31 insertions, 1 deletions
diff --git a/clock-wakeups.patch b/clock-wakeups.patch
new file mode 100644
index 0000000..6f842aa
--- /dev/null
+++ b/clock-wakeups.patch
@@ -0,0 +1,23 @@
+diff -up gnome-panel-2.23.3/applets/clock/system-timezone.c.wakeups gnome-panel-2.23.3/applets/clock/system-timezone.c
+--- gnome-panel-2.23.3/applets/clock/system-timezone.c.wakeups 2008-06-10 19:31:19.000000000 -0400
++++ gnome-panel-2.23.3/applets/clock/system-timezone.c 2008-06-10 19:33:02.000000000 -0400
+@@ -67,7 +67,7 @@
+ #include "system-timezone.h"
+
+ /* Files that we look at and that should be monitored */
+-#define CHECK_NB 5
++#define CHECK_NB 2
+ #ifndef SYSTZ_SET_TEST
+ #define ETC_TIMEZONE "/etc/timezone"
+ #define ETC_TIMEZONE_MAJ "/etc/TIMEZONE"
+@@ -90,10 +90,7 @@
+ #define TZ_MAGIC "TZif"
+
+ static char *files_to_check[CHECK_NB] = {
+- ETC_TIMEZONE,
+- ETC_TIMEZONE_MAJ,
+ ETC_SYSCONFIG_CLOCK,
+- ETC_CONF_D_CLOCK,
+ ETC_LOCALTIME
+ };
+
diff --git a/gnome-panel.spec b/gnome-panel.spec
index e5a029d..3202524 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -23,7 +23,7 @@
Summary: GNOME panel
Name: gnome-panel
Version: 2.23.3
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-panel/2.23/%{name}-%{version}.tar.bz2
@@ -121,6 +121,8 @@ Patch33: gnome-panel-use-gio.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=529243
Patch34: gnome-panel-launch-with-gio.patch
+Patch35: clock-wakeups.patch
+
Conflicts: gnome-power-manager < 2.15.3
%description
@@ -171,6 +173,7 @@ Panel Applets using the libpanel-applet library.
%patch28 -p1 -b .larger-find-window
%patch33 -p1 -b .use-gio
%patch34 -p1 -b .launch-with-gio
+%patch35 -p1 -b .clock-wakeups
. %{SOURCE6}
@@ -355,6 +358,10 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
+* Tue Jun 10 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3-2
+- Avoid unnecessary wakeups in the clock for monitoring
+ Gentoo config file locations
+
* Wed Jun 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3-1
- 2.23.3