update libgtop2 to 2.14.6

based on work by Alexander Wirt <alexander.wirt@credativ.de>

ok ajacoutot@
This commit is contained in:
jasper 2007-01-18 19:31:34 +00:00
parent f3efc0249b
commit 4a32abc628
20 changed files with 624 additions and 465 deletions

View File

@ -1,17 +1,15 @@
# $OpenBSD: Makefile,v 1.21 2006/12/16 12:22:33 espie Exp $
# $OpenBSD: Makefile,v 1.22 2007/01/18 19:31:34 jasper Exp $
COMMENT= "portable library for obtaining system information"
V= 2.10.1
DISTNAME= libgtop-${V}
PKGNAME= libgtop2-${V}p2
SHARED_LIBS += gtop-2.0 5.0 # .5.0
DISTNAME= libgtop-2.14.6
SHARED_LIBS= gtop-2.0 6.0 # .7.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.10/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgtop/2.14/}
EXTRACT_SUFX= .tar.bz2
# GPL
@ -19,7 +17,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c kvm Xau
WANTLIB= Xau c kvm
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0::devel/glib2 \
@ -31,7 +29,8 @@ USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib" \
GMSGFMT="${LOCALBASE}/bin/msgfmt"
post-install:
@chgrp kmem ${PREFIX}/bin/libgtop_server2

View File

@ -1,4 +1,4 @@
MD5 (libgtop-2.10.1.tar.bz2) = b006baa3bd486005411a03534b45708e
RMD160 (libgtop-2.10.1.tar.bz2) = ffde8db00bd1828510b68da135d813f9bd67a55e
SHA1 (libgtop-2.10.1.tar.bz2) = 9c1e29e2008f03415fcf3b530248588a2284f1ac
SIZE (libgtop-2.10.1.tar.bz2) = 750637
MD5 (libgtop-2.14.6.tar.bz2) = 4aa425a6b66b976be6f364904eeda78a
RMD160 (libgtop-2.14.6.tar.bz2) = 81c0544d43b680db33ba92e54ef4688a6ed4063b
SHA1 (libgtop-2.14.6.tar.bz2) = bf43697d8b9abcdcbe1d9a9feed488d6fd130ebf
SIZE (libgtop-2.14.6.tar.bz2) = 758165

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.1 2007/01/18 19:31:34 jasper Exp $
--- Makefile.in.orig Thu Jan 11 21:37:47 2007
+++ Makefile.in Wed Jan 17 08:48:30 2007
@@ -804,8 +804,8 @@ uninstall-info: uninstall-info-recursive
dist-hook:
cp libgtop.spec $(distdir)
-libgtop-features.def: features.def
- @LN_S@ $< $@
+$(top_builddir)/libgtop-features.def: features.def
+ @LN_S@ $? $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -1,12 +1,81 @@
$OpenBSD: patch-configure,v 1.1 2006/04/02 12:21:00 sturm Exp $
--- configure.orig Sun Apr 2 14:13:28 2006
+++ configure Sun Apr 2 14:14:22 2006
@@ -20141,7 +20141,7 @@ echo $ECHO_N "checking for libgtop sysde
$OpenBSD: patch-configure,v 1.2 2007/01/18 19:31:34 jasper Exp $
--- configure.orig Wed Jan 17 08:48:59 2007
+++ configure Wed Jan 17 08:55:18 2007
@@ -6185,6 +6185,16 @@ freebsd* | dragonfly*)
fi
;;
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
gnu*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -20874,7 +20884,6 @@ echo $ECHO_N "checking for libgtop sysde
libgtop_sysdeps_dir=freebsd
libgtop_use_machine_h=yes
libgtop_need_server=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
+ libgtop_postinstall=
;;
solaris*)
libgtop_sysdeps_dir=solaris
@@ -21382,6 +21391,7 @@ else
for def in nothing KERNEL _KERNEL; do
cat >conftest.$ac_ext <<_ACEOF
#define $def
+#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <stdio.h>
@@ -26161,7 +26171,7 @@ if test "${ac_cv_lib_intl_strftime+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -26221,7 +26231,7 @@ if test $ac_cv_lib_intl_strftime = yes;
#define HAVE_STRFTIME 1
_ACEOF
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
fi
fi
@@ -27365,7 +27375,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -27701,7 +27711,7 @@ fi
#
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
glib_save_LIBS="$LIBS"
- LIBS="$LIBS -lintl $libintl_extra_libs"
+ LIBS="$LIBS -lintl -liconv $libintl_extra_libs"
unset ac_cv_func_bind_textdomain_codeset
for ac_func in bind_textdomain_codeset
@@ -27816,7 +27826,7 @@ done
fi
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
- INTLLIBS="-lintl $libintl_extra_libs"
+ INTLLIBS="-lintl -liconv $libintl_extra_libs"
fi
if test "$gt_cv_have_gettext" = "yes"; then

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-doc_ligtop2_texi,v 1.1 2007/01/18 19:31:34 jasper Exp $
--- doc/libgtop2.texi 2006-09-22 15:39:45.000000000 +0200
+++ doc/libgtop2.texi 2006-09-22 15:40:06.000000000 +0200
@@ -7,6 +7,12 @@
@include version.texi
+@ifnottex
+@dircategory Programming & development tools
+@direntry
+* libgtop2 (libgtop2). libgtop2 programming manual
+@end direntry
+@end ifnottex
@ifinfo
This is the LibGTop Reference Manual version @value{VERSION}
(last modified @value{UPDATED}).

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_open_c,v 1.2 2005/05/25 23:28:16 marcm Exp $
--- lib/open.c.orig Tue Feb 15 04:48:33 2005
+++ lib/open.c Mon Apr 11 19:56:33 2005
@@ -111,7 +111,7 @@ glibtop_open_l (glibtop *server, const c
$OpenBSD: patch-lib_open_c,v 1.3 2007/01/18 19:31:34 jasper Exp $
--- lib/open.c 2006-09-22 15:39:45.000000000 +0200
+++ lib/open.c 2006-09-22 15:56:00.000000000 +0200
@@ -112,7 +112,7 @@
close (server->input [0]); close (server->output [1]);
dup2 (server->input [1], 1);
dup2 (server->output [0], 0);

View File

@ -1,31 +0,0 @@
$OpenBSD: patch-lib_read_c,v 1.4 2005/05/25 23:28:16 marcm Exp $
--- lib/read.c.orig Tue Feb 15 04:48:33 2005
+++ lib/read.c Mon Apr 11 19:56:33 2005
@@ -22,6 +22,7 @@
*/
#include <config.h>
+#include <errno.h>
#include <glibtop/read.h>
#include <glibtop/error.h>
#include "libgtop-i18n.h"
@@ -56,14 +57,18 @@ glibtop_read_l (glibtop *server, size_t
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", size);
#endif
+retry:
if (server->socket) {
do_read (server->socket, buf, size);
} else {
- if(read (server->input [0], buf, size) < 0)
+ if(read (server->input [0], buf, size) < 0) {
+ if (errno == EINTR)
+ goto retry;
glibtop_error_io_r (
server,
ngettext ("read %d byte",
"read %d bytes", size),
size);
+ }
}
}

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-lib_write_c,v 1.2 2005/05/25 23:28:16 marcm Exp $
--- lib/write.c.orig Tue Feb 15 04:48:33 2005
+++ lib/write.c Mon Apr 11 19:56:33 2005
@@ -23,6 +23,7 @@
#include <config.h>
+#include <errno.h>
#include <glibtop/write.h>
#include <glibtop/error.h>
#include "libgtop-i18n.h"
@@ -42,12 +43,16 @@ glibtop_write_l (glibtop *server, size_t
fprintf (stderr, "LIBRARY: really writing %d bytes.\n", size);
#endif
+retry:
if (server->socket) {
ret = send (server->socket, buf, size, 0);
} else {
ret = write (server->output [1], buf, size);
}
- if (ret < 0)
+ if (ret < 0) {
+ if (errno == EINTR)
+ goto retry;
glibtop_error_io_r (server, ngettext ("wrote %d byte", "wrote %d bytes", size), size);
+ }
}

View File

@ -0,0 +1,44 @@
$OpenBSD: patch-ltmain_sh,v 1.9 2007/01/18 19:31:34 jasper Exp $
--- ltmain.sh 2006-09-22 15:39:45.000000000 +0200
+++ ltmain.sh 2006-09-22 16:04:57.000000000 +0200
@@ -6265,40 +6265,6 @@
# Exit here if they wanted silent mode.
test "$show" = : && exit $EXIT_SUCCESS
- $echo "X----------------------------------------------------------------------" | $Xsed
- $echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- $echo " $libdir"
- done
- $echo
- $echo "If you ever happen to want to link against installed libraries"
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- $echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- $echo " during execution"
- fi
- if test -n "$runpath_var"; then
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
- $echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- $echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- $echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- $echo
- $echo "See any operating system documentation about shared libraries for"
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
- $echo "X----------------------------------------------------------------------" | $Xsed
exit $EXIT_SUCCESS
;;

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_daemon_gnuserv_c,v 1.1 2007/01/18 19:31:34 jasper Exp $
--- src/daemon/gnuserv.c 2006-09-22 15:39:45.000000000 +0200
+++ src/daemon/gnuserv.c 2006-09-22 16:08:41.000000000 +0200
@@ -207,6 +207,12 @@
return FALSE;
}
+ if (auth_data_len < 1 || auth_data_len > sizeof(buf)) {
+ syslog_message(LOG_WARNING,
+ "Invalid data length supplied by client");
+ return FALSE;
+ }
+
if (timed_read (fd, buf, auth_data_len, AUTH_TIMEOUT, 0) != auth_data_len)
return FALSE;

View File

@ -1,59 +0,0 @@
$OpenBSD: patch-src_daemon_io_c,v 1.2 2005/05/25 23:28:16 marcm Exp $
--- src/daemon/io.c.orig Tue Feb 15 04:48:33 2005
+++ src/daemon/io.c Mon Apr 11 19:56:33 2005
@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA.
*/
+#include <errno.h>
#include "daemon.h"
#include <glibtop/error.h>
@@ -36,9 +37,13 @@ do_output (int s, glibtop_response *resp
resp->offset = offset;
resp->data_size = data_size;
+retry1:
if (s == 0) {
- if (write (1, (const void *) resp, sizeof (glibtop_response)) < 0)
+ if (write (1, (const void *) resp, sizeof (glibtop_response)) < 0) {
+ if (errno == EINTR)
+ goto retry1;
glibtop_warn_io ("write");
+ }
} else {
if (send (s, (const void *) resp, sizeof (glibtop_response), 0) < 0)
glibtop_warn_io ("send");
@@ -48,10 +53,13 @@ do_output (int s, glibtop_response *resp
#ifdef REAL_DEBUG
fprintf (stderr, "Writing %d bytes of data.\n", resp->data_size);
#endif
-
+retry2:
if (s == 0) {
- if (write (1, data, resp->data_size) < 0)
+ if (write (1, data, resp->data_size) < 0) {
+ if (errno == EINTR)
+ goto retry2;
glibtop_warn_io ("write");
+ }
} else {
if (send (s, data, resp->data_size, 0) , 0)
glibtop_warn_io ("send");
@@ -67,6 +75,7 @@ do_read (int s, void *ptr, size_t total_
size_t already_read = 0, remaining = total_size;
while (already_read < total_size) {
+retry:
if (s)
nread = recv (s, ptr, remaining, 0);
else
@@ -78,6 +87,8 @@ do_read (int s, void *ptr, size_t total_
}
if (nread <= 0) {
+ if (errno == EINTR)
+ goto retry;
glibtop_warn_io ("recv");
return 0;
}

View File

@ -1,47 +0,0 @@
--- sysdeps/freebsd/cpu.c.orig Tue Mar 1 15:03:57 2005
+++ sysdeps/freebsd/cpu.c Mon Apr 11 19:56:33 2005
@@ -27,7 +27,7 @@
#include <glibtop_suid.h>
-#ifdef __NetBSD__
+#ifdef __NetBSD__ || defined(__OpenBSD__)
#include <sys/sched.h>
#endif
@@ -37,7 +37,7 @@ static const unsigned long _glibtop_sysd
(1L << GLIBTOP_CPU_IDLE) + (1L << GLIBTOP_CPU_FREQUENCY) +
(1L << GLIBTOP_CPU_IOWAIT);
-#ifndef KERN_CP_TIME
+#if !defined(KERN_CP_TIME) && !defined(KERN_CPTIME)
/* nlist structure for kernel access */
static struct nlist nlst [] = {
#ifdef __bsdi__
@@ -55,13 +55,16 @@ static int mib [] = { CTL_KERN, KERN_CLO
#ifdef KERN_CP_TIME
static int mib2 [] = { CTL_KERN, KERN_CP_TIME };
#endif
+#ifdef KERN_CPTIME
+static int mib2 [] = { CTL_KERN, KERN_CPTIME };
+#endif
/* Init function. */
void
glibtop_init_cpu_p (glibtop *server)
{
-#ifndef KERN_CP_TIME
+#if !defined(KERN_CP_TIME) && !defined(KERN_CPTIME)
if (kvm_nlist (server->machine.kd, nlst) < 0) {
glibtop_warn_io_r (server, "kvm_nlist (cpu)");
return;
@@ -94,7 +97,7 @@ glibtop_get_cpu_p (glibtop *server, glib
if (server->sysdeps.cpu == 0)
return;
-#ifdef KERN_CP_TIME
+#if defined(KERN_CP_TIME) || defined(KERN_CPTIME)
length = sizeof (cpts);
if (sysctl (mib2, mib_length, cpts, &length, NULL, 0)) {
glibtop_warn_io_r (server, "sysctl");

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-sysdeps_freebsd_fsusage_c,v 1.1 2005/05/25 23:28:16 marcm Exp $
--- sysdeps/freebsd/fsusage.c.orig Mon Apr 11 21:06:33 2005
+++ sysdeps/freebsd/fsusage.c Mon Apr 11 21:06:46 2005
@@ -34,7 +34,6 @@ _glibtop_freebsd_get_fsusage_read_write(
$OpenBSD: patch-sysdeps_freebsd_fsusage_c,v 1.2 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/fsusage.c.orig Wed Jan 17 08:55:52 2007
+++ sysdeps/freebsd/fsusage.c Wed Jan 17 08:56:21 2007
@@ -47,7 +47,6 @@ _glibtop_freebsd_get_fsusage_read_write(
return;
}
#if !defined(__FreeBSD_kernel__)
- buf->read = sfs.f_syncreads + sfs.f_asyncreads;
buf->write = sfs.f_syncwrites + sfs.f_asyncwrites;
#endif
buf->flags |= (1 << GLIBTOP_FSUSAGE_READ) | (1 << GLIBTOP_FSUSAGE_WRITE);

View File

@ -1,74 +1,53 @@
--- sysdeps/freebsd/prockernel.c.orig Sun Jul 18 13:33:56 2004
+++ sysdeps/freebsd/prockernel.c Fri Dec 10 19:15:09 2004
@@ -35,7 +35,7 @@
$OpenBSD: patch-sysdeps_freebsd_prockernel_c,v 1.4 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/prockernel.c.orig Wed Jan 17 08:57:14 2007
+++ sysdeps/freebsd/prockernel.c Wed Jan 17 09:00:34 2007
@@ -35,8 +35,9 @@
#if (!defined __OpenBSD__) && (!defined __bsdi__)
#include <sys/user.h>
#endif
#if !defined(__bsdi__) && !(defined(__FreeBSD__) && defined(__alpha__)) && \
- !defined(__NetBSD__)
+ !defined(__NetBSD__) || !defined(__OpenBSD__)
-#if !defined(__bsdi__) && !(defined(__FreeBSD__) && defined(__alpha__)) && \
- !defined(__NetBSD__)
+#if !(defined(__NetBSD__) || defined(__bsdi__) || defined(__FreeBSD__) || \
+ defined(__OpenBSD__)) && \
+ defined(__alpha__)
#include <machine/pcb.h>
#endif
@@ -46,7 +46,7 @@
#include <osreldate.h>
@@ -84,7 +85,9 @@ void
glibtop_init_proc_kernel_p (glibtop *server)
{
server->sysdeps.proc_kernel = _glibtop_sysdeps_proc_kernel_pstats |
+#if (!defined __OpenBSD__) || (defined __i386__)
_glibtop_sysdeps_proc_kernel_pcb |
+#endif
_glibtop_sysdeps_proc_kernel_wchan;
}
@@ -216,13 +219,15 @@ glibtop_get_proc_kernel_p (glibtop *serv
/*xxx FreeBSD/Alpha? */
#endif
-#ifdef __NetBSD__
+#ifdef __NetBSD__ || defined(__OpenBSD__)
#include <machine/vmparam.h>
#include <machine/pmap.h>
#ifdef __arm32__
@@ -54,15 +54,7 @@
#endif
#endif
-#ifdef __NetBSD__
-#include <machine/vmparam.h>
-#include <machine/pmap.h>
-#ifdef __arm32__
-#define KERNBASE KERNEL_BASE
-#endif
-#endif
-
static const unsigned long _glibtop_sysdeps_proc_kernel_pstats =
(1L << GLIBTOP_PROC_KERNEL_MIN_FLT) +
(1L << GLIBTOP_PROC_KERNEL_MAJ_FLT) +
@@ -132,7 +124,7 @@ glibtop_get_proc_kernel_p (glibtop *serv
#endif
-#if !defined(__NetBSD__) || !defined(SACTIVE)
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) || !defined(SACTIVE)
buf->nwchan = (unsigned long) pinfo [0].PROC_WCHAN &~ KERNBASE;
buf->flags |= (1L << GLIBTOP_PROC_KERNEL_NWCHAN);
@@ -164,8 +156,8 @@ glibtop_get_proc_kernel_p (glibtop *serv
glibtop_suid_enter (server);
-#if !defined(__NetBSD__) || !defined(SACTIVE)
-#ifdef __NetBSD__
+#if !defined(__NetBSD__) && !defined(__OpenBSD__) || !defined(SACTIVE)
+#if defined(__NetBSD__) || defined(__OpenBSD__)
/* On NetBSD, there is no kvm_uread(), and kvm_read() always reads
* from kernel memory. */
@@ -193,7 +185,7 @@ glibtop_get_proc_kernel_p (glibtop *serv
buf->flags |= _glibtop_sysdeps_proc_kernel_pstats;
}
-#ifdef __NetBSD__
+#ifdef __NetBSD__ || defined(__OpenBSD__)
if (kvm_read (server->machine.kd,
#else
if ((pinfo [0].kp_proc.p_flag & P_INMEM) &&
@@ -223,7 +215,7 @@ glibtop_get_proc_kernel_p (glibtop *serv
-#ifdef __i386__
+#if (!defined __OpenBSD__) || (defined __i386__)
buf->kstk_esp = (guint64) pcb.pcb_tss.tss_esp0;
#ifdef __bsdi__
buf->kstk_eip = (guint64) pcb.pcb_tss.tss_eip;
#else
+#if (!defined __OpenBSD__) || (defined __i386__)
buf->kstk_eip = (guint64) pcb.pcb_tss.__tss_eip;
#endif
+#endif
#else
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#if defined(__NetBSD__)
#if defined(__m68k__)
buf->kstk_esp = (guint64) pcb.pcb_usp;
@@ -249,7 +254,10 @@ glibtop_get_proc_kernel_p (glibtop *serv
buf->kstk_eip = (guint64) 0;
#endif /* ${MACHINE_ARCH} */
#endif /* __NetBSD__ */
+
+#if (!defined __OpenBSD__) || (defined __i386__)
buf->flags |= _glibtop_sysdeps_proc_kernel_pcb;
+#endif
#endif
#endif
}

View File

@ -1,6 +1,7 @@
--- sysdeps/freebsd/procmap.c.orig Wed Feb 23 00:20:45 2005
+++ sysdeps/freebsd/procmap.c Mon Apr 11 19:56:33 2005
@@ -35,7 +35,7 @@
$OpenBSD: patch-sysdeps_freebsd_procmap_c,v 1.5 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/procmap.c Mon Dec 12 11:09:39 2005
+++ sysdeps/freebsd/procmap.c Fri Sep 22 16:53:54 2006
@@ -36,7 +36,7 @@
#include <vm/vm_object.h>
#include <vm/vm_prot.h>
#include <vm/vm_map.h>
@ -9,31 +10,39 @@
#include <uvm/uvm_extern.h>
#else
#include <vm/vm_object.h>
@@ -64,10 +64,12 @@
@@ -64,11 +64,11 @@
#include <sys/user.h>
#endif
#include <sys/sysctl.h>
#if !defined(__NetBSD__) || (__NetBSD_Version__ < 105020000)
-#include <vm/vm.h>
+#include <uvm/uvm.h>
+#else
-#if !defined(__NetBSD__) || (__NetBSD_Version__ < 105020000)
+#if (!defined(__NetBSD__) || (__NetBSD_Version__ < 105020000)) && ! defined(__OpenBSD__)
#include <vm/vm.h>
#endif
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && \
+ (__NetBSD_Version__ >= 104000000) && (__NetBSD_Version__ < 105020000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
/* Fixme ... */
#undef _KERNEL
#define _UVM_UVM_AMAP_I_H_ 1
@@ -101,7 +103,7 @@ glibtop_get_proc_map_p (glibtop *server,
@@ -102,7 +102,7 @@
struct kinfo_proc *pinfo;
struct vm_map_entry entry, *first;
struct vmspace vmspace;
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
struct vnode vnode;
struct inode inode;
#else
@@ -187,7 +189,7 @@ glibtop_get_proc_map_p (glibtop *server,
@@ -167,7 +167,7 @@
/* I tested this a few times with `mmap'; as soon as you write
* to the mmap'ed area, the object type changes from OBJT_VNODE
- * to OBJT_DEFAULT so if seems this really works. */
+ * to OBJT_DEFAULT so it seems this really works. */
do {
if (update) {
@@ -188,7 +188,7 @@
continue;
#endif
#else
@ -42,21 +51,21 @@
if (UVM_ET_ISSUBMAP (&entry))
continue;
#else
@@ -213,7 +215,7 @@ glibtop_get_proc_map_p (glibtop *server,
@@ -214,7 +214,7 @@
i++;
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
if (!entry.object.uvm_obj)
continue;
@@ -237,7 +239,7 @@ glibtop_get_proc_map_p (glibtop *server,
@@ -238,7 +238,7 @@
glibtop_error_io_r (server, "kvm_read (object)");
#endif
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
#if defined(UVM_VNODE_VALID)
if (!vnode.v_uvm.u_flags & UVM_VNODE_VALID)
continue;

View File

@ -1,89 +1,85 @@
--- sysdeps/freebsd/procmem.c.orig Tue Mar 1 15:03:57 2005
+++ sysdeps/freebsd/procmem.c Mon Apr 11 20:50:12 2005
@@ -31,7 +31,7 @@
#include <sys/param.h>
#include <sys/proc.h>
$OpenBSD: patch-sysdeps_freebsd_procmem_c,v 1.5 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/procmem.c.orig Wed Jan 17 09:01:28 2007
+++ sysdeps/freebsd/procmem.c Wed Jan 17 09:05:01 2007
@@ -34,7 +34,7 @@
#include <sys/resource.h>
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000) || defined(__OpenBSD__)
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000)
#include <uvm/uvm_extern.h>
#else
-#else
+#elif !defined(__OpenBSD__)
#include <vm/vm_object.h>
@@ -47,7 +47,7 @@
#include <sys/user.h>
#include <vm/vm_map.h>
#endif
@@ -50,12 +50,13 @@
#include <sys/sysctl.h>
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000) || defined(__OpenBSD__)
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 105020000)
#include <uvm/uvm.h>
#else
-#else
+#elif !defined(__OpenBSD__)
#include <vm/vm.h>
@@ -70,7 +70,7 @@ static const unsigned long _glibtop_sysd
#endif
#if defined(__NetBSD__) && \
- (__NetBSD_Version__ >= 104000000) && (__NetBSD_Version__ < 105020000)
+ (__NetBSD_Version__ >= 104000000) && (__NetBSD_Version__ < 105020000) || \
+ defined(OpenBSD)
/* Fixme ... */
#undef _KERNEL
#define _UVM_UVM_AMAP_I_H_ 1
@@ -71,10 +72,8 @@ static const unsigned long _glibtop_sysd
(1L << GLIBTOP_PROC_MEM_RSS_RLIM);
static const unsigned long _glibtop_sysdeps_proc_mem_share =
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD) || defined(__FreeBSD__)
(1L << GLIBTOP_PROC_MEM_SHARE);
#elif defined(__FreeBSD__)
(1L << GLIBTOP_PROC_MEM_SHARE);
@@ -120,8 +120,9 @@ glibtop_get_proc_mem_p (glibtop *server,
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-(1L << GLIBTOP_PROC_MEM_SHARE);
#else
0;
#endif
@@ -121,7 +120,7 @@ glibtop_get_proc_mem_p (glibtop *server,
struct kinfo_proc *pinfo;
struct vm_map_entry entry, *first;
struct vmspace *vms, vmspace;
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
struct vnode vnode;
+ struct rlimit rlimit;
#else
struct vm_object object;
#endif
@@ -161,16 +162,12 @@ glibtop_get_proc_mem_p (glibtop *server,
#else
#define PROC_VMSPACE kp_proc.p_vmspace
-
- if (kvm_read (server->machine.kd,
- (unsigned long) pinfo [0].PROC_VMSPACE,
- (char *) &plimit, sizeof (plimit)) != sizeof (plimit)) {
- glibtop_warn_io_r (server, "kvm_read (plimit)");
- return;
+ if (getrlimit (RLIMIT_RSS, &rlimit) < 0) {
+ glibtop_warn_io_r (server, "getrlimit");
+ return;
}
- buf->rss_rlim = (guint64)
- (plimit.pl_rlimit [RLIMIT_RSS].rlim_cur);
+ buf->rss_rlim = (u_int64_t) (rlimit.rlim_cur);
vms = &pinfo [0].kp_eproc.e_vm;
@@ -222,7 +219,7 @@ glibtop_get_proc_mem_p (glibtop *server,
@@ -223,7 +222,7 @@ glibtop_get_proc_mem_p (glibtop *server,
continue;
#endif
#else
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
if (UVM_ET_ISSUBMAP (&entry))
continue;
#else
@@ -230,8 +227,7 @@ glibtop_get_proc_mem_p (glibtop *server,
continue;
@@ -232,7 +231,7 @@ glibtop_get_proc_mem_p (glibtop *server,
#endif
#endif
-
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
if (!entry.object.uvm_obj)
continue;
@@ -258,7 +254,7 @@ glibtop_get_proc_mem_p (glibtop *server,
@@ -259,7 +258,7 @@ glibtop_get_proc_mem_p (glibtop *server,
#endif
/* If the object is of type vnode, add its size */
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(OpenBSD)
#if defined(UVM_VNODE_VALID)
if (!vnode.v_uvm.u_flags & UVM_VNODE_VALID)
continue;
@@ -275,7 +274,7 @@ glibtop_get_proc_mem_p (glibtop *server,
#else
/* Reference count must be at least two. */
- if (vnode.v_uvm.u_obj.uo_refs <= 1)
+ if (vnode.v_usecount <= 1)
continue;
buf->share += pagetok (vnode.v_uvm.u_obj.uo_npages) << LOG1024;

View File

@ -1,20 +0,0 @@
--- sysdeps/freebsd/procuid.c.orig Wed Jun 9 11:52:21 2004
+++ sysdeps/freebsd/procuid.c Fri Dec 10 19:15:09 2004
@@ -56,7 +56,7 @@ glibtop_get_proc_uid_p (glibtop *server,
int count = 0;
#if LIBGTOP_VERSION_CODE >= 1001000
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000) || defined(__OpenBSD__)
struct ucred ucred;
void *ucred_ptr;
#endif
@@ -115,7 +115,7 @@ glibtop_get_proc_uid_p (glibtop *server,
buf->tpgid = pinfo [0].PROC_TPGID;
buf->nice = pinfo [0].PROC_NICE;
-#if defined(__NetBSD__) && defined(SACTIVE)
+#if (defined(__NetBSD__) || defined(__OpenBSD__)) && defined(SACTIVE)
buf->priority = 0;
#else
buf->priority = pinfo [0].PROC_PRIORITY;

View File

@ -1,10 +1,25 @@
--- sysdeps/freebsd/sem_limits.c.orig Wed Jun 9 11:52:21 2004
+++ sysdeps/freebsd/sem_limits.c Fri Dec 10 19:15:09 2004
@@ -104,7 +104,6 @@ glibtop_get_sem_limits_p (glibtop *serve
$OpenBSD: patch-sysdeps_freebsd_sem_limits_c,v 1.4 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/sem_limits.c Mon Dec 12 11:09:39 2005
+++ sysdeps/freebsd/sem_limits.c Fri Sep 22 16:49:16 2006
@@ -57,7 +57,10 @@
#include <sys/sem.h>
static unsigned long _glibtop_sysdeps_sem_limits =
-(1L << GLIBTOP_IPC_SEMMAP) + (1L << GLIBTOP_IPC_SEMMNI) +
+#ifndef __OpenBSD__
+(1L << GLIBTOP_IPC_SEMMAP) +
+#endif
+(1L << GLIBTOP_IPC_SEMMNI) +
(1L << GLIBTOP_IPC_SEMMNS) + (1L << GLIBTOP_IPC_SEMMNU) +
(1L << GLIBTOP_IPC_SEMMSL) + (1L << GLIBTOP_IPC_SEMOPM) +
(1L << GLIBTOP_IPC_SEMUME) + (1L << GLIBTOP_IPC_SEMUSZ) +
@@ -105,7 +108,9 @@
if (server->sysdeps.sem_limits == 0)
return;
- buf->semmap = _seminfo.semmap;
+#ifndef __OpenBSD__
buf->semmap = _seminfo.semmap;
+#endif
buf->semmni = _seminfo.semmni;
buf->semmns = _seminfo.semmns;
buf->semmnu = _seminfo.semmnu;

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-sysdeps_freebsd_sysinfo_c,v 1.1 2007/01/18 19:31:34 jasper Exp $
--- sysdeps/freebsd/sysinfo.c Fri Sep 22 17:51:40 2006
+++ sysdeps/freebsd/sysinfo.c Fri Sep 22 20:30:24 2006
@@ -45,14 +45,22 @@
glibtop_init_s (&server, GLIBTOP_SYSDEPS_CPU, 0);
+ int mib[2];
+ mib[0] = CTL_HW;
+
len = sizeof (ncpus);
- sysctlbyname ("hw.ncpu", &ncpus, &len, NULL, 0);
+ mib[1] = HW_NCPU;
+ sysctl(mib, 2, &ncpus, &len, NULL, 0);
+
len = 0;
- sysctlbyname ("hw.model", NULL, &len, NULL, 0);
+ mib[1] = HW_MODEL;
+ sysctl(mib, 2, NULL, &len, NULL, 0);
model = g_malloc (len);
- sysctlbyname ("hw.model", model, &len, NULL, 0);
+ sysctl(mib, 2, &model, &len, NULL, 0);
+
len = sizeof (mhz);
- sysctlbyname ("hw.clockrate", &mhz, &len, NULL, 0);
+ mib[1] = HW_CPUSPEED;
+ sysctl(mib, 2, &mhz, &len, NULL, 0);
for (sysinfo.ncpu = 0;
sysinfo.ncpu < GLIBTOP_NCPU && sysinfo.ncpu < ncpus;

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.12 2006/04/02 12:21:00 sturm Exp $
@comment $OpenBSD: PLIST,v 1.13 2007/01/18 19:31:35 jasper Exp $
%%SHARED%%
bin/libgtop_daemon2
@mode 2555
@group kmem
@ -21,6 +22,7 @@ include/libgtop-2.0/glibtop/mountlist.h
include/libgtop-2.0/glibtop/msg_limits.h
include/libgtop-2.0/glibtop/netlist.h
include/libgtop-2.0/glibtop/netload.h
include/libgtop-2.0/glibtop/open.h
include/libgtop-2.0/glibtop/parameter.h
include/libgtop-2.0/glibtop/ppp.h
include/libgtop-2.0/glibtop/procargs.h
@ -50,123 +52,279 @@ include/libgtop-2.0/libgtopconfig.h
@info info/libgtop2.info
lib/libgtop-2.0.a
lib/libgtop-2.0.la
lib/locale/
lib/locale/am/
lib/locale/am/LC_MESSAGES/
lib/locale/am/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ar/
lib/locale/ar/LC_MESSAGES/
lib/locale/ar/LC_MESSAGES/libgtop-2.0.mo
lib/locale/az/
lib/locale/az/LC_MESSAGES/
lib/locale/az/LC_MESSAGES/libgtop-2.0.mo
lib/locale/be/
lib/locale/be/LC_MESSAGES/
lib/locale/be/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bg/
lib/locale/bg/LC_MESSAGES/
lib/locale/bg/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bn/
lib/locale/bn/LC_MESSAGES/
lib/locale/bn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bn_IN/
lib/locale/bn_IN/LC_MESSAGES/
lib/locale/bn_IN/LC_MESSAGES/libgtop-2.0.mo
lib/locale/bs/
lib/locale/bs/LC_MESSAGES/
lib/locale/bs/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ca/
lib/locale/ca/LC_MESSAGES/
lib/locale/ca/LC_MESSAGES/libgtop-2.0.mo
lib/locale/cs/
lib/locale/cs/LC_MESSAGES/
lib/locale/cs/LC_MESSAGES/libgtop-2.0.mo
lib/locale/cy/
lib/locale/cy/LC_MESSAGES/
lib/locale/cy/LC_MESSAGES/libgtop-2.0.mo
lib/locale/da/
lib/locale/da/LC_MESSAGES/
lib/locale/da/LC_MESSAGES/libgtop-2.0.mo
lib/locale/de/
lib/locale/de/LC_MESSAGES/
lib/locale/de/LC_MESSAGES/libgtop-2.0.mo
lib/locale/dz/
lib/locale/dz/LC_MESSAGES/
lib/locale/dz/LC_MESSAGES/libgtop-2.0.mo
lib/locale/el/
lib/locale/el/LC_MESSAGES/
lib/locale/el/LC_MESSAGES/libgtop-2.0.mo
lib/locale/en_CA/
lib/locale/en_CA/LC_MESSAGES/
lib/locale/en_CA/LC_MESSAGES/libgtop-2.0.mo
lib/locale/en_GB/
lib/locale/en_GB/LC_MESSAGES/
lib/locale/en_GB/LC_MESSAGES/libgtop-2.0.mo
lib/locale/eo/
lib/locale/eo/LC_MESSAGES/
lib/locale/eo/LC_MESSAGES/libgtop-2.0.mo
lib/locale/es/
lib/locale/es/LC_MESSAGES/
lib/locale/es/LC_MESSAGES/libgtop-2.0.mo
lib/locale/et/
lib/locale/et/LC_MESSAGES/
lib/locale/et/LC_MESSAGES/libgtop-2.0.mo
lib/locale/eu/
lib/locale/eu/LC_MESSAGES/
lib/locale/eu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fa/
lib/locale/fa/LC_MESSAGES/
lib/locale/fa/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fi/
lib/locale/fi/LC_MESSAGES/
lib/locale/fi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/fr/
lib/locale/fr/LC_MESSAGES/
lib/locale/fr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ga/
lib/locale/ga/LC_MESSAGES/
lib/locale/ga/LC_MESSAGES/libgtop-2.0.mo
lib/locale/gl/
lib/locale/gl/LC_MESSAGES/
lib/locale/gl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/gu/
lib/locale/gu/LC_MESSAGES/
lib/locale/gu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/he/
lib/locale/he/LC_MESSAGES/
lib/locale/he/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hi/
lib/locale/hi/LC_MESSAGES/
lib/locale/hi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hr/
lib/locale/hr/LC_MESSAGES/
lib/locale/hr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/hu/
lib/locale/hu/LC_MESSAGES/
lib/locale/hu/LC_MESSAGES/libgtop-2.0.mo
lib/locale/id/
lib/locale/id/LC_MESSAGES/
lib/locale/id/LC_MESSAGES/libgtop-2.0.mo
lib/locale/it/
lib/locale/it/LC_MESSAGES/
lib/locale/it/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ja/
lib/locale/ja/LC_MESSAGES/
lib/locale/ja/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ka/
lib/locale/ka/LC_MESSAGES/
lib/locale/ka/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ko/
lib/locale/ko/LC_MESSAGES/
lib/locale/ko/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ku/
lib/locale/ku/LC_MESSAGES/
lib/locale/ku/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ky/
lib/locale/ky/LC_MESSAGES/
lib/locale/ky/LC_MESSAGES/libgtop-2.0.mo
lib/locale/lt/
lib/locale/lt/LC_MESSAGES/
lib/locale/lt/LC_MESSAGES/libgtop-2.0.mo
lib/locale/lv/
lib/locale/lv/LC_MESSAGES/
lib/locale/lv/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mg/
lib/locale/mg/LC_MESSAGES/
lib/locale/mg/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mi/
lib/locale/mi/LC_MESSAGES/
lib/locale/mi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mk/
lib/locale/mk/LC_MESSAGES/
lib/locale/mk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ml/
lib/locale/ml/LC_MESSAGES/
lib/locale/ml/LC_MESSAGES/libgtop-2.0.mo
lib/locale/mn/
lib/locale/mn/LC_MESSAGES/
lib/locale/mn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ms/
lib/locale/ms/LC_MESSAGES/
lib/locale/ms/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nb/
lib/locale/nb/LC_MESSAGES/
lib/locale/nb/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ne/
lib/locale/ne/LC_MESSAGES/
lib/locale/ne/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nl/
lib/locale/nl/LC_MESSAGES/
lib/locale/nl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/nn/
lib/locale/nn/LC_MESSAGES/
lib/locale/nn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/or/
lib/locale/or/LC_MESSAGES/
lib/locale/or/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pa/
lib/locale/pa/LC_MESSAGES/
lib/locale/pa/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pl/
lib/locale/pl/LC_MESSAGES/
lib/locale/pl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pt/
lib/locale/pt/LC_MESSAGES/
lib/locale/pt/LC_MESSAGES/libgtop-2.0.mo
lib/locale/pt_BR/
lib/locale/pt_BR/LC_MESSAGES/
lib/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ro/
lib/locale/ro/LC_MESSAGES/
lib/locale/ro/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ru/
lib/locale/ru/LC_MESSAGES/
lib/locale/ru/LC_MESSAGES/libgtop-2.0.mo
lib/locale/rw/
lib/locale/rw/LC_MESSAGES/
lib/locale/rw/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sk/
lib/locale/sk/LC_MESSAGES/
lib/locale/sk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sl/
lib/locale/sl/LC_MESSAGES/
lib/locale/sl/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sq/
lib/locale/sq/LC_MESSAGES/
lib/locale/sq/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sr/
lib/locale/sr/LC_MESSAGES/
lib/locale/sr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sr@Latn/
lib/locale/sr@Latn/LC_MESSAGES/
lib/locale/sr@Latn/LC_MESSAGES/libgtop-2.0.mo
lib/locale/sv/
lib/locale/sv/LC_MESSAGES/
lib/locale/sv/LC_MESSAGES/libgtop-2.0.mo
lib/locale/ta/
lib/locale/ta/LC_MESSAGES/
lib/locale/ta/LC_MESSAGES/libgtop-2.0.mo
lib/locale/te/
lib/locale/te/LC_MESSAGES/
lib/locale/te/LC_MESSAGES/libgtop-2.0.mo
lib/locale/th/
lib/locale/th/LC_MESSAGES/
lib/locale/th/LC_MESSAGES/libgtop-2.0.mo
lib/locale/tr/
lib/locale/tr/LC_MESSAGES/
lib/locale/tr/LC_MESSAGES/libgtop-2.0.mo
lib/locale/uk/
lib/locale/uk/LC_MESSAGES/
lib/locale/uk/LC_MESSAGES/libgtop-2.0.mo
lib/locale/vi/
lib/locale/vi/LC_MESSAGES/
lib/locale/vi/LC_MESSAGES/libgtop-2.0.mo
lib/locale/xh/
lib/locale/xh/LC_MESSAGES/
lib/locale/xh/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_CN/
lib/locale/zh_CN/LC_MESSAGES/
lib/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_HK/
lib/locale/zh_HK/LC_MESSAGES/
lib/locale/zh_HK/LC_MESSAGES/libgtop-2.0.mo
lib/locale/zh_TW/
lib/locale/zh_TW/LC_MESSAGES/
lib/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo
lib/pkgconfig/
lib/pkgconfig/libgtop-2.0.pc
share/locale/am/
share/locale/am/LC_MESSAGES/
share/locale/am/LC_MESSAGES/libgtop-2.0.mo
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/libgtop-2.0.mo
share/locale/az/
share/locale/az/LC_MESSAGES/
share/locale/az/LC_MESSAGES/libgtop-2.0.mo
share/locale/be/LC_MESSAGES/libgtop-2.0.mo
share/locale/bg/LC_MESSAGES/libgtop-2.0.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/libgtop-2.0.mo
share/locale/bs/
share/locale/bs/LC_MESSAGES/
share/locale/bs/LC_MESSAGES/libgtop-2.0.mo
share/locale/ca/LC_MESSAGES/libgtop-2.0.mo
share/locale/cs/LC_MESSAGES/libgtop-2.0.mo
share/locale/cy/
share/locale/cy/LC_MESSAGES/
share/locale/cy/LC_MESSAGES/libgtop-2.0.mo
share/locale/da/LC_MESSAGES/libgtop-2.0.mo
share/locale/de/LC_MESSAGES/libgtop-2.0.mo
share/locale/el/LC_MESSAGES/libgtop-2.0.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
share/locale/en_CA/LC_MESSAGES/libgtop-2.0.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/libgtop-2.0.mo
share/locale/es/LC_MESSAGES/libgtop-2.0.mo
share/locale/et/LC_MESSAGES/libgtop-2.0.mo
share/locale/eu/
share/locale/eu/LC_MESSAGES/
share/locale/eu/LC_MESSAGES/libgtop-2.0.mo
share/locale/fa/
share/locale/fa/LC_MESSAGES/
share/locale/fa/LC_MESSAGES/libgtop-2.0.mo
share/locale/fi/LC_MESSAGES/libgtop-2.0.mo
share/locale/fr/LC_MESSAGES/libgtop-2.0.mo
share/locale/ga/LC_MESSAGES/libgtop-2.0.mo
share/locale/gl/LC_MESSAGES/libgtop-2.0.mo
share/locale/gu/
share/locale/gu/LC_MESSAGES/
share/locale/gu/LC_MESSAGES/libgtop-2.0.mo
share/locale/he/LC_MESSAGES/libgtop-2.0.mo
share/locale/hi/
share/locale/hi/LC_MESSAGES/
share/locale/hi/LC_MESSAGES/libgtop-2.0.mo
share/locale/hr/LC_MESSAGES/libgtop-2.0.mo
share/locale/hu/LC_MESSAGES/libgtop-2.0.mo
share/locale/id/LC_MESSAGES/libgtop-2.0.mo
share/locale/it/LC_MESSAGES/libgtop-2.0.mo
share/locale/ja/LC_MESSAGES/libgtop-2.0.mo
share/locale/ko/LC_MESSAGES/libgtop-2.0.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/libgtop-2.0.mo
share/locale/lv/LC_MESSAGES/libgtop-2.0.mo
share/locale/mi/
share/locale/mi/LC_MESSAGES/
share/locale/mi/LC_MESSAGES/libgtop-2.0.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/libgtop-2.0.mo
share/locale/ml/
share/locale/ml/LC_MESSAGES/
share/locale/ml/LC_MESSAGES/libgtop-2.0.mo
share/locale/mn/
share/locale/mn/LC_MESSAGES/
share/locale/mn/LC_MESSAGES/libgtop-2.0.mo
share/locale/ms/
share/locale/ms/LC_MESSAGES/
share/locale/ms/LC_MESSAGES/libgtop-2.0.mo
share/locale/nb/LC_MESSAGES/libgtop-2.0.mo
share/locale/ne/
share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/libgtop-2.0.mo
share/locale/nl/LC_MESSAGES/libgtop-2.0.mo
share/locale/nn/LC_MESSAGES/libgtop-2.0.mo
share/locale/no/LC_MESSAGES/libgtop-2.0.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/libgtop-2.0.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/libgtop-2.0.mo
share/locale/pl/LC_MESSAGES/libgtop-2.0.mo
share/locale/pt/LC_MESSAGES/libgtop-2.0.mo
share/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
share/locale/ro/LC_MESSAGES/libgtop-2.0.mo
share/locale/ru/LC_MESSAGES/libgtop-2.0.mo
share/locale/rw/
share/locale/rw/LC_MESSAGES/
share/locale/rw/LC_MESSAGES/libgtop-2.0.mo
share/locale/sk/LC_MESSAGES/libgtop-2.0.mo
share/locale/sl/LC_MESSAGES/libgtop-2.0.mo
share/locale/sq/
share/locale/sq/LC_MESSAGES/
share/locale/sq/LC_MESSAGES/libgtop-2.0.mo
share/locale/sr/LC_MESSAGES/libgtop-2.0.mo
share/locale/sr@Latn/
share/locale/sr@Latn/LC_MESSAGES/
share/locale/sr@Latn/LC_MESSAGES/libgtop-2.0.mo
share/locale/sv/LC_MESSAGES/libgtop-2.0.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/libgtop-2.0.mo
share/locale/tr/LC_MESSAGES/libgtop-2.0.mo
share/locale/uk/LC_MESSAGES/libgtop-2.0.mo
share/locale/vi/LC_MESSAGES/libgtop-2.0.mo
share/locale/xh/
share/locale/xh/LC_MESSAGES/
share/locale/xh/LC_MESSAGES/libgtop-2.0.mo
share/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
share/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo
%%SHARED%%
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/libgtop/
share/gtk-doc/html/libgtop/home.png
share/gtk-doc/html/libgtop/index.html
share/gtk-doc/html/libgtop/index.sgml
share/gtk-doc/html/libgtop/left.png
share/gtk-doc/html/libgtop/libgtop-Close.html
share/gtk-doc/html/libgtop/libgtop-Command.html
share/gtk-doc/html/libgtop/libgtop-GlibTop-Server.html
share/gtk-doc/html/libgtop/libgtop-GlibTop.html
share/gtk-doc/html/libgtop/libgtop-Inode-DB.html
share/gtk-doc/html/libgtop/libgtop-Net-List.html
share/gtk-doc/html/libgtop/libgtop-Net-Load.html
share/gtk-doc/html/libgtop/libgtop-PPP.html
share/gtk-doc/html/libgtop/libgtop-Shared-Memory-Limits.html
share/gtk-doc/html/libgtop/libgtop-Uptime.html
share/gtk-doc/html/libgtop/libgtop-cpu.html
share/gtk-doc/html/libgtop/libgtop-fsusage.html
share/gtk-doc/html/libgtop/libgtop-lib.html
share/gtk-doc/html/libgtop/libgtop-loadavg.html
share/gtk-doc/html/libgtop/libgtop-mem.html
share/gtk-doc/html/libgtop/libgtop-mountlist.html
share/gtk-doc/html/libgtop/libgtop-msg-limits.html
share/gtk-doc/html/libgtop/libgtop-open.html
share/gtk-doc/html/libgtop/libgtop-parameter.html
share/gtk-doc/html/libgtop/libgtop-procargs.html
share/gtk-doc/html/libgtop/libgtop-prockernel.html
share/gtk-doc/html/libgtop/libgtop-proclist.html
share/gtk-doc/html/libgtop/libgtop-procmap.html
share/gtk-doc/html/libgtop/libgtop-procmem.html
share/gtk-doc/html/libgtop/libgtop-procopenfiles.html
share/gtk-doc/html/libgtop/libgtop-procsegment.html
share/gtk-doc/html/libgtop/libgtop-procsignal.html
share/gtk-doc/html/libgtop/libgtop-procstate.html
share/gtk-doc/html/libgtop/libgtop-proctime.html
share/gtk-doc/html/libgtop/libgtop-procuid.html
share/gtk-doc/html/libgtop/libgtop-sem-limits.html
share/gtk-doc/html/libgtop/libgtop-signal.html
share/gtk-doc/html/libgtop/libgtop-swap.html
share/gtk-doc/html/libgtop/libgtop-sysdeps.html
share/gtk-doc/html/libgtop/libgtop-sysinfo.html
share/gtk-doc/html/libgtop/libgtop-union.html
share/gtk-doc/html/libgtop/libgtop-version.html
share/gtk-doc/html/libgtop/libgtop-white-paper-overview.html
share/gtk-doc/html/libgtop/libgtop-white-paper.html
share/gtk-doc/html/libgtop/libgtop.devhelp
share/gtk-doc/html/libgtop/libgtop.devhelp2
share/gtk-doc/html/libgtop/right.png
share/gtk-doc/html/libgtop/style.css
share/gtk-doc/html/libgtop/up.png