From 6b5a511ded7f1cb1c0d9e4e7b27fa29e573dd012 Mon Sep 17 00:00:00 2001 From: naddy Date: Tue, 13 Aug 2002 13:14:29 +0000 Subject: Import gkrellmwho 0.4. A GKrellm-Plugin that horizontally scrolls in a panel a list of currently logged on users (excluding the invoking user). PR: 41554 Submitted by: Steffen Vogelreuter --- sysutils/gkrellmwho/Makefile | 29 ++++++++++++++++++++++++++++ sysutils/gkrellmwho/distinfo | 1 + sysutils/gkrellmwho/files/patch-Makefile | 19 ++++++++++++++++++ sysutils/gkrellmwho/files/patch-gkrellmwho.c | 14 ++++++++++++++ sysutils/gkrellmwho/pkg-comment | 1 + sysutils/gkrellmwho/pkg-descr | 8 ++++++++ sysutils/gkrellmwho/pkg-plist | 2 ++ 7 files changed, 74 insertions(+) create mode 100644 sysutils/gkrellmwho/Makefile create mode 100644 sysutils/gkrellmwho/distinfo create mode 100644 sysutils/gkrellmwho/files/patch-Makefile create mode 100644 sysutils/gkrellmwho/files/patch-gkrellmwho.c create mode 100644 sysutils/gkrellmwho/pkg-comment create mode 100644 sysutils/gkrellmwho/pkg-descr create mode 100644 sysutils/gkrellmwho/pkg-plist (limited to 'sysutils/gkrellmwho') diff --git a/sysutils/gkrellmwho/Makefile b/sysutils/gkrellmwho/Makefile new file mode 100644 index 0000000..68a242e --- /dev/null +++ b/sysutils/gkrellmwho/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: gkrellmwho +# Date Created: 11.August 2002 +# Whom: Steffen Vogelreuter +# +# $FreeBSD$ +# + +PORTNAME= gkrellmwho +PORTVERSION= 0.4 +CATEGORIES= sysutils +MASTER_SITES= http://web.wt.net/~billw/gkrellm/Plugins/ + +MAINTAINER= steffen@vogelreuter.de + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +USE_X_PREFIX= yes +USE_GTK= yes +USE_IMLIB= yes +USE_GMAKE= yes +ALL_TARGET= #empty + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho.so \ + ${PREFIX}/libexec/gkrellm/plugins + +.include diff --git a/sysutils/gkrellmwho/distinfo b/sysutils/gkrellmwho/distinfo new file mode 100644 index 0000000..2828c1b --- /dev/null +++ b/sysutils/gkrellmwho/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmwho-0.4.tar.gz) = f12870678fb901208c0f8102840c35fd diff --git a/sysutils/gkrellmwho/files/patch-Makefile b/sysutils/gkrellmwho/files/patch-Makefile new file mode 100644 index 0000000..3217123 --- /dev/null +++ b/sysutils/gkrellmwho/files/patch-Makefile @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- Makefile.orig Thu Aug 2 05:39:29 2001 ++++ Makefile Tue Aug 13 15:05:36 2002 +@@ -1,9 +1,9 @@ + # Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include) +-INCLUDE = /usr/local/include ++INCLUDE = ${X11BASE}/include/gkrellm + +-CC = gcc +-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \ +- `gtk-config --cflags` `imlib-config --cflags-gdk` ++#CC = gcc ++CFLAGS+= -fPIC -I$(INCLUDE) \ ++ `gtk12-config --cflags` `imlib-config --cflags-gdk` + LDFLAGS = + TARGET = gkrellmwho + diff --git a/sysutils/gkrellmwho/files/patch-gkrellmwho.c b/sysutils/gkrellmwho/files/patch-gkrellmwho.c new file mode 100644 index 0000000..36447db --- /dev/null +++ b/sysutils/gkrellmwho/files/patch-gkrellmwho.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- gkrellmwho.c.orig Thu Aug 2 05:42:49 2001 ++++ gkrellmwho.c Tue Aug 13 15:04:21 2002 +@@ -65,7 +65,7 @@ + + #define MAX_USERS 10 /* set this statically to avoid realloc() */ + #define USERS_LEN MAX_USERS*MAX_USER_LEN + 1 +-#define COMMAND "w -hs | sort | grep -v $LOGNAME" ++#define COMMAND "w -h | sort | grep -v $LOGNAME" + #define DEF_NONE_MSG "no users" + static gchar users[USERS_LEN]; // list of users + static int users_xoff; // length of users string in pixels diff --git a/sysutils/gkrellmwho/pkg-comment b/sysutils/gkrellmwho/pkg-comment new file mode 100644 index 0000000..d6081ce --- /dev/null +++ b/sysutils/gkrellmwho/pkg-comment @@ -0,0 +1 @@ +A plugin that scrolls in a panel a list of currently logged on users diff --git a/sysutils/gkrellmwho/pkg-descr b/sysutils/gkrellmwho/pkg-descr new file mode 100644 index 0000000..b4d0dbe --- /dev/null +++ b/sysutils/gkrellmwho/pkg-descr @@ -0,0 +1,8 @@ +A GKrellm-Plugin that horizontally scrolls in a panel a list of currently +logged on users (excluding the invoking user). + +Author: Ernesto Novillo +WWW: http://www.cs.ualberta.ca/~ernie + +-- Steffen Vogelreuter +steffen@vogelreuter.de diff --git a/sysutils/gkrellmwho/pkg-plist b/sysutils/gkrellmwho/pkg-plist new file mode 100644 index 0000000..225ac34 --- /dev/null +++ b/sysutils/gkrellmwho/pkg-plist @@ -0,0 +1,2 @@ +@comment $FreeBSD$ +libexec/gkrellm/plugins/gkrellmwho.so -- cgit v1.1