diff options
author | drochner <drochner@pkgsrc.org> | 2008-04-16 16:48:25 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-04-16 16:48:25 +0000 |
commit | fc81f17d379ab88fc4de5b2da619478a175f128e (patch) | |
tree | 7a175e5fa6a7e5f53a7cf3d708789fb8c1944b42 /x11/gnome-panel | |
parent | 6a98a52d267a4b6b4b3bd179895add32dde25ba9 (diff) | |
download | pkgsrc-fc81f17d379ab88fc4de5b2da619478a175f128e.tar.gz |
update to 2.22.1.3
changes:
-some fixes to the clock applet
-forward compatibility for gnome-2.24
pkgsrc change: re-applied the old pkgsrc fix for gnome bug #372155
(Calendar opens Evolution on the wrong day), because the fix which
was applied upstream is incorrect
Diffstat (limited to 'x11/gnome-panel')
-rw-r--r-- | x11/gnome-panel/Makefile | 4 | ||||
-rw-r--r-- | x11/gnome-panel/distinfo | 9 | ||||
-rw-r--r-- | x11/gnome-panel/patches/patch-aa | 40 |
3 files changed, 47 insertions, 6 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 8567bdcee2a..b0045fee53f 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.96 2008/04/15 17:52:40 drochner Exp $ +# $NetBSD: Makefile,v 1.97 2008/04/16 16:48:25 drochner Exp $ # -DISTNAME= gnome-panel-2.22.1.2 +DISTNAME= gnome-panel-2.22.1.3 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-panel/2.22/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/gnome-panel/distinfo b/x11/gnome-panel/distinfo index 4c6805214c6..13a94b50fad 100644 --- a/x11/gnome-panel/distinfo +++ b/x11/gnome-panel/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.42 2008/04/15 17:52:40 drochner Exp $ +$NetBSD: distinfo,v 1.43 2008/04/16 16:48:25 drochner Exp $ -SHA1 (gnome-panel-2.22.1.2.tar.bz2) = 4f51f732d8162aa8f462e38458e3c8569f834222 -RMD160 (gnome-panel-2.22.1.2.tar.bz2) = 9fd7ed7282fa04569ff8f908d3c5f2faea73c89a -Size (gnome-panel-2.22.1.2.tar.bz2) = 3248915 bytes +SHA1 (gnome-panel-2.22.1.3.tar.bz2) = 28a81f4e59a32295d2dfdc52f4becb7ce539ee3c +RMD160 (gnome-panel-2.22.1.3.tar.bz2) = a0c5149c48152d5a78a905112ddaaac511b7c75e +Size (gnome-panel-2.22.1.3.tar.bz2) = 3251621 bytes +SHA1 (patch-aa) = 192ebd41ddcca1d6db8898b7b65e3acfb200ce00 SHA1 (patch-ab) = 961186c5db258557294fae4a280d13efdcfe1de1 SHA1 (patch-ac) = 266fbb403a11c4776a17cd257d3f577b97f01c66 diff --git a/x11/gnome-panel/patches/patch-aa b/x11/gnome-panel/patches/patch-aa new file mode 100644 index 00000000000..68434d6e40f --- /dev/null +++ b/x11/gnome-panel/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.7 2008/04/16 16:48:25 drochner Exp $ + +--- applets/clock/calendar-window.c.orig 2008-04-15 22:58:01.000000000 +0200 ++++ applets/clock/calendar-window.c +@@ -1161,22 +1161,28 @@ calendar_day_activated (GtkCalendar * + time_t now; + struct tm utc_tm; + struct tm local_tm; ++ time_t daystart; + char *argument; + + gtk_calendar_get_date (calendar, &year, &month, &day); + +- time (&now); +- gmtime_r (&now, &utc_tm); +- localtime_r (&now, &local_tm); ++ bzero(&local_tm, sizeof(local_tm)); ++ local_tm.tm_mday = day; ++ local_tm.tm_mon = month; ++ local_tm.tm_year = year - 1900; ++ local_tm.tm_isdst = -1; ++ daystart = mktime(&local_tm); ++ gmtime_r (&daystart, &utc_tm); + + /* FIXME: once bug 409200 is fixed, we'll have to make this hh:mm:ss + * instead of hhmmss */ + argument = g_strdup_printf ("calendar:///?startdate=" + "%.4d%.2d%.2dT%.2d%.2d%.2dZ", +- year, month + 1, day, +- 12 + utc_tm.tm_hour - local_tm.tm_hour, +- 0 + utc_tm.tm_min - local_tm.tm_min, +- 0); ++ utc_tm.tm_year + 1900, utc_tm.tm_mon + 1, ++ utc_tm.tm_mday, ++ utc_tm.tm_hour, ++ utc_tm.tm_min, ++ utc_tm.tm_sec); + + clock_launch_evolution (calwin, argument); + |