packages: gnome-panel/gnome-panel-use-sysconfig-timezone.patch - merged fro...

megabajt megabajt at pld-linux.org
Tue Mar 30 21:06:32 CEST 2010


Author: megabajt                     Date: Tue Mar 30 19:06:32 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
packages/gnome-panel:
   gnome-panel-use-sysconfig-timezone.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch
diff -u packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch:1.1 packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch:1.2
--- packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch:1.1	Sun Apr 27 00:03:04 2008
+++ packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch	Tue Mar 30 21:06:27 2010
@@ -2,19 +2,18 @@
 ===================================================================
 --- applets/clock/system-timezone.c	(revision 11072)
 +++ applets/clock/system-timezone.c	(working copy)
-@@ -67,23 +67,25 @@
+@@ -67,13 +67,14 @@
  #include "system-timezone.h"
  
  /* Files that we look at and that should be monitored */
 -#define CHECK_NB 5
-+#define CHECK_NB 6
- #ifndef SYSTZ_SET_TEST
 -#define ETC_TIMEZONE        "/etc/timezone"
 -#define ETC_TIMEZONE_MAJ    "/etc/TIMEZONE"
 -#define ETC_RC_CONF         "/etc/rc.conf"
 -#define ETC_SYSCONFIG_CLOCK "/etc/sysconfig/clock"
 -#define ETC_CONF_D_CLOCK    "/etc/conf.d/clock"
 -#define ETC_LOCALTIME       "/etc/localtime"
++#define CHECK_NB 6
 +#define ETC_TIMEZONE           "/etc/timezone"
 +#define ETC_TIMEZONE_MAJ       "/etc/TIMEZONE"
 +#define ETC_RC_CONF            "/etc/rc.conf"
@@ -22,26 +21,9 @@
 +#define ETC_SYSCONFIG_TIMEZONE "/etc/sysconfig/timezone"
 +#define ETC_CONF_D_CLOCK       "/etc/conf.d/clock"
 +#define ETC_LOCALTIME          "/etc/localtime"
- #else
- /* Filenames that will be writable for testing */
--#define TEST_PREFIX         "/tmp/systz-test"
--#define ETC_TIMEZONE        TEST_PREFIX"/etc/timezone"
--#define ETC_TIMEZONE_MAJ    TEST_PREFIX"/etc/TIMEZONE"
--#define ETC_RC_CONF         TEST_PREFIX"/etc/rc.conf"
--#define ETC_SYSCONFIG_CLOCK TEST_PREFIX"/etc/sysconfig/clock"
--#define ETC_CONF_D_CLOCK    TEST_PREFIX"/etc/conf.d/clock"
--#define ETC_LOCALTIME       TEST_PREFIX"/etc/localtime"
-+#define TEST_PREFIX            "/tmp/systz-test"
-+#define ETC_TIMEZONE           TEST_PREFIX"/etc/timezone"
-+#define ETC_TIMEZONE_MAJ       TEST_PREFIX"/etc/TIMEZONE"
-+#define ETC_RC_CONF            TEST_PREFIX"/etc/rc.conf"
-+#define ETC_SYSCONFIG_CLOCK    TEST_PREFIX"/etc/sysconfig/clock"
-+#define ETC_SYSCONFIG_TIMEZONE TEST_PREFIX"/etc/sysconfig/timezone"
-+#define ETC_CONF_D_CLOCK       TEST_PREFIX"/etc/conf.d/clock"
-+#define ETC_LOCALTIME          TEST_PREFIX"/etc/localtime"
- #endif /* SYSTZ_SET_TEST */
  
  /* The first 4 characters in a timezone file, from tzfile.h */
+ #define TZ_MAGIC "TZif"
 @@ -93,6 +95,7 @@
          ETC_TIMEZONE,
          ETC_TIMEZONE_MAJ,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-panel/gnome-panel-use-sysconfig-timezone.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list