pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-diskperf-plugin Disk performance plugin...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2596e86fa77f
branches: trunk
changeset: 463962:2596e86fa77f
user: martti <martti%pkgsrc.org@localhost>
date: Wed Dec 03 05:07:32 2003 +0000
description:
Disk performance plugin for XFce4.
diffstat:
sysutils/xfce4-diskperf-plugin/DESCR | 1 +
sysutils/xfce4-diskperf-plugin/Makefile | 13 ++++++++++++
sysutils/xfce4-diskperf-plugin/PLIST | 4 +++
sysutils/xfce4-diskperf-plugin/buildlink2.mk | 26 +++++++++++++++++++++++++
sysutils/xfce4-diskperf-plugin/distinfo | 5 ++++
sysutils/xfce4-diskperf-plugin/patches/patch-aa | 19 ++++++++++++++++++
6 files changed, 68 insertions(+), 0 deletions(-)
diffs (92 lines):
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/DESCR Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,1 @@
+Disk performance plugin for XFce4.
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/Makefile Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 05:07:32 martti Exp $
+
+.include "../../meta-pkgs/xfce4/Makefile.common"
+
+XFCE4_VERSION= 1.4
+
+DISTNAME= xfce4-diskperf-plugin-${XFCE4_VERSION}
+CATEGORIES= sysutils
+MASTER_SITES= http://download.berlios.de/xfce-goodies/
+COMMENT= XFce4 disk performance plugin
+
+.include "../../x11/xfce4-panel/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/PLIST Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 05:07:32 martti Exp $
+lib/xfce4/panel-plugins/libdiskperf.a
+lib/xfce4/panel-plugins/libdiskperf.la
+lib/xfce4/panel-plugins/libdiskperf.so
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/buildlink2.mk Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/03 05:07:32 martti Exp $
+#
+# This Makefile fragment is included by packages that use xfce4-diskperf-plugin.
+#
+# This file was created automatically using createbuildlink 2.8.
+#
+
+.if !defined(XFCE4_DISKPERF_PLUGIN_BUILDLINK2_MK)
+XFCE4_DISKPERF_PLUGIN_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= xfce4-diskperf-plugin
+BUILDLINK_DEPENDS.xfce4-diskperf-plugin?= xfce4-diskperf-plugin>=1.4
+BUILDLINK_PKGSRCDIR.xfce4-diskperf-plugin?= ../../sysutils/xfce4-diskperf-plugin
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.xfce4-diskperf-plugin=xfce4-diskperf-plugin
+BUILDLINK_PREFIX.xfce4-diskperf-plugin_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.xfce4-diskperf-plugin+= lib/xfce4/panel-plugins/libdiskperf.*
+
+.include "../../x11/xfce4-panel/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+
+BUILDLINK_TARGETS+= xfce4-diskperf-plugin-buildlink
+
+xfce4-diskperf-plugin-buildlink: _BUILDLINK_USE
+
+.endif # XFCE4_DISKPERF_PLUGIN_BUILDLINK2_MK
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/distinfo Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/03 05:07:32 martti Exp $
+
+SHA1 (xfce4-diskperf-plugin-1.4.tar.gz) = 1f61d46fbb7a7b202e964380f3164535a8351a00
+Size (xfce4-diskperf-plugin-1.4.tar.gz) = 314724 bytes
+SHA1 (patch-aa) = 3b244cfbcd7098bdcbd8b44ef9adc0d1aa38e732
diff -r 17ddfc6c68f7 -r 2596e86fa77f sysutils/xfce4-diskperf-plugin/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xfce4-diskperf-plugin/patches/patch-aa Wed Dec 03 05:07:32 2003 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/03 05:07:32 martti Exp $
+
+--- panel-plugin/devperf.c.orig Tue Nov 11 01:00:41 2003
++++ panel-plugin/devperf.c Mon Nov 17 10:39:35 2003
+@@ -292,8 +292,14 @@
+ gettimeofday (&tv, 0);
+ perf->timestamp_ns = (uint64_t)1000ull * 1000ull * 1000ull *
+ tv.tv_sec + 1000ull * tv.tv_usec;
++#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106110000)
++ /* NetBSD < 1.6K does not have separate read/write statistics. */
++ perf->rbytes = drive.dk_bytes;
++ perf->wbytes = drive.dk_bytes;
++#else
+ perf->rbytes = drive.dk_rbytes;
+ perf->wbytes = drive.dk_wbytes;
++#endif
+ /*
+ * XXX - Currently, I don't know of any way to determine write/read busy
+ * time separatly.
Home |
Main Index |
Thread Index |
Old Index