diff options
author | marcus <marcus@FreeBSD.org> | 2002-05-14 15:45:53 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-05-14 15:45:53 +0000 |
commit | aff305939eb2837e2ad55e0baaf2914767fc7cff (patch) | |
tree | f4480e95cf1a8cc08a534c16bf1c842aac1bb6fe /sysutils/gnome-system-monitor | |
parent | 58d3aa40b049d2fed7af25b403d453973d452fff (diff) | |
download | FreeBSD-ports-aff305939eb2837e2ad55e0baaf2914767fc7cff.zip FreeBSD-ports-aff305939eb2837e2ad55e0baaf2914767fc7cff.tar.gz |
Add gnomesystemmonitor after repo copy from gtop. This is the GNOME 2.0
graphical version of top.
Diffstat (limited to 'sysutils/gnome-system-monitor')
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 30 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/distinfo | 2 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-ad | 32 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-src_util.c | 10 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/pkg-comment | 2 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/pkg-plist | 104 |
8 files changed, 100 insertions, 93 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index e9d0d3b..f5daab7 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -1,29 +1,33 @@ -# New ports collection makefile for: gtop -# Date created: 28 September 1998 -# Whom: Yukihiro Nakai <Nakai@technologist.com> +# New ports collection makefile for: gnomesystemmonitor +# Date created: 09 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= gtop -PORTVERSION= 1.0.13 -PORTREVISION= 1 +PORTNAME= gnomesystemmonitor +PORTVERSION= 1.1.6 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= stable/sources/gtop +MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-20020501 +DISTNAME= gnome-system-monitor-${PORTVERSION} +DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -BUILD_DEPENDS= msgfmt-old:${PORTSDIR}/devel/gettext-old -LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ + gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \ + wnck-1.2:${PORTSDIR}/x11-toolkits/libwnck +USE_BZIP2= yes USE_X_PREFIX= yes -USE_GNOME= yes +USE_GMAKE= yes USE_LIBTOOL= yes +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" \ - MSGFMT="${LOCALBASE}/bin/msgfmt-old" \ - XGETTEXT="${LOCALBASE}/bin/xgettext-old" + LIBS="-L${LOCALBASE}/lib -lutil" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ diff --git a/sysutils/gnome-system-monitor/distinfo b/sysutils/gnome-system-monitor/distinfo index 0124fc3..99918cc 100644 --- a/sysutils/gnome-system-monitor/distinfo +++ b/sysutils/gnome-system-monitor/distinfo @@ -1 +1 @@ -MD5 (gtop-1.0.13.tar.gz) = 4580801db3c87784b25f46a5bf1f5aba +MD5 (gnome2/gnome-system-monitor-1.1.6.tar.bz2) = e3ae3f26951d4863e3035646f4187459 diff --git a/sysutils/gnome-system-monitor/files/patch-ad b/sysutils/gnome-system-monitor/files/patch-ad deleted file mode 100644 index b94b218..0000000 --- a/sysutils/gnome-system-monitor/files/patch-ad +++ /dev/null @@ -1,32 +0,0 @@ ---- main.c.orig Mon May 22 13:25:21 2000 -+++ main.c Sun Aug 6 21:01:42 2000 -@@ -33,6 +33,8 @@ - #include <gnome.h> - #include <libgnomeui/gnome-window-icon.h> - -+#include <floatingpoint.h> -+ - #include <glibtop/close.h> - - #include <locale.h> -@@ -206,6 +208,8 @@ - poptContext ctx; - const char **args; - -+ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV)); -+ - setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, GNOMELOCALEDIR); - textdomain (PACKAGE); -@@ -295,6 +299,11 @@ - gtop_properties.global.show_toolbar); - gnome_config_sync (); - } -+ -+#ifndef __alpha__ -+ fpresetsticky (FP_X_DZ|FP_X_INV); -+#endif -+ fpsetmask (FP_X_DZ|FP_X_INV); - - return 0; - } diff --git a/sysutils/gnome-system-monitor/files/patch-configure b/sysutils/gnome-system-monitor/files/patch-configure new file mode 100644 index 0000000..d7394f6 --- /dev/null +++ b/sysutils/gnome-system-monitor/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Thu May 9 01:13:38 2002 ++++ configure Thu May 9 01:14:02 2002 +@@ -3252,7 +3252,7 @@ + echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6 + + cat >>confdefs.h <<EOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${datadir}/pixmaps" + EOF + + ALL_LINGUAS="da de es fr gl it ko ja lv ms no pl pt ru sk sl sv tr uk zh_CN zh_TW" diff --git a/sysutils/gnome-system-monitor/files/patch-src_util.c b/sysutils/gnome-system-monitor/files/patch-src_util.c new file mode 100644 index 0000000..b7e262b --- /dev/null +++ b/sysutils/gnome-system-monitor/files/patch-src_util.c @@ -0,0 +1,10 @@ +--- src/util.c.orig Thu May 9 01:16:48 2002 ++++ src/util.c Thu May 9 01:17:13 2002 +@@ -16,6 +16,7 @@ + + #ifdef __FreeBSD__ + # include <errno.h> ++# include <termios.h> + # include <libutil.h> + #endif + diff --git a/sysutils/gnome-system-monitor/pkg-comment b/sysutils/gnome-system-monitor/pkg-comment index f08d391..097ce26 100644 --- a/sysutils/gnome-system-monitor/pkg-comment +++ b/sysutils/gnome-system-monitor/pkg-comment @@ -1 +1 @@ -GNOME system moniter program +GNOME 2.0 system monitor program diff --git a/sysutils/gnome-system-monitor/pkg-descr b/sysutils/gnome-system-monitor/pkg-descr index f08d391..40caee6 100644 --- a/sysutils/gnome-system-monitor/pkg-descr +++ b/sysutils/gnome-system-monitor/pkg-descr @@ -1 +1 @@ -GNOME system moniter program +GNOME 2.0 system monitor program. diff --git a/sysutils/gnome-system-monitor/pkg-plist b/sysutils/gnome-system-monitor/pkg-plist index af3cbf5..e586f8d 100644 --- a/sysutils/gnome-system-monitor/pkg-plist +++ b/sysutils/gnome-system-monitor/pkg-plist @@ -1,45 +1,59 @@ -bin/gtop -share/gnome/apps/System/gtop.desktop -share/gnome/gtoprc -share/gnome/help/gtop/C/figs/gtop-fs-1.png -share/gnome/help/gtop/C/figs/gtop-fs-2.png -share/gnome/help/gtop/C/figs/gtop-mem.png -share/gnome/help/gtop/C/figs/gtop-pic-bottom.png -share/gnome/help/gtop/C/figs/gtop-pic-main.png -share/gnome/help/gtop/C/figs/gtop-pic-middle.png -share/gnome/help/gtop/C/figs/gtop-pic-top.png -share/gnome/help/gtop/C/figs/gtop-prefs.png -share/gnome/help/gtop/C/figs/gtop-proc.png -share/gnome/help/gtop/C/topic.dat -share/gnome/pixmaps/gnome-gtop.png -share/locale/az/LC_MESSAGES/gtop.mo -share/locale/ca/LC_MESSAGES/gtop.mo -share/locale/cs/LC_MESSAGES/gtop.mo -share/locale/da/LC_MESSAGES/gtop.mo -share/locale/de/LC_MESSAGES/gtop.mo -share/locale/el/LC_MESSAGES/gtop.mo -share/locale/es/LC_MESSAGES/gtop.mo -share/locale/fr/LC_MESSAGES/gtop.mo -share/locale/ga/LC_MESSAGES/gtop.mo -share/locale/gl/LC_MESSAGES/gtop.mo -share/locale/hu/LC_MESSAGES/gtop.mo -share/locale/it/LC_MESSAGES/gtop.mo -share/locale/ja/LC_MESSAGES/gtop.mo -share/locale/ko/LC_MESSAGES/gtop.mo -share/locale/lt/LC_MESSAGES/gtop.mo -share/locale/no/LC_MESSAGES/gtop.mo -share/locale/pl/LC_MESSAGES/gtop.mo -share/locale/pt/LC_MESSAGES/gtop.mo -share/locale/pt_BR/LC_MESSAGES/gtop.mo -share/locale/ro/LC_MESSAGES/gtop.mo -share/locale/ru/LC_MESSAGES/gtop.mo -share/locale/sk/LC_MESSAGES/gtop.mo -share/locale/sl/LC_MESSAGES/gtop.mo -share/locale/sv/LC_MESSAGES/gtop.mo -share/locale/tr/LC_MESSAGES/gtop.mo -share/locale/uk/LC_MESSAGES/gtop.mo -share/locale/zh_CN.GB2312/LC_MESSAGES/gtop.mo -share/locale/zh_TW.Big5/LC_MESSAGES/gtop.mo -@dirrm share/gnome/help/gtop/C/figs -@dirrm share/gnome/help/gtop/C -@dirrm share/gnome/help/gtop +bin/gnome-system-monitor +etc/gconf/gconf.xml.defaults/apps/procman/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/procman/disktree/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/procman/memmapstree/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/procman/proctree/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/procman/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/procman/disktree/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/procman/memmapstree/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/procman/proctree/%gconf.xml +etc/gconf/schemas/gnome-system-monitor.schemas +share/gnome/applications/gnome-system-monitor.desktop +share/gnome/help/procman/C/figures/addColumn.png +share/gnome/help/procman/C/figures/changePriority.png +share/gnome/help/procman/C/figures/colorPanel.png +share/gnome/help/procman/C/figures/columnContextMenu.png +share/gnome/help/procman/C/figures/memoryMaps.png +share/gnome/help/procman/C/figures/moreInfo.png +share/gnome/help/procman/C/figures/processListing.png +share/gnome/help/procman/C/figures/sortButton.png +share/gnome/help/procman/C/figures/sortMenu.png +share/gnome/help/procman/C/figures/sortMenu2.png +share/gnome/help/procman/C/figures/systemMonitor.png +share/gnome/help/procman/C/figures/viewMenu.png +share/gnome/help/procman/C/legal.xml +share/gnome/help/procman/C/procman.xml +share/gnome/omf/gnome-core/procman-C.omf +share/gnome/pixmaps/procman.png +share/locale/da/LC_MESSAGES/gnome-system-monitor.mo +share/locale/de/LC_MESSAGES/gnome-system-monitor.mo +share/locale/es/LC_MESSAGES/gnome-system-monitor.mo +share/locale/fr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/gl/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/ko/LC_MESSAGES/gnome-system-monitor.mo +share/locale/lv/LC_MESSAGES/gnome-system-monitor.mo +share/locale/ms/LC_MESSAGES/gnome-system-monitor.mo +share/locale/no/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/ru/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/sv/LC_MESSAGES/gnome-system-monitor.mo +share/locale/tr/LC_MESSAGES/gnome-system-monitor.mo +share/locale/uk/LC_MESSAGES/gnome-system-monitor.mo +share/locale/zh_CN/LC_MESSAGES/gnome-system-monitor.mo +share/locale/zh_TW/LC_MESSAGES/gnome-system-monitor.mo +@dirrm share/gnome/help/procman/C/figures +@dirrm share/gnome/help/procman/C +@dirrm share/gnome/help/procman +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/procman/proctree +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/procman/memmapstree +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/procman/disktree +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/procman +@dirrm etc/gconf/gconf.xml.defaults/apps/procman/proctree +@dirrm etc/gconf/gconf.xml.defaults/apps/procman/memmapstree +@dirrm etc/gconf/gconf.xml.defaults/apps/procman/disktree +@dirrm etc/gconf/gconf.xml.defaults/apps/procman |