From owner-freebsd-ports Mon Aug 12 6:20:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2131B37B400 for ; Mon, 12 Aug 2002 06:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C374C43E6E for ; Mon, 12 Aug 2002 06:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7CDK3JU026854 for ; Mon, 12 Aug 2002 06:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7CDK38R026852; Mon, 12 Aug 2002 06:20:03 -0700 (PDT) Date: Mon, 12 Aug 2002 06:20:03 -0700 (PDT) Message-Id: <200208121320.g7CDK38R026852@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Steffen Vogelreuter Subject: Re: ports/41554: New Port: GKrellM-Plugin that scrolls currently logged on users Reply-To: Steffen Vogelreuter Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/41554; it has been noted by GNATS. From: Steffen Vogelreuter To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports@FreeBSD.org Cc: Subject: Re: ports/41554: New Port: GKrellM-Plugin that scrolls currently logged on users Date: Mon, 12 Aug 2002 15:14:04 +0200 I just made a new shar according to the issues of a friend. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gkrellmwho/ # gkrellmwho/files # gkrellmwho/files/patch-Makefile # gkrellmwho/files/patch-gkrellmwho.c # gkrellmwho/Makefile # gkrellmwho/distinfo # gkrellmwho/pkg-descr # gkrellmwho/pkg-comment # gkrellmwho/pkg-plist # echo c - gkrellmwho/ mkdir -p gkrellmwho/ > /dev/null 2>&1 echo c - gkrellmwho/files mkdir -p gkrellmwho/files > /dev/null 2>&1 echo x - gkrellmwho/files/patch-Makefile sed 's/^X//' >gkrellmwho/files/patch-Makefile << 'END-of-gkrellmwho/files/patch-Makefile' X--- Makefile.orig Mon Aug 12 14:13:00 2002 X+++ Makefile Mon Aug 12 14:15:04 2002 X@@ -1,9 +1,9 @@ X # Modify INCLUDE to point to gkrellm.h (if it's not in /usr/local/include) X-INCLUDE = /usr/local/include X+INCLUDE = /usr/X11R6/include/gkrellm X X CC = gcc X-CFLAGS = -Wall -O2 -fPIC -I$(INCLUDE) \ X- `gtk-config --cflags` `imlib-config --cflags-gdk` X+CFLAGS+= -fPIC -I$(INCLUDE) \ X+ `gtk12-config --cflags` `imlib-config --cflags-gdk` X LDFLAGS = X TARGET = gkrellmwho X END-of-gkrellmwho/files/patch-Makefile echo x - gkrellmwho/files/patch-gkrellmwho.c sed 's/^X//' >gkrellmwho/files/patch-gkrellmwho.c << 'END-of-gkrellmwho/files/patch-gkrellmwho.c' X--- gkrellmwho.c.orig Sun Aug 11 19:19:04 2002 X+++ gkrellmwho.c Sun Aug 11 19:19:20 2002 X@@ -65,7 +65,7 @@ X X #define MAX_USERS 10 /* set this statically to avoid realloc() */ X #define USERS_LEN MAX_USERS*MAX_USER_LEN + 1 X-#define COMMAND "w -hs | sort | grep -v $LOGNAME" X+#define COMMAND "w -h | sort | grep -v $LOGNAME" X #define DEF_NONE_MSG "no users" X static gchar users[USERS_LEN]; // list of users X static int users_xoff; // length of users string in pixels END-of-gkrellmwho/files/patch-gkrellmwho.c echo x - gkrellmwho/Makefile sed 's/^X//' >gkrellmwho/Makefile << 'END-of-gkrellmwho/Makefile' X# New ports collection makefile for: gkrellmwho X# Date Created: 11.August 2002 X# Whom: Steffen Vogelreuter X# X# $FreeBSD$ X# X XPORTNAME= gkrellmwho XPORTVERSION= 0.4 XCATEGORIES= sysutils XMASTER_SITES= http://web.wt.net/~billw/gkrellm/Plugins/ X XMAINTAINER= steffen@vogelreuter.de X XBUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm XRUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm X XWRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} XUSE_X_PREFIX= yes XUSE_GTK= yes XUSE_IMLIB= yes XUSE_GMAKE= yes XALL_TARGET= #empty X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho.so ${PREFIX}/libexec/gkrellm/plugins X X.include END-of-gkrellmwho/Makefile echo x - gkrellmwho/distinfo sed 's/^X//' >gkrellmwho/distinfo << 'END-of-gkrellmwho/distinfo' XMD5 (gkrellmwho-0.4.tar.gz) = f12870678fb901208c0f8102840c35fd END-of-gkrellmwho/distinfo echo x - gkrellmwho/pkg-descr sed 's/^X//' >gkrellmwho/pkg-descr << 'END-of-gkrellmwho/pkg-descr' XA GKrellm-Plugin that horizontally scrolls in a panel a list of currently Xlogged on users (excluding the invoking user). X XAuthor: Ernesto Novillo XWWW: http://www.cs.ualberta.ca/~ernie X X-- Steffen Vogelreuter Xsteffen@vogelreuter.de END-of-gkrellmwho/pkg-descr echo x - gkrellmwho/pkg-comment sed 's/^X//' >gkrellmwho/pkg-comment << 'END-of-gkrellmwho/pkg-comment' XA plugin that scrolls in a panel a list of currently logged on users END-of-gkrellmwho/pkg-comment echo x - gkrellmwho/pkg-plist sed 's/^X//' >gkrellmwho/pkg-plist << 'END-of-gkrellmwho/pkg-plist' Xlibexec/gkrellm/plugins/gkrellmwho.so END-of-gkrellmwho/pkg-plist exit -- What sane person could live in this world and not be crazy? -- Ursula K. LeGuin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message