summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/patches
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2005-03-22 14:57:12 +0000
committercube <cube@pkgsrc.org>2005-03-22 14:57:12 +0000
commit662af2b44fb3ece15994a255793aeccaabac3b2e (patch)
tree1017b7e69896110597a36e0f50f65eee082a9067 /sysutils/gkrellm/patches
parent0f161756a50cb76c1be40140bcb5eca44f6f762a (diff)
downloadpkgsrc-662af2b44fb3ece15994a255793aeccaabac3b2e.tar.gz
Update gkrellm packages to 2.2.5.
pkgsrc changes: o convert gkrellm-server to options.mk GKrellM changes: 2.2.5 - Sun Mar 20, 2005 ------------------------ * Sensor monitor can read data from "mbmon -r -P port" daemon. mbmon and hddtemp daemon sensor monitor code moved to sysdeps/sensors-common.c to be available to all operating systems. * Hajimu Umemoto patch: added FreeBSD mbmon support. Added general socket connection gkrellm_connect_to() function and cleaned up mail.c, client.c and sensors-common.c to use it. * Add api for gkrellmd plugins to have gkrellmd.conf config items. Gkrellmd plugins can read data sent from their gkrellm client plugins. * Keep history of daily, weekly & monthly net receive/transmit statistics. * Tom Felker patch: add to Linux sensors nVidia video card temperature reading via the nvidia-settings command. * Hajimu Umemoto patch: make gkrellmd support standard CIDR notation for both IPv4 and IPv6 allow-hosts. * Jiri Denemark patch: while charging, battery display shows time to full charge instead of discharge time left. Make launcher work for all battery panels in case batteries are removed. * Try to make sensor labels fit better by using <small> markup. * Added option for mail fetch/check program to run at local check interval. * Bugfixes: o Jason Greene: IMAP patch fixes handling of status responses which contain literals. o Accumulate partial gkrellmd server lines. o Put minor mod numbers in Linux disk table to get c0d1, cc0d1, etc. o Segfault when rebuilding gkrellm if temp displayed on a disk panel. o Kim Bruning patch: display "no bat" if buggy APM flags don't flag when to hide batttery panel. * Translation updates o cs.po from Pav Lucistnik o da.po from Chris Larsen
Diffstat (limited to 'sysutils/gkrellm/patches')
-rw-r--r--sysutils/gkrellm/patches/patch-ag16
-rw-r--r--sysutils/gkrellm/patches/patch-ah22
-rw-r--r--sysutils/gkrellm/patches/patch-ai22
-rw-r--r--sysutils/gkrellm/patches/patch-aj13
-rw-r--r--sysutils/gkrellm/patches/patch-ak13
-rw-r--r--sysutils/gkrellm/patches/patch-al13
-rw-r--r--sysutils/gkrellm/patches/patch-am15
-rw-r--r--sysutils/gkrellm/patches/patch-an13
-rw-r--r--sysutils/gkrellm/patches/patch-ao15
9 files changed, 142 insertions, 0 deletions
diff --git a/sysutils/gkrellm/patches/patch-ag b/sysutils/gkrellm/patches/patch-ag
new file mode 100644
index 00000000000..2e7b9f7426a
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ag
@@ -0,0 +1,16 @@
+$NetBSD: patch-ag,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/chart.c.orig 2004-08-31 16:34:23.000000000 +0200
++++ src/chart.c
+@@ -1086,9 +1086,9 @@ gkrellm_draw_chart_text(GkrellmChart *cp
+ ts = ts_alt;
+ shadow = ts_alt->effect ? 1 : 0;
+ }
+- else if (c == 'x' && isdigit(*s))
++ else if (c == 'x' && isdigit((unsigned char)*s))
+ xx = *s++ - '0';
+- else if (c == 'y' && isdigit(*s))
++ else if (c == 'y' && isdigit((unsigned char)*s))
+ y = *s++ - '0';
+ else if (c == 'D')
+ {
diff --git a/sysutils/gkrellm/patches/patch-ah b/sysutils/gkrellm/patches/patch-ah
new file mode 100644
index 00000000000..43db621b179
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ah
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/config.c.orig 2005-03-07 21:05:44.000000000 +0100
++++ src/config.c
+@@ -411,7 +411,7 @@ assign_style_entry(GkrellmStyle *style,
+ {
+ if (strcmp(value, "center") == 0)
+ style->label_position = GKRELLM_LABEL_CENTER;
+- else if (isdigit(*value))
++ else if (isdigit((unsigned char)*value))
+ style->label_position = atoi(value);
+ else
+ style->label_position = GKRELLM_LABEL_NONE;
+@@ -1725,7 +1725,7 @@ parse_config_line(gchar *line, struct _c
+ }
+ if (conf->value)
+ {
+- if (isdigit(*s) || *s == '-')
++ if (isdigit((unsigned char)*s) || *s == '-')
+ val = atoi(s);
+ else if (!strcmp(s, "on") || !strcmp(s, "true"))
+ val = 1;
diff --git a/sysutils/gkrellm/patches/patch-ai b/sysutils/gkrellm/patches/patch-ai
new file mode 100644
index 00000000000..8cc10cf0aa3
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ai
@@ -0,0 +1,22 @@
+$NetBSD: patch-ai,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/disk.c.orig 2005-03-06 18:04:22.000000000 +0100
++++ src/disk.c
+@@ -487,7 +487,7 @@ gkrellm_disk_temperature_display(gpointe
+ {
+ disk = (DiskMon *) list->data;
+ if ( strncmp(disk->name, disk_name, len)
+- || (disk->name[len] != '\0' && !isdigit(disk->name[len]))
++ || (disk->name[len] != '\0' && !isdigit((unsigned char)disk->name[len]))
+ )
+ continue;
+ if (!disk->enabled || !disk->chart || !disk->chart->panel->decal_list)
+@@ -548,7 +548,7 @@ gkrellm_disk_temperature_remove(gchar *i
+ if (!disk->chart)
+ continue;
+ if ( strncmp(disk->name, disk_name, len)
+- || (disk->name[len] != '\0' && !isdigit(disk->name[len]))
++ || (disk->name[len] != '\0' && !isdigit((unsigned char)disk->name[len]))
+ )
+ continue;
+ p = disk->chart->panel;
diff --git a/sysutils/gkrellm/patches/patch-aj b/sysutils/gkrellm/patches/patch-aj
new file mode 100644
index 00000000000..a16a59c500c
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/mail.c.orig 2005-03-19 17:00:16.000000000 +0100
++++ src/mail.c
+@@ -1297,7 +1297,7 @@ check_mh_dir(Mailbox *mbox)
+ while ((name = (gchar *) g_dir_read_name(dir)) != NULL)
+ {
+ /* Files starting with a digit are messages. */
+- if (isdigit(name[0]))
++ if (isdigit((unsigned char)name[0]))
+ mbox->mail_count++;
+ }
+ g_dir_close(dir);
diff --git a/sysutils/gkrellm/patches/patch-ak b/sysutils/gkrellm/patches/patch-ak
new file mode 100644
index 00000000000..56c9ed50209
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/net.c.orig 2005-03-20 18:11:02.000000000 +0100
++++ src/net.c
+@@ -158,7 +158,7 @@ strcmp_net_name(NetMon *net1, NetMon *ne
+ gint n, n1, n2, len;
+
+ for (s = net1->name; *s; ++s)
+- if (isdigit(*s))
++ if (isdigit((unsigned char)*s))
+ break;
+ if (!*s)
+ return strcmp(net1->name, net2->name);
diff --git a/sysutils/gkrellm/patches/patch-al b/sysutils/gkrellm/patches/patch-al
new file mode 100644
index 00000000000..2ffd334ec4d
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/sensors.c.orig 2005-03-20 18:29:30.000000000 +0100
++++ src/sensors.c
+@@ -2541,7 +2541,7 @@ sensors_apply(void)
+ if (mbmon_port_entry)
+ {
+ str = gkrellm_gtk_entry_get_text(&mbmon_port_entry);
+- if (isdigit(*str))
++ if (isdigit((unsigned char)*str))
+ {
+ port = atoi(str);
+ if (_GK.mbmon_port != port)
diff --git a/sysutils/gkrellm/patches/patch-am b/sysutils/gkrellm/patches/patch-am
new file mode 100644
index 00000000000..92d641e5bd0
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-am
@@ -0,0 +1,15 @@
+$NetBSD: patch-am,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/smbencrypt.c.orig 2004-05-14 21:45:14.000000000 +0200
++++ src/smbencrypt.c
+@@ -108,8 +108,8 @@ while (*s)
+ s += skip;
+ else
+ {
+- if (islower(*s))
+- *s = toupper(*s);
++ if (islower((unsigned char)*s))
++ *s = toupper((unsigned char)*s);
+ s++;
+ }
+ }
diff --git a/sysutils/gkrellm/patches/patch-an b/sysutils/gkrellm/patches/patch-an
new file mode 100644
index 00000000000..f1ff9ea1aee
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- server/mail.c.orig 2004-05-01 19:45:31.000000000 +0200
++++ server/mail.c
+@@ -231,7 +231,7 @@ check_mh_dir(Mailbox *mbox)
+ while ((name = (gchar *) g_dir_read_name(dir)) != NULL)
+ {
+ /* Files starting with a digit are messages. */
+- if (isdigit(name[0]))
++ if (isdigit((unsigned char)name[0]))
+ mbox->mail_count++;
+ }
+ g_dir_close(dir);
diff --git a/sysutils/gkrellm/patches/patch-ao b/sysutils/gkrellm/patches/patch-ao
new file mode 100644
index 00000000000..aaf6830fed3
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- server/sysdeps-unix.c.orig 2005-03-19 17:00:16.000000000 +0100
++++ server/sysdeps-unix.c
+@@ -24,8 +24,10 @@
+
+ #include "../src/gkrellm-sysdeps.h"
+
++#if 0
+ static gboolean (*mbmon_check_func)();
+ static gint gkrellm_connect_to(gchar *, gint);
++#endif
+
+ #if defined(__linux__)
+ #include "../src/sysdeps/linux.c"