aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgtop2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-03-12 18:39:38 +0800
committermarcus <marcus@FreeBSD.org>2005-03-12 18:39:38 +0800
commit0b42143dea1a55d0f1f6d09704bbc131e1b633ed (patch)
treebc54902eb18f738e45a91362b2b0faf1ec6d04fa /devel/libgtop2
parent773c9ca4ac44ac67652d01f1e985e4df8dab5301 (diff)
downloadfreebsd-ports-gnome-0b42143dea1a55d0f1f6d09704bbc131e1b633ed.tar.gz
freebsd-ports-gnome-0b42143dea1a55d0f1f6d09704bbc131e1b633ed.tar.zst
freebsd-ports-gnome-0b42143dea1a55d0f1f6d09704bbc131e1b633ed.zip
Presenting GNOME 2.10 for FreeBSD!
The release notes can be found at http://www.gnome.org/start/2.10/notes/rnwhatsnew.html, and will give you a good idea of what has gone into this release overall. However, a lot of FreeBSD specific additions and fixes have been made. For example, this release offers fixed ACPI support as well as new CPU freqeuncy monitoring support. See the FreeBSD GNOME 2.10 upgrade page at http://www.FreeBSD.org/gnome/docs/faq210.html for the entire list as well as a list of known issues and upgrade instructions. GNOME 2.10, as well as all of our releases, would not be possible without the great team that goes into porting and testign each and every component. Thanks definitely goes out to ahze, adamw, bland, kwm, mezz, and pav for all their work. We would also like to thank our adventurous users that chose to ride the walrus. We'd especially like to thank the following users that provided patches for GNOME 2.10: ade Yasuda Keisuke Franz Klammer Khairil Yusof Radek Kozlowsk And anyone else I may have accidentally omitted. As with GNOME 2.8, 2.10 comes with a brand-spankin' new splashscreen courtesy of Franz Klammer. However, unlike GNOME 2.8, we've included all of the FreeBSD GNOME splashscreen entries with gnomesession. You can use the deskutils/splashsetter port to choose the one you like best. As always, GNOME users should _not_ use portupgrade alone to upgrade to 2.10. Instead, get the gnome_upgrade.sh script from http://www.FreeBSD.org/gnome/gnome_upgrade.sh. Enjoy!
Diffstat (limited to 'devel/libgtop2')
-rw-r--r--devel/libgtop2/Makefile4
-rw-r--r--devel/libgtop2/distinfo4
-rw-r--r--devel/libgtop2/files/patch-ah63
-rw-r--r--devel/libgtop2/files/patch-lib::lib.pl62
-rw-r--r--devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c30
-rw-r--r--devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c48
-rw-r--r--devel/libgtop2/files/patch-sysdeps_common_fsusage.c14
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in20
-rw-r--r--devel/libgtop2/pkg-plist10
9 files changed, 8 insertions, 247 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 862a5ca17378..5a15a4612020 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= libgtop2
-PORTVERSION= 2.8.3
+PORTVERSION= 2.10.0
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.8
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.10
DISTNAME= libgtop-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/devel/libgtop2/distinfo b/devel/libgtop2/distinfo
index 05e797b96de7..f6a71904beaf 100644
--- a/devel/libgtop2/distinfo
+++ b/devel/libgtop2/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/libgtop-2.8.3.tar.bz2) = 4cacb87938bf702b17a721b2ac068252
-SIZE (gnome2/libgtop-2.8.3.tar.bz2) = 1047504
+MD5 (gnome2/libgtop-2.10.0.tar.bz2) = 9a52cd5332a13e57ca606d8a85a67c97
+SIZE (gnome2/libgtop-2.10.0.tar.bz2) = 746223
diff --git a/devel/libgtop2/files/patch-ah b/devel/libgtop2/files/patch-ah
deleted file mode 100644
index e0d7484420ec..000000000000
--- a/devel/libgtop2/files/patch-ah
+++ /dev/null
@@ -1,63 +0,0 @@
---- sysdeps/freebsd/procmap.c.orig Sat Sep 25 07:49:06 2004
-+++ sysdeps/freebsd/procmap.c Fri Nov 19 11:26:15 2004
-@@ -47,7 +47,13 @@
- #endif
- #endif
-
-+#ifdef __FreeBSD__
-+#define _KVM_VNODE
-+#endif
- #include <sys/vnode.h>
-+#ifdef __FreeBSD__
-+#undef _KVM_VNODE
-+#endif
- #include <sys/mount.h>
- #include <ufs/ufs/quota.h>
- #include <ufs/ufs/inode.h>
-@@ -104,7 +110,7 @@
- glibtop_map_entry *maps;
- #if defined __FreeBSD__
- struct vnode vnode;
--#if __FreeBSD_version >= 500039
-+#if __FreeBSD_version < 500039
- struct inode inode;
- #endif
- #endif
-@@ -122,8 +128,10 @@
-
- /* Get the process data */
- pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count);
-- if ((pinfo == NULL) || (count < 1))
-+ if ((pinfo == NULL) || (count < 1)) {
- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid);
-+ return NULL;
-+ }
-
- /* Now we get the memory maps. */
-
-@@ -264,8 +272,10 @@
- #if defined(__FreeBSD__) && (__FreeBSD_version >= 500039)
- switch (vnode.v_type) {
- case VREG:
-+#if __FreeBSD_version < 600006
- maps [i-1].inode = vnode.v_cachedid;
- maps [i-1].device = vnode.v_cachedfs;
-+#endif
- default:
- continue;
- }
-@@ -278,13 +288,9 @@
- &inode, sizeof (inode)) != sizeof (inode))
- glibtop_error_io_r (server, "kvm_read (inode)");
-
-- if (kvm_read (server->machine.kd,
-- (unsigned long) vnode.v_mount,
-- &mount, sizeof (mount)) != sizeof (mount))
-- glibtop_error_io_r (server, "kvm_read (mount)");
--#endif
- maps [i-1].inode = inode.i_number;
- maps [i-1].device = inode.i_dev;
-+#endif
- #endif
- } while (entry.next != first);
-
diff --git a/devel/libgtop2/files/patch-lib::lib.pl b/devel/libgtop2/files/patch-lib::lib.pl
deleted file mode 100644
index 6e08ba030855..000000000000
--- a/devel/libgtop2/files/patch-lib::lib.pl
+++ /dev/null
@@ -1,62 +0,0 @@
---- lib/lib.pl.orig Mon Sep 1 20:17:45 2003
-+++ lib/lib.pl Wed Sep 3 11:53:12 2003
-@@ -116,6 +116,8 @@
- $param_decl = '';
- $send_size = '';
- $send_ptr = '';
-+ $send_buf_decl = '';
-+ $send_buf = '';
- $nr_params = (@params = split(/:/, $param_def, 9999));
- for ($param = 1; $param <= $nr_params; $param++) {
- $list = $params[$param];
-@@ -135,28 +137,37 @@
-
- $fields[$field];
- $call_param = $call_param . ', ' . $fields[$field];
-- if ($send_ptr eq '') {
-- $send_ptr = "\n\tconst void *send_ptr = &" .
--
-- $fields[$field] . ';';
-- }
-- if ($send_size eq '') {
-- $send_size = "\n\tconst size_t send_size =\n\t\t";
-+ if ($send_buf eq '') {
-+ $send_size = "\n\tconst size_t send_size = ";
-+ $send_ptr = "\n\tconst void *send_ptr = &";
-+ if ($nr_params == 1 && $count == 1) {
-+ $send_size = $send_size . 'sizeof (' . $fields[$field] . ');';
-+ $send_ptr = $send_ptr . $fields[$field] . ';';
-+ last;
-+ }
-+ $send_size = $send_size . 'sizeof (send_buf);';
-+ $send_ptr = $send_ptr . 'send_buf;';
- }
- else {
-- $send_size = $send_size . ' + ';
-+ $send_buf_decl = $send_buf_decl . ' ';
-+ $send_buf = $send_buf . ', ';
- }
-- $send_size = $send_size . 'sizeof (' . $fields[$field] . ')';
-+ $send_buf_decl = $send_buf_decl . '' . $convert{$type} . ' ' .
-+
-+ $fields[$field] . ';';
-+ $send_buf = $send_buf . '' . $fields[$field];
- }
- }
-- if ($send_size ne '') {
-- $send_size = $send_size . ';';
-- }
-- else {
-+ if ($send_size eq '') {
- $send_size = "\n\tconst size_t send_size = 0;";
- }
- if ($send_ptr eq '') {
- $send_ptr = "\n\tconst void *send_ptr = NULL;";
-+ }
-+ if ($send_buf ne '') {
-+ $send_ptr = "\n\tconst struct { " . $send_buf_decl . " } send_buf =\n" .
-+ "\t\t{ " . $send_buf . ' };' .
-+ $send_ptr;
- }
- }
-
diff --git a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c b/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c
deleted file mode 100644
index 0713da61925e..000000000000
--- a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- sysdeps/freebsd/procmem.c.orig Mon Jul 19 02:07:03 2004
-+++ sysdeps/freebsd/procmem.c Tue Jul 20 22:03:29 2004
-@@ -125,7 +125,7 @@
- #else
- struct vm_object object;
- #endif
-- struct plimit plimit;
-+ struct rlimit rlimit;
- int count;
-
- glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_MEM), 0);
-@@ -160,15 +160,12 @@
-
- #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)");
-+ 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;
-
diff --git a/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c b/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c
deleted file mode 100644
index 37b5b56df49a..000000000000
--- a/devel/libgtop2/files/patch-sysdeps::freebsd::proctime.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- sysdeps/freebsd/proctime.c.orig Wed Mar 10 21:23:52 2004
-+++ sysdeps/freebsd/proctime.c Thu Mar 11 15:47:35 2004
-@@ -59,6 +59,7 @@
-
- #ifndef __FreeBSD__
-
-+#ifndef __FreeBSD__
- static void
- calcru(p, up, sp, ip)
- struct proc *p;
-@@ -81,19 +82,10 @@
- tot = 1;
- }
-
--#if (defined __FreeBSD__) && (__FreeBSD_version >= 300003)
--
-- /* This was changed from a `struct timeval' into a `guint64'
-- * on FreeBSD 3.0 and renamed p_rtime -> p_runtime.
-- */
--
-- totusec = (u_quad_t) p->p_runtime;
--#else
- sec = p->p_rtime.tv_sec;
- usec = p->p_rtime.tv_usec;
-
- totusec = (quad_t)sec * 1000000 + usec;
--#endif
-
- if (totusec < 0) {
- /* XXX no %qd in kernel. Truncate. */
-@@ -116,6 +108,7 @@
- ip->tv_usec = it % 1000000;
- }
- }
-+#endif
-
- #endif /* !__FreeBSD__ */
-
-@@ -133,9 +126,6 @@
- #endif
- struct pstats pstats;
- int count;
--
-- char filename [BUFSIZ];
-- struct stat statb;
-
- glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_TIME), 0);
-
diff --git a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c b/devel/libgtop2/files/patch-sysdeps_common_fsusage.c
deleted file mode 100644
index de564dcfd5f6..000000000000
--- a/devel/libgtop2/files/patch-sysdeps_common_fsusage.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- sysdeps/common/fsusage.c.orig Sun Oct 17 00:51:26 2004
-+++ sysdeps/common/fsusage.c Sun Oct 17 00:52:07 2004
-@@ -253,8 +253,9 @@
- if (statvfs (path, &fsd) < 0)
- return;
-
--#if (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__))
-- /* Solaris but not SunOS */
-+#if (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)) \
-+ || defined(__FreeBSD__)
-+ /* Solaris but not SunOS and FreeBSD */
- buf->block_size = fsd.f_frsize;
- #else
- /* else, including Linux */
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in b/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in
deleted file mode 100644
index 16bcbb055472..000000000000
--- a/devel/libgtop2/files/patch-sysdeps_freebsd_Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- sysdeps/freebsd/Makefile.in.orig Sun Feb 15 16:13:22 2004
-+++ sysdeps/freebsd/Makefile.in Sun Feb 15 16:16:05 2004
-@@ -138,7 +138,7 @@
-
- noinst_LTLIBRARIES = libgtop_sysdeps-2.0.la libgtop_sysdeps_suid-2.0.la
-
--libgtop_sysdeps_2_0_la_SOURCES = nosuid.c siglist.c
-+libgtop_sysdeps_2_0_la_SOURCES = nosuid.c
-
- libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
-
-@@ -172,7 +172,7 @@
- X_EXTRA_LIBS = @X_EXTRA_LIBS@
- X_PRE_LIBS = @X_PRE_LIBS@
- libgtop_sysdeps_2_0_la_LIBADD =
--libgtop_sysdeps_2_0_la_OBJECTS = nosuid.lo siglist.lo
-+libgtop_sysdeps_2_0_la_OBJECTS = nosuid.lo
- libgtop_sysdeps_suid_2_0_la_LIBADD =
- libgtop_sysdeps_suid_2_0_la_OBJECTS = open.lo close.lo siglist.lo \
- cpu.lo mem.lo swap.lo uptime.lo loadavg.lo shm_limits.lo msg_limits.lo \
diff --git a/devel/libgtop2/pkg-plist b/devel/libgtop2/pkg-plist
index 8bc83937eb9c..1f1a0363cadd 100644
--- a/devel/libgtop2/pkg-plist
+++ b/devel/libgtop2/pkg-plist
@@ -4,7 +4,6 @@ include/libgtop-2.0/glibtop.h
include/libgtop-2.0/glibtop/close.h
include/libgtop-2.0/glibtop/command.h
include/libgtop-2.0/glibtop/cpu.h
-include/libgtop-2.0/glibtop/error.h
include/libgtop-2.0/glibtop/fsusage.h
include/libgtop-2.0/glibtop/global.h
include/libgtop-2.0/glibtop/gnuserv.h
@@ -13,8 +12,8 @@ include/libgtop-2.0/glibtop/loadavg.h
include/libgtop-2.0/glibtop/mem.h
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
@@ -22,27 +21,25 @@ include/libgtop-2.0/glibtop/prockernel.h
include/libgtop-2.0/glibtop/proclist.h
include/libgtop-2.0/glibtop/procmap.h
include/libgtop-2.0/glibtop/procmem.h
+include/libgtop-2.0/glibtop/procopenfiles.h
include/libgtop-2.0/glibtop/procsegment.h
include/libgtop-2.0/glibtop/procsignal.h
include/libgtop-2.0/glibtop/procstate.h
include/libgtop-2.0/glibtop/proctime.h
include/libgtop-2.0/glibtop/procuid.h
-include/libgtop-2.0/glibtop/read.h
-include/libgtop-2.0/glibtop/read_data.h
include/libgtop-2.0/glibtop/sem_limits.h
include/libgtop-2.0/glibtop/shm_limits.h
include/libgtop-2.0/glibtop/signal.h
include/libgtop-2.0/glibtop/swap.h
include/libgtop-2.0/glibtop/sysdeps.h
include/libgtop-2.0/glibtop/sysinfo.h
-include/libgtop-2.0/glibtop/types.h
include/libgtop-2.0/glibtop/union.h
include/libgtop-2.0/glibtop/uptime.h
include/libgtop-2.0/glibtop/version.h
-include/libgtop-2.0/glibtop/write.h
include/libgtop-2.0/glibtop_machine.h
include/libgtop-2.0/glibtop_server.h
include/libgtop-2.0/glibtop_suid.h
+include/libgtop-2.0/libgtopconfig.h
lib/libgtop-2.0.a
lib/libgtop-2.0.so
lib/libgtop-2.0.so.2
@@ -87,6 +84,7 @@ share/locale/ml/LC_MESSAGES/libgtop-2.0.mo
share/locale/mn/LC_MESSAGES/libgtop-2.0.mo
share/locale/ms/LC_MESSAGES/libgtop-2.0.mo
share/locale/nb/LC_MESSAGES/libgtop-2.0.mo
+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