Added gkrellm-2.3.2 template. YES, IT WORKS!!!

--HG--
extra : convert_revision : 0af07729a7e7df1564846952ae2a60253c2d1fa8
This commit is contained in:
Juan RP 2008-10-10 07:38:56 +02:00
parent e12127b861
commit b76fe58826
3 changed files with 47 additions and 0 deletions

Binary file not shown.

View File

@ -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;

36
templates/gkrellm.tmpl Executable file
View File

@ -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 <xtraeme@gmail.com>"
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..."