From b76fe58826456b375eda39b9231976ae8644259b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 10 Oct 2008 07:38:56 +0200 Subject: [PATCH] Added gkrellm-2.3.2 template. YES, IT WORKS!!! --HG-- extra : convert_revision : 0af07729a7e7df1564846952ae2a60253c2d1fa8 --- dependencies/build-depends.db | Bin 18432 -> 18432 bytes templates/gkrellm-fix-sensors.diff | 11 +++++++++ templates/gkrellm.tmpl | 36 +++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 templates/gkrellm-fix-sensors.diff create mode 100755 templates/gkrellm.tmpl diff --git a/dependencies/build-depends.db b/dependencies/build-depends.db index 586dc380b88fd43d6786e0c9161394da68963294..4ae81572ff21d986875e63e0949d46ec800ebd36 100644 GIT binary patch delta 69 zcmZpez}PT>af5&vuN=c2h6juljDHwB81GC}oId#i2g~FgW-78A3=9lBK+KSyU6h)W Ylgp4^lC7<4q-SWNXUwqqry08-0N@}K)c^nh delta 58 zcmV-A0LA}+kO6>@0k9A@4IBXc0N??50sH_+0Z5ZEK$nxy2n3V3HYAfYArK8_a%E*_ QY;|-kGA=YOv-vg$5jW-&AOHXW diff --git a/templates/gkrellm-fix-sensors.diff b/templates/gkrellm-fix-sensors.diff new file mode 100644 index 00000000000..3533308313c --- /dev/null +++ b/templates/gkrellm-fix-sensors.diff @@ -0,0 +1,11 @@ +--- src/sysdeps/netbsd.c.orig 2008-10-10 07:31:19.000000000 +0200 ++++ src/sysdeps/netbsd.c 2008-10-10 07:31:46.000000000 +0200 +@@ -505,7 +505,7 @@ gkrellm_sys_battery_read_data(void) + #endif + } + +- fd = open(SENSORS_DIR, O_RDONLY); ++ fd = open(SENSORS_DIR, O_RDWR); + if (fd < 0) return; + + data.sensor = battery_acpi_data[0].on_line_index; diff --git a/templates/gkrellm.tmpl b/templates/gkrellm.tmpl new file mode 100755 index 00000000000..41243dede56 --- /dev/null +++ b/templates/gkrellm.tmpl @@ -0,0 +1,36 @@ +# Template build file for 'gkrellm'. +pkgname=gkrellm +version=2.3.2 +patch_files="$pkgname-fix-sensors.diff" +extract_sufx=".tar.bz2" +url=http://members.dslextreme.com/users/billw/gkrellm +build_style=gnu_makefile +make_cmd="$PKGFS_MASTERDIR/bin/gmake" +make_build_target="netbsd2" +make_install_args="INSTALLROOT=$PKGFS_DESTDIR/$pkgname-$version + MANDIR=$PKGFS_DESTDIR/$pkgname-$version/man/man1" +short_desc="GTK2 based system monitor" +maintainer="Juan RP " +checksum=0aacc0d0783cff5bb2fd8c6736553a3ce8874ad9 +long_desc=" + With a single process, GKrellM manages multiple stacked monitors and supports + applying themes to match the monitors appearance to your window manager, + Gtk, or any other theme. + + * SMP CPU, Disk, Proc, and active net interface monitors with LEDs. + * Internet monitor that displays current and charts historical port hits + * Memory and swap space usage meters and a system uptime monitor. + * File system meters show capacity/free space and can mount/umount. + * A mailbox monitor which can launch mail reader, remote mail fetch. + * Clock/calendar and hostname display. + * APM laptop battery monitor. + * CPU/motherboard temperature display if lm_sensors modules installed. + * Multiple monitors managed by a single process to reduce system load. + * Charts are autoscaling with configurable grid line resolution, or + can be set to a fixed scale mode. + * Separate colors for "in" and "out" data. The in color is used for + CPU user time, disk read, forks, and net receive data. The out color + is used for CPU sys time, disk write, load, and net transmit data. + * GKrellM is plugin capable so special interest monitors can be created. + * A different theme can be created with the GIMP. + * And a lot more..."