diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-06-30 09:17:36 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-06-30 09:17:36 +0800 |
commit | 39c11a21d0e1cec1651701d33ac9256c0ddfe667 (patch) | |
tree | 6fbfc43bcfd057c0b29bda293c0f1e95c01c309e | |
parent | eb980109e439fac795d819bdc88846cdb7f3c859 (diff) | |
download | marcuscom-ports-39c11a21d0e1cec1651701d33ac9256c0ddfe667.tar.gz marcuscom-ports-39c11a21d0e1cec1651701d33ac9256c0ddfe667.tar.zst marcuscom-ports-39c11a21d0e1cec1651701d33ac9256c0ddfe667.zip |
Update to 2.15.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6499 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 34 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-src::proctable.c | 31 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-src_openfiles.c | 10 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/pkg-descr | 1 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/pkg-plist | 111 |
6 files changed, 190 insertions, 0 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile new file mode 100644 index 000000000..5fe588f74 --- /dev/null +++ b/sysutils/gnome-system-monitor/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: gnomesystemmonitor +# Date created: 09 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnome-system-monitor +PORTVERSION= 2.15.0 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/gnome-system-monitor/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= gnome-system-monitor-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 system monitor program + +LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_X_PREFIX= yes +INSTALLS_OMF= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui libwnck +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lutil" + +GCONF_SCHEMAS= gnome-system-monitor.schemas + +.include <bsd.port.mk> diff --git a/sysutils/gnome-system-monitor/distinfo b/sysutils/gnome-system-monitor/distinfo new file mode 100644 index 000000000..2d7d5fcfe --- /dev/null +++ b/sysutils/gnome-system-monitor/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-system-monitor-2.15.0.tar.bz2) = 918008502532998c8c4961a39027d7df +SHA256 (gnome2/gnome-system-monitor-2.15.0.tar.bz2) = bac7c082c8eef8f9abc8d1f8322d542b02463996ef071e4f59c8172237c2cd20 +SIZE (gnome2/gnome-system-monitor-2.15.0.tar.bz2) = 1426267 diff --git a/sysutils/gnome-system-monitor/files/patch-src::proctable.c b/sysutils/gnome-system-monitor/files/patch-src::proctable.c new file mode 100644 index 000000000..70b2f9e30 --- /dev/null +++ b/sysutils/gnome-system-monitor/files/patch-src::proctable.c @@ -0,0 +1,31 @@ +--- src/proctable.c.orig Fri Jul 22 18:58:42 2005 ++++ src/proctable.c Mon Jul 25 22:25:58 2005 +@@ -853,6 +853,12 @@ static void cb_exclude(ProcInfo* info, G + } + + ++static int ++pid_compare(const void* first, const void* second) ++{ ++ return *(unsigned*)first - *(unsigned*)second; ++} ++ + static void + refresh_list (ProcData *procdata, const unsigned *pid_list, const guint n) + { +@@ -945,10 +951,15 @@ proctable_update_list (ProcData * const + + pid_list = glibtop_get_proclist (&proclist, which, arg); + ++ qsort(pid_list, proclist.number, sizeof (*pid_list), pid_compare); ++ + /* FIXME: total cpu time elapsed should be calculated on an individual basis here + ** should probably have a total_time_last gint in the ProcInfo structure */ + glibtop_get_cpu (&cpu); + total_time = MAX(cpu.total - total_time_last, 1); ++ if (cpu.frequency) { ++ total_time /= (cpu.frequency/100); ++ } + total_time_last = cpu.total; + + refresh_list (procdata, pid_list, proclist.number); diff --git a/sysutils/gnome-system-monitor/files/patch-src_openfiles.c b/sysutils/gnome-system-monitor/files/patch-src_openfiles.c new file mode 100644 index 000000000..971e718b2 --- /dev/null +++ b/sysutils/gnome-system-monitor/files/patch-src_openfiles.c @@ -0,0 +1,10 @@ +--- src/openfiles.c.orig Mon Apr 11 03:50:49 2005 ++++ src/openfiles.c Mon Apr 11 03:52:13 2005 +@@ -8,6 +8,7 @@ + #include <netdb.h> + #include <sys/types.h> + #include <sys/socket.h> ++#include <netinet/in.h> + #include <arpa/inet.h> + #include "procman.h" + #include "openfiles.h" diff --git a/sysutils/gnome-system-monitor/pkg-descr b/sysutils/gnome-system-monitor/pkg-descr new file mode 100644 index 000000000..40caee647 --- /dev/null +++ b/sysutils/gnome-system-monitor/pkg-descr @@ -0,0 +1 @@ +GNOME 2.0 system monitor program. diff --git a/sysutils/gnome-system-monitor/pkg-plist b/sysutils/gnome-system-monitor/pkg-plist new file mode 100644 index 000000000..ed8ccd03b --- /dev/null +++ b/sysutils/gnome-system-monitor/pkg-plist @@ -0,0 +1,111 @@ +bin/gnome-system-monitor +share/gnome/applications/gnome-system-monitor.desktop +share/gnome/help/gnome-system-monitor/C/figures/addColumn.png +share/gnome/help/gnome-system-monitor/C/figures/changePriority.png +share/gnome/help/gnome-system-monitor/C/figures/colorPanel.png +share/gnome/help/gnome-system-monitor/C/figures/columnContextMenu.png +share/gnome/help/gnome-system-monitor/C/figures/gnome-system-monitor_window.png +share/gnome/help/gnome-system-monitor/C/figures/memoryMaps.png +share/gnome/help/gnome-system-monitor/C/figures/moreInfo.png +share/gnome/help/gnome-system-monitor/C/figures/processListing.png +share/gnome/help/gnome-system-monitor/C/figures/sortButton.png +share/gnome/help/gnome-system-monitor/C/figures/sortMenu.png +share/gnome/help/gnome-system-monitor/C/figures/sortMenu2.png +share/gnome/help/gnome-system-monitor/C/figures/systemMonitor.png +share/gnome/help/gnome-system-monitor/C/figures/viewMenu.png +share/gnome/help/gnome-system-monitor/C/gnome-system-monitor.xml +share/gnome/help/gnome-system-monitor/C/legal.xml +share/gnome/help/gnome-system-monitor/bg/figures/addColumn.png +share/gnome/help/gnome-system-monitor/bg/figures/changePriority.png +share/gnome/help/gnome-system-monitor/bg/figures/colorPanel.png +share/gnome/help/gnome-system-monitor/bg/figures/columnContextMenu.png +share/gnome/help/gnome-system-monitor/bg/figures/gnome-system-monitor_window.png +share/gnome/help/gnome-system-monitor/bg/figures/memoryMaps.png +share/gnome/help/gnome-system-monitor/bg/figures/moreInfo.png +share/gnome/help/gnome-system-monitor/bg/figures/processListing.png +share/gnome/help/gnome-system-monitor/bg/figures/sortButton.png +share/gnome/help/gnome-system-monitor/bg/figures/sortMenu.png +share/gnome/help/gnome-system-monitor/bg/figures/sortMenu2.png +share/gnome/help/gnome-system-monitor/bg/figures/systemMonitor.png +share/gnome/help/gnome-system-monitor/bg/figures/viewMenu.png +share/gnome/help/gnome-system-monitor/bg/gnome-system-monitor.xml +share/gnome/help/gnome-system-monitor/bg/legal.xml +share/gnome/omf/gnome-system-monitor/gnome-system-monitor-C.omf +share/gnome/omf/gnome-system-monitor/gnome-system-monitor-bg.omf +share/locale/am/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ar/LC_MESSAGES/gnome-system-monitor.mo +share/locale/az/LC_MESSAGES/gnome-system-monitor.mo +share/locale/be/LC_MESSAGES/gnome-system-monitor.mo +share/locale/bg/LC_MESSAGES/gnome-system-monitor.mo +share/locale/bn/LC_MESSAGES/gnome-system-monitor.mo +share/locale/bs/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ca/LC_MESSAGES/gnome-system-monitor.mo +share/locale/cs/LC_MESSAGES/gnome-system-monitor.mo +share/locale/cy/LC_MESSAGES/gnome-system-monitor.mo +share/locale/da/LC_MESSAGES/gnome-system-monitor.mo +share/locale/de/LC_MESSAGES/gnome-system-monitor.mo +share/locale/dz/LC_MESSAGES/gnome-system-monitor.mo +share/locale/el/LC_MESSAGES/gnome-system-monitor.mo +share/locale/en_CA/LC_MESSAGES/gnome-system-monitor.mo +share/locale/en_GB/LC_MESSAGES/gnome-system-monitor.mo +share/locale/es/LC_MESSAGES/gnome-system-monitor.mo +share/locale/et/LC_MESSAGES/gnome-system-monitor.mo +share/locale/eu/LC_MESSAGES/gnome-system-monitor.mo +share/locale/fa/LC_MESSAGES/gnome-system-monitor.mo +share/locale/fi/LC_MESSAGES/gnome-system-monitor.mo +share/locale/fr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ga/LC_MESSAGES/gnome-system-monitor.mo +share/locale/gl/LC_MESSAGES/gnome-system-monitor.mo +share/locale/gu/LC_MESSAGES/gnome-system-monitor.mo +share/locale/he/LC_MESSAGES/gnome-system-monitor.mo +share/locale/hi/LC_MESSAGES/gnome-system-monitor.mo +share/locale/hr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/hu/LC_MESSAGES/gnome-system-monitor.mo +share/locale/id/LC_MESSAGES/gnome-system-monitor.mo +share/locale/it/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ja/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ka/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ko/LC_MESSAGES/gnome-system-monitor.mo +share/locale/li/LC_MESSAGES/gnome-system-monitor.mo +share/locale/lt/LC_MESSAGES/gnome-system-monitor.mo +share/locale/lv/LC_MESSAGES/gnome-system-monitor.mo +share/locale/mk/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ml/LC_MESSAGES/gnome-system-monitor.mo +share/locale/mn/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ms/LC_MESSAGES/gnome-system-monitor.mo +share/locale/nb/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ne/LC_MESSAGES/gnome-system-monitor.mo +share/locale/nl/LC_MESSAGES/gnome-system-monitor.mo +share/locale/nn/LC_MESSAGES/gnome-system-monitor.mo +share/locale/pa/LC_MESSAGES/gnome-system-monitor.mo +share/locale/pl/LC_MESSAGES/gnome-system-monitor.mo +share/locale/pt/LC_MESSAGES/gnome-system-monitor.mo +share/locale/pt_BR/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ro/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ru/LC_MESSAGES/gnome-system-monitor.mo +share/locale/rw/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sk/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sl/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sq/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-system-monitor.mo +share/locale/sv/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ta/LC_MESSAGES/gnome-system-monitor.mo +share/locale/th/LC_MESSAGES/gnome-system-monitor.mo +share/locale/tr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ug/LC_MESSAGES/gnome-system-monitor.mo +share/locale/uk/LC_MESSAGES/gnome-system-monitor.mo +share/locale/vi/LC_MESSAGES/gnome-system-monitor.mo +share/locale/zh_CN/LC_MESSAGES/gnome-system-monitor.mo +share/locale/zh_HK/LC_MESSAGES/gnome-system-monitor.mo +share/locale/zh_TW/LC_MESSAGES/gnome-system-monitor.mo +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrm share/gnome/omf/gnome-system-monitor +@dirrm share/gnome/help/gnome-system-monitor/bg/figures +@dirrm share/gnome/help/gnome-system-monitor/bg +@dirrm share/gnome/help/gnome-system-monitor/C/figures +@dirrm share/gnome/help/gnome-system-monitor/C +@dirrm share/gnome/help/gnome-system-monitor |